/* ============================================================
   KANISHKA WEB STUDIO - ONE CSS FILE FOR ALL PAGES
   Theme: DARK navy + blue and cyan

   Sections:
     1.  Variables & Base
     2.  Preloader (a website being designed)
     3.  Navbar
     4.  Mobile side menu
     5.  Buttons
     6.  Common helpers (sections, pills, page hero)
     7.  Floating buttons (WhatsApp, back-to-top, scroll bar)
     8.  HOME PAGE (hero, ticker, about section, counters)
     9.  Service cards + process
     10. Projects + portfolio
     11. ABOUT PAGE
     12. SERVICES PAGE (FAQ)
     13. CONTACT PAGE
     14. Footer
     15. Animations (reveal)
     16. Reduced motion
   ============================================================ */

/* ----------------------------------------
          1. VARIABLES & BASE
   ---------------------------------------- */
:root {
  --accent: #22d3ee;                     /* cyan */
  --blue: #2563eb;                       /* royal blue */
  --blue-light: #3b82f6;
  --grad: linear-gradient(100deg, #2563eb 0%, #3b82f6 50%, #22d3ee 100%);   /* buttons */
  --grad-text: linear-gradient(90deg, #5fdcf5, #7cabff);                    /* coloured words */
  --accent-soft: rgba(34, 211, 238, 0.12);
  --dark: #040a1f;                       /* page background */
  --dark-2: #07102b;                     /* second section background */
  --card: #0b1638;                       /* cards and boxes */
  --field: #060e27;                      /* form inputs */
  --ink: #ffffff;                        /* text on blue buttons */
  --text: #eef4ff;                       /* main text */
  --muted: #9fb0d4;                      /* paragraph text */
  --muted-light: rgba(226, 236, 255, 0.76);
  --border: rgba(76, 134, 246, 0.26);
  --radius: 18px;
  --head-font: 'Archivo', 'Arial Black', sans-serif;
  --body-font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono-font: 'JetBrains Mono', Consolas, monospace;
  color-scheme: dark;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body-font);
  color: var(--text);
  background: var(--dark);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--head-font); font-weight: 800; letter-spacing: -0.4px; }
section { overflow-x: clip; }
.flag { width: 20px; height: auto; margin-left: 5px; border-radius: 2px; vertical-align: -1px; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ----------------------------------------
              2. PRELOADER
   a website is designed: blocks appear, the mouse clicks, the phone slides in
   ---------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 38%, #112a6b 0%, #070f31 45%, #030817 100%);
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; transform: scale(1.07); }
html:has(#preloader:not(.hide)) { overflow: hidden; }       /* no scrolling while loading */

/* moving grid in the background */
#preloader::before {
  content: '';
  position: absolute;
  inset: -60px;
  background-image: linear-gradient(rgba(59, 130, 246, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(59, 130, 246, 0.14) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(circle, #000 10%, transparent 70%);
          mask-image: radial-gradient(circle, #000 10%, transparent 70%);
  animation: plGrid 3s linear infinite;
  will-change: transform;
}
@keyframes plGrid { to { transform: translate(60px, 60px); } }
#preloader > * { position: relative; }

/* size follows the screen, so it fits phones (also sideways) */
.pl-scene { width: min(470px, 96vw, 62vh); height: auto; overflow: visible; margin-bottom: clamp(8px, 3vh, 26px); contain: layout paint; }

.pl-ring { transform-origin: 220px 160px; animation: plSpin 14s linear infinite; }
.pl-ring-back { animation: plSpin 5s linear infinite reverse; }
@keyframes plSpin { to { transform: rotate(360deg); } }

/* --d = when the piece appears */
.pl-pop { opacity: 0; transform-box: fill-box; transform-origin: center; animation: plPop 0.6s var(--d) cubic-bezier(0.2, 1.5, 0.4, 1) forwards; }
@keyframes plPop { from { opacity: 0; transform: translateY(22px) scale(0.6); } to { opacity: 1; transform: none; } }

.pl-grow { transform-box: fill-box; transform-origin: left; transform: scaleX(0); animation: plGrow 0.5s var(--d) ease-out forwards; }
@keyframes plGrow { to { transform: scaleX(1); } }
.pl-url { transform-box: fill-box; transform-origin: left; animation: plUrl 2.4s ease-in-out both; }
@keyframes plUrl { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.pl-float { animation: plFloat 3.2s ease-in-out infinite; }
.pl-phone { opacity: 0; animation: plSlide 0.7s 1.35s cubic-bezier(0.2, 1.3, 0.4, 1) forwards, plFloat 2.8s 2.1s ease-in-out infinite; }
@keyframes plSlide { from { opacity: 0; transform: translateX(70px); } to { opacity: 1; transform: none; } }
@keyframes plFloat { 50% { transform: translateY(-8px); } }

.pl-mouse { opacity: 0; animation: plMouse 1.4s 1.1s ease-in-out forwards; }
@keyframes plMouse {
  0% { opacity: 0; transform: translate(190px, 120px); }
  20% { opacity: 1; }
  70% { transform: translate(0, 0); }
  80% { transform: translate(0, 0) scale(0.97); }
  100% { opacity: 1; transform: translate(0, 0); }
}
.pl-click { opacity: 0; transform-box: fill-box; transform-origin: center; animation: plClick 0.9s 2.15s ease-out 2; }
@keyframes plClick { from { opacity: 1; transform: scale(0.2); } to { opacity: 0; transform: scale(1.7); } }
.pl-button { transform-box: fill-box; transform-origin: center; animation: plPress 0.35s 2.15s ease; }
@keyframes plPress { 50% { transform: scale(0.85); fill: #7ee7ff; } }

.pl-star { transform-box: fill-box; transform-origin: center; animation: plTwinkle 1.8s var(--d) ease-in-out infinite; }
@keyframes plTwinkle { 0%, 100% { transform: scale(0.35) rotate(0); opacity: 0.3; } 50% { transform: scale(1.1) rotate(90deg); opacity: 1; } }

/* name: letters slide up one by one */
.loader-title { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 0.28em; max-width: 100%; font-family: var(--head-font); font-size: clamp(1.45rem, min(6.6vw, 6.5vh), 2.7rem); line-height: 1.25; color: #fff; }
.loader-title .word { display: flex; overflow: hidden; font-weight: 900; white-space: nowrap; }
.loader-title span { display: inline-block; transform: translateY(110%); animation: plLetter 0.6s calc(0.3s + var(--i) * 0.045s) cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.loader-title span.c { color: #5fdcf5; }
@keyframes plLetter { to { transform: none; } }
.loader-tag { margin-top: 6px; font: 600 0.7rem var(--mono-font); letter-spacing: 4px; text-transform: uppercase; color: var(--muted); }

/* loading bar */
.loader-line { width: min(280px, 74vw); height: 5px; margin-top: clamp(12px, 3vh, 24px); border-radius: 10px; background: rgba(255, 255, 255, 0.11); }
.loader-line div { width: 100%; height: 100%; transform: scaleX(0); transform-origin: left center; will-change: transform; border-radius: 10px; background: var(--grad); box-shadow: 0 0 14px rgba(34, 211, 238, 0.7); }
.loader-status { margin-top: 11px; font: 0.74rem var(--mono-font); letter-spacing: 1px; color: var(--muted-light); }
.loader-status b { margin-left: 6px; color: var(--accent); }

/* small screens in height (phone turned sideways) */
@media (max-height: 460px) { .pl-scene { width: min(300px, 62vh); } .loader-tag { display: none; } }

/* ----------------------------------------
                3. NAVBAR
   ---------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(2, 6, 20, 0.75), transparent);
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.site-nav.scrolled {
  background: rgba(4, 10, 31, 0.96);
  padding: 9px 0;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}
.nav-inner { flex-wrap: nowrap; gap: 10px; }

.nav-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.nav-logo {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  box-shadow: 0 8px 26px rgba(37, 99, 235, 0.55);
  flex-shrink: 0;
  transition: transform 0.6s, width 0.4s, height 0.4s;
}
.site-nav.scrolled .nav-logo { width: 46px; height: 46px; }
.nav-brand:hover .nav-logo { transform: rotate(360deg); }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-name { font-family: var(--head-font); font-size: 1.55rem; font-weight: 700; color: #fff; }
.nav-brand-tag {
  margin-top: 3px;
  font-size: 0.6rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

.nav-links { flex-wrap: nowrap; gap: 2px; }
.nav-links .nav-link {
  position: relative;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 10px 13px;
  transition: color 0.3s, transform 0.3s;
}
/* blue line under the link (no button shape) */
.nav-links .nav-link::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-links .nav-link.active, .nav-links .nav-link:hover { color: var(--accent); }
.nav-links .nav-link:hover { transform: translateY(-3px); }          /* moves up a little */
.nav-links .nav-link.active::after, .nav-links .nav-link:hover::after { transform: scaleX(1); }

.nav-social { display: flex; gap: 7px; }
.nav-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: 0.3s;
}
.nav-social a:hover { background: var(--grad); border-color: var(--accent); color: var(--ink); transform: translateY(-4px); }
.nav-social.d-none { display: none; }

/* name label when the mouse is on a social media icon */
.nav-social a, .side-social a { position: relative; }
@media (hover: hover) {
  .nav-social a::after, .nav-social a::before, .side-social a::after {
    position: absolute;
    left: 50%;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px) scale(0.7);
    transition: opacity 0.25s, visibility 0.25s, transform 0.35s cubic-bezier(0.2, 1.7, 0.4, 1);
  }
  .nav-social a::after, .side-social a::after {
    content: attr(data-name);
    bottom: calc(100% + 11px);                 /* above the icon */
    z-index: 5;
    padding: 7px 14px;
    border-radius: 30px;
    background: var(--grad);
    color: #fff;
    font: 700 0.74rem/1.2 var(--body-font);
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(34, 211, 238, 0.4);
  }
  .nav-social a::before {                      /* small arrow */
    content: '';
    bottom: calc(100% + 5px);
    border: 6px solid transparent;
    border-top-color: #2f9bf2;
    border-bottom: 0;
  }
  /* in the navbar there is no room above, so the label drops below */
  .site-nav .nav-social a::after { bottom: auto; top: calc(100% + 11px); transform: translate(-50%, -10px) scale(0.7); }
  .site-nav .nav-social a::before { bottom: auto; top: calc(100% + 5px); border: 6px solid transparent; border-top: 0; border-bottom-color: #2f9bf2; transform: translate(-50%, -10px) scale(0.7); }
  .nav-social a:hover::after, .nav-social a:hover::before, .side-social a:hover::after,
  .nav-social a:focus-visible::after, .nav-social a:focus-visible::before { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
}
.btn-main.nav-cta { padding: 12px 22px; white-space: nowrap; }

/* between 1200 and 1399px there is less room */
@media (min-width: 1200px) and (max-width: 1399px) {
  .nav-links .nav-link { padding: 9px 9px; font-size: 0.74rem; }
  .nav-links .nav-link::after { left: 9px; right: 9px; }
  .site-nav .nav-brand-name { font-size: 1.35rem; }
}

/* hamburger */
.menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.menu-btn span { width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: 0.3s; }
.menu-btn span:nth-child(2) { width: 13px; background: var(--accent); }
.menu-btn:hover span:nth-child(2) { width: 20px; }

@media (max-width: 400px) {
  .nav-brand-name { font-size: 1.3rem; }
  .nav-brand-tag { font-size: 0.52rem; letter-spacing: 1.5px; }
  .nav-logo { width: 46px; height: 46px; }
}

/* ----------------------------------------
           4. MOBILE SIDE MENU
   ---------------------------------------- */
.side-nav.offcanvas {
  --bs-offcanvas-width: min(310px, 86vw);
  --bs-offcanvas-bg: var(--dark);
  --bs-offcanvas-color: #fff;
  border-right: 1px solid rgba(59, 130, 246, 0.35);
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}
.offcanvas-backdrop { backdrop-filter: none; }

.side-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px 24px 22px;
  background: linear-gradient(135deg, #10245c, var(--dark-2));
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}
.side-brand { font-family: var(--head-font); font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.side-brand em {
  display: block;
  font-family: var(--body-font);
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
}
.side-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: 0.35s;
}
.side-close:hover { background: var(--grad); color: var(--ink); transform: rotate(90deg); }

.side-links { flex: 1 0 auto; padding: 10px 0; }
.side-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 24px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  opacity: 0;
  transform: translateX(-30px);
  transition: color 0.3s, background 0.3s, padding 0.3s, opacity 0.4s, transform 0.4s;
}
/* links slide in one after another when the menu opens */
.side-nav.show .side-link, .side-nav.showing .side-link {
  opacity: 1;
  transform: none;
  transition-delay: 0s, 0s, 0s, calc(var(--i) * 0.06s), calc(var(--i) * 0.06s);
}
.side-link .link-num { font-family: var(--head-font); color: var(--accent); letter-spacing: 1px; }
.side-link > i { margin-left: auto; font-size: 1.3rem; opacity: 0.4; }
.side-link:hover, .side-link.active { color: var(--accent); background: var(--accent-soft); padding-left: 32px; }
.side-link.active { box-shadow: inset 3px 0 0 var(--accent); }

.side-booking { padding: 20px 24px; }
.side-footer { padding: 18px 24px 26px; border-top: 1px solid rgba(59, 130, 246, 0.25); text-align: center; }
.side-social { display: flex; justify-content: center; gap: 22px; font-size: 1.35rem; color: var(--accent); }
.side-footer p { margin: 14px 0 0; font-size: 0.68rem; color: var(--muted-light); }

/* ----------------------------------------
                5. BUTTONS
   ---------------------------------------- */
.btn-main, .btn-ghost, .btn-outline-main {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 50px;
  font-size: 0.94rem;
  font-weight: 800;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-main { background: var(--grad) border-box; color: var(--ink); box-shadow: 0 10px 28px rgba(37, 99, 235, 0.4); }
.btn-main:hover { color: var(--ink); filter: brightness(1.12); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(34, 211, 238, 0.45); }
/* shine that sweeps across the blue button */
.btn-main::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s;
}
.btn-main:hover::after { left: 140%; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: rgba(0, 0, 0, 0.2); }
.btn-ghost:hover { color: var(--accent); background: var(--accent-soft); border-color: var(--accent); transform: translateY(-3px); }
.btn-outline-main { color: var(--accent); border-color: var(--accent); }
.btn-outline-main:hover { color: var(--ink); background: var(--grad); transform: translateY(-3px); }
.btn-main:disabled { opacity: 0.6; pointer-events: none; }

/* ----------------------------------------
             6. COMMON HELPERS
   ---------------------------------------- */
.section { padding: 100px 0; position: relative; background: var(--dark); }
.section-alt { background: var(--dark-2); }
.section-dark {
  background: radial-gradient(circle at 85% 10%, rgba(37, 99, 235, 0.25), transparent 45%), var(--dark);
  color: #fff;
}
.section-head { margin-bottom: 55px; }
.pill {
  display: inline-block;
  margin-bottom: 18px;
  font: 700 0.76rem var(--mono-font);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
}
.pill::before { content: '// '; color: var(--blue-light); }
.section-title { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.15; margin-bottom: 20px; }
.accent { color: var(--accent); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-text { color: var(--muted); line-height: 1.85; max-width: 640px; }
.section-dark .section-text { color: var(--muted-light); }

/* hero badge + title (home and inner pages) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  margin-bottom: 22px;
  border-radius: 50px;
  background: rgba(20, 34, 78, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.hero-badge i { color: var(--accent); font-size: 1rem; }
.hero-title { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 800; line-height: 1.07; margin-bottom: 22px; }
.hero-title .accent { display: block; }
.hero-text { max-width: 560px; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.7; color: rgba(255, 255, 255, 0.85); }

.page-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  padding: 150px 0 80px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--bg) center / cover;
  animation: kenBurns 18s ease-in-out infinite alternate;
  will-change: transform;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 8, 26, 0.94) 25%, rgba(3, 8, 26, 0.55));
}
.page-hero .hero-title .accent { display: inline; }
.breadcrumb { margin: 28px 0 0; --bs-breadcrumb-divider-color: var(--accent); --bs-breadcrumb-item-active-color: var(--accent); font-weight: 700; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--accent); }

.cta-band { padding: 80px 0; background: var(--dark); }
.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(30px, 5vw, 60px);
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(120deg, #0b1b4f 0%, #123a9c 55%, #0b5c86 100%);
  border: 1px solid var(--border);
  background-size: 220% 100%;
  box-shadow: 0 30px 60px rgba(37, 99, 235, 0.28);
}
.cta-box.visible { animation: gradientMove 8s ease-in-out infinite; }
.cta-box h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); max-width: 600px; }
.cta-box p { margin: 6px 0 0; opacity: 0.9; }

/* ----------------------------------------
            7. FLOATING BUTTONS
   ---------------------------------------- */
#scrollBar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: left center; will-change: transform; z-index: 1040; background: linear-gradient(90deg, var(--blue-light), var(--accent)); }
.float-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1020;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  color: #fff;
  background: #25d366;
  animation: waPulse 2s infinite;
}
.float-whatsapp:hover { color: #fff; transform: scale(1.1); }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65); }
  100% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
}
.back-top {
  position: fixed;
  right: 28px;
  bottom: 96px;
  z-index: 1020;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--dark);
  color: var(--accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: 0.35s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--grad); color: var(--ink); }

/* heavy endless animations wait until the loading screen is gone, and sleep while off screen */
body:not(.page-ready) .hero-bg .slide,
body:not(.page-ready) .page-hero::before,
body:not(.page-ready) .code-window,
body:not(.page-ready) .float-chip,
body:not(.page-ready) .marquee-track,
body:not(.page-ready) .photo-box,
body:not(.page-ready) .float-whatsapp { animation-play-state: paused; }
.is-offscreen, .is-offscreen *, .is-offscreen::before { animation-play-state: paused !important; }

/* 3 balls that follow the mouse (desktop only, created in main.js) */
.cursor-ball {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0;
  will-change: transform;
  transition: opacity 0.3s ease, scale 0.35s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.cursor-ball.on { opacity: 1; }
.cursor-ball.b1 { background: var(--accent); box-shadow: 0 0 10px rgba(34, 211, 238, 0.85), 0 0 22px rgba(34, 211, 238, 0.3); }
.cursor-ball.b2 { background: var(--blue-light); box-shadow: 0 0 12px rgba(59, 130, 246, 0.9); }
.cursor-ball.b3 { background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); }
.cursor-link .cursor-ball.b1 { scale: 1.45; }
.cursor-link .cursor-ball.b2 { scale: 1.2; }
@media (hover: none), (pointer: coarse) { .cursor-ball { display: none !important; } }

/* ----------------------------------------
               8. HOME PAGE
   ---------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  color: #fff;
  background: var(--dark);
  overflow: hidden;
}
.hero-bg, .hero-overlay, #particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { z-index: 0; }                      /* keeps the photos behind the text */
.hero-overlay, #particles { z-index: 1; }
/* slideshow: new photo comes forward zooming in, the old one fades and moves back */
.hero-bg .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 2000ms ease-in-out, visibility 2000ms ease-in-out;
}
.hero-bg .slide { will-change: opacity; backface-visibility: hidden; }
.hero-bg .slide.active { will-change: transform, opacity; opacity: 1; visibility: visible; z-index: 3; animation: cinematicZoomIn 7000ms ease-out forwards; }
.hero-bg .slide.last-active { will-change: transform, opacity; z-index: 2; animation: cinematicZoomOut 2500ms ease-in-out forwards; }
@keyframes cinematicZoomIn { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes cinematicZoomOut { from { transform: scale(1.1); } to { transform: scale(0.96); } }
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero-overlay { background: linear-gradient(90deg, rgba(3, 8, 26, 0.92) 15%, rgba(3, 8, 26, 0.5) 55%, rgba(3, 8, 26, 0.15)), linear-gradient(0deg, rgba(3, 8, 26, 0.85), transparent 45%); }
#particles { pointer-events: none; }

.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; padding-top: 150px; padding-bottom: 40px; }
.hero-copy { display: grid; margin-top: auto; }          /* pushes the text down, close to the buttons */
.hero-copy-slide { grid-area: 1 / 1; align-self: end; visibility: hidden; max-width: 720px; }
.hero-copy-slide > * { opacity: 0; transform: translateY(35px); }
.hero-copy-slide.active { visibility: visible; }
.hero-copy-slide.active > * { animation: heroIn 0.8s forwards; }
.page-ready .hero-copy-slide.active > :nth-child(2) { animation-delay: 0.12s; }
.page-ready .hero-copy-slide.active > :nth-child(3) { animation-delay: 0.24s; }
body:not(.page-ready) .hero-copy-slide.active > *, body:not(.page-ready) .hero-in { animation-play-state: paused; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero-in { opacity: 0; transform: translateY(30px); animation: heroIn 0.8s var(--d) forwards; }
.hero-badge.hero-in, .page-hero nav.hero-in { width: fit-content; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 14px; }
.hero-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-top: 38px;
  padding-top: 26px;
  padding-right: 75px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.82); }
.hero-trust i { color: var(--accent); font-size: 1.05rem; margin-right: 6px; }
.hero-trust b { font-size: 1.2rem; color: #fff; }
.hero-trust .sep { width: 1px; height: 24px; background: rgba(255, 255, 255, 0.22); }
/* social icons at the bottom of the hero */
.hero-social { gap: 12px; }
.hero-social a { width: 44px; height: 44px; font-size: 1.15rem; }

.code-window {
  display: none;
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - 1320px) / 2));
  top: 210px;
  width: 390px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(7, 16, 45, 0.96);
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  animation: floatY 6s ease-in-out infinite;
  will-change: transform;
}
.code-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255, 255, 255, 0.06); }
.code-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.code-bar i:nth-child(2) { background: var(--accent); }
.code-bar i:nth-child(3) { background: #4cab6a; }
.code-bar span { margin-left: 10px; font: 0.75rem var(--mono-font); color: var(--muted-light); }
.code-window pre { margin: 0; padding: 18px 20px; height: 235px; font-size: 0.82rem; line-height: 1.75; color: #dbe8ff; white-space: pre-wrap; }
.caret { display: inline-block; width: 8px; height: 1em; vertical-align: text-bottom; background: var(--accent); animation: plBlink 0.8s steps(1) infinite; }
@media (min-width: 1200px) { .code-window { display: block; } }
@media (min-width: 1200px) and (max-width: 1399px) { .code-window { width: 340px; } .hero-copy-slide { max-width: 660px; } .hero-title { font-size: 4.2rem; } }

@media (max-width: 767px) {
  .hero-inner { padding-top: 115px; }
  .hero-buttons > * { flex: 1 1 100%; }
  .hero-bottom { padding-right: 0; padding-bottom: 55px; justify-content: center; text-align: center; }
  .hero-trust { justify-content: center; font-size: 0.85rem; }
  .hero-trust .sep { display: none; }
  .hero-trust > span:last-child { width: 100%; }
  .hero-social { width: 100%; justify-content: center; }
  body.at-hero .float-whatsapp { visibility: hidden; }
  .hero-overlay { background: rgba(3, 8, 26, 0.74); }   /* darker on phones so the text is clear */
}

/* technology ticker (running bar) */
.marquee { overflow: hidden; padding: 20px 0; background: #07102d; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.marquee-track { display: flex; width: max-content; will-change: transform; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: flex; align-items: center; gap: 14px; padding: 0 32px; font: 700 0.86rem var(--mono-font); color: #93a5cc; white-space: nowrap; transition: color 0.3s; }
.marquee-track i { font-size: 1.65rem; color: var(--blue-light); transition: 0.3s; }
.marquee-track span:hover { color: #fff; }
.marquee-track span:hover i { color: var(--accent); transform: scale(1.2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* photo with blue gradient border, thin outline behind it and floating labels */
.photo-frame { position: relative; max-width: 420px; margin: 0 auto; }
.photo-frame::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(34, 211, 238, 0.45); border-radius: 30px; }
.photo-frame .photo-box { position: relative; padding: 4px; border-radius: 30px; background: linear-gradient(140deg, #2563eb, #3b82f6, #22d3ee, #2563eb); background-size: 300% 300%; animation: gradientMove 6s ease-in-out infinite; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 70px rgba(37, 99, 235, 0.3); }
@keyframes gradientMove { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.photo-box img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; border-radius: 26px; }
.float-chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-radius: 16px; background: rgba(9, 20, 55, 0.92); border: 1px solid rgba(76, 134, 246, 0.4); color: #fff; font-size: 0.85rem; font-weight: 800; line-height: 1.35; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45); animation: floatY 5s ease-in-out infinite; }
.float-chip i { font-size: 1.45rem; color: var(--accent); }
.float-chip small { display: block; font-size: 0.72rem; font-weight: 500; color: var(--muted); }
.chip-1 { top: 9%; left: -26px; }
.chip-2 { bottom: 12%; right: -26px; animation-delay: -2.5s; }
@keyframes floatY { 50% { transform: translateY(-14px); } }
@media (max-width: 575px) { .photo-frame { margin: 0 16px; } .chip-1 { left: -18px; } .chip-2 { right: -18px; } }

.about-title { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 900; line-height: 1.14; }
.about-title .accent { display: inline; }
.name-badge { display: inline-flex; align-items: center; gap: 12px; padding: 13px 20px; border: 1px dashed rgba(76, 134, 246, 0.6); border-radius: 14px; font: 0.82rem var(--mono-font); color: #9fd4ff; }
.typed-line { min-height: 1.6em; margin: 20px 0; font: 0.95rem var(--mono-font); color: var(--accent); }
.typed-line::after { content: ''; display: inline-block; width: 2px; height: 1.15em; margin-left: 3px; vertical-align: text-bottom; background: var(--accent); animation: plBlink 0.8s steps(1) infinite; }
@keyframes plBlink { 50% { opacity: 0; } }
.about-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.check-list { list-style: none; padding: 0; margin: 24px 0 32px; }
.check-list li { display: flex; gap: 12px; margin-bottom: 12px; font-weight: 600; }
.check-list i { flex-shrink: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-size: 0.95rem; color: var(--accent); background: var(--accent-soft); }
.check-list li { align-items: center; font-weight: 500; }

.counters { padding: 55px 0; background: var(--dark-2); color: #fff; }
.counter div { font-family: var(--head-font); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; color: var(--accent); line-height: 1; }
.counter p { margin: 10px 0 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--muted-light); }

/* ----------------------------------------
        9. SERVICE CARDS + PROCESS
   ---------------------------------------- */
.service-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.service-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s; background: radial-gradient(260px circle at var(--x, 50%) var(--y, 0%), rgba(59, 130, 246, 0.2), transparent 70%); }
.service-card::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform 0.45s; }
.service-card:hover { transform: translateY(-10px); border-color: var(--c); box-shadow: 0 26px 50px rgba(0, 4, 20, 0.13); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scaleX(1); }
.service-num { position: absolute; top: 18px; right: 24px; font: 800 2.8rem var(--head-font); color: var(--accent); opacity: 0.12; }
.service-icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; font-size: 1.7rem; color: #fff; background: var(--c); transition: transform 0.5s; }
.service-card:hover .service-icon { transform: rotateY(360deg); }
.service-card h3 { font-size: 1.4rem; color: var(--text); }
.service-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.75; }
.service-card ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: 0.87rem; font-weight: 600; color: var(--text); }
.service-card li { display: flex; gap: 8px; padding: 4px 0; }
.service-card li i { color: var(--c); }
.service-link { position: relative; margin-top: auto; font-weight: 800; font-size: 0.87rem; color: var(--blue-light); }
.service-link i { display: inline-block; transition: transform 0.3s; }
.service-link:hover i { transform: translateX(7px); }

.process-line { height: 3px; margin: 0 12% -39px; background: rgba(59, 130, 246, 0.2); }
.process-line div { height: 100%; width: 0; background: var(--accent); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step-icon { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; background: var(--dark-2); color: var(--accent); border: 2px solid var(--accent); transition: 0.4s; }
.step:hover .step-icon { background: var(--grad); color: var(--ink); transform: translateY(-8px) rotate(-8deg); }
.step span { font-size: 0.68rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--blue-light); }
.section-dark .step span { color: var(--accent); }
.step h3 { margin: 6px 0 10px; font-size: 1.35rem; }
.step p { font-size: 0.9rem; line-height: 1.7; color: var(--muted); }
.section-dark .step p { color: var(--muted-light); }
@media (max-width: 991px) { .process-line { display: none; } }

/* ----------------------------------------
          10. PROJECTS + PORTFOLIO
   ---------------------------------------- */
.project-card { height: 100%; overflow: hidden; cursor: pointer; border-radius: var(--radius); background: var(--dark-2); border: 1px solid rgba(59, 130, 246, 0.22); color: #fff; }
.project-card:hover { border-color: var(--accent); box-shadow: 0 26px 55px rgba(0, 0, 0, 0.5); }
.project-img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #030817; }   /* card picture: shows the top part of the screenshot */
.project-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.8s; }
.project-card:hover img { transform: scale(1.04); }
.project-view { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.7rem; color: var(--accent); background: rgba(3, 8, 26, 0.65); opacity: 0; transition: 0.4s; }
.project-card:hover .project-view, .project-card:focus-visible .project-view { opacity: 1; }
.project-body { padding: 20px 22px 22px; }
.project-body span { font-size: 0.68rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.project-body h3 { margin: 6px 0 0; font-size: 1.3rem; }

.project-modal .modal-content { background: var(--dark-2); color: #fff; border: 1px solid var(--accent); border-radius: var(--radius); overflow: hidden; }
.project-modal .btn-close { position: absolute; z-index: 2; top: 14px; right: 14px; background-color: rgba(255, 255, 255, 0.75); padding: 12px; border-radius: 50%; opacity: 1; }
.project-modal img { display: block; width: 100%; max-height: 68vh; object-fit: contain; object-position: center; background: #030817; }
.project-modal .modal-body { padding: 28px; }
.pm-kind { font-size: 0.7rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); }
.project-modal p { color: var(--muted-light); }
.pm-tech i { color: var(--accent); }

/* ----------------------------------------
              11. ABOUT PAGE
   ---------------------------------------- */
.info-grid > div { display: flex; gap: 14px; align-items: center; }
.info-grid i { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; background: var(--card); color: var(--accent); }
.info-grid div div { min-width: 0; overflow-wrap: anywhere; font-weight: 700; font-size: 0.9rem; }
.info-grid small { display: block; color: var(--muted); font-weight: 600; }
.tool { height: 100%; padding: 24px 8px; text-align: center; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); transition: 0.35s; }
.tool i { display: block; font-size: 2rem; color: var(--blue-light); margin-bottom: 8px; transition: 0.35s; }
.tool span { font-size: 0.76rem; font-weight: 700; }
.tool:hover { border-color: var(--accent); color: #fff; transform: translateY(-8px); }
.tool:hover i { color: var(--accent); transform: scale(1.2); }
.value-card { height: 100%; padding: 32px 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); color: #fff; text-align: center; }
.value-card i { font-size: 2.3rem; color: var(--accent); }
.value-card h3 { margin: 14px 0 10px; font-size: 1.25rem; }
.value-card p { margin: 0; font-size: 0.89rem; line-height: 1.7; color: var(--muted-light); }

/* ----------------------------------------
           12. SERVICES PAGE (FAQ)
   ---------------------------------------- */
.faq { --bs-accordion-bg: var(--card); --bs-accordion-color: var(--text); --bs-accordion-btn-color: var(--text); --bs-accordion-border-color: var(--border); --bs-accordion-active-bg: #102252; --bs-accordion-active-color: var(--accent); --bs-accordion-btn-focus-box-shadow: none; }
.faq .accordion-item { margin-bottom: 14px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq .accordion-button { font-family: var(--body-font); font-weight: 800; padding: 20px 22px; }
.faq .accordion-body { color: var(--muted); line-height: 1.8; }

/* add-on explanations (services page) */
.addon-detail { display: flex; gap: 18px; height: 100%; padding: 28px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); transition: 0.35s; }
.addon-detail:hover { border-color: var(--accent); transform: translateY(-8px); box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45); }
.addon-detail > i { width: 54px; height: 54px; flex-shrink: 0; display: grid; place-items: center; border-radius: 16px; font-size: 1.5rem; background: var(--accent-soft); color: var(--accent); transition: 0.4s; }
.addon-detail:hover > i { background: var(--grad); color: var(--ink); transform: rotate(-8deg) scale(1.08); }
.addon-detail > div { display: flex; flex-direction: column; }
.addon-detail h3 { font-size: 1.2rem; }
.addon-detail p { font-size: 0.89rem; line-height: 1.7; color: var(--muted); }
.addon-detail a { margin-top: auto; font-size: 0.82rem; font-weight: 800; color: var(--accent); }

/* add-on boxes (contact form) */
.addon-item { display: block; height: 100%; position: relative; cursor: pointer; }
.addon-checkbox { position: absolute; opacity: 0; width: 1px; height: 1px; }
.addon-card { position: relative; height: 100%; min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; text-align: center; border-radius: 14px; border: 1px solid var(--border); background: var(--field); transition: 0.25s; }
.addon-card::after { content: ''; position: absolute; top: 8px; right: 8px; width: 16px; height: 16px; border-radius: 5px; border: 1px solid var(--border); background: transparent; font: 800 11px/14px var(--body-font); color: var(--ink); }
.addon-icon { font-size: 1.4rem; color: var(--muted); }
.addon-name { font-size: 0.66rem; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.addon-item:hover .addon-card { border-color: var(--accent); transform: translateY(-3px); }
.addon-checkbox:checked + .addon-card { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.addon-checkbox:checked + .addon-card::after { content: '✓'; background: var(--accent); border-color: var(--accent); }
.addon-checkbox:checked + .addon-card .addon-icon { color: var(--blue-light); }
.addon-checkbox:focus-visible + .addon-card { outline: 3px solid var(--accent); }

/* ----------------------------------------
              13. CONTACT PAGE
   ---------------------------------------- */
.contact-info-card { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 34px 18px; text-align: center; border-radius: var(--radius); background: var(--card); color: var(--text); border: 1px solid var(--border); transition: 0.35s; overflow-wrap: anywhere; }
.contact-info-card:hover { color: var(--text); transform: translateY(-8px); box-shadow: 0 18px 45px rgba(59, 130, 246, 0.22); border-color: var(--accent); }
.ci-icon { width: 60px; height: 60px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); font-size: 1.4rem; transition: 0.4s; }
.contact-info-card:hover .ci-icon { background: var(--grad); color: var(--ink); transform: rotate(360deg); }
.contact-info-card h2 { font: 800 0.7rem var(--body-font); letter-spacing: 4px; text-transform: uppercase; }
.ci-text { font-size: 0.85rem; color: var(--muted); }
.msg-now { margin-top: auto; padding-top: 12px; font-size: 0.76rem; font-weight: 800; color: var(--accent); }

.contact-box { border-radius: 26px; overflow: hidden; border: 1px solid var(--border); background: var(--card); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); }
#contact-form { scroll-margin-top: 130px; }
.contact-form-wrap { padding: clamp(24px, 4.5vw, 52px); }
.form-label { font-size: 0.66rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; }
.form-control, .form-select { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background-color: var(--field); color: var(--text); font-size: 0.9rem; }
.form-control:focus, .form-select:focus { border-color: var(--accent); background-color: var(--field); color: var(--text); box-shadow: 0 0 0 4px var(--accent-soft); }
textarea.form-control { min-height: 130px; }
#form-success { display: none; margin-top: 20px; padding: 18px 22px; border-radius: 14px; background: #16301c; border: 1px solid #3f7d4d; color: #bfeac7; font-weight: 600; }
.map-wrap { height: 100%; min-height: 380px; background: var(--card); }
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.social-pill { display: inline-flex; align-items: center; gap: 10px; margin: 6px; padding: 14px 28px; border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.22); font-size: 0.78rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; transition: 0.3s; }
.social-pill:hover { background: var(--grad); border-color: var(--accent); color: var(--ink); transform: translateY(-4px); }

/* ----------------------------------------
                 15. FOOTER
   ---------------------------------------- */
.site-footer { padding: 75px 0 28px; background: var(--dark); color: var(--muted-light); border-top: 3px solid var(--accent); }
.site-footer h3 { margin-bottom: 20px; font-size: 1.15rem; color: #fff; }
.footer-about { margin: 20px 0; max-width: 360px; font-size: 0.9rem; line-height: 1.8; }
.footer-links { list-style: none; padding: 0; font-size: 0.87rem; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { display: inline-flex; gap: 9px; transition: 0.3s; overflow-wrap: anywhere; }
.footer-links a:hover { transform: translateX(5px); }
.footer-links i { color: var(--accent); }
.footer-contact a { font-size: 0.83rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 24px; padding-right: 70px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.78rem; }
.footer-bottom b { color: var(--accent); }
@media (max-width: 767px) { .footer-bottom { justify-content: center; text-align: center; padding-right: 0; padding-bottom: 65px; } }

/* ----------------------------------------
          16. SCROLL REVEAL ANIMATIONS
     main.js adds .js on <html> and .visible on elements
   ---------------------------------------- */
.js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-zoom { will-change: opacity, transform; opacity: 0; transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal { transform: translateY(45px); }
.js .reveal-left { transform: translateX(-50px); }
.js .reveal-right { transform: translateX(50px); }
.js .reveal-zoom { transform: scale(0.88); }
.js .visible { opacity: 1; transform: none; }
.js .delay-100 { transition-delay: 0.1s; }
.js .delay-200 { transition-delay: 0.2s; }
.js .delay-300 { transition-delay: 0.3s; }
@media (max-width: 767px) { .js .reveal-left, .js .reveal-right { transform: translateY(40px); } .js .visible { transform: none; } }
.tilt { transition: transform 0.2s ease-out, box-shadow 0.35s, border-color 0.35s; }

/* ----------------------------------------
             17. REDUCED MOTION
   ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .float-chip, .code-window, .pl-ring, #preloader::before, .page-hero::before, .hero-bg .slide, .float-whatsapp, .cta-box.visible { animation: none !important; }
  .js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-zoom { opacity: 1; transform: none; transition: none; }
}
