/**
 * BlissWed – Main Stylesheet
 * File: assets/css/style.css
 * ─────────────────────────────────────────────────────────────
 * Table of Contents
 *  1.  CSS Custom Properties (Theme Tokens)
 *  2.  Reset & Base
 *  3.  Preloader
 *  4.  Top Bar
 *  5.  Main Header
 *  6.  Pill Navigation
 *  7.  Header Right (Theme btn, CTA, Hamburger)
 *  8.  Mobile Drawer
 *  9.  Responsive Breakpoints
 *  10. Hero Section
 *  11. Hero Background (Blobs, Rings, Dots, Plus)
 *  12. Hero Content & Badge
 *  13. Keyframe Animations
 *  14. GSAP Entrance / Reveal States
 * ─────────────────────────────────────────────────────────────
 */


/* ─────────────────────────────────────────────────────────────
   1. CSS Custom Properties
───────────────────────────────────────────────────────────── */
:root {
  --page-bg:       #eef0fc;
  --text-primary:  #111130;
  --text-secondary:#5a5a82;
  --text-muted:    #8585a8;
  --accent:        #4f52d3;
  --accent-hover:  #3e41c0;
  --accent-light:  rgba(79, 82, 211, .10);
  --border-color:  rgba(79, 82, 211, .15);
  --nav-link:      #3a3a5c;
  --social-bg:     rgba(79, 82, 211, .08);
  --social-border: rgba(79, 82, 211, .20);
  --social-color:  #5a5aaa;
  --topbar-line:   rgba(79, 82, 211, .13);
  --header-shadow: 0 4px 28px rgba(79, 82, 211, .10);
}

[data-theme="dark"] {
  --page-bg:       #0e0e1a;
  --text-primary:  #e8e8f8;
  --text-secondary:#9090c0;
  --text-muted:    #6060a0;
  --accent:        #6366f1;
  --accent-hover:  #818cf8;
  --accent-light:  rgba(99, 102, 241, .12);
  --border-color:  rgba(99, 102, 241, .18);
  --nav-link:      #b0b0d8;
  --social-bg:     rgba(99, 102, 241, .10);
  --social-border: rgba(99, 102, 241, .22);
  --social-color:  #9090d8;
  --topbar-line:   rgba(255, 255, 255, .07);
  --header-shadow: 0 4px 28px rgba(0, 0, 0, .40);
}


/* ─────────────────────────────────────────────────────────────
   2. Reset & Base
───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', sans-serif;
  background: var(--page-bg);
  color: var(--text-primary);
  transition: background .35s, color .35s;
  min-height: 200vh;
}


/* ─────────────────────────────────────────────────────────────
   3. Preloader
───────────────────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--page-bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 24px;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.pl-logo {
  display: flex; align-items: center; gap: 10px;
  animation: plPulse 1.5s ease-in-out infinite;
}
.pl-box {
  width: 46px; height: 46px;
  border: 2.5px solid var(--accent);
  border-radius: 10px;
  display: grid; place-items: center;
}
.pl-box span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 17px; color: var(--accent);
}
.pl-word {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 22px;
  color: var(--accent); letter-spacing: .5px; line-height: 1;
}
.pl-word em { font-style: normal; color: var(--text-primary); font-weight: 700; }

.pl-bar {
  width: 130px; height: 3px;
  background: var(--border-color);
  border-radius: 10px; overflow: hidden;
}
.pl-bar-fill {
  height: 100%; width: 0;
  background: var(--accent);
  border-radius: 10px;
  animation: plBar 1.65s ease forwards;
}


/* ─────────────────────────────────────────────────────────────
   4. Top Bar
───────────────────────────────────────────────────────────── */
#topbar {
  background: var(--page-bg);
  border-bottom: 1px solid var(--topbar-line);
  overflow: hidden;
  max-height: 44px;
  transition: max-height .38s ease, opacity .35s ease, border-color .3s;
}
#topbar.hide { max-height: 0; border-bottom-color: transparent; }

.topbar-inner {
  max-width: 1260px; margin: 0 auto; padding: 0 28px;
  height: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.topbar-contacts {
  display: flex; align-items: center; gap: 22px;
  list-style: none; margin: 0; padding: 0;
}
.topbar-contacts li a {
  font-size: 13px; font-family: 'Heebo', sans-serif;
  color: var(--text-secondary); text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
  transition: color .2s;
}
.topbar-contacts li a i { color: var(--accent); font-size: 12px; }
.topbar-contacts li a:hover { color: var(--accent); }

.topbar-right { display: flex; align-items: center; gap: 11px; }
.follow-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text-muted);
}
.social-list {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.social-list li a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: #5b78f614;
  color: var(--accent); font-size: 13px;
  text-decoration: none; border: none;
  transition: all .3s ease;
}
.social-list li a:hover {
  background: var(--accent);
  color: #fff; transform: translateY(-2px);
}


/* ─────────────────────────────────────────────────────────────
   5. Main Header
───────────────────────────────────────────────────────────── */
#site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--page-bg);
  transition: background .4s ease, box-shadow .4s ease;
}
#site-header.scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, .30);
  border-radius: 0 0 20px 20px;
  box-shadow: var(--header-shadow);
}
[data-theme="dark"] #site-header.scrolled {
  background: rgba(14, 14, 26, .85);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.nav-inner {
  max-width: 1260px; margin: 0 auto; padding: 0 28px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

/* Logo */
.site-logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-box {
  width: 42px; height: 42px;
  border: 2px solid var(--accent); border-radius: 9px;
  display: grid; place-items: center; flex-shrink: 0;
  transition: background .22s;
}
.site-logo:hover .logo-box { background: var(--accent-light); }
.logo-box span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 15px; color: var(--accent);
}
.logo-words { display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.logo-top {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 14px;
  color: var(--accent); letter-spacing: 2px; text-transform: uppercase;
}
.logo-bot {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 11.5px;
  color: var(--text-primary); letter-spacing: .3px;
  transition: color .35s;
}


/* ─────────────────────────────────────────────────────────────
   6. Pill Navigation
───────────────────────────────────────────────────────────── */
.main-nav { display: flex; align-items: center; }

.nav-pill {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0;
  padding: 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .50);
  border: 1px solid rgba(255, 255, 255, .30);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: background .38s ease, border-color .38s ease,
              padding .38s ease, backdrop-filter .38s ease;
}
[data-theme="dark"] .nav-pill {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .10);
}

/* Scrolled: dissolve container, keep active pill */
#site-header.scrolled .nav-pill {
  background: transparent !important;
  border-color: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 6px 2px;
}
#site-header.scrolled .nav-pill li a        { color: var(--nav-link); }
#site-header.scrolled .nav-pill li a.active { color: #fff; background: var(--accent); }
#site-header.scrolled .nav-pill li a:hover  { color: var(--accent); background: var(--accent-light); }

.nav-pill li a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px; font-weight: 700;
  color: var(--nav-link); text-decoration: none;
  padding: 9px 20px; border-radius: 100px;
  letter-spacing: .4px; white-space: nowrap;
  display: block;
  transition: color .22s, background .22s;
}
.nav-pill li a:hover  { color: var(--accent); background: var(--accent-light); }
.nav-pill li a.active { color: #fff; background: var(--accent); }


/* ─────────────────────────────────────────────────────────────
   7. Header Right – Theme Button, CTA, Hamburger
───────────────────────────────────────────────────────────── */
.header-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.theme-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 15px;
  transition: background .22s, color .22s, border-color .22s, transform .2s;
}
.theme-btn:hover {
  background: var(--accent-light); border-color: var(--accent);
  color: var(--accent); transform: rotate(22deg);
}

.btn-hire {
  display: inline-flex; align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 800; letter-spacing: .6px;
  color: #fff; background: var(--accent);
  border: none; border-radius: 50px;
  padding: 10px 10px 10px 26px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(79, 82, 211, .32);
  transition: background .22s, transform .18s, box-shadow .22s;
}
.btn-hire:hover {
  background: var(--accent-hover); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(79, 82, 211, .44);
}
.hire-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: 16px; font-size: 13px;
  transition: background .22s;
}
.btn-hire:hover .hire-icon { background: rgba(255, 255, 255, .40); }

.ham-btn {
  display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  width: 38px; height: 38px; border-radius: 10px;
  border: 1.5px solid var(--border-color);
  background: transparent; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.ham-btn:hover { background: var(--accent-light); border-color: var(--accent); }
.ham-btn span {
  display: block; width: 18px; height: 1.8px;
  background: var(--text-primary); border-radius: 2px;
  transition: transform .28s, opacity .22s, width .22s;
}
.ham-btn.open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.ham-btn.open span:nth-child(2) { opacity: 0; width: 0; }
.ham-btn.open span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }


/* ─────────────────────────────────────────────────────────────
   8. Mobile Drawer
───────────────────────────────────────────────────────────── */
.mob-nav {
  background: var(--page-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 24px 16px;
  max-height: 0; overflow: hidden;
  opacity: 0; transform: translateY(-6px);
  transition: max-height .32s ease, opacity .25s ease, transform .28s ease;
}
.mob-nav.open { max-height: 360px; opacity: 1; transform: translateY(0); }

.mob-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mob-nav-list li a {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--nav-link); text-decoration: none;
  padding: 11px 16px; border-radius: 12px;
  transition: color .2s, background .2s;
}
.mob-nav-list li a:hover,
.mob-nav-list li a.active { color: var(--accent); background: var(--accent-light); }


/* ─────────────────────────────────────────────────────────────
   9. Responsive Breakpoints
───────────────────────────────────────────────────────────── */
@media (max-width: 1100px) { .nav-pill li a { padding: 8px 12px; font-size: 12px; } }
@media (max-width: 991px)  { .main-nav, .btn-hire { display: none; } .ham-btn { display: flex; } }
@media (max-width: 640px)  { .topbar-contacts li:last-child { display: none; } .topbar-inner, .nav-inner { padding: 0 16px; } }
@media (max-width: 420px)  { .topbar-contacts { display: none; } }


/* ─────────────────────────────────────────────────────────────
   10. Hero Section – Inset Image Slider
───────────────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 28px);
  margin: 14px 14px 0;
  border-radius: 28px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: #0a0818; /* fallback while images load */
}

/* Gradient overlay (sits above slides, below content) */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(5, 4, 20, .55) 0%,
    rgba(5, 4, 20, .22) 40%,
    rgba(5, 4, 20, .85) 100%
  );
  pointer-events: none;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 800; color: var(--text-primary);
  letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal; color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(79, 82, 211, .30);
  text-underline-offset: 8px;
}
.hero p {
  font-size: 1.18rem; font-weight: 500; color: var(--text-secondary);
  max-width: 560px; margin: 0 auto 42px; line-height: 1.82;
}
.hero-btns {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 20px; flex-wrap: wrap;
}
.btn-ghost {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--nav-link); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s;
}
.btn-ghost:hover { color: var(--accent); }


/* ─────────────────────────────────────────────────────────────
   11. Hero Slider Slides
───────────────────────────────────────────────────────────── */
/* Bootstrap carousel fills the absolute inset container */
.hero-slides {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-slides .carousel-inner {
  position: absolute; inset: 0;
}
.hero-slides .carousel-item {
  position: absolute; inset: 0;
  float: none; margin-right: 0;
  background-size: cover; background-position: center;
  animation: kenBurns 9s ease-in-out infinite alternate;
}
/* Slow the fade to match original 1.4 s feel */
#heroCarousel { --bs-carousel-transition-duration: 1.4s; }

@keyframes kenBurns {
  from { transform: scale(1.06); }
  to   { transform: scale(1.00); }
}

/* Prev / Next Control Buttons — same frosted-glass 3D style as .svc-btn */
.hero-ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .30);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 7px 0 rgba(0, 0, 0, .38),
    0 12px 24px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .30),
    inset 0 -1px 0 rgba(0, 0, 0, .10);
  transition: transform .16s ease, box-shadow .16s ease, background .22s, border-color .22s;
}
.hero-ctrl:hover {
  background: var(--accent);
  border-color: rgba(79, 82, 211, .70);
  color: #fff;
  transform: translateY(-50%) scale(1.10);
  box-shadow:
    0 14px 0 rgba(40, 42, 150, .55),
    0 22px 40px rgba(79, 82, 211, .50),
    inset 0 1px 0 rgba(255, 255, 255, .35),
    inset 0 -1px 0 rgba(0, 0, 0, .12);
}
.hero-ctrl:active {
  transform: translateY(-50%) scale(.94);
  box-shadow:
    0 3px 0 rgba(0, 0, 0, .40),
    0 6px 10px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .20),
    inset 0 2px 6px rgba(0, 0, 0, .12);
}
.hero-ctrl-prev { left: 28px; }
.hero-ctrl-next { right: 28px; }

/* Slider dot indicators */
.slider-dots {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; gap: 10px;
}
.sdot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, .40);
  border: none; cursor: pointer; padding: 0;
  transition: background .3s, transform .3s, width .35s;
}
.sdot.active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
  transform: scale(1);
}
.sdot:hover:not(.active) { background: rgba(255, 255, 255, .70); }

/* Glow Blobs */
.shape {
  position: absolute; border-radius: 50%;
  opacity: .18;
  animation: floatShape 7s ease-in-out infinite;
}
[data-theme="dark"] .shape { opacity: .10; }

.shape-1 { width: 420px; height: 420px; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); top: -120px; left: -100px; animation-duration: 9s; }
.shape-2 { width: 280px; height: 280px; background: radial-gradient(circle, #818cf8 0%, transparent 70%); bottom: -80px; right: -60px; animation-duration: 7s; animation-delay: -3s; }
.shape-3 { width: 160px; height: 160px; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); top: 40%; left: 12%; animation-duration: 11s; animation-delay: -5s; }
.shape-4 { width: 100px; height: 100px; background: radial-gradient(circle, #a5b4fc 0%, transparent 70%); top: 20%; right: 18%; animation-duration: 8s; animation-delay: -2s; }

/* Dot Grid */
.dot-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(79, 82, 211, .18) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .5;
  animation: driftDots 20s linear infinite;
}
[data-theme="dark"] .dot-grid {
  background-image: radial-gradient(circle, rgba(99, 102, 241, .22) 1px, transparent 1px);
}

/* Floating Dots */
.float-dot {
  position: absolute; border-radius: 50%;
  background: var(--accent); opacity: .22;
  animation: floatDot 6s ease-in-out infinite;
}
[data-theme="dark"] .float-dot { opacity: .30; }
.fd1 { width: 8px;  height: 8px;  top: 22%; left: 30%;    animation-delay: 0s;    animation-duration: 6s; }
.fd2 { width: 5px;  height: 5px;  top: 65%; left: 68%;    animation-delay: -2s;   animation-duration: 8s; }
.fd3 { width: 10px; height: 10px; top: 38%; right: 22%;   animation-delay: -4s;   animation-duration: 7s; }
.fd4 { width: 6px;  height: 6px;  bottom: 28%; left: 52%; animation-delay: -1s;   animation-duration: 9s; }
.fd5 { width: 7px;  height: 7px;  top: 14%; right: 38%;   animation-delay: -3.5s; animation-duration: 6.5s; }

/* Plus Marks */
.plus {
  position: absolute; width: 16px; height: 16px;
  opacity: .28; animation: floatDot 8s ease-in-out infinite;
}
.plus::before, .plus::after { content: ''; position: absolute; background: var(--accent); border-radius: 1px; }
.plus::before { width: 100%; height: 2px; top: 50%; transform: translateY(-50%); }
.plus::after  { width: 2px; height: 100%; left: 50%; transform: translateX(-50%); }
.p1 { top: 55%; left: 18%;    animation-delay: -1s; }
.p2 { top: 28%; right: 14%;   animation-delay: -4s; animation-duration: 10s; }
.p3 { bottom: 22%; right: 28%; animation-delay: -2s; animation-duration: 7s; }

/* Circle Rings */
.ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(79, 82, 211, .25);
  pointer-events: none;
}
[data-theme="dark"] .ring { border-color: rgba(99, 102, 241, .30); }
.ring-1 { width: 480px; height: 480px; top: 50%; left: -140px; transform: translateY(-50%); animation: floatShape 12s ease-in-out infinite; }
.ring-2 { width: 260px; height: 260px; top: 12%; right: 8%; animation: floatShape 9s ease-in-out infinite; animation-delay: -4s; }
.ring-3 { width: 120px; height: 120px; bottom: 18%; left: 38%; border-color: rgba(79, 82, 211, .15); animation: floatShape 7s ease-in-out infinite; animation-delay: -2s; }

/* Parallax */
.parallax-layer { transition: transform .12s linear; will-change: transform; }


/* ─────────────────────────────────────────────────────────────
   12. Hero Badge & Typed Cursor
───────────────────────────────────────────────────────────── */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  padding: 9px 20px 9px 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px; font-weight: 700;
  color: #fff; letter-spacing: .3px;
  margin-bottom: 28px;
  animation: floatBadge 4s ease-in-out infinite;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fbbf24;
  animation: badgePulse 1.8s ease-in-out infinite;
}

/* Hero overlay content sits above the ::before gradient overlay */
.hero-overlay-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center;
  max-width: 900px; width: 100%;
}

/* H1 and typed text over dark image */
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 800; color: #fff;
  letter-spacing: -1.5px; line-height: 1.1;
  margin-bottom: 52px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .30);
}
.hero h1 em {
  font-style: normal; color: rgba(255, 255, 255, .88);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .30);
  text-underline-offset: 8px;
}
.typed-cursor { color: #fff; animation: cursorBlink .7s step-end infinite; }

.typed-cursor {
  color: var(--accent);
  animation: cursorBlink .7s step-end infinite;
}


/* ─────────────────────────────────────────────────────────────
   13. Keyframe Animations
───────────────────────────────────────────────────────────── */
@keyframes plPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.07); }
}
@keyframes plBar {
  0%   { width: 0; }
  60%  { width: 72%; }
  100% { width: 100%; }
}
@keyframes floatShape {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-28px) scale(1.04); }
}
@keyframes floatDot {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}
@keyframes driftDots {
  from { background-position: 0 0; }
  to   { background-position: 32px 32px; }
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: .5; }
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; } 50% { opacity: 0; }
}


/* ─────────────────────────────────────────────────────────────
   14. GSAP Entrance / ScrollTrigger Reveal States
   These are starting states – GSAP animates them to visible.
───────────────────────────────────────────────────────────── */
.anim         { opacity: 0; transform: translateY(30px); }
.reveal       { opacity: 0; transform: translateY(40px); }
.reveal-left  { opacity: 0; transform: translateX(-50px); }
.reveal-right { opacity: 0; transform: translateX(50px); }


/* ─────────────────────────────────────────────────────────────
   15. Service Buttons (4-up grid on hero)
───────────────────────────────────────────────────────────── */
.hero-card-services {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; width: 100%; max-width: 760px;
  position: relative; z-index: 1;
}

.svc-btn {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: 20px;
  padding: 22px 16px;
  text-decoration: none; color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .4px;
  opacity: 0; /* GSAP animates in */
  /* 3D depth effect */
  box-shadow:
    0 7px 0 rgba(0, 0, 0, .38),
    0 12px 24px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .30),
    inset 0 -1px 0 rgba(0, 0, 0, .10);
  transform: translateY(0);
  transition: transform .16s ease, box-shadow .16s ease, background .22s, border-color .22s;
}
.svc-btn:hover {
  background: var(--accent);
  border-color: rgba(79, 82, 211, .70);
  color: #fff;
  transform: translateY(-7px);
  box-shadow:
    0 14px 0 rgba(40, 42, 150, .55),
    0 22px 40px rgba(79, 82, 211, .50),
    inset 0 1px 0 rgba(255, 255, 255, .35),
    inset 0 -1px 0 rgba(0, 0, 0, .12);
}
.svc-btn:active {
  transform: translateY(3px);
  box-shadow:
    0 3px 0 rgba(0, 0, 0, .40),
    0 6px 10px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .20),
    inset 0 2px 6px rgba(0, 0, 0, .12);
}

.svc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255, 255, 255, .20);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
  transition: background .28s, transform .28s;
}
.svc-btn:hover .svc-icon {
  background: rgba(255, 255, 255, .30);
  transform: scale(1.12) rotate(-8deg);
}
.svc-label { line-height: 1; }


/* ─────────────────────────────────────────────────────────────
   16. Hero Keyframes
───────────────────────────────────────────────────────────── */
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}


/* ─────────────────────────────────────────────────────────────
   17. Hero Responsive
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { margin: 8px 8px 0; border-radius: 20px; }
  .hero-card-services { grid-template-columns: repeat(2, 1fr); max-width: 440px; }
}
@media (max-width: 480px) {
  .hero { margin: 6px 6px 0; border-radius: 16px; }
  .svc-btn  { padding: 16px 10px; gap: 8px; }
  .svc-icon { width: 42px; height: 42px; font-size: 18px; }
}
