/* ============================================================
   HMA Solutions — Custom Styles
   Bootstrap 5 companion sheet (override & extend only)
   ============================================================ */

/* ── Root Variables — Premium Color System ── */
:root {
  /* Deep dark palette */
  --primary:        #050d1f;
  --secondary:      #0a1628;
  --surface:        #0f2040;
  --surface-2:      #162647;

  /* Primary accent: electric cyan */
  --accent:         #00d4ff;
  --accent-hover:   #00b8e0;
  --accent-light:   rgba(0, 212, 255, 0.08);
  --accent-glow:    rgba(0, 212, 255, 0.45);

  /* Secondary accent: electric violet */
  --accent-2:       #8b5cf6;
  --accent-2-hover: #7c3aed;
  --accent-2-light: rgba(139, 92, 246, 0.08);
  --accent-2-glow:  rgba(139, 92, 246, 0.38);

  /* Gradient accent (the premium signature) */
  --grad:           linear-gradient(135deg, #00d4ff 0%, #8b5cf6 100%);
  --grad-text:      linear-gradient(90deg, #00d4ff, #a78bfa, #8b5cf6, #00d4ff);
  --grad-subtle:    linear-gradient(135deg, rgba(0,212,255,.06) 0%, rgba(139,92,246,.06) 100%);

  /* Light surfaces */
  --light:          #f4f7ff;
  --white:          #ffffff;
  --text:           #1a2742;
  --muted:          #5a6e8a;
  --border:         #dae1f0;

  /* Status */
  --success:        #10b981;
  --warning:        #f59e0b;
  --danger:         #ef4444;

  /* Transitions */
  --t:              all 0.3s ease;
  --t-fast:         all 0.18s ease;
  --t-slow:         all 0.55s ease;

  /* Shadows */
  --shadow:         0 4px 6px -1px rgba(5,13,31,.12), 0 2px 4px -1px rgba(5,13,31,.08);
  --shadow-md:      0 10px 15px -3px rgba(5,13,31,.14), 0 4px 6px -2px rgba(5,13,31,.08);
  --shadow-lg:      0 20px 25px -5px rgba(5,13,31,.18), 0 10px 10px -5px rgba(5,13,31,.06);
  --shadow-xl:      0 25px 50px -12px rgba(5,13,31,.3);
  --shadow-accent:  0 8px 32px rgba(0,212,255,.35), 0 2px 8px rgba(139,92,246,.2);
  --shadow-card:    0 0 0 1px rgba(0,212,255,.1), 0 0 30px rgba(139,92,246,.1);

  /* Radii */
  --radius:         14px;
  --radius-sm:      9px;
  --radius-lg:      22px;

  /* Spacing scale */
  --sp-1:  .25rem;  --sp-2:  .5rem;   --sp-3:  .75rem;
  --sp-4:  1rem;    --sp-5:  1.25rem; --sp-6:  1.5rem;
  --sp-8:  2rem;    --sp-10: 2.5rem;  --sp-12: 3rem;
  --sp-16: 4rem;    --sp-20: 5rem;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

a { transition: var(--t); }
img { max-width: 100%; height: auto; display: block; }

/* ── Utility Classes ── */
.text-accent     { color: var(--accent) !important; }
.bg-primary-dark { background-color: var(--primary) !important; }
.fw-600          { font-weight: 600 !important; }

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0,212,255,.1) 0%, rgba(139,92,246,.1) 100%);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .32rem 1rem;
  border-radius: 50px;
  margin-bottom: .9rem;
  border: 1px solid rgba(0,212,255,.22);
  position: relative;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.03em;
}
.section-title span { color: var(--accent); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.8;
}

/* ── Buttons — gradient premium ── */
.btn-accent {
  background: var(--grad);
  border: none;
  color: var(--white);
  font-weight: 700;
  padding: .68rem 1.85rem;
  border-radius: var(--radius-sm);
  transition: var(--t);
  position: relative;
  overflow: hidden;
  background-size: 200% 200%;
  background-position: left center;
  letter-spacing: .01em;
}
.btn-accent:hover, .btn-accent:focus {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
  background-position: right center;
}

.btn-outline-accent {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  padding: .58rem 1.75rem;
  border-radius: var(--radius-sm);
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.btn-outline-accent:hover {
  background: var(--grad);
  border-color: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-outline-light-custom {
  background: transparent;
  border: 2px solid rgba(255,255,255,.35);
  color: var(--white);
  font-weight: 600;
  padding: .58rem 1.75rem;
  border-radius: var(--radius-sm);
  transition: var(--t);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.btn-outline-light-custom:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(0,212,255,.5);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,212,255,.2);
}

/* ── Section Spacing ── */
.section-padding    { padding: 5rem 0; }
.section-padding-lg { padding: 7rem 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.fi { font-size: 1.1em; line-height: 1; border-radius: 2px; }

.navbar-main {
  background-color: rgba(5, 13, 31, 0.96);
  padding: .9rem 0;
  transition: padding .3s ease, box-shadow .3s ease, background .3s ease;
  border-bottom: 1px solid rgba(0,212,255,.08);
  z-index: 1030;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.navbar-main.scrolled {
  padding: .5rem 0;
  background-color: rgba(5, 13, 31, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 32px rgba(0,0,0,.5), 0 1px 0 rgba(0,212,255,.12);
}

.navbar-brand {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white) !important;
  letter-spacing: -.02em;
  text-decoration: none;
  transition: var(--t);
}
.navbar-brand:hover { opacity: .85; }
.navbar-brand .brand-accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-main .nav-link {
  color: rgba(255,255,255,.72) !important;
  font-weight: 500;
  font-size: .94rem;
  padding: .45rem .9rem !important;
  border-radius: var(--radius-sm);
  transition: var(--t);
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: var(--accent) !important;
  background: var(--accent-light);
}

.navbar-toggler {
  border-color: rgba(0,212,255,.2) !important;
  padding: .35rem .65rem;
  transition: var(--t);
}
.navbar-toggler:focus { box-shadow: none !important; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-top: .5rem;
    border: 1px solid rgba(0,212,255,.1);
    animation: fadeInDown .22s ease;
  }
  .navbar-main .nav-link { padding: .6rem .9rem !important; }
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero-slide {
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Subtle dot grid on hero */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(0,212,255,.12) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 1;
  opacity: .5;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 8s ease;
}
.carousel-item.active .hero-slide-bg { transform: scale(1.04); }

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(5,13,31,.96)  0%,
    rgba(5,13,31,.78) 50%,
    rgba(139,92,246,.08) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 5rem;
}

/* Carousel indicators — pill style */
.carousel-indicators {
  bottom: 2.5rem;
  gap: .45rem;
  margin: 0;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  justify-content: center;
  width: auto;
  align-items: center;
}
.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  border: none;
  margin: 0;
  opacity: 1;
  transition: width .42s cubic-bezier(.34,1.56,.64,1),
              border-radius .42s cubic-bezier(.34,1.56,.64,1),
              background .3s ease, box-shadow .3s ease;
}
.carousel-indicators .active {
  width: 26px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(0,212,255,.55), 0 0 28px rgba(0,212,255,.2);
}

/* Carousel controls — circular glass buttons */
.carousel-control-prev,
.carousel-control-next {
  width: 52px;
  height: 52px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity .35s ease, background .3s ease, border-color .3s ease,
              transform .3s cubic-bezier(.34,1.56,.64,1);
}
#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next,
#heroCarousel:focus-within .carousel-control-prev,
#heroCarousel:focus-within .carousel-control-next { opacity: 1; }
.carousel-control-prev { left: 1.5rem; }
.carousel-control-next { right: 1.5rem; }
.carousel-control-prev:hover {
  background: rgba(0,212,255,.14);
  border-color: rgba(0,212,255,.38);
  transform: translateY(-50%) translateX(-2px);
}
.carousel-control-next:hover {
  background: rgba(0,212,255,.14);
  border-color: rgba(0,212,255,.38);
  transform: translateY(-50%) translateX(2px);
}
.carousel-control-prev:focus-visible,
.carousel-control-next:focus-visible {
  opacity: 1;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M15 18l-6-6 6-6' stroke='rgba(255,255,255,.92)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  width: 22px;
  height: 22px;
}
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 18l6-6-6-6' stroke='rgba(255,255,255,.92)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  width: 22px;
  height: 22px;
}

/* Hero badge pill */
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0,212,255,.15) 0%, rgba(139,92,246,.15) 100%);
  border: 1px solid rgba(0,212,255,.3);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .32rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Hero heading */
.hero-heading {
  font-size: clamp(2rem, 6vw, 3.9rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -.035em;
}
.hero-heading span { color: var(--accent); }

/* Hero paragraph */
.hero-para {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: rgba(255,255,255,.72);
  max-width: 580px;
  margin-bottom: 2.25rem;
  line-height: 1.85;
}

/* Hero slide counter */
.hero-slide-counter {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  align-items: baseline;
  gap: .3rem;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.hero-slide-counter .counter-current {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  transition: opacity .25s ease, transform .25s ease;
}
.hero-slide-counter.updating .counter-current {
  opacity: 0;
  transform: translateY(-6px);
}
.hero-slide-counter .counter-sep {
  font-size: .72rem;
  color: rgba(255,255,255,.28);
}
.hero-slide-counter .counter-total {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.38);
}

/* Auto-play progress bar */
.hero-progress-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.06);
  z-index: 10;
  overflow: hidden;
}
.hero-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px rgba(0,212,255,.55), 0 0 4px rgba(139,92,246,.3);
  transition: width linear;
  will-change: width;
}

/* Slide content entrance animation (slides 1+) */
.slide-content-item {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  filter: blur(4px);
  transition: opacity .6s cubic-bezier(0.16, 1, 0.3, 1),
              transform .6s cubic-bezier(0.16, 1, 0.3, 1),
              filter .5s ease;
}
.slide-content-item.slide-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0px);
}

@media (max-width: 991.98px) {
  .hero-slide-content { text-align: center; }
  .hero-para { margin-inline: auto; }
  .hero-cta-group { justify-content: center !important; }
}

@media (max-width: 575.98px) {
  .carousel-control-prev { left: .75rem; }
  .carousel-control-next { right: .75rem; }
  .carousel-control-prev,
  .carousel-control-next { width: 44px; height: 44px; }
  .hero-slide-counter    { right: 1rem; bottom: 3.2rem; }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 55%, #12103a 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -8%;
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(0,212,255,.14) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -40%; left: -8%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(139,92,246,.12) 0%, transparent 70%);
  pointer-events: none;
}
/* Dot grid on page hero */
.page-hero > .container::before {
  content: '';
  position: absolute;
  inset: -5rem;
  background-image: radial-gradient(rgba(0,212,255,.08) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
  z-index: 0;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -.035em;
}
.page-hero .breadcrumb         { background: transparent; padding: 0; margin: 0; }
.page-hero .breadcrumb-item    { color: rgba(255,255,255,.5); font-size: .88rem; }
.page-hero .breadcrumb-item a  { color: var(--accent); text-decoration: none; }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.85); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ============================================================
   HOME — ABOUT SECTION
   ============================================================ */
.about-section { background: var(--light); }

.value-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: var(--t);
}
.value-box:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(0,212,255,.12), 0 4px 24px rgba(139,92,246,.08);
  transform: translateX(5px);
}
.value-icon {
  width: 54px; height: 54px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.4rem;
  flex-shrink: 0; transition: var(--t);
}
.value-box:hover .value-icon {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,212,255,.3);
}
.value-box h5 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; color: var(--primary); }
.value-box p  { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.75; }

/* ============================================================
   HOME — SERVICES SECTION
   ============================================================ */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: var(--t);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
  border-radius: 0 0 var(--radius) var(--radius);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(5,13,31,.12), var(--shadow-card);
  border-color: rgba(0,212,255,.2);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 68px; height: 68px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.4rem;
  font-size: 1.75rem; color: var(--accent);
  transition: var(--t);
}
.service-card:hover .service-icon {
  background: var(--grad);
  color: var(--white);
  transform: rotate(6deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(0,212,255,.3), 0 4px 12px rgba(139,92,246,.2);
}
.service-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: .65rem; color: var(--primary); }
.service-card p  { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.75; }

/* ============================================================
   HOME — OUR PROCESS
   ============================================================ */
.process-section { background: var(--light); }
.process-steps   { counter-reset: step-counter; }

.process-step {
  counter-increment: step-counter;
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 2rem 2rem;
  transition: var(--t);
  height: 100%;
}
.process-step::before {
  content: "0" counter(step-counter);
  position: absolute;
  top: -1px; left: -1px;
  background: var(--grad);
  color: var(--white);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: .3rem .8rem;
  border-radius: var(--radius) 0 var(--radius-sm) 0;
}
.process-step:hover {
  border-color: rgba(0,212,255,.25);
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(5,13,31,.1), var(--shadow-card);
}
.process-icon {
  width: 58px; height: 58px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.55rem;
  margin-bottom: 1.25rem; transition: var(--t);
}
.process-step:hover .process-icon {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,212,255,.3);
}
.process-step h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--primary); }
.process-step p  { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.75; }

@media (min-width: 992px) {
  .process-connector { position: relative; }
  .process-connector:not(:last-child)::after {
    content: '';
    position: absolute;
    top: calc(2rem + 29px);
    right: calc(-1rem - 1px);
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(139,92,246,.2));
    z-index: 1;
  }

  [dir="rtl"] .process-connector:not(:last-child)::after {
    right: auto;
    left: calc(-1rem - 1px);
    background: linear-gradient(270deg, var(--accent), rgba(139,92,246,.2));
  }
}

[dir="rtl"] .process-step::before {
  left: auto;
  right: -1px;
  border-radius: 0 var(--radius) 0 var(--radius-sm);
}

/* ============================================================
   HOME — STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--primary);
  background-size: 400% 400%;
  animation: gradientShift 14s ease infinite;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(0,212,255,.09) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 50%, rgba(139,92,246,.09) 0%, transparent 55%);
  pointer-events: none;
}
/* Dot grid overlay */
.stats-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: .35rem;
  display: block;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}
.stat-label {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  letter-spacing: .02em;
}
.stat-item .stat-number.counted { animation: bounceSoft .5s ease, gradientShift 4s ease infinite; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--secondary);
  padding: 2.75rem 0;
  border-top: 1px solid rgba(0,212,255,.07);
  border-bottom: 1px solid rgba(0,212,255,.07);
  position: relative;
  overflow: hidden;
}
.trust-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(0,212,255,.05) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 50%, rgba(139,92,246,.05) 0%, transparent 50%);
  pointer-events: none;
}
.trust-metric { text-align: center; padding: .5rem 1rem; position: relative; z-index: 1; }
.trust-metric-value {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
  line-height: 1;
  margin-bottom: .3rem;
}
.trust-metric-label {
  font-size: .84rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.trust-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0,212,255,.25), transparent);
  align-self: stretch;
  margin: auto 0;
  min-height: 44px;
}
@media (max-width: 767.98px) { .trust-divider { display: none !important; } }

/* ============================================================
   HOME — CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0a0a2e 50%, #100826 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,.13) 0%, transparent 70%);
  pointer-events: none;
  animation: float 11s ease-in-out infinite;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%; left: -8%;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(139,92,246,.1) 0%, transparent 70%);
  pointer-events: none;
  animation: floatReverse 14s ease-in-out infinite;
}

/* ============================================================
   CLIENTS — LOGOS
   ============================================================ */
.logos-section { background: var(--light); }

.client-logo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex; align-items: center; justify-content: center;
  min-height: 100px;
  transition: var(--t);
}
.client-logo-card:hover {
  border-color: rgba(0,212,255,.3);
  box-shadow: 0 8px 24px rgba(0,212,255,.12), 0 4px 12px rgba(139,92,246,.08);
  transform: translateY(-5px);
}
.client-logo-card svg { max-width: 140px; height: auto; }

/* ============================================================
   CLIENTS — TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  position: relative;
  transition: var(--t);
  height: 100%;
}
.testimonial-card:hover {
  box-shadow: 0 16px 32px rgba(5,13,31,.1), var(--shadow-card);
  border-color: rgba(0,212,255,.2);
  transform: translateY(-4px);
}
.testimonial-card .quote-bg {
  position: absolute;
  top: 1.25rem; right: 1.75rem;
  font-size: 5.5rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .12;
  font-family: Georgia, serif;
  pointer-events: none;
  user-select: none;
}
.testimonial-stars { color: #f59e0b; font-size: .88rem; margin-bottom: 1rem; display: flex; gap: .15rem; }
.testimonial-text  { color: var(--muted); font-style: italic; line-height: 1.85; font-size: .94rem; margin-bottom: 1.4rem; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: var(--white); flex-shrink: 0;
}
.author-name { font-weight: 700; color: var(--primary); font-size: .94rem; }
.author-role { font-size: .82rem; color: var(--muted); }

/* ============================================================
   CLIENTS — CASE STUDIES
   ============================================================ */
.case-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--t);
  height: 100%;
  background: var(--white);
}
.case-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 48px rgba(5,13,31,.14), var(--shadow-card);
  border-color: rgba(0,212,255,.15);
}
.case-card img { height: 230px; object-fit: cover; width: 100%; }
.case-card-body { padding: 1.6rem; }
.case-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-2-light));
  color: var(--accent);
  font-size: .74rem; font-weight: 700;
  padding: .2rem .75rem; border-radius: 50px;
  margin-bottom: .7rem;
  border: 1px solid rgba(0,212,255,.18);
}
.case-result-item {
  font-size: .88rem; color: var(--muted);
  display: flex; align-items: center; gap: .5rem;
}
.case-result-item i { color: var(--accent); font-size: 1rem; flex-shrink: 0; }

/* ============================================================
   CLIENTS — INDUSTRIES WE SERVE
   ============================================================ */
.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: var(--t);
  height: 100%;
}
.industry-card:hover {
  border-color: rgba(0,212,255,.2);
  box-shadow: 0 12px 28px rgba(0,212,255,.1), 0 4px 12px rgba(139,92,246,.08);
  transform: translateY(-5px);
}
.industry-icon {
  width: 60px; height: 60px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.6rem;
  margin: 0 auto 1rem; transition: var(--t);
}
.industry-card:hover .industry-icon {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,212,255,.3);
}
.industry-card h5 { font-size: .97rem; font-weight: 700; color: var(--primary); margin-bottom: .3rem; }
.industry-card p  { font-size: .84rem; color: var(--muted); margin: 0; line-height: 1.65; }

/* ============================================================
   PROJECTS — FILTER & CARDS
   ============================================================ */
.filter-group {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
}
.filter-btn {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: .88rem; font-weight: 500;
  padding: .44rem 1.25rem;
  border-radius: 50px; cursor: pointer;
  transition: var(--t);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--grad);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 18px rgba(0,212,255,.3), 0 2px 8px rgba(139,92,246,.2);
  transform: translateY(-1px);
}

.project-item { transition: opacity .4s ease, transform .4s ease; }
.project-item.hidden { display: none; }

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--t);
  height: 100%;
  background: var(--white);
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(5,13,31,.12), var(--shadow-card);
  border-color: rgba(0,212,255,.15);
}
.project-img-wrap {
  position: relative;
  overflow: hidden;
  height: 210px;
}
.project-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.project-card:hover .project-img-wrap img { transform: scale(1.08); }

.project-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0d1b2e 0%, #112240 60%, #1a3557 100%);
  color: rgba(0,212,255,.25);
  font-size: 3.5rem;
}

.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,13,31,.85) 0%, transparent 60%);
  opacity: 0; transition: var(--t);
  display: flex; align-items: flex-end; padding: 1.1rem;
}
.overlay-links { display: flex; gap: .5rem; }
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--white); color: var(--primary);
  border-radius: 50%; font-size: .95rem;
  text-decoration: none;
  transition: var(--t);
}
.project-overlay a:hover {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,212,255,.3);
}

.project-card-body { padding: 1.35rem; }
.project-card-title { font-size: 1.02rem; font-weight: 700; color: var(--primary); margin-bottom: .4rem; }
.project-card-desc  { font-size: .88rem; color: var(--muted); margin-bottom: .9rem; line-height: 1.75; }

.tech-tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.tech-tag {
  font-size: .73rem; font-weight: 500;
  background: var(--light); color: var(--muted);
  padding: .18rem .6rem; border-radius: 4px;
  border: 1px solid var(--border);
}

.cat-badge {
  display: inline-block;
  font-size: .73rem; font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-2-light));
  color: var(--accent);
  padding: .15rem .65rem; border-radius: 50px;
  margin-bottom: .55rem;
  border: 1px solid rgba(0,212,255,.15);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-label-custom {
  font-size: .88rem; font-weight: 600;
  color: var(--primary); margin-bottom: .35rem;
  display: block;
}
.form-control-custom {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .72rem 1rem;
  font-size: .94rem; color: var(--text);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-control-custom:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,255,.16), 0 0 0 1px var(--accent);
  outline: none;
}
.form-control-custom.is-valid   { border-color: var(--success); }
.form-control-custom.is-valid:focus { box-shadow: 0 0 0 3px rgba(16,185,129,.18); }
.form-control-custom.is-invalid { border-color: var(--danger); }
.form-control-custom.is-invalid:focus { box-shadow: 0 0 0 3px rgba(239,68,68,.18); }
.valid-feedback   { color: var(--success); font-size: .8rem; }
.invalid-feedback { color: var(--danger); font-size: .8rem; display: none; }
.form-control-custom.is-invalid ~ .invalid-feedback { display: block; }

.char-counter {
  font-size: .78rem;
  color: var(--muted);
  text-align: right;
  margin-top: .3rem;
  transition: color .2s ease;
}
.char-counter.near-limit { color: var(--warning); }
.char-counter.at-limit   { color: var(--danger); }

.alert-success-custom {
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.25);
  border-radius: var(--radius-sm);
  color: #065f46; padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .65rem;
  font-size: .94rem;
}

.contact-info-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; align-items: flex-start; gap: 1.1rem;
  transition: var(--t);
}
.contact-info-item:hover {
  border-color: rgba(0,212,255,.25);
  box-shadow: 0 8px 24px rgba(0,212,255,.1);
  transform: translateY(-3px);
}
.ci-icon {
  width: 50px; height: 50px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.3rem;
  flex-shrink: 0; transition: var(--t);
}
.contact-info-item:hover .ci-icon {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,212,255,.3);
}
.ci-label { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: .25rem; }
.ci-value { font-size: .94rem; font-weight: 600; color: var(--primary); }
.ci-value a { color: var(--primary); text-decoration: none; }
.ci-value a:hover { color: var(--accent); }

.trust-signal-item {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.trust-signal-item:last-child { border-bottom: none; }
.trust-signal-icon {
  width: 42px; height: 42px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--t);
}
.trust-signal-item:hover .trust-signal-icon {
  background: var(--grad);
  color: var(--white);
}
.trust-signal-item h6 { font-size: .9rem; font-weight: 700; margin-bottom: .2rem; color: var(--primary); }
.trust-signal-item p  { font-size: .83rem; color: var(--muted); margin: 0; line-height: 1.6; }

.map-placeholder {
  background: linear-gradient(135deg, var(--secondary) 0%, #101435 100%);
  border-radius: var(--radius);
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  border: 1px solid rgba(0,212,255,.1);
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
.map-inner { position: relative; z-index: 1; text-align: center; }
.map-inner i {
  font-size: 3rem;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.map-inner p { color: rgba(255,255,255,.45); margin-top: .75rem; font-size: .9rem; }

/* ── FAQ Accordion ── */
.accordion-item {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  background: var(--white);
  transition: var(--t);
}
.accordion-item:hover { border-color: rgba(0,212,255,.2) !important; }
.accordion-button {
  font-weight: 600 !important;
  font-size: .95rem !important;
  color: var(--primary) !important;
  background: var(--white) !important;
  padding: 1.1rem 1.35rem !important;
}
.accordion-button:not(.collapsed) {
  color: var(--accent) !important;
  background: var(--white) !important;
  box-shadow: none !important;
}
.accordion-button:focus { box-shadow: none !important; }
.accordion-button::after {
  filter: brightness(0) saturate(100%) invert(63%) sepia(94%) saturate(1023%) hue-rotate(157deg) brightness(101%) contrast(102%);
}
.accordion-body { padding: 0 1.35rem 1.25rem !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-main {
  background: var(--primary);
  padding: 4.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.footer-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
/* Ambient glow orbs in footer */
.footer-main::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 500px; height: 300px;
  background:
    radial-gradient(circle at 70% 50%, rgba(139,92,246,.05) 0%, transparent 60%),
    radial-gradient(circle at 30% 50%, rgba(0,212,255,.04) 0%, transparent 60%);
  pointer-events: none;
}
.footer-brand {
  font-size: 1.45rem; font-weight: 800;
  text-decoration: none;
  display: inline-block; margin-bottom: .9rem;
  transition: var(--t);
}
.footer-brand .brand-accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
}
.footer-brand span:not(.brand-accent) { color: var(--white); }

.footer-desc {
  font-size: .9rem; color: rgba(255,255,255,.5);
  line-height: 1.85; margin-bottom: 1.5rem;
}
.footer-heading {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.8); margin-bottom: 1.2rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a,
.footer-links span {
  color: rgba(255,255,255,.72); text-decoration: none;
  font-size: .9rem; transition: var(--t);
  display: inline-flex; align-items: center; gap: .35rem;
}
.footer-links a:hover { color: var(--accent); padding-left: .25rem; }

.social-links { display: flex; gap: .65rem; flex-wrap: wrap; }
.social-link {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); text-decoration: none;
  font-size: 1rem; transition: var(--t);
}
.social-link:hover {
  background: var(--grad);
  border-color: transparent;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,212,255,.3), 0 4px 10px rgba(139,92,246,.2);
}

.footer-divider { border-color: rgba(255,255,255,.07); margin: 2rem 0 1.5rem; }
.footer-copy { font-size: .84rem; color: rgba(255,255,255,.38); }
.footer-copy a { color: var(--accent); text-decoration: none; }

/* ============================================================
   SCROLL-TO-TOP BUTTON
   ============================================================ */
#scrollTopBtn {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: var(--grad);
  color: var(--white);
  border: none; border-radius: 50%;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0;
  transform: translateY(20px);
  transition: var(--t); z-index: 1020;
  box-shadow: 0 4px 20px rgba(0,212,255,.35), 0 4px 12px rgba(139,92,246,.25);
}
#scrollTopBtn.visible { opacity: 1; transform: translateY(0); }
#scrollTopBtn:hover   { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,212,255,.45), 0 4px 16px rgba(139,92,246,.3); }

/* ============================================================
   REVEAL / ANIMATE ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; }

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 767.98px) {
  .section-padding    { padding: 3.5rem 0; }
  .section-padding-lg { padding: 5rem 0; }
  .contact-form-card  { padding: 1.75rem; }
  .stat-item          { padding: 1rem .5rem; }
  .hero-slide         { min-height: 100svh; }
  .page-hero          { padding: 4rem 0 3rem; }
}
@media (max-width: 575.98px) {
  .filter-group { gap: .35rem; }
  .filter-btn   { font-size: .82rem; padding: .38rem 1rem; }
}

/* ============================================================
   ANIMATIONS — Premium Motion Layer
   ============================================================ */

/* ── Keyframes ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(.82); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%,100% { transform: translateY(0)    rotate(0deg); }
  33%      { transform: translateY(-18px) rotate(1.8deg); }
  66%      { transform: translateY(-9px)  rotate(-1deg); }
}
@keyframes floatReverse {
  0%,100% { transform: translateY(0)   rotate(0deg); }
  33%      { transform: translateY(13px) rotate(-1.8deg); }
  66%      { transform: translateY(7px)  rotate(1deg); }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0   rgba(0,212,255,.5); }
  70%  { box-shadow: 0 0 0 18px rgba(0,212,255,0); }
  100% { box-shadow: 0 0 0 0   rgba(0,212,255,0); }
}
@keyframes gradientShift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}
@keyframes shimmerSweep {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes rippleOut {
  to { transform: scale(4); opacity: 0; }
}
@keyframes blinkCursor {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}
@keyframes progressGlow {
  0%,100% { box-shadow: 0 0 8px  rgba(0,212,255,.55), 0 0 4px rgba(139,92,246,.35); }
  50%      { box-shadow: 0 0 20px rgba(0,212,255,.9),  0 0 10px rgba(139,92,246,.6); }
}
@keyframes bounceSoft {
  0%,100% { transform: translateY(0); }
  40%      { transform: translateY(-10px); }
  70%      { transform: translateY(-4px); }
}

/* ── Scroll Progress Bar — gradient cyan to violet ── */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #00d4ff, #8b5cf6, #00d4ff);
  background-size: 300% 100%;
  z-index: 9999;
  transition: width .1s linear;
  animation: gradientShift 3s ease infinite, progressGlow 2s ease infinite;
}

/* ── Directional Reveal Variants ── */
.reveal-left  { opacity: 0; transform: translateX(-42px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right { opacity: 0; transform: translateX(42px);  transition: opacity .7s ease, transform .7s ease; }
.reveal-zoom  { opacity: 0; transform: scale(.86);         transition: opacity .7s ease, transform .7s ease; }
.reveal-down  { opacity: 0; transform: translateY(-30px);  transition: opacity .7s ease, transform .7s ease; }

.reveal-left.visible,
.reveal-right.visible,
.reveal-zoom.visible,
.reveal-down.visible { opacity: 1; transform: none; }

/* ── Hero Entrance ── */
.hero-enter {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  filter: blur(3px);
  transition: opacity .85s cubic-bezier(0.16, 1, 0.3, 1),
              transform .85s cubic-bezier(0.16, 1, 0.3, 1),
              filter .7s ease;
}
.hero-enter.in {
  opacity: 1;
  transform: none;
  filter: blur(0px);
}

/* ── Animated Gradient Text ── */
.gradient-text {
  background: linear-gradient(90deg, #00d4ff, #a78bfa, #8b5cf6, #00d4ff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

/* ── Animate page-hero pseudo-elements ── */
.page-hero::before { animation: float        9s ease-in-out infinite; }
.page-hero::after  { animation: floatReverse 13s ease-in-out infinite; }

/* ── Animate CTA decoration ── */
.cta-section::before { animation: float 11s ease-in-out infinite; }
.cta-section::after  { animation: floatReverse 16s ease-in-out infinite; }

/* ── Button Ripple ── */
.btn-accent,
.btn-outline-accent { position: relative; overflow: hidden; }
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  transform: scale(0);
  animation: rippleOut .65s linear;
  pointer-events: none;
}

/* ── Nav link animated underline ── */
.navbar-main .nav-link::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--grad);
  border-radius: 2px;
  transition: width .3s ease;
  margin-top: 1px;
}
.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after { width: 100%; }
.navbar-main .nav-link.btn-accent::after,
.navbar-main li.ms-lg-2 .nav-link::after { display: none; }

/* ── Floating decorative blobs ── */
.deco-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: .1;
}
.deco-blob-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #00d4ff 0%, transparent 70%);
  top: -120px; right: -120px;
  animation: float 9s ease-in-out infinite;
}
.deco-blob-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  bottom: -80px; left: -80px;
  animation: floatReverse 12s ease-in-out infinite;
}

/* Geometric spinning rings */
.deco-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.deco-ring-1 {
  width: 320px; height: 320px;
  border: 1.5px solid rgba(0,212,255,.18);
  top: -70px; right: -70px;
  animation: spinSlow 28s linear infinite;
}
.deco-ring-2 {
  width: 190px; height: 190px;
  border: 1px solid rgba(139,92,246,.14);
  top: 20px; right: 20px;
  animation: spinSlow 18s linear infinite reverse;
}

/* ── Tilt 3-D card ── */
.tilt-card { transform-style: preserve-3d; will-change: transform; }

/* ── Service icon pulse + glow on hover ── */
.service-card:hover .service-icon { animation: pulseRing .6s ease; }

/* ── Float utility ── */
.float-anim         { animation: float        6s ease-in-out infinite; display: inline-block; }
.float-anim-slow    { animation-duration: 9s; }
.float-anim-reverse { animation-name: floatReverse; }

/* ── Typewriter cursor ── */
.tw-cursor {
  display: inline-block;
  width: 3px; height: .88em;
  background: var(--grad);
  margin-left: 2px;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0,212,255,.8), 0 0 20px rgba(139,92,246,.4);
  animation: blinkCursor .75s step-end infinite;
}

/* ── Ensure h1 handed to typewriter stays visible ── */
.hero-heading:not(.hero-enter) {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Animated section divider ── */
.section-divider {
  display: flex; align-items: center; gap: .9rem;
  margin: 1.25rem auto; max-width: 200px;
}
.section-divider::before,
.section-divider::after { content: ''; flex: 1; height: 1.5px; border-radius: 2px; }
.section-divider::before { background: linear-gradient(90deg, transparent, var(--accent)); }
.section-divider::after  { background: linear-gradient(90deg, var(--accent-2), transparent); }
.section-divider i       { color: var(--accent); font-size: .85rem; animation: pulseRing 2s ease-out infinite; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:        .01ms !important;
    animation-iteration-count: 1     !important;
    transition-duration:       .01ms !important;
    scroll-behavior: auto !important;
  }
  #scrollProgress { transition: none; }
  .hero-enter, .slide-content-item { transition: none; filter: none !important; }
}

@font-face {
    font-family: 'Gitaluevo';
    src: url('/frontend/fonts/Gitaluevo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
