/* ===== DESIGN TOKENS ===== */
:root {
  /* ── Logo Palette (unchanged) ── */
  --g-blue: #1a73e8;
  --g-green: #34A853;
  --g-yellow: #FBBC04;
  --g-red: #EA4335;

  /* ── Brand Scale ── */
  --brand-600: #1557b0;
  --brand-500: #1a73e8;
  --brand-400: #4d9cf5;
  --brand-50: #e8f0fe;

  /* ── Gradients ── */
  --gradient-brand: linear-gradient(135deg, #1a73e8 0%, #0d5bc4 100%);
  --gradient-logo: linear-gradient(90deg, #1a73e8 0%, #34A853 33%, #FBBC04 66%, #EA4335 100%);
  --accent-dark: #1557b0;

  /* ── Surfaces — clean white base ── */
  --bg: #ffffff;
  --bg-alt: #f8faff;
  --bg-card: #ffffff;
  --surface-2: #f0f4ff;
  --section-alt-bg: #f4f7fe;

  /* ── Borders ── */
  --border: rgba(26, 115, 232, 0.12);
  --border-strong: rgba(26, 115, 232, 0.22);

  /* ── Text ── */
  --text-primary: #000000;
  --text-secondary: #111111;
  --text-muted: #2d2d2d;

  /* ── Navbar ── */
  --nav-bg: rgba(255, 255, 255, 0.98);
  --nav-border: rgba(26, 115, 232, 0.10);
  --nav-link-color: #000000;
  --nav-link-hover: #1a73e8;
  --nav-link-active: #1a73e8;
  --nav-active-bg: rgba(26, 115, 232, 0.07);

  /* ── Dropdown ── */
  --dropdown-text: #000000;
  --dropdown-bg: #ffffff;
  --dropdown-hover-bg: rgba(26, 115, 232, 0.06);
  --dropdown-hover-text: #1a73e8;

  /* ── Shadows ── */
  --shadow-sm: 0 2px 8px rgba(15, 40, 90, 0.08), 0 1px 3px rgba(15, 40, 90, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 40, 90, 0.10), 0 4px 10px rgba(15, 40, 90, 0.06);
  --shadow-lg: 0 24px 56px rgba(15, 40, 90, 0.14), 0 10px 20px rgba(15, 40, 90, 0.08);
  --shadow-blue: 0 8px 28px rgba(26, 115, 232, 0.22);

  /* ── Misc ── */
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  --card-accent-size: 3px;

  /* ── Footer — light, so white-bg logo is perfectly visible ── */
  --footer-bg: #f3f8fc;
  --footer-bg-2: #eef8f3;
  --footer-text: #000000;
  --footer-heading: #000000;
  --footer-border: rgba(26, 115, 232, 0.12);
}

/* ===== BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Clean white page with very subtle logo-colour corner glows */
body {
  background-color: #ffffff;
  background-image:
    radial-gradient(ellipse 55% 40% at 0% 0%, rgba(26, 115, 232, 0.05) 0px, transparent 60%),
    radial-gradient(ellipse 45% 35% at 100% 0%, rgba(52, 168, 83, 0.04) 0px, transparent 60%),
    radial-gradient(ellipse 40% 35% at 100% 100%, rgba(251, 188, 4, 0.03) 0px, transparent 60%),
    radial-gradient(ellipse 40% 35% at 0% 100%, rgba(234, 67, 53, 0.03) 0px, transparent 60%);
  background-attachment: fixed;
}

body.drawer-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

a {
  color: var(--g-blue);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

/* Global text darkness — all paragraphs, lists, spans inherit dark color */
p,
li,
span:not(.badge):not([class*="icon"]):not([class*="btn"]) {
  color: var(--text-secondary);
}

.page {
  display: none;
}

.page.active {
  display: block;
  animation: fadeIn 0.38s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

.navbar {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 2000;
  transition: background var(--transition), border-color var(--transition);
  padding: 10px 0;
  min-height: 72px;
  overflow: visible !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
  color: var(--text-primary) !important;
  text-decoration: none;
  padding: 0;
  margin: 0;
}

/* Prevent the generic a:hover rule from tinting the logo anchors */
.navbar-brand:hover,
.navbar-brand:focus,
.footer-logo:hover,
.footer-logo:focus {
  color: inherit !important;
  opacity: 1 !important;
}

.logo-stacked {
  display: flex;
  align-items: flex-end;
  /* Align baselines of T and Lab */
  gap: 0;
  /* Zero gap for seamless integration */
  line-height: normal;
}

.site-logo {
  display: block;
  width: auto;
  height: 150px;
  object-fit: contain;
  /* Lock logo image — never change appearance on hover */
  -webkit-user-drag: none;
}

.site-logo,
.site-logo:hover,
.site-logo:focus,
.splash-logo-img,
.splash-logo-img:hover {
  opacity: 1 !important;
  color: initial !important;
}

.navbar-brand .site-logo {
  height: 85px;
  margin: 4px 0;
  transform: none;
  position: relative;
  z-index: 10;
}

@media (max-width: 991px) {
  .navbar-brand .site-logo {
    height: 90px;
    margin: 4px 0;
  }
  .navbar {
    padding: 0;
    min-height: 85px;
  }
}

.footer-logo .site-logo {
  height: 60px;
  transform: none;
}

.splash-logo-img {
  height: 300px;
  width: auto;
  object-fit: contain;
  transform: none;
  mix-blend-mode: multiply;
}

/* Prevent any colour / opacity / filter hover transitions on the logo images */
.site-logo,
.site-logo:hover,
.site-logo:focus {
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.splash-logo-img,
.splash-logo-img:hover {
  opacity: 1 !important;
  filter: none !important;
  /* mix-blend-mode: multiply keeps white bg transparent on the preloader */
}


/* ===== NAVBAR ===== */
.navbar {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 2000;
  transition: box-shadow var(--transition);
  padding: 0;
  min-height: 72px;
  overflow: visible !important;
  /* Subtle 4-colour gradient bottom line */
  box-shadow: 0 1px 0 0 rgba(26, 115, 232, 0.10),
    0 2px 16px rgba(15, 40, 90, 0.07);
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-logo);
  opacity: 0.55;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  overflow: visible;
}

/* Prevent hover tinting on logo anchors */
.navbar-brand:hover,
.navbar-brand:focus,
.footer-logo:hover,
.footer-logo:focus {
  color: inherit !important;
  opacity: 1 !important;
}

.navbar-toggler {
  border: 1px solid var(--border);
}

.nav-link {
  color: var(--nav-link-color) !important;
  font-weight: 600;
  font-size: 0.91rem;
  transition: all var(--transition);
  padding: 0.45rem 0.9rem !important;
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active-nav {
  color: var(--nav-link-hover) !important;
  background: var(--nav-active-bg);
}

.nav-link.active-nav {
  color: var(--nav-link-active) !important;
  box-shadow: inset 0 0 0 1px rgba(26, 115, 232, 0.14);
}

.dropdown-menu {
  background: var(--dropdown-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 0.35rem;
  z-index: 2100;
}

.dropdown-item {
  color: var(--dropdown-text);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.9rem;
  transition: all var(--transition);
}

.dropdown-item:hover,
.dropdown-item.active-nav {
  background: var(--dropdown-hover-bg);
  color: var(--dropdown-hover-text);
}


/* ===== SECTION BASE ===== */
.section {
  padding: 72px 0;
  position: relative;
}

.section>* {
  position: relative;
  z-index: 1;
}

/* Subtle dot-grid on every section */
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26, 115, 232, 0.035) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

/* ===== SECTION ALT — light periwinkle-tinted ===== */
.section-alt {
  background: linear-gradient(180deg, #f4f7fe 0%, #eef2fc 100%);
  border-top: 1px solid rgba(26, 115, 232, 0.08);
  border-bottom: 1px solid rgba(26, 115, 232, 0.08);
  position: relative;
}

.section-alt::before {
  background-image: radial-gradient(rgba(52, 168, 83, 0.04) 1px, transparent 1px) !important;
}

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--brand-600);
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.08), rgba(52, 168, 83, 0.05));
  border: 1px solid rgba(26, 115, 232, 0.22);
  border-radius: 999px;
  padding: 7px 20px;
  margin-bottom: 0.45rem;
  transition: all var(--transition);
}

.section-label:hover {
  border-color: rgba(26, 115, 232, 0.40);
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.12), rgba(52, 168, 83, 0.07));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.10);
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  margin-top: 0.25rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  position: relative;
  display: block;
  width: 100%;
  padding-bottom: 0.65rem;
  text-wrap: balance;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--g-blue), var(--g-green), var(--g-yellow), var(--g-red));
  opacity: 1;
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.20);
}

.section-sub {
  font-size: 1.04rem;
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 640px;
}

.section>.container>.text-center.mb-5 {
  margin-bottom: 2rem !important;
}

.section>.container>.mb-5.text-center {
  margin-bottom: 2rem !important;
}

.section .section-label {
  margin-bottom: 0.4rem;
}

body[data-page="home"] .hero-grid {
  display: none;
}

body[data-page="home"] .hero .hero-image {
  border-radius: 24px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.22);
  filter: saturate(1.06) contrast(1.04);
}

body[data-page="home"] .hero {
  border-bottom: 1px solid rgba(26, 115, 232, 0.08);
  color: var(--text-primary) !important;
}

body[data-page="home"] .hero::after {
  display: none;
}

body[data-page="home"] .hero-grid {
  display: none;
}

body[data-page="home"] .hero h1 {
  color: var(--text-primary) !important;
  text-shadow: none !important;
}

body[data-page="home"] .hero p {
  color: var(--text-secondary) !important;
}

body[data-page="home"] .hero .hero-pill {
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(26, 115, 232, 0.18);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.08);
}

body[data-page="home"] .btn-hero-outline {
  border-color: rgba(26, 115, 232, 0.38);
  color: var(--brand-600);
}

body[data-page="home"] .btn-hero-outline:hover {
  background: rgba(26, 115, 232, 0.06);
  border-color: var(--g-blue);
  color: var(--g-blue);
}

/* Decorative blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-blob-1 {
  width: 500px;
  height: 500px;
  top: -140px;
  right: -100px;
  background: rgba(26, 115, 232, 0.08);
  filter: blur(80px);
  animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-2 {
  width: 340px;
  height: 340px;
  bottom: -80px;
  left: -60px;
  background: rgba(52, 168, 83, 0.07);
  filter: blur(60px);
  animation: blobFloat 10s ease-in-out 2s infinite reverse;
}

.hero-blob-3 {
  width: 220px;
  height: 220px;
  top: 50%;
  right: 15%;
  transform: translateY(-50%);
  background: rgba(251, 188, 4, 0.08);
  filter: blur(50px);
  animation: blobFloat3 12s ease-in-out 4s infinite;
}

@keyframes blobFloat {

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

  50% {
    transform: translateY(-20px) scale(1.04);
  }
}

.hero-blob-3 {
  animation: blobFloat3 12s ease-in-out 4s infinite;
}

@keyframes blobFloat3 {

  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }

  50% {
    transform: translateY(calc(-50% - 20px)) scale(1.04);
  }
}


/* Entrance animations for hero (triggered by JS) */
.hero h1,
.hero p,
.hero .hero-image,
.hero .d-flex.flex-wrap,
.hero .hero-stats-row,
.hero .hero-kicker,
.service-hero h1,
.service-hero p,
.service-hero .hero-image,
.service-hero .d-flex.flex-wrap,
.service-hero .section-label,
.service-hero .hero-kicker,
.service-hero .development-visual {
  opacity: 0;
}

/* Left side elements slide in from left */
.hero.animate-trigger h1,
.service-hero.animate-trigger h1 {
  animation: slideInLeft 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0s both;
}

.hero.animate-trigger p,
.service-hero.animate-trigger p {
  animation: slideInLeft 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero.animate-trigger .d-flex.flex-wrap.gap-2,
.service-hero.animate-trigger .d-flex.flex-wrap.gap-2,
.hero.animate-trigger .hero-kicker,
.service-hero.animate-trigger .hero-kicker {
  animation: slideInLeft 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.hero.animate-trigger .d-flex.flex-wrap.gap-3,
.service-hero.animate-trigger .d-flex.flex-wrap.gap-3,
.hero.animate-trigger .mt-4,
.service-hero.animate-trigger .mt-4 {
  animation: slideInLeft 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.hero.animate-trigger .hero-stats-row {
  animation: slideInLeft 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

/* Right side image/visual slides in from right */
.hero.animate-trigger .hero-image,
.service-hero.animate-trigger .hero-image,
.service-hero.animate-trigger .development-visual {
  animation: slideInRight 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-160px);
  }

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(160px);
  }

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

/* Ensure hero row keeps text and image side by side */
.hero .row {
  align-items: center !important;
}

.hero .col-lg-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero .col-lg-6.order-1 {
  padding-top: 0;
}

.hero-image {
  max-height: 420px;
  width: 100%;
  object-fit: contain;
}

html[data-theme="dark"] body[data-page="home"] .hero {
  background-color: #0d1b2e;
}

.home-cta {
  background: linear-gradient(135deg, #eef3ff 0%, #f0f8ff 40%, #ecf9f0 100%);
  border-top: 1px solid rgba(26, 115, 232, 0.10);
  border-bottom: 1px solid rgba(26, 115, 232, 0.10);
  position: relative;
  overflow: hidden;
}

.home-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26, 115, 232, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.home-cta .container {
  max-width: 760px;
}

.home-cta-title {
  color: var(--text-primary) !important;
  margin-top: 0.35rem !important;
}

.home-cta-text {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.home-cta-label {
  color: var(--brand-600);
  background: rgba(26, 115, 232, 0.06);
  border-color: rgba(26, 115, 232, 0.15);
}

[data-theme="dark"] .home-cta {
  background: linear-gradient(180deg, #0c2241 0%, #113663 100%);
}

[data-theme="dark"] .home-cta-label {
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(96, 165, 250, 0.26);
}

[data-theme="dark"] .home-cta-title {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .home-cta-text {
  color: #d5e1ef;
}

.services-heading-stack .section-label {
  margin: 0 auto 0.25rem;
}

.services-heading-stack .section-title {
  margin: 0.15rem 0 0;
}

.row.g-4 {
  --bs-gutter-y: 1.25rem;
  --bs-gutter-x: 1.25rem;
}

.row.g-5 {
  --bs-gutter-y: 1.6rem;
  --bs-gutter-x: 1.6rem;
}

/* ===== UNIFORM CARDS ===== */
/* Glassmorphism card base */
.card-custom,
.svc-card,
.why-card,
.testi-card,
.contact-info-card,
.project-card,
.horiz-content {
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

/* ── Bottom-to-top slide overlay using ::after (keeps ::before free for accent stripe) ── */
.card-custom::after,
.svc-card::after,
.why-card::after,
.testi-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: #e0f2fe;
  /* default: soft Canva-blue */
  z-index: 0;
  transition: height 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: inherit;
  pointer-events: none;
}

/* All card text content must sit above the ::after overlay */
.card-custom>*,
.svc-card>*,
.why-card>*,
.testi-card>* {
  position: relative;
  z-index: 1;
}

/* Trigger slide on hover */
.card-custom:hover::after,
.svc-card:hover::after,
.why-card:hover::after,
.testi-card:hover::after {
  height: 100%;
}

/* Unified card elevation on hover */
.card-custom:hover,
.svc-card:hover,
.why-card:hover,
.testi-card:hover {
  transform: translateY(-12px) scale(1.025) !important;
  box-shadow: 0 24px 50px rgba(15, 40, 90, 0.13), 0 8px 18px rgba(15, 40, 90, 0.07) !important;
  border-color: rgba(26, 115, 232, 0.3) !important;
}

/* On hover: titles → black bold; body text → very dark */
.card-custom:hover .card-title-sm,
.svc-card:hover .card-title-sm,
.why-card:hover div>div:first-child,
.testi-card:hover .card-title-sm {
  color: #000000 !important;
  font-weight: 800 !important;
  transition: color 0.3s ease;
}

.card-custom:hover .card-text-sm,
.svc-card:hover .card-text-sm,
.why-card:hover div>div:last-child,
.testi-card:hover .testi-quote {
  color: #1e293b !important;
  transition: color 0.3s ease;
}

/* ── Standard color helpers (now on ::after) ── */
/* Blue */
.h-blue::after {
  background: #e0f2fe !important;
}

.h-blue:hover .card-title-sm,
.h-blue:hover div>div:first-child {
  color: #000 !important;
  font-weight: 800 !important;
}

/* Green */
.h-green::after {
  background: #dcfce7 !important;
}

.h-green:hover .card-title-sm,
.h-green:hover div>div:first-child {
  color: #000 !important;
  font-weight: 800 !important;
}

/* Yellow */
.h-yellow::after {
  background: #fef3c7 !important;
}

.h-yellow:hover .card-title-sm,
.h-yellow:hover div>div:first-child {
  color: #000 !important;
  font-weight: 800 !important;
}

/* Red */
.h-red::after {
  background: #fee2e2 !important;
}

.h-red:hover .card-title-sm,
.h-red:hover div>div:first-child {
  color: #000 !important;
  font-weight: 800 !important;
}

/* Purple */
.h-purple::after {
  background: #f3e8ff !important;
}

.h-purple:hover .card-title-sm,
.h-purple:hover div>div:first-child {
  color: #000 !important;
  font-weight: 800 !important;
}

.card-custom {
  background: var(--bg-card);
  border: 1px solid rgba(26, 115, 232, 0.10);
  border-radius: var(--radius);
  padding: 28px 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(26, 115, 232, 0.07);
}

.card-custom:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(26, 115, 232, 0.13);
  border-color: rgba(26, 115, 232, 0.30);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;

  position: relative;
  z-index: 2;
}

.icon-blue {
  background: rgba(26, 115, 232, 0.10);
  color: var(--g-blue);
}

.icon-red {
  background: rgba(234, 67, 53, 0.10);
  color: var(--g-red);
}

.icon-green {
  background: rgba(52, 168, 83, 0.10);
  color: var(--g-green);
}

.icon-yellow {
  background: rgba(251, 188, 4, 0.12);
  color: #e5a800;
}

.icon-teal {
  background: rgba(0, 137, 123, 0.10);
  color: var(--accent-teal);
}

.icon-purple {
  background: rgba(103, 58, 183, 0.10);
  color: #7c4dff;
}

.card-title-sm {
  font-size: 1.04rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.card-text-sm {
  font-size: 0.895rem;
  color: var(--text-secondary);
  line-height: 1.68;
  flex: 1;
}

body[data-page="ai-agents"] .card-custom {
  border-top: 3px solid var(--brand-600);
}

body[data-page="ai-agents"] .card-custom:hover {
  border-color: rgba(26, 115, 232, 0.35);
}

/* ===== HERO & SERVICE HERO ===== */
.hero,
.service-hero {
  position: relative;
  overflow: hidden;
  /* Fresh Canva-style light blue gradient */
  background: linear-gradient(180deg, #e0f2fe 0%, #ffffff 100%) !important;
  color: var(--text-primary) !important;
  padding: 72px 0 54px;
  border-bottom: 1px solid rgba(26, 115, 232, 0.08);
}

.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 60px 0 48px;
}

.hero::before,
.service-hero::before {
  display: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: radial-gradient(rgba(26, 115, 232, 0.08) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero .container,
.service-hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge,
.service-hero .section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--brand-600) !important;
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.08), rgba(52, 168, 83, 0.05)) !important;
  border: 1px solid rgba(26, 115, 232, 0.22) !important;
  border-radius: 999px;
  padding: 7px 20px;
  margin-bottom: 0.45rem;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.04);
}

.hero h1,
.service-hero h1,
.hero h1 span,
.service-hero h1 span,
.hero h1 .highlight,
.service-hero h1 .highlight,
.hero h1 .hl,
.service-hero h1 .hl {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text-primary) !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  line-height: 1.06;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
  text-shadow: none !important;
}

.hero-desc,
.service-hero p {
  color: var(--text-secondary) !important;
  font-size: 1.04rem;
  line-height: 1.74;
  max-width: 540px;
  margin-bottom: 1.8rem;
}

.hero-subdesc {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.72;
  max-width: 520px;
  margin-bottom: 1.9rem;
}

.btn-hero-primary {
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.30);
  cursor: pointer;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(26, 115, 232, 0.38);
}

.btn-hero-outline {
  background: transparent;
  color: var(--brand-600);
  border: 1.5px solid rgba(26, 115, 232, 0.35);
  border-radius: 12px;
  padding: 13px 32px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-hero-outline:hover {
  border-color: var(--g-blue);
  background: rgba(26, 115, 232, 0.05);
  color: var(--g-blue);
}

.hero-pill i {
  display: inline-flex;
  align-self: center;
  margin-right: 4px;
}

.hero-pill {
  line-height: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(26, 115, 232, 0.15);
  border-radius: 10px;
  padding: 9px 16px;
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.08);
}

.hero-kicker {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
}

/* ===== HOME HERO BADGE ===== */
.hero-badge-home {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px 7px 10px;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(26, 115, 232, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(26, 115, 232, 0.08);
}

.hero-badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* h1 accent gradient text for second line */
.hero-h1-accent {
  background: linear-gradient(90deg, var(--g-blue) 0%, var(--g-green) 50%, var(--g-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== HERO STATS ROW ===== */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(26, 115, 232, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(26, 115, 232, 0.06);
  width: fit-content;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 3px;
  white-space: nowrap;
}

.hero-stat-div {
  width: 1px;
  height: 36px;
  background: rgba(26, 115, 232, 0.15);
  flex-shrink: 0;
}

/* ===== HERO BOTTOM STRIPE ===== */
.hero-bottom-stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-logo);
  opacity: 0.7;
}


.hero-image-shell {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: auto;
}

.hero-image-frame {
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  height: auto;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  object-position: center center;
  border-radius: 20px;
  filter: drop-shadow(0 24px 48px rgba(26, 115, 232, 0.12)) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.08));
  position: relative;
  z-index: 1;
  animation: heroImageFloat 6s ease-in-out infinite;
}

@keyframes heroImageFloat {

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

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

/* ===== SERVICE CARDS (home page clickable) ===== */
.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px 26px;
  transition: all var(--transition);
  height: 100%;
  box-shadow: 0 2px 12px rgba(26, 115, 232, 0.07);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.svc-explore {
  color: var(--g-blue);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: auto;
  padding-top: 14px;
}

/* ===== WHY CARDS ===== */
.why-card {
  background: var(--bg-card);
  border: 1px solid rgba(26, 115, 232, 0.10);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition);
  height: 100%;
  box-shadow: 0 2px 10px rgba(26, 115, 232, 0.06);
}

.why-card:hover {
  border-color: rgba(26, 115, 232, 0.30);
}

.why-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(52, 168, 83, 0.11);
  color: var(--g-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* ===== TECH TICKER & PILLS ===== */
.tech-ticker-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  /* Masking gradients for smooth entry/exit */
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.tech-ticker {
  display: flex;
  width: max-content;
  animation: tickerScroll 40s linear infinite;
}

.tech-ticker:hover {
  animation-play-state: paused;
}

.tech-ticker-content {
  display: flex;
  gap: 20px;
  padding-right: 20px;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.tech-pill i {
  font-size: 1.2rem;
  transition: transform 0.4s ease;
}

.tech-pill:hover {
  transform: translateY(-8px) scale(1.08);
  border-color: var(--brand-500);
  color: var(--text-primary);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
  background: var(--bg-card);
  z-index: 10;
}

.tech-pill:hover i {
  transform: scale(1.2) rotate(5deg);
}

/* Specific hover glows for some icons */
.tech-pill:hover i[style*="#f90"] {
  filter: drop-shadow(0 0 8px rgba(255, 153, 0, 0.4));
}

.tech-pill:hover i[style*="#61dafb"] {
  filter: drop-shadow(0 0 8px rgba(97, 218, 251, 0.4));
}

.tech-pill:hover i[style*="#6db33f"] {
  filter: drop-shadow(0 0 8px rgba(109, 179, 63, 0.4));
}

.tech-pill:hover i[style*="#2496ed"] {
  filter: drop-shadow(0 0 8px rgba(36, 150, 237, 0.4));
}

[data-theme="dark"] .tech-pill {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .tech-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--brand-400);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.tech-stack-card {
  padding: 16px 16px 15px;
  min-height: 0;
}

.tech-stack-card .card-title-sm {
  font-size: 0.96rem;
  text-align: center;
  margin-bottom: 0.7rem !important;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.tech-stack-card .d-flex.flex-wrap {
  gap: 0.45rem !important;
}

.tech-stack-card .tech-pill {
  gap: 7px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.1;
}

.tech-stack-card .tech-pill i {
  font-size: 1rem;
}


/* ===== TESTIMONIALS ===== */
.testi-card {
  background: var(--bg-card);
  border: 1px solid rgba(26, 115, 232, 0.10);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 2px 12px rgba(26, 115, 232, 0.07);
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 115, 232, 0.12);
  border-color: rgba(26, 115, 232, 0.30);
}

.testi-quote {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.72;
  flex: 1;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}

/* ===== PROCESS STEPS ===== */
.delivery-intro-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: calc(var(--radius) + 2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 249, 255, 0.95));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .delivery-intro-card {
  background: linear-gradient(180deg, rgba(19, 25, 42, 0.96), rgba(15, 20, 34, 0.94));
  border-color: rgba(120, 170, 255, 0.12);
}

.process-step {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 20px 20px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  transition: all var(--transition);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid rgba(26, 115, 232, 0.92);
}

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

.process-step:hover {
  border-color: rgba(26, 115, 232, 0.32);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step-num {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--g-blue), #4c8df5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  box-shadow: 0 12px 20px rgba(26, 115, 232, 0.18);
  z-index: 1;
}

.process-copy {
  padding-top: 2px;
}

.process-copy .card-title-sm {
  margin-bottom: 6px;
}

.delivery-flow {
  padding-left: 0;
}

/* ===== CONTACT ===== */
.contact-input {
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  color: var(--text-primary);
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 0.92rem;
  width: 100%;
  transition: all var(--transition);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.contact-input:focus {
  outline: none;
  border-color: var(--g-blue);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.13);
}

.contact-input::placeholder {
  color: var(--text-muted);
}

.contact-info-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.contact-info-card:hover {
  border-color: var(--g-blue);
}

.contact-slider {
  padding: 26px;
}

.contact-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 22px;
}

.contact-slider-title {
  margin: 0.25rem 0 0.35rem;
  color: var(--text-primary);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
}

.contact-slider-sub {
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0;
  line-height: 1.7;
}

.contact-slider-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  gap: 4px;
}

.contact-toggle-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 999px;
  transition: all var(--transition);
  min-width: 96px;
}

.contact-toggle-btn.active {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}

.contact-slider-track {
  display: flex;
  width: 200%;
  transition: transform 0.48s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.contact-slider-track.is-form {
  transform: translateX(-50%);
}

.contact-slide {
  width: 50%;
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 251, 255, 0.98));
  border: 1px solid var(--border);
}

[data-theme="dark"] .contact-slide {
  background: linear-gradient(180deg, rgba(17, 26, 45, 0.98) 0%, rgba(15, 22, 34, 0.98) 100%);
}

.contact-email-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.09);
  color: var(--brand-600);
  border: 1px solid rgba(37, 99, 235, 0.16);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 16px;
}

[data-theme="dark"] .contact-email-badge {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(96, 165, 250, 0.24);
}

.contact-email-panel h4 {
  color: var(--text-primary);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.contact-email-panel p {
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 560px;
  margin-bottom: 1.4rem;
}

.contact-email-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-email-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.contact-email-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--brand-600);
  box-shadow: var(--shadow-md);
}

.contact-email-pill.secondary {
  color: var(--text-secondary);
}

.contact-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-mini-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.contact-mini-card i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-600);
  flex-shrink: 0;
}

.contact-mini-card div div {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-mini-card span,
.contact-mini-card a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact-success {
  background: rgba(52, 168, 83, 0.09);
  border: 1px solid rgba(52, 168, 83, 0.28);
  border-radius: 12px;
  padding: 15px 16px;
  margin-bottom: 18px;
  color: var(--g-green);
  font-weight: 600;
}

.contact-slider-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.contact-footer-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
}

.contact-footer-item i {
  color: var(--brand-600);
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-drawer-hint {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
}

.contact-drawer-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-600), var(--accent-violet));
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.contact-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 2500;
}

.contact-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(520px, 92vw);
  transform: translateX(105%);
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2600;
  background: #ffffff;
  border-left: 1px solid var(--border);
  box-shadow: -24px 0 48px rgba(15, 23, 42, 0.18);
  padding: 22px 20px 20px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

[data-theme="dark"] .contact-drawer {
  background: #0b0f19;
}

.contact-drawer.is-open {
  transform: translateX(0);
}

.contact-drawer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.contact-drawer-kicker {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 4px;
}

.contact-drawer-top h3 {
  font-size: 1.4rem;
  margin: 0;
  color: var(--text-primary);
}

.contact-drawer-close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-drawer-tabs {
  display: flex;
  gap: 8px;
  padding: 4px;
  border-radius: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.contact-drawer-tab {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 10px;
  transition: all var(--transition);
}

.contact-drawer-tab.active {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.24);
}

.contact-drawer-track {
  display: flex;
  width: 200%;
  transition: transform 0.48s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  min-height: 0;
}

.contact-drawer-track.is-form {
  transform: translateX(-50%);
}

.contact-drawer-panel {
  width: 50%;
  padding-right: 14px;
}

.contact-drawer-text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

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

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

.contact-drawer .contact-email-pill,
.contact-drawer .contact-mini-card,
.contact-drawer .contact-success {
  background: var(--bg-alt);
}

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

.map-placeholder {
  width: 100%;
  height: 250px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e8f0fe, #e3f2fd);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

[data-theme="dark"] .map-placeholder {
  background: linear-gradient(135deg, #1a2744, #1c2d44);
}

/* ===== FEATURE LIST ===== */
.feature-li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

.feature-li:last-child {
  border-bottom: none;
}

.feature-li i {
  color: var(--g-green);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ===== SERVICE PAGE HERO ===== */
/* ===== DEVELOPMENT HERO IMAGE ===== */
.development-visual {
  position: relative;
  max-width: 100%;
  margin-left: auto;
}

.development-visual::before {
  content: '';
  position: absolute;
  inset: 10% 8% 8% 10%;
  background: radial-gradient(circle at 35% 30%, rgba(59, 130, 246, 0.26), transparent 62%),
    radial-gradient(circle at 75% 65%, rgba(167, 139, 250, 0.16), transparent 52%);
  filter: blur(18px);
  z-index: 0;
}

.development-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 22px;
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transform: translateY(2px);
}

[data-theme="dark"] .section-label {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #dbe5f2;
  box-shadow: none;
}

[data-theme="dark"] .section-title::after {
  opacity: 1;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.16);
}

/* ===== FOOTER — Light periwinkle, logo perfectly visible ===== */
footer {
  background: linear-gradient(180deg, var(--footer-bg) 0%, var(--footer-bg-2) 100%);
  color: var(--footer-text);
  padding: 72px 0 28px;
  position: relative;
  border-top: 1px solid rgba(26, 115, 232, 0.10);
}

/* 4-colour top stripe matching logo */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-logo);
}

footer h5 {
  color: var(--footer-heading);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  color: var(--footer-text);
  font-size: 0.87rem;
  margin-bottom: 9px;
  transition: all 0.22s ease;
}

.footer-link:hover {
  color: var(--g-blue) !important;
  padding-left: 5px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid rgba(26, 115, 232, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  transition: all var(--transition);
  margin-right: 7px;
  background: rgba(255, 255, 255, 0.7);
}

.social-icon:hover {
  background: var(--g-blue);
  border-color: var(--g-blue);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(26, 115, 232, 0.10);
  padding-top: 22px;
  margin-top: 48px;
  color: var(--footer-text);
}

/* Logo on light footer — white bg logo shows perfectly, no filter */
footer .site-logo {
  mix-blend-mode: normal;
  filter: none;
}

/* Footer description text */
footer p {
  color: var(--footer-text) !important;
}

/* ===== PROJECT CARDS ===== */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.project-header {
  padding: 26px;
  border-bottom: 1px solid var(--border);
}

.project-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ===== SHARED CARD HOVER ACCENT ===== */
.why-card,
.testi-card,
.process-step,
.contact-info-card,
.project-card,
.contact-mini-card,
.contact-email-pill,
.contact-footer-item {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Target specific cards with Google-themed rising highlights */
.card-hover-bright {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Ensure content stays above the highlight */
.card-hover-bright>* {
  position: relative;
  z-index: 2;
}



/* ===== BTN SOLID ===== */
.btn-primary-custom {
  background: var(--g-blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 30px;
  font-weight: 600;
  font-size: 0.93rem;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 18px rgba(26, 115, 232, 0.32);
  display: inline-block;
}

.btn-primary-custom:hover {
  background: #1557b0;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 115, 232, 0.44);
}

/* ===== MISC ===== */
.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.why-item:hover {
  background: var(--bg-alt);
}

.why-check {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(52, 168, 83, 0.11);
  color: var(--g-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.84rem;
}

/* ===== RESPONSIVE ===== */
@media(max-width:991px) {
  .hero {
    min-height: auto;
    padding: 80px 0 60px;
  }

  .navbar-collapse {
    margin-top: 0.8rem;
    padding: 0.85rem 1rem 1rem;
    background: var(--nav-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }

  .navbar-nav {
    align-items: stretch !important;
  }

  .nav-link {
    width: 100%;
    justify-content: center;
  }

  .dropdown-menu {
    width: 100%;
    position: static !important;
    float: none;
    margin-top: 0.4rem;
  }

  .hero-image {
    max-height: none;
  }

  .hero-image-shell {
    justify-content: flex-start;
    margin-top: 0.5rem;
  }

  .development-visual {
    margin-top: 1.5rem;
    margin-left: 0;
    max-width: 100%;
  }
}

@media(max-width:767px) {
  .section {
    padding: 52px 0;
  }

  .hero,
  .service-hero {
    padding: 54px 0 36px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .service-hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: clamp(1.55rem, 6vw, 2.1rem);
  }

  .services-heading-stack .section-title {
    margin-top: 0.2rem;
  }

  .delivery-intro-card {
    padding: 22px;
  }

  .process-step {
    padding: 18px 18px 18px 16px;
  }

  .step-num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .why-card,
  .contact-info-card,
  .testi-card {
    padding: 18px;
  }

  .contact-slider {
    padding: 18px;
  }

  .contact-slider-head {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-slider-toggle {
    width: 100%;
  }

  .contact-toggle-btn {
    flex: 1;
    min-width: 0;
  }

  .contact-slide {
    padding: 20px;
  }

  .contact-mini-grid,
  .contact-slider-footer {
    grid-template-columns: 1fr;
  }

  .contact-drawer {
    width: min(92vw, 380px);
    padding: 18px 16px 18px;
  }
}

@media(max-width:479px) {
  .hero-image-frame {
    padding: 0;
    border-radius: 0;
  }

  .btn-hero-primary,
  .btn-hero-outline,
  .btn-primary-custom {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 42px 0;
  }

  .development-image {
    border-radius: 18px;
  }

  .hero-kicker {
    margin-bottom: 0.85rem !important;
  }

  .contact-email-pill {
    padding: 14px 15px;
    font-size: 0.92rem;
  }

  .contact-drawer {
    width: 100vw;
  }
}

@media(min-width:992px) {
  .hero .row {
    align-items: center;
  }

  .hero-image-shell {
    align-items: center;
    margin-top: 0;
    min-height: 0;
  }

  .hero-image {
    width: 100%;
    max-height: none;
  }

  .development-image {
    transform: translateY(2px) scale(1.05);
    transform-origin: center;
  }
}


/* ===== MULTI-PAGE HELPERS ===== */
.service-anchor {
  scroll-margin-top: 92px;
}

/* Shared card accent used across the site */
:root {
  --card-accent-size: 2px;
}



.card-custom,
.svc-card,
.hero-svc-card,
.horiz-content,
.feature-card,
.service-card,
.info-card,
.card,
[class$="-card"] {
  border-top: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-svc-card::before,
.horiz-content::before,
.feature-card::before,
.service-card::before,
.info-card::before,
.project-card::before,
.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--card-accent-size);
  background: linear-gradient(90deg, var(--g-blue) 0%, var(--g-green) 40%, var(--g-yellow) 70%, var(--g-red) 100%);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  pointer-events: none;
}

/* ===== HORIZONTAL DELIVERY PATH ===== */
.delivery-horiz-container {
  position: relative;
  padding: 10px 0;
  margin-top: 10px;
}

.delivery-horiz-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
}

.horiz-step {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 280px;
  max-width: 340px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 25px;
}

/* Connection Bridge between nodes */
.horiz-step::after {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(50% + 22px);
  width: calc(100% - 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand-600), var(--accent-violet));
  opacity: 0.35;
  z-index: 0;
  /* Changed from 1 to 0 */
}

/* Row Jump Connection (3 to 4) */
@media (min-width: 992px) {
  .horiz-step:nth-child(3)::after {
    display: block;
    top: 44px;
    left: 50%;
    width: 2px;
    height: 30px;
    /* Increased to bridge the gap better */
    background: var(--accent-violet);
    opacity: 0.15;
    /* More subtle */
    z-index: 0;
    /* Behind the card */
  }

  .horiz-step:nth-child(4)::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    width: 2px;
    height: 30px;
    background: var(--brand-600);
    opacity: 0.15;
    z-index: 0;
  }

  /* Faint line across to guide the eye */
  .delivery-horiz-wrapper::after {
    content: '';
    position: absolute;
    top: calc(33.333% + 40px);
    /* Better row estimation */
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
  }
}

.horiz-step:last-child::after,
.horiz-step:nth-child(3n)::after {
  display: none;
}

/* Re-enable 3rd child vertical line */
@media (min-width: 992px) {
  .horiz-step:nth-child(3)::after {
    display: block !important;
  }
}

.horiz-node {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 2px solid var(--brand-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--brand-600);
  margin-bottom: 14px;
  position: relative;
  z-index: 3;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
  transition: all var(--transition);
}

.horiz-step:hover .horiz-node {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.horiz-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  width: 100%;
  flex-grow: 1;
  /* Make cards fill the available space */
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  /* Ensure card is above the lines */
  overflow: hidden;
}

/* Bottom hover accent matching site design */
.horiz-content::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--accent-color, var(--brand-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  pointer-events: none;
  z-index: 5;
}

.horiz-step:hover .horiz-content::after {
  transform: scaleX(1);
}

.horiz-step:hover .horiz-content {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color, rgba(37, 99, 235, 0.35));
}

.horiz-icon {
  width: 32px;
  height: 32px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-600);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin: 0 auto 10px;
}

[data-theme="dark"] .horiz-icon {
  background: rgba(96, 165, 250, 0.15);
  color: var(--brand-400);
}

.horiz-content-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.horiz-content-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Mobile adjustments */
@media (max-width: 991px) {
  .horiz-step {
    flex: 1 1 100%;
    max-width: 100%;
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
  }

  .horiz-step::after {
    top: 42px;
    left: 20px;
    width: 2px;
    height: calc(100% - 10px);
    background: linear-gradient(180deg, var(--brand-600), var(--accent-violet));
  }

  .horiz-step:last-child::after,
  .horiz-step:nth-child(3n)::after {
    display: block !important;
  }

  .horiz-step:last-child::after {
    display: none !important;
  }

  .horiz-node {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
  }

  .horiz-content {
    padding: 16px;
  }
}

/* ===== CARD-HOVER-BRIGHT: unified bottom-to-top slide (same as all cards) ===== */

/* card-hover-bright uses the same ::after slide as card-custom etc. */
/* ::after background color is set per color helper below */

/* card-hover-bright color-coded ::after backgrounds */
.card-hover-bright.h-blue::after {
  background: #e0f2fe !important;
}

.card-hover-bright.h-green::after {
  background: #dcfce7 !important;
}

.card-hover-bright.h-yellow::after {
  background: #fef3c7 !important;
}

.card-hover-bright.h-red::after {
  background: #fee2e2 !important;
}

.card-hover-bright.h-purple::after {
  background: #f3e8ff !important;
}

.card-hover-bright.h-teal::after {
  background: #ccfbf1 !important;
}

/* On hover: title = black bold; body = very dark */
.card-hover-bright:hover .card-title-sm {
  color: #000000 !important;
  font-weight: 800 !important;
  transition: color 0.3s ease;
}

.card-hover-bright:hover .card-text-sm {
  color: #1a2535 !important;
  transition: color 0.3s ease;
}

[data-theme="dark"] .card-hover-bright:hover {
  background: linear-gradient(180deg, rgba(17, 26, 45, 0.98) 0%, rgba(15, 22, 34, 0.98) 100%) !important;
}

[data-theme="dark"] .card-hover-bright.h-blue:hover::after,
[data-theme="dark"] .card-hover-bright.h-red:hover::after,
[data-theme="dark"] .card-hover-bright.h-yellow:hover::after,
[data-theme="dark"] .card-hover-bright.h-green:hover::after,
[data-theme="dark"] .card-hover-bright.h-purple:hover::after,
[data-theme="dark"] .card-hover-bright.h-teal:hover::after {
  background: var(--g-blue) !important;
  height: var(--card-accent-size) !important;
}

/* Universal interaction for arrows and links within cards */
.card-custom:hover .svc-explore i,
.svc-card:hover .svc-explore i,
.card-hover-bright:hover .svc-explore i {
  transform: translateX(5px);
}

.svc-explore i {
  transition: transform 0.3s ease;
}

/* Ensure all card icons have transition */
.horiz-icon,
.svc-icon,
.icon-pill {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base state for scroll animations */
.stat-col,
.feature-li,
.tech-pill,
.section-label:not(.hero .section-label, .service-hero .section-label) {
  opacity: 0;
  transform: translateY(20px);
}


/* Why Choose Us Cards Interaction */
.why-card:hover .card-icon {
  transform: rotate(-3deg);
}

/* General Link Polishing */
.footer-link:hover {
  padding-left: 5px;
  color: var(--g-blue) !important;
}

.footer-link {
  transition: all 0.2s ease;
}

/* Ensure content is always above the rising background */
.card-hover-bright>* {
  position: relative;
  z-index: 2;
}


/* ===== PRELOADER / SPLASH ENTRANCE ===== */
/* ===== PRELOADER / SPLASH ENTRANCE ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(26, 115, 232, .18), transparent 35%),
    radial-gradient(circle at bottom right, rgba(52, 168, 83, .14), transparent 35%),
    #DCE8F7;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: transform 0.75s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.5s ease;
  overflow: hidden;
}

/* Dot-grid texture on preloader */
#preloader::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26, 115, 232, 0.18) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Animated blob accents */
#preloader::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  top: -200px;
  right: -150px;
  background: rgba(26, 115, 232, 0.10);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: preloaderBlob 6s ease-in-out infinite;
}

@keyframes preloaderBlob {

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

  50% {
    transform: scale(1.1) translateY(-20px);
  }
}


.preloader-content {
  position: relative;
  z-index: 2;
  /* Above ::before and ::after overlays */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* ── Bouncing dots spinner ── */
.preloader-spinner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preloader-spinner .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  animation: dotBounce 1.2s ease-in-out infinite;
}

.dot-1 { background: #1a73e8; animation-delay: 0s; }
.dot-2 { background: #34A853; animation-delay: 0.18s; }
.dot-3 { background: #FBBC04; animation-delay: 0.36s; }
.dot-4 { background: #EA4335; animation-delay: 0.54s; }

@keyframes dotBounce {
  0%, 80%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  40% {
    transform: translateY(-18px) scale(1.15);
    opacity: 1;
  }
}

/* Extra bottom-left blob for the preloader */
.preloader-content::before {
  content: '';
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  bottom: -150px;
  left: -100px;
  background: rgba(52, 168, 83, 0.08);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  animation: preloaderBlob 9s ease-in-out 1s infinite reverse;
}

.splash-logo {
  transform: scale(2.2);
  opacity: 0;
  animation: splashEntrance 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Splash badge wrapper entrance */
.splash-logo-badge {
  opacity: 0;
  animation: splashBadgeEntrance 0.9s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Inner image inherits opacity from badge — no separate animation needed */
.splash-logo-badge .splash-logo-img {
  opacity: 1;
  animation: none;
}

/* Legacy: standalone image (no badge wrapper) */
.splash-logo-img:not(.splash-logo-badge .splash-logo-img) {
  opacity: 0;
  animation: splashImageEntrance 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes splashBadgeEntrance {
  0% {
    transform: scale(0.88);
    filter: blur(8px);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    filter: blur(0);
    opacity: 1;
  }
}

@keyframes splashEntrance {
  0% {
    transform: scale(3);
    filter: blur(10px);
    opacity: 0;
  }

  100% {
    transform: scale(2.2);
    filter: blur(0);
    opacity: 1;
  }
}

@keyframes splashImageEntrance {
  0% {
    transform: scale(0.92);
    filter: blur(10px);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    filter: blur(0);
    opacity: 1;
  }
}

/* Preloader wipe-left exit */
#preloader.fade-out {
  transform: translateX(-100%) scaleX(0.92);
  opacity: 0;
  pointer-events: none;
  transform-origin: left center;
}

/* ICICI Style Logo Move - This is a helper class for JS */
.logo-moving {
  position: fixed;
  object-fit: contain;
  z-index: 10001;
  transition:
    top 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    left 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease 0.4s;
  pointer-events: none;
  filter: blur(0px);
}

.logo-moving.in-flight {
  filter: blur(1.5px);
  opacity: 0.9;
}

.logo-moving .logo-t-large {
  color: #3b82f6 !important;
  /* Ensure T stays blue during move */
}

.logo-moving .logo-skill-text,
.logo-moving .logo-lab-text {
  color: #ffffff;
  /* White over dark preloader — JS overrides for light mode */
}


/* Site Content Unveiling */
.content-unveil {
  animation: contentUnveil 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes contentUnveil {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-content {
  opacity: 0;
  /* Hidden by default for splash */
  position: relative;
  z-index: 2000;
}

.splash-done .main-content {
  opacity: 1;
}

/* Directional animations */
.anim-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.anim-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.animate-in {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}