/* ==========================================================
   Arince Creative Agency Template — Global Styles
   ----------------------------------------------------------
 */ 

:root {
  --nf-radius-xl: 1.25rem;
  --nf-radius-2xl: 1.75rem;
  --accent-color: #0010b9;
  --secondary-color: ;
  --dark-color: #2D2D2D;
  --white-color: #FFFFFF;
  --grey-color: #777777;
  --body-text-color: #333333;
  --light-text-color: #929292;
  --link-color: #0010b9;
  --background-color: #FAFAFA;
  /* bootstrap color-scheme */
  --bs-dark-rgb: 80, 80, 80;
  --bs-gray-100: #EAE5DD;
  --bs-gray-300: #DCDCDC;
  --bs-body-color-rgb: 53, 53, 53;
  --bs-primary-rgb: 0, 16, 185;
  --bs-secondary-rgb: 249, 246, 243;
  --color-accent-rgb: 0, 45, 204;
  --card-glow: rgba(0, 41, 200, 0.25);
  --loader-bg: #0b1220; /* overlay background */
  --loader-accent: var(--accent-color); /* accent color (spinner) */
  --loader-fg: #ffffff; /* logo/text color */
  --fade-duration: 450ms;
}
/* Selection color */ ::selection {
  background: rgba(59, 130, 246, 0.3);
  color: #e5f0ff;
}
body {
  overscroll-behavior: none;
}
html {
  scroll-behavior: smooth;
}
/* Scrollbar styling (webkit-only) */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track {
  background: #020617;
}
body::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 999px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #334155;
}
.font-display {
  font-family: 'Outfit' !important;
}
.logo-header {
    max-width: 150px;
}
/* Simple utility to visually hide elements but keep them accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
/*Animations*/
@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px); /* Move up */
  }
  100% {
    transform: translateY(0); /* Back to original */
  }
}
@keyframes floatDownUp {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(10px); /* Move up */
  }
  100% {
    transform: translateY(0px); /* Back to original */
  }
}
.float-animation {
  animation: floatUpDown 3s ease-in-out infinite;
}
.float-animation-down-up {
  animation: floatDownUp 3s ease-in-out infinite;
}
/*Post card image distortion*/
.card-image {
  position: relative;
  display: flex; /* makes it wrap to image size */
  overflow: hidden;
  border-radius: 0px;
}
.th-post-card-image {
  display: block;
  width: 100%;
  height: auto; /* let image define height */
  transition: 0.5s;
}
.th-post-card-image:nth-child(1) {
  position: absolute;
  top: 0;
  /*left: 0;
    right: 0;*/
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateX(50%) scaleX(2);
  opacity: 0;
  filter: blur(12px);
}
.card-image:hover .th-post-card-image:nth-child(1) {
  transform: translateX(0%) scaleX(1);
  opacity: 1;
  filter: blur(0);
}
.card-image:hover .th-post-card-image:nth-child(2) {
  transform: translateX(-50%) scaleX(2);
  opacity: 0;
  filter: blur(12px);
}
/*Glass*/
/* Glass backdrop kit - drop into your theme CSS */
/* Adjustable via CSS variables for quick theming */ :root {
  --glass-bg: rgba(255, 255, 255, 0.35); /* light glass base */
  --glass-bg-dark: rgba(16, 18, 20, 0.35); /* dark glass base */
  --glass-border: rgba(255, 255, 255, 0.28);
  --glass-border-dark: rgba(0, 0, 0, 0.28);
  --glass-blur: 10px;
  --glass-blur-4: 4px;
  --glass-saturate: 120%;
  --glass-contrast: 95%;
  --glass-radius: 14px;
  --glass-padding: 1rem;
  --glass-shadow: 0 6px 20px rgba(13, 14, 18, 0.16);
  --glass-transition: 240ms cubic-bezier(.2, .9, .2, 1);
}
/* Base glass container */
.glass {
  position: relative;
  overflow: hidden;
  transition: background var(--glass-transition), transform var(--glass-transition), box-shadow var(--glass-transition);
  /* Allow children to render above the pseudo-backdrop */
  isolation: isolate;
}
/* Apply the native backdrop-filter when available */
.glass {
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) contrast(var(--glass-contrast));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) contrast(var(--glass-contrast));
}
.glass-4 {
  -webkit-backdrop-filter: blur(var(--glass-blur-4)) saturate(var(--glass-saturate)) contrast(var(--glass-contrast));
  backdrop-filter: blur(var(--glass-blur-4)) saturate(var(--glass-saturate)) contrast(var(--glass-contrast));
}
/* Stronger blur / darker tone */
.glass.strong {
  --glass-blur: 18px;
  --glass-bg: rgba(255, 255, 255, 0.22);
  --glass-shadow: 0 10px 32px rgba(13, 14, 18, 0.22);
}
/* Dark glass variant */
.glass.dark {
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-dark);
  color: #fff;
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) contrast(1.05);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) contrast(1.05);
}
/* Frosted overlay variant — useful for full-screen hero overlays */
.glass.frosted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  pointer-events: none; /* so content behind can remain interactive if desired */
}
/* Thin glass panel (like a navbar) */
.glass.nav {
  --glass-radius: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
/* Outline effect for sharper edges */
.glass.outline {
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}
/* Hover / active interactions */
.glass:hover {
  box-shadow: 0 14px 36px rgba(13, 14, 18, 0.18);
}
/* Small utilities */
.glass.sm {
  --glass-padding: 0.6rem;
  --glass-radius: 10px;
}
.glass.lg {
  --glass-padding: 1.6rem;
  --glass-radius: 18px;
}
/* CONTENT must be rendered normally; ensure high z-index if needed */
.glass > * {
  position: relative;
  z-index: 1;
}
/* FALLBACK: when backdrop-filter isn't supported we'll use a pseudo-element blur approach */
.no-backdrop .glass {
  /* more translucent base when no real backdrop is supported */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
/* Optional pseudo-element fallback (slower but works) */
.no-backdrop .glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /* fake blurred backdrop using an overlay + CSS blur on the element itself is not possible,
     but this gives a soft frosted look. For heavier blur you would use an SVG or blurred background image. */
  background: inherit;
  filter: blur(6px);
  opacity: 0.9;
  pointer-events: none;
  border-radius: inherit;
}
/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .glass, .glass:hover {
    transition: none;
    transform: none;
  }
  .glass::before {
    transition: none;
  }
}
.th-rotate {
  animation: rotation 8s infinite linear;
}
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
#GoToTop {
  position: fixed;
  z-index: 99;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 100px;
  width: 50px;
  height: 50px;
  opacity: 0;
  transition: all .3s ease;
  padding: 13px
}
.gototop, .gototop svg {
  color: #FFFFFF;
}
.gototop {
  background: linear-gradient(90deg, #000eb8 0%, #0060fd 100%);
  background: -moz-linear-gradient(0deg, #000eb8 0%, #0060fd 100%);
  background: -webkit-linear-gradient(0deg, #000eb8 0%, #0060fd 100%);
  background: -o-linear-gradient(0deg, #000eb8 0%, #0060fd 100%);
  background: -ms-linear-gradient(0deg, #000eb8 0%, #0060fd 100%);
}
.round-btn::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 0deg, rgba(var(--color-accent-rgb), 0) 0%, rgba(var(--color-accent-rgb), .95) 15%, rgba(var(--color-accent-rgb), .95) 35%, rgba(var(--color-accent-rgb), .95) 55%, rgba(var(--color-accent-rgb), 0) 70% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 6px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 6px));
  filter: blur(.3px);
  animation: spin 2.4s linear infinite;
}
.round-btn::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(79, 140, 255, .35), rgba(79, 140, 255, 0) 70%);
  opacity: .6;
  filter: blur(10px);
  transition: opacity .25s ease;
}
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
/*GASP Cursor Animation*/
.cursor {
  position: fixed;
  width: 40px;
  height: 40px;
  margin-left: -20px;
  margin-top: -20px;
  border-radius: 50%;
  border: 2px solid #800000;
  transition: 0.3s;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1000;
}
.cursor2 {
  position: fixed;
  width: 4px;
  height: 4px;
  margin-left: -20px;
  margin-top: -20px;
  border-radius: 50%;
  background-color: #fff;
  transform: translate(-50%, -50%);
  transition: 0.1s;
  pointer-events: none;
  z-index: 1000;
}
.grow, .grow-small {
  transform: scale(4);
  background: white;
  mix-blend-mode: difference;
  border: none;
}
.grow-small {
  transform: scale(2);
}
/*Hidden Text Animation*/
.hidden-text {
  position: absolute;
  z-index: 200;
}
.container-heading {
  display: flex;
}
.text-anim div {
  display: inline-block;
}
.shift-btn {
  overflow: hidden;
  contain: content;
  display: inline-block;
  position: relative;
  transition: 1s ease-in all;
}
.shift-btn .clone {
  position: absolute;
  top: 20px;
}
.magnetic-wrap {
  display: inline-block;
}
.magnetic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 54px;
  border-radius: 9999px;
  border: none;
  background: #1f2937;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  will-change: transform;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.magnetic-btn:hover {
  background: #052bce;
  box-shadow: 0 10px 25px rgba(5, 43, 206, 0.25);
}
.magnetic-btn.primary {
  background: #2563eb;
}
.magnetic-btn.ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(45deg, var(--card-glow), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.service-card:hover {
  transform: translateY(0px);
  box-shadow: 0 20px 40px rgba(var(--color-accent-rgb), 0.1);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card img::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--card-glow), transparent 70%);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.5;
  }
}
.button-wiggle {
  -webkit-animation: wiggle 4s 2s infinite;
  animation: wiggle 4s 2s infinite;
}
@-webkit-keyframes wiggle {
  5%, 50% {
    transform: scale(1);
  }
  10% {
    transform: scale(0.9);
  }
  15% {
    transform: scale(1.15);
  }
  20% {
    transform: scale(1.15) rotate(-5deg);
  }
  25% {
    transform: scale(1.15) rotate(5deg);
  }
  30% {
    transform: scale(1.15) rotate(-3deg);
  }
  35% {
    transform: scale(1.15) rotate(2deg);
  }
  40% {
    transform: scale(1.15) rotate(0);
  }
}
@keyframes wiggle {
  5%, 50% {
    transform: scale(1);
  }
  10% {
    transform: scale(0.9);
  }
  15% {
    transform: scale(1.15);
  }
  20% {
    transform: scale(1.15) rotate(-5deg);
  }
  25% {
    transform: scale(1.15) rotate(5deg);
  }
  30% {
    transform: scale(1.15) rotate(-3deg);
  }
  35% {
    transform: scale(1.15) rotate(2deg);
  }
  40% {
    transform: scale(1.15) rotate(0);
  }
}
.button-pulse {
  -webkit-animation: pulse 2s infinite 3s cubic-bezier(0.25, 0, 0, 1);
  animation: pulse 2s infinite 3s cubic-bezier(0.25, 0, 0, 1);
  box-shadow: 0 0 0 0 white;
}
@-webkit-keyframes pulse {
  to {
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0);
  }
}
@keyframes pulse {
  to {
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0);
  }
}
.button-float {
  -webkit-animation: float 1.5s linear alternate infinite;
  animation: float 1.5s linear alternate infinite;
}
@-webkit-keyframes float {
  50% {
    transform: translateY(-px);
  }
  100% {
    transform: translateY(-18px);
  }
}
@keyframes float {
  50% {
    transform: translateY(-px);
  }
  100% {
    transform: translateY(-18px);
  }
}
/*Preloader*/
/* Fullscreen overlay */
#preloader {
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75)), var(--loader-bg);
  z-index: 99999;
  transition: opacity var(--fade-duration) ease, visibility var(--fade-duration) ease;
  opacity: 1;
  visibility: visible;
  -webkit-tap-highlight-color: transparent;
  will-change: opacity, visibility;
}
/* When hidden, fade out and remove pointer events */
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* Inner container */
.preloader__box {
  text-align: center;
  color: var(--loader-fg);
  transform: translateY(-6px);
}
/* Optional logo placeholder */
.preloader__logo {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 18px;
  margin-bottom: 14px;
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}
/* The spinner - SVG size */
.preloader__spinner {
  width: 68px;
  height: 68px;
  display: block;
  margin: 0 auto 12px;
}
/* Subtext */
.preloader__text {
  font-size: 13px;
  opacity: 0.9;
}
/* Spinner animation (stroke-dashoffset rotation + stroke animation) */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dasharray: 90, 200;
    stroke-dashoffset: -124px;
  }
}
.preloader__spinner svg {
  width: 100%;
  height: 100%;
  display: block;
  transform-origin: 50% 50%;
  animation: rotate 1.6s linear infinite;
}
.preloader__spinner .path {
  stroke: var(--loader-accent);
  stroke-linecap: round;
  stroke-width: 6;
  fill: none;
  stroke-dasharray: 90, 200;
  stroke-dashoffset: 0;
  animation: dash 1.6s ease-in-out infinite;
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .preloader__spinner svg, .preloader__spinner .path {
    animation: none;
  }
}
/* Make sure main content isn't scrollable under loader */
body.loading {
  overflow: hidden;
}
/* Small responsive tweak */
@media (max-width:420px) {
  .preloader__spinner {
    width: 56px;
    height: 56px;
  }
  .preloader__logo {
    font-size: 16px;
  }
}
/*Animation*/
.bounce {
  animation: bounce 2s infinite ease-in-out
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0)
  }
  50% {
    transform: translateY(-8px)
  }
}
.float-updown {
  display: inline-block;
  animation: floatUpDown 3s ease-in-out infinite
}
@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0)
  }
  50% {
    transform: translateY(-10px)
  }
}
.float-updown {
  animation: floatUpDown 3s ease-in-out infinite
}
@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0)
  }
  50% {
    transform: translateY(-10px)
  }
}
.float-leftright {
  animation: floatLeftRight 3s ease-in-out infinite
}
@keyframes floatLeftRight {
  0%, 100% {
    transform: translateX(0)
  }
  50% {
    transform: translateX(10px)
  }
}
.float-diagonal {
  animation: floatDiagonal 4s ease-in-out infinite
}
@keyframes floatDiagonal {
  0%, 100% {
    transform: translate(0, 0)
  }
  50% {
    transform: translate(10px, -10px)
  }
}
.fade-in {
  animation: fadeIn 1s ease forwards
}
@keyframes fadeIn {
  from {
    opacity: 0
  }
  to {
    opacity: 1
  }
}
.fade-out {
  animation: fadeOut 1s ease forwards
}
@keyframes fadeOut {
  from {
    opacity: 1
  }
  to {
    opacity: 0
  }
}
.fade-in-up {
  animation: fadeInUp 1.2s ease both
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }
  to {
    opacity: 1;
    transform: translateY(0)
  }
}
.fade-in-down {
  animation: fadeInDown 1.2s ease both
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px)
  }
  to {
    opacity: 1;
    transform: translateY(0)
  }
}
.fade-in-left {
  animation: fadeInLeft 1.2s ease both
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px)
  }
  to {
    opacity: 1;
    transform: translateX(0)
  }
}
.fade-in-right {
  animation: fadeInRight 1.2s ease both
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px)
  }
  to {
    opacity: 1;
    transform: translateX(0)
  }
}
.zoom-in {
  animation: zoomIn 0.4s ease forwards
}
@keyframes zoomIn {
  from {
    transform: scale(.8);
    opacity: 0
  }
  to {
    transform: scale(1);
    opacity: 1
  }
}
.zoom-out {
  animation: zoomOut 0.4s ease forwards
}
@keyframes zoomOut {
  from {
    transform: scale(1.2);
    opacity: 1
  }
  to {
    transform: scale(1);
    opacity: 0
  }
}
.zoom-bounce {
  animation: zoomBounce 1.2s ease-out infinite
}
@keyframes zoomBounce {
  0%, 100% {
    transform: scale(1)
  }
  50% {
    transform: scale(1.05)
  }
}
.rotate {
  animation: rotate 3s linear infinite
}
@keyframes rotate {
  from {
    transform: rotate(0deg)
  }
  to {
    transform: rotate(360deg)
  }
}
.rotate-reverse {
  animation: rotateReverse 3s linear infinite
}
@keyframes rotateReverse {
  from {
    transform: rotate(360deg)
  }
  to {
    transform: rotate(0deg)
  }
}
.rotate-swing {
  animation: rotateSwing 2s ease-in-out infinite
}
@keyframes rotateSwing {
  0%, 100% {
    transform: rotate(0deg)
  }
  50% {
    transform: rotate(10deg)
  }
}
.pulse {
  animation: pulse 1.5s ease-in-out infinite
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1)
  }
  50% {
    transform: scale(1.05)
  }
}
.pulse-slow {
  animation: pulse 3s ease-in-out infinite
}
.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite
}
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 #fff0
  }
  50% {
    box-shadow: 0 0 20px rgb(255 255 255 / .8)
  }
}
.shake {
  animation: shake 0.8s linear infinite
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0)
  }
  25% {
    transform: translateX(-3px)
  }
  75% {
    transform: translateX(3px)
  }
}
.wobble {
  animation: wobble 1s ease-in-out infinite
}
@keyframes wobble {
  0%, 100% {
    transform: rotate(0deg)
  }
  25% {
    transform: rotate(2deg)
  }
  75% {
    transform: rotate(-2deg)
  }
}
.jelly {
  animation: jelly 1s ease-in-out infinite
}
@keyframes jelly {
  0%, 100% {
    transform: scale(1, 1)
  }
  25% {
    transform: scale(1.1, .9)
  }
  50% {
    transform: scale(.9, 1.1)
  }
  75% {
    transform: scale(1.05, .95)
  }
}
.slide-up {
  animation: slideUp 1s ease both
}
@keyframes slideUp {
  from {
    transform: translateY(100%)
  }
  to {
    transform: translateY(0)
  }
}
.slide-down {
  animation: slideDown 1s ease both
}
@keyframes slideDown {
  from {
    transform: translateY(-100%)
  }
  to {
    transform: translateY(0)
  }
}
.slide-left {
  animation: slideLeft 1s ease both
}
@keyframes slideLeft {
  from {
    transform: translateX(100%)
  }
  to {
    transform: translateX(0)
  }
}
.slide-right {
  animation: slideRight 1s ease both
}
@keyframes slideRight {
  from {
    transform: translateX(-100%)
  }
  to {
    transform: translateX(0)
  }
}
.flip {
  animation: flip 1.2s ease-in-out infinite;
  transform-style: preserve-3d
}
@keyframes flip {
  0%, 100% {
    transform: rotateY(0)
  }
  50% {
    transform: rotateY(180deg)
  }
}
.flip-x {
  animation: flipX 1.5s ease-in-out infinite
}
@keyframes flipX {
  0%, 100% {
    transform: rotateX(0)
  }
  50% {
    transform: rotateX(180deg)
  }
}
.tada {
  animation: tada 1.5s ease-in-out infinite
}
@keyframes tada {
  0%, 100% {
    transform: scale(1)
  }
  10%, 20% {
    transform: scale(.9) rotate(-3deg)
  }
  30%, 50%, 70%, 90% {
    transform: scale(1.1) rotate(3deg)
  }
  40%, 60%, 80% {
    transform: scale(1.1) rotate(-3deg)
  }
}
.swing {
  animation: swing 2s ease-in-out infinite;
  transform-origin: top center
}
@keyframes swing {
  0%, 100% {
    transform: rotate(0deg)
  }
  25% {
    transform: rotate(5deg)
  }
  75% {
    transform: rotate(-5deg)
  }
}
.bounce-slow {
  animation: bounceSlow 2.5s ease-in-out infinite
}
@keyframes bounceSlow {
  0%, 100% {
    transform: translateY(0)
  }
  50% {
    transform: translateY(-15px)
  }
}
.blink {
  animation: blink 1s step-start infinite
}
@keyframes blink {
  50% {
    opacity: 0
  }
}
.flash {
  animation: flash 1.5s ease-in-out infinite
}
@keyframes flash {
  0%, 100% {
    opacity: 1
  }
  50% {
    opacity: .3
  }
}
.glow {
  animation: glow 2s ease-in-out infinite
}
@keyframes glow {
  0%, 100% {
    filter: brightness(1)
  }
  50% {
    filter: brightness(1.5)
  }
}
.wave {
  animation: wave 2s linear infinite;
  transform-origin: bottom center
}
@keyframes wave {
  0%, 100% {
    transform: rotate(0deg)
  }
  25% {
    transform: rotate(4deg)
  }
  75% {
    transform: rotate(-4deg)
  }
}
.swing-rotate {
  animation: swingRotate 3s ease-in-out infinite
}
@keyframes swingRotate {
  0%, 100% {
    transform: rotate(0)
  }
  50% {
    transform: rotate(8deg)
  }
}
/*Dropdown/Mega Menu Animations*/
.bounce {
  animation: bounce 2s infinite ease-in-out
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0)
  }
  50% {
    transform: translateY(-8px)
  }
}
.float-updown {
  display: inline-block;
  animation: floatUpDown 3s ease-in-out infinite
}
@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0)
  }
  50% {
    transform: translateY(-10px)
  }
}
.float-updown {
  animation: floatUpDown 3s ease-in-out infinite
}
@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0)
  }
  50% {
    transform: translateY(-10px)
  }
}
.float-leftright {
  animation: floatLeftRight 3s ease-in-out infinite
}
@keyframes floatLeftRight {
  0%, 100% {
    transform: translateX(0)
  }
  50% {
    transform: translateX(10px)
  }
}
.float-diagonal {
  animation: floatDiagonal 4s ease-in-out infinite
}
@keyframes floatDiagonal {
  0%, 100% {
    transform: translate(0, 0)
  }
  50% {
    transform: translate(10px, -10px)
  }
}
.fade-in {
  animation: fadeIn 1s ease forwards
}
@keyframes fadeIn {
  from {
    opacity: 0
  }
  to {
    opacity: 1
  }
}
.fade-out {
  animation: fadeOut 1s ease forwards
}
@keyframes fadeOut {
  from {
    opacity: 1
  }
  to {
    opacity: 0
  }
}
.fade-in-up {
  animation: fadeInUp 1.2s ease both
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }
  to {
    opacity: 1;
    transform: translateY(0)
  }
}
.fade-in-down {
  animation: fadeInDown 1.2s ease both
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px)
  }
  to {
    opacity: 1;
    transform: translateY(0)
  }
}
.fade-in-left {
  animation: fadeInLeft 1.2s ease both
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px)
  }
  to {
    opacity: 1;
    transform: translateX(0)
  }
}
.fade-in-right {
  animation: fadeInRight 1.2s ease both
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px)
  }
  to {
    opacity: 1;
    transform: translateX(0)
  }
}
.zoom-in {
  animation: zoomIn 0.4s ease forwards
}
@keyframes zoomIn {
  from {
    transform: scale(.8);
    opacity: 0
  }
  to {
    transform: scale(1);
    opacity: 1
  }
}
.zoom-out {
  animation: zoomOut 0.4s ease forwards
}
@keyframes zoomOut {
  from {
    transform: scale(1.2);
    opacity: 1
  }
  to {
    transform: scale(1);
    opacity: 0
  }
}
.zoom-bounce {
  animation: zoomBounce 1.2s ease-out infinite
}
@keyframes zoomBounce {
  0%, 100% {
    transform: scale(1)
  }
  50% {
    transform: scale(1.05)
  }
}
.rotate {
  animation: rotate 3s linear infinite
}
@keyframes rotate {
  from {
    transform: rotate(0deg)
  }
  to {
    transform: rotate(360deg)
  }
}
.rotate-reverse {
  animation: rotateReverse 3s linear infinite
}
@keyframes rotateReverse {
  from {
    transform: rotate(360deg)
  }
  to {
    transform: rotate(0deg)
  }
}
.rotate-swing {
  animation: rotateSwing 2s ease-in-out infinite
}
@keyframes rotateSwing {
  0%, 100% {
    transform: rotate(0deg)
  }
  50% {
    transform: rotate(10deg)
  }
}
.pulse {
  animation: pulse 1.5s ease-in-out infinite
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1)
  }
  50% {
    transform: scale(1.05)
  }
}
.pulse-slow {
  animation: pulse 3s ease-in-out infinite
}
.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite
}
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 #fff0
  }
  50% {
    box-shadow: 0 0 20px rgb(255 255 255 / .8)
  }
}
.shake {
  animation: shake 0.8s linear infinite
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0)
  }
  25% {
    transform: translateX(-3px)
  }
  75% {
    transform: translateX(3px)
  }
}
.wobble {
  animation: wobble 1s ease-in-out infinite
}
@keyframes wobble {
  0%, 100% {
    transform: rotate(0deg)
  }
  25% {
    transform: rotate(2deg)
  }
  75% {
    transform: rotate(-2deg)
  }
}
.jelly {
  animation: jelly 1s ease-in-out infinite
}
@keyframes jelly {
  0%, 100% {
    transform: scale(1, 1)
  }
  25% {
    transform: scale(1.1, .9)
  }
  50% {
    transform: scale(.9, 1.1)
  }
  75% {
    transform: scale(1.05, .95)
  }
}
.slide-up {
  animation: slideUp 1s ease both
}
@keyframes slideUp {
  from {
    transform: translateY(100%)
  }
  to {
    transform: translateY(0)
  }
}
.slide-down {
  animation: slideDown 1s ease both
}
@keyframes slideDown {
  from {
    transform: translateY(-100%)
  }
  to {
    transform: translateY(0)
  }
}
.slide-left {
  animation: slideLeft 1s ease both
}
@keyframes slideLeft {
  from {
    transform: translateX(100%)
  }
  to {
    transform: translateX(0)
  }
}
.slide-right {
  animation: slideRight 1s ease both
}
@keyframes slideRight {
  from {
    transform: translateX(-100%)
  }
  to {
    transform: translateX(0)
  }
}
.flip {
  animation: flip 1.2s ease-in-out infinite;
  transform-style: preserve-3d
}
@keyframes flip {
  0%, 100% {
    transform: rotateY(0)
  }
  50% {
    transform: rotateY(180deg)
  }
}
.flip-x {
  animation: flipX 1.5s ease-in-out infinite
}
@keyframes flipX {
  0%, 100% {
    transform: rotateX(0)
  }
  50% {
    transform: rotateX(180deg)
  }
}
.tada {
  animation: tada 1.5s ease-in-out infinite
}
@keyframes tada {
  0%, 100% {
    transform: scale(1)
  }
  10%, 20% {
    transform: scale(.9) rotate(-3deg)
  }
  30%, 50%, 70%, 90% {
    transform: scale(1.1) rotate(3deg)
  }
  40%, 60%, 80% {
    transform: scale(1.1) rotate(-3deg)
  }
}
.swing {
  animation: swing 2s ease-in-out infinite;
  transform-origin: top center
}
@keyframes swing {
  0%, 100% {
    transform: rotate(0deg)
  }
  25% {
    transform: rotate(5deg)
  }
  75% {
    transform: rotate(-5deg)
  }
}
.bounce-slow {
  animation: bounceSlow 2.5s ease-in-out infinite
}
@keyframes bounceSlow {
  0%, 100% {
    transform: translateY(0)
  }
  50% {
    transform: translateY(-15px)
  }
}
.blink {
  animation: blink 1s step-start infinite
}
@keyframes blink {
  50% {
    opacity: 0
  }
}
.flash {
  animation: flash 1.5s ease-in-out infinite
}
@keyframes flash {
  0%, 100% {
    opacity: 1
  }
  50% {
    opacity: .3
  }
}
.glow {
  animation: glow 2s ease-in-out infinite
}
@keyframes glow {
  0%, 100% {
    filter: brightness(1)
  }
  50% {
    filter: brightness(1.5)
  }
}
.wave {
  animation: wave 2s linear infinite;
  transform-origin: bottom center
}
@keyframes wave {
  0%, 100% {
    transform: rotate(0deg)
  }
  25% {
    transform: rotate(4deg)
  }
  75% {
    transform: rotate(-4deg)
  }
}
.swing-rotate {
  animation: swingRotate 3s ease-in-out infinite
}
@keyframes swingRotate {
  0%, 100% {
    transform: rotate(0)
  }
  50% {
    transform: rotate(8deg)
  }
}
@keyframes rotate-animate {
  from {
    transform: translateY(0) rotate(0deg);
  }
  to {
    transform: translateY(50px) rotate(360deg);
  }
}
@keyframes rotate-animate-reverse {
  from {
    transform: translateY(0) rotate(0deg);
  }
  to {
    transform: translateY(50px) rotate(-360deg);
  }
}
@media (min-width:990px) {
  .dropdown-menu.megamenu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: block !important;
    transition: all 0.4s ease;
    transform-origin: top center
  }
  .dropdown:hover .dropdown-menu.megamenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto
  }
  .effect-1 {
    transform: scale(.9) !important
  }
  .dropdown:hover .effect-1 {
    transform: scale(1) !important
  }
  .effect-2 {
    transform: scale(1.2) !important
  }
  .dropdown:hover .effect-2 {
    transform: scale(1) !important
  }
  .effect-3 {
    transform: none !important;
    opacity: 0
  }
  .dropdown:hover .effect-3 {
    opacity: 1
  }
  .effect-4 {
    transform: translateY(-15px) !important
  }
  .dropdown:hover .effect-4 {
    transform: translateY(0) !important
  }
  .effect-5 {
    transform: translateY(15px) !important
  }
  .dropdown:hover .effect-5 {
    transform: translateY(0) !important
  }
  .effect-6 {
    transform: translateX(20px) !important
  }
  .dropdown:hover .effect-6 {
    transform: translateX(0) !important
  }
  .effect-7 {
    transform: translateX(-20px) !important
  }
  .dropdown:hover .effect-7 {
    transform: translateX(0) !important
  }
  .effect-8 {
    transform: scale(.8) !important;
    opacity: 0
  }
  .dropdown:hover .effect-8 {
    transform: scale(1) !important;
    opacity: 1
  }
  .effect-9 {
    transform: scale(.85) !important;
    filter: blur(6px)
  }
  .dropdown:hover .effect-9 {
    transform: scale(1) !important;
    filter: blur(0)
  }
  .effect-10 {
    transform: scale(.8) !important;
    transition-timing-function: cubic-bezier(.34, 1.56, .64, 1)
  }
  .dropdown:hover .effect-10 {
    transform: scale(1) !important
  }
  .effect-11 {
    transform: rotateX(-90deg) !important
  }
  .dropdown:hover .effect-11 {
    transform: rotateX(0) !important
  }
  .effect-12 {
    transform: rotateX(90deg) !important
  }
  .dropdown:hover .effect-12 {
    transform: rotateX(0) !important
  }
  .effect-13 {
    transform: rotateY(-90deg) !important
  }
  .dropdown:hover .effect-13 {
    transform: rotateY(0) !important
  }
  .effect-14 {
    transform: perspective(600px) rotateX(-10deg) scale(.9) !important
  }
  .dropdown:hover .effect-14 {
    transform: perspective(600px) rotateX(0) scale(1) !important
  }
  .effect-15 {
    transform: rotateX(-20deg) !important;
    transform-origin: top
  }
  .dropdown:hover .effect-15 {
    transform: rotateX(0) !important
  }
  .effect-16 {
    transform: translateY(-20px) !important;
    transition-timing-function: cubic-bezier(.68, -.55, .27, 1.55)
  }
  .dropdown:hover .effect-16 {
    transform: translateY(0) !important
  }
  .effect-17 {
    transform: scale(.7) !important;
    transition-timing-function: cubic-bezier(.17, .67, .83, .67)
  }
  .dropdown:hover .effect-17 {
    transform: scale(1) !important
  }
  .effect-18 {
    transform: perspective(800px) translateY(-20px) rotateX(-10deg) !important
  }
  .dropdown:hover .effect-18 {
    transform: perspective(800px) translateY(0) rotateX(0) !important
  }
  .effect-19 {
    transform: rotateZ(-5deg) !important
  }
  .dropdown:hover .effect-19 {
    transform: rotateZ(0) !important
  }
  .effect-20 {
    transform: translateY(-10px) scale(.9) !important
  }
  .dropdown:hover .effect-20 {
    transform: translateY(0) scale(1) !important
  }
  .effect-21 {
    transform: translateY(20px) scale(.95) !important
  }
  .dropdown:hover .effect-21 {
    transform: translateY(0) scale(1) !important
  }
  .effect-22 {
    transform: scaleY(0) !important;
    transform-origin: top
  }
  .dropdown:hover .effect-22 {
    transform: scaleY(1) !important
  }
  .effect-23 {
    transform: skewY(-8deg) !important
  }
  .dropdown:hover .effect-23 {
    transform: skewY(0) !important
  }
  .effect-24 {
    transform: rotateX(-180deg) !important
  }
  .dropdown:hover .effect-24 {
    transform: rotateX(0) !important
  }
  .effect-25 {
    transform: perspective(600px) scale(.85) rotateX(-5deg) !important
  }
  .dropdown:hover .effect-25 {
    transform: perspective(600px) scale(1) rotateX(0) !important
  }
}
@media (min-width:990px) {
.hero::before,
.hero::after,
.hero-content::before,
.hero-content::after {
    content: '';
    display: block;
    position: absolute;
    background-position: center center !important;
    background-size: contain !important;
    width: 110px;
    height: 110px;    
}

.hero::before {  
  left: 5%;
  top: 15%;
  background: url("../img/ai-images/3.png") no-repeat;
  animation: bounce 3s infinite linear;
  animation-direction: alternate;
  z-index: 1;
}

.hero::after {
  right: 5%;
  top: 15%;
  background: url("../img/ai-images/5.png") no-repeat;
  animation: bounce 3s infinite linear;
  animation-direction: alternate;
  z-index: 1;
}
.hero-content::before {
  left: -5%;
  bottom: 10%;
  background: url("../img/ai-images/8.png") no-repeat;
  animation: bounce 3s infinite linear;
  animation-direction: alternate;
  z-index: 1;
}
.hero-content::after {
  right: -8%;
  bottom: 20%;
  background: url("../img/ai-images/9.png") no-repeat;
  animation: bounce 3s infinite linear;
  animation-direction: alternate;
  z-index: 1;
}
}
/*Image Gallery Advanced*/
/* Small extra styles for lightbox & horizontal mode */
.kb-hide {
  display: none !important;
}
.gallery-columns {
  columns: 1;
  gap: 1.25rem;
} /* default mobile */
@media (min-width:640px) {
  .gallery-columns {
    columns: 2;
  }
}
@media (min-width:1024px) {
  .gallery-columns {
    columns: 3;
  }
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
}
.gallery-item img {
  width: 100%;
  display: inline-block;
  transition: transform .5s ease;
}
.gallery-item:hover img {
  transform: scale(1.03);
}
/* Lightbox */
.kb-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  padding: 2rem;
}
.kb-lightbox .lb-img {
  max-width: 1100px;
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
}
.kb-lightbox .lb-close, .kb-lightbox .lb-arrow {
  cursor: pointer;
  color: #cbd5e1;
}
.kb-mode-toggle {
  gap: .5rem;
}
/* Horizontal mode */
.kb-horizontal {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  display: flex;
  gap: 1rem;
  padding-bottom: 0.5rem;
}
.kb-horizontal .gallery-item {
  display: inline-block;
  width: calc(60vw);
  max-width: 480px;
  vertical-align: top;
}
/* Swiper adjustments */
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

details .content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
details[open] .content {
  /* Let JS set the max-height dynamically */
}

.d-none  {
  display: none;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  cursor: pointer;
  transition: all .25s ease;
}

.filter-btn:hover {
  background: rgba(255,255,255,0.08);
}

.filter-btn.active {
  background: #fff;
  color: #000;
}

.isotope-container .work-item {
  transition: all 0.3s ease;
}

.work-item {
  will-change: transform, opacity;
}

.mask-b {
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0) 100%);
}

.work-item:hover .card-title {
  transform: translateY(-10px);
}

.work-item:hover .card-desc {
  opacity: 1;
  transform: translateY(0);
}

.work-item:hover .tags {
  transform: translateY(0px);
}

/* Instead of d-none */
.work-item {
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  will-change: opacity, transform;
}

/* hidden state */
.work-item.is-hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

/* final removal (optional, after transition) */
.work-item.is-removed {
  display: none;
}


/*Team v2*/
/* Enhanced Liquid Glass effect with Apple-style curves */
.liquid-glass-card {
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.08) 30%,
    rgba(255, 255, 255, 0.04) 70%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), 0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  border-radius: 28px;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 10;
}

.liquid-glass-card:hover {
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.12) 30%,
    rgba(255, 255, 255, 0.08) 70%,
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: translateY(0px) scale(1);
  box-shadow: 0 48px 80px rgba(0, 0, 0, 0.5), 0 16px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* Apple-style rounded avatar with perfect curves */
.glass-avatar {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  width: 96px;
  height: 96px;
}

/* Refined status indicator with Apple precision */
.status-online {
  background: linear-gradient(135deg, #30d158 0%, #28cd41 100%);
  box-shadow: 0 0 24px rgba(48, 209, 88, 0.5), 0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  animation: pulse-green 3s ease-in-out infinite;
}

@keyframes pulse-green {
  0%,
  100% {
    box-shadow: 0 0 24px rgba(48, 209, 88, 0.5), 0 2px 8px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 32px rgba(48, 209, 88, 0.7), 0 2px 8px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
}

/* Apple-style glass buttons with perfect curves */
.glass-button {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-button:hover {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.glass-button:active {
  transform: translateY(-1px);
  transition: transform 0.1s ease;
}

/* Apple's adaptive typography system */
.adaptive-text {
  font-weight: 300;
  letter-spacing: -0.03em;
  transition: all 0.4s ease;
}

.liquid-glass-card:hover .adaptive-text {
  font-weight: 400;
  letter-spacing: -0.02em;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.4);
}

/* Social icon styling with Apple precision */
.social-icon {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Smooth border radius utilities */
.rounded-apple-xs {
  border-radius: 8px;
}
.rounded-apple-sm {
  border-radius: 12px;
}
.rounded-apple-md {
  border-radius: 16px;
}
.rounded-apple-lg {
  border-radius: 20px;
}
.rounded-apple-xl {
  border-radius: 24px;
}
.rounded-apple-2xl {
  border-radius: 28px;
}
.rounded-apple-3xl {
  border-radius: 32px;
}

/* User card specific refinements */
.user-card-content {
  position: relative;
  z-index: 1;
}

/*Testimonials*/
    
/* =========================
   LIQUID GLASS TESTIMONIAL
========================= */
.testimonial-slider {
  position: relative;
  border-radius: 14px;
  padding: 32px;
    display: flex !important;
    min-height: 300px;
  overflow: hidden;

  /* Base glass tint */
  background: rgba(255, 255, 255, 0.08);

  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);

  border: 1px solid rgba(255, 255, 255, 0.18);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -12px 28px rgba(0,0,0,0.25),
    0 14px 40px rgba(0,0,0,0.35),
    0 0 24px rgba(255,255,255,0.04);

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    background .35s ease;
}

/* Subtle liquid highlight */
.testimonial-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  /*background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.18),
      rgba(255,255,255,0.02)
    ),
    radial-gradient(
      120% 80% at 20% 15%,
      rgba(255,255,255,0.25),
      transparent 35%
    );*/

  pointer-events: none;
  opacity: .9;
}

/* Hover = stronger glass depth */
.testimonial-slider:hover {
  transform: translateY(0px);

  background: rgba(255, 255, 255, 0.12);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -16px 32px rgba(0,0,0,0.32),
    0 20px 55px rgba(0,0,0,0.45),
    0 0 36px rgba(255,255,255,0.06);
}

        
  
.testimonial p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.testimonial h4 {
  margin-top: 0;
  font-weight: 600;
  letter-spacing: .3px;
  color: rgba(255, 255, 255, 0.95);
}

/* Optional role/title */
.testimonial span {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,0.6);
}
        
    
.testimonial .glass-avatar {
    width: 70px;
    height: 70px;
}

        
        /* ================================
   SLICK DOTS – BUBBLE ANIMATION
================================ */

.slick-dots {
  display: flex !important;
  justify-content: center;
  gap: 14px;
  bottom: 15px;
}

.slick-dots li {
  position: relative;
  width: 10px;
  height: 10px;
}

.slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: transform 0.35s ease, background 0.35s ease;
}

/* hide default pseudo dot */
.slick-dots li button::before {
  display: none;
}

/* bubble ring */
.slick-dots li::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(5, 43, 206, 0.5); /* sky-400 */
  transform: scale(0);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* ACTIVE DOT */
.slick-dots li.slick-active button {
  background: #052bce; /* sky-400 */
  transform: scale(1.3);
}

/* ACTIVE BUBBLE */
.slick-dots li.slick-active::after {
  transform: scale(1);
  opacity: 1;
}

.position-absolute {
    position: absolute !important;
}

.position-relative {
    position: relative !important;
}

/* FAQ animation helper */
details > p {
  overflow: hidden;
}

details.animating > p {
  transition: height 0.35s ease, opacity 0.25s ease;
}

details:not([open]) > p {
  height: 0;
  opacity: 0;
  margin-top: 0;
}

details[open] > p {
  opacity: 1;
}


.hero-bg {
  position: relative;
  
  overflow: hidden;

  /* Background */
  background:
    linear-gradient(
      rgba(255,255,255,0.04),
      rgba(255,255,255,0.02)
    ),
    url("../img/bg.jpg") center / cover no-repeat;  

  /* Frosted depth */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  /* Glass lighting */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -10px 30px rgba(0,0,0,0.35),
    0 20px 50px rgba(0,0,0,0.45),
    0 0 25px rgba(255,255,255,0.05);
}


.main-bg {
  position: relative;
  padding: 100px;
  border-radius: 14px;
  overflow: hidden;

  /* Background */
  background:
    linear-gradient(
      rgba(255,255,255,0.04),
      rgba(255,255,255,0.02)
    ),
    url("../img/bg.jpg") center / cover no-repeat;

  /* Glass border */
  border: 1px solid rgba(255, 255, 255, 0.18);

  /* Frosted depth */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  /* Glass lighting */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -10px 30px rgba(0,0,0,0.35),
    0 20px 50px rgba(0,0,0,0.45),
    0 0 25px rgba(255,255,255,0.05);
}


.main-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.25),
      rgba(0,0,0,0.03)
    ),
    radial-gradient(
      120% 80% at 20% 10%,
      rgba(0,0,0,0.35),
      transparent 40%
    );

  opacity: 0.8;
}


.btn-glass { 
  /* Glass border */
  border: 1px solid rgba(255, 255, 255, 0.18);
  /* Frosted depth */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  /* Glass lighting */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -10px 30px rgba(0,0,0,0.35),
    0 20px 50px rgba(0,0,0,0.45),
    0 0 25px rgba(255,255,255,0.05);
}

/*Liquid Glass*/
/* =========================
   Liquid Glass Cursor Styles
   ========================= */

/* =========================
   BASE CURSOR
========================= */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition:
    transform .18s ease-in-out,
    width .25s ease-in-out,
    height .25s ease-in-out,
    opacity .25s ease-in-out;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: block;
  border: none;
}

.cursor.grow {
    width: 200px;
    height: 200px;
}

/* =========================
   GLASS LAYER
========================= */
.cursor::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: rgba(var(--color-accent-rgb, 255,255,255), 0.10);

  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);

  padding: 2px;
  box-sizing: border-box;

  background-image:
    linear-gradient(rgba(255,255,255,0.12), rgba(255,255,255,0.06)),
    linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  background-origin: border-box;
  background-clip: padding-box, border-box;

  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    inset 0 6px 14px rgba(0,0,0,0.35),
    0 6px 22px rgba(0,0,0,0.30),
    0 0 12px rgba(255,255,255,0.03);

  z-index: 0;
  pointer-events: none;

  transition:
    transform .28s ease-in-out,
    opacity .18s ease-in-out,
    background .22s ease-in-out,
    box-shadow .22s ease-in-out;
}

/* =========================
   TEXT BUBBLE (DEFAULT)
========================= */
.cursor::after {
  content: attr(data-text);

  position: absolute;
  left: 50%;
  top: 50%;

  width: var(--bubble-size, 120px);
  height: var(--bubble-size, 120px);
  min-width: 72px;
  min-height: 72px;

  border-radius: 50%;

  background: linear-gradient(
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );

  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);

  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 0 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -6px 18px rgba(0,0,0,0.25),
    0 8px 24px rgba(0,0,0,0.36);

  transform: translate(-50%, -50%) scale(0.1);
  opacity: 0;

  pointer-events: none;
  z-index: 2;

  transition:
    transform .32s ease-in-out,
    opacity .6s ease-in-out;
}

/* =========================
   ACTIVE STATE
========================= */
.cursor {
  --cursor-scale: 1;
  --bubble-compensate: 1;

  transform: translate(-50%, -50%) scale(var(--cursor-scale));
}
.cursor.cursor--active-text {
  --cursor-scale: 1.25;
  --bubble-compensate: 0.85; /* counter-scale bubble */
}



/* Stronger glass when active */
.cursor.cursor--active-text::before {
  background: rgba(var(--color-accent-rgb, 255,255,255), 0.14);

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.16);

  box-shadow:
    inset 0 6px 18px rgba(0,0,0,0.42),
    0 8px 30px rgba(0,0,0,0.45),
    0 0 28px rgba(255,255,255,0.04);

  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02)),
    radial-gradient(120% 80% at 20% 20%, rgba(255,255,255,0.18), rgba(255,255,255,0.00) 30%),
    linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  background-clip: padding-box, padding-box, border-box;
}

/* Bubble visible */
.cursor.cursor--active-text::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.cursor::after {
  transform:
    translate(-50%, -50%)
    scale(calc(0.1 * var(--bubble-compensate)));
}

.cursor.cursor--active-text::after {
  transform:
    translate(-50%, -50%)
    scale(calc(1 * var(--bubble-compensate)));
}


/* =========================
   MOBILE SAFETY
========================= */
@media (max-width: 640px) {
  .cursor.cursor--active-text::after {
    display: none;
  }
}




.badge {
  --glass-color: rgba(var(--color-background, 255,255,255), 0.22);
  --rim-color: rgba(255,255,255, 0.45);
  --inner-shadow: rgba(0,0,0,0.18);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 3rem;
  white-space: nowrap;

  /* LIQUID GLASS BASE */
  background: var(--glass-color) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* LIQUID GLASS BORDER (rim highlight) */
  border: 1px solid rgba(255,255,255,0.32);

  /* MULTI-LAYER GLASS DEPTH */
  box-shadow:
    inset 0 1px 3px var(--rim-color),          /* top highlight */
    inset 0 -4px 8px var(--inner-shadow),       /* inner bottom shadow */
    0 4px 10px rgba(0,0,0,0.10),                /* outer soft shadow */
    0 0 12px rgba(255,255,255,0.05);            /* outer glow sheen */

  /* SOFT TRANSLUCENT TEXT */
  color: rgba(var(--color-foreground, 255,255,255), 0.85);

  /* smoother rendering */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: backdrop-filter .3s ease, box-shadow .3s ease, background .3s ease;
}

/* HOVER = MORE REFRACTION + WET GLASS EFFECT */
.badge:hover {
  background: rgba(var(--color-background, 255,255,255), 0.32);

  box-shadow:
    inset 0 2px 6px rgba(255,255,255,0.50),
    inset 0 -5px 10px rgba(0,0,0,0.25),
    0 6px 14px rgba(0,0,0,0.15),
    0 0 16px rgba(255,255,255,0.10);
}


.text-background-wrapper {
  --glass-bg: rgba(var(--color-background, 255,255,255), 0.12);
  --glass-rim: rgba(255,255,255, 0.32);
  --glass-shadow: rgba(0,0,0,0.25);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 20px 26px;
  border-radius: 18px;
  gap: 12px;

  /* LIQUID GLASS BASE */
  background: var(--glass-bg);

  /* TRUE FROSTED GLASS */
  backdrop-filter: blur(4px) saturate(140%);
  -webkit-backdrop-filter: blur(4px) saturate(140%);

  /* GLASS BORDER / RIM HIGHLIGHT */
  border: 1px solid var(--glass-rim);

  /* LIQUID DEPTH LAYERS */
  box-shadow:
    inset 0 1px 3px rgba(255,255,255,0.38),   /* top white rim */
    inset 0 -6px 14px var(--glass-shadow),    /* inner depth */
    0 6px 18px rgba(0,0,0,0.28),              /* outer shadow */
    0 0 22px rgba(255,255,255,0.08);          /* soft outer glow */

  /* glass clarity & smoothness */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition:
    background .3s ease,
    box-shadow .3s ease,
    backdrop-filter .3s ease;
}

/* HOVER = MORE LIQUID, MORE REFRACTION */
.text-background-wrapper:hover {
  background: rgba(var(--color-background, 255,255,255), 0.18);

  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);

  box-shadow:
    inset 0 2px 6px rgba(255,255,255,0.45),
    inset 0 -8px 18px rgba(0,0,0,0.32),
    0 10px 24px rgba(0,0,0,0.35),
    0 0 28px rgba(255,255,255,0.12);
}



/*Buttons*/
.btn-liquid {
	transition: background-color var(--duration-long) ease, color var(--duration-long) ease;
	background: rgba(var(--color-button), 0.2);
	color: rgb(var(--color-button-text));
	fill: rgb(var(--color-button-text));
    backdrop-filter: blur(18px);
}

.btn-liquid::selection {
	background: rgba(var(--color-button-text), 0.2);
	color: rgb(var(--color-button));
    backdrop-filter: blur(18px);
}

.btn-liquid:hover {
	background: rgba(var(--color-button-text), 0.2);
	color: rgb(var(--color-button));
	fill: rgb(var(--color-button));
    backdrop-filter: blur(18px);
}

/* ==========================================================
   BASE GLASS SETUP
========================================================== */
.glass {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  overflow: hidden;
}

/* ==========================================================
   GLASS BORDERS (USING PSEUDO ELEMENT)
========================================================== */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.45),
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.35)
    );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

/* ==========================================================
   GLASS DEPTH VARIANTS
========================================================== */

/* Soft glass */
.glass-soft {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

/* Strong glass */
.glass-strong {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(20px) saturate(160%);
}

/* Dark glass (perfect for dark UI) */
.glass-dark {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px) saturate(150%);
}

/* ==========================================================
   BORDER INTENSITY VARIANTS
========================================================== */

.glass-border-thin::before {
  padding: 1px;
}

.glass-border-medium::before {
  padding: 1.5px;
}

.glass-border-thick::before {
  padding: 2.5px;
}

/* ==========================================================
   EDGE GLOW VARIANTS
========================================================== */

.glass-glow::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at top left,
      rgba(255,255,255,0.35),
      transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

/* ==========================================================
   INTERACTIVE STATES
========================================================== */

.glass-hover {
  transition: transform .3s ease, box-shadow .3s ease;
}

.glass-hover:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.35);
}



.glass-border {
  position: relative;
}

.glass-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px; /* border thickness */
  border-radius: inherit;
  pointer-events: none;

  /* Glass border gradient */
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.45),
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.35)
  );

  /* Cut out center */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
    
    /* Glass border */
  /*border: 1px solid rgba(255, 255, 255, 0.18);*/

  /* Frosted depth */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  /* Glass lighting */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -10px 30px rgba(0,0,0,0.35),
    0 20px 50px rgba(0,0,0,0.45),
    0 0 25px rgba(255,255,255,0.05);
}




/*Glass BG*/
.glass-bg {
  position: relative; 
  overflow: hidden;

  /* Background */
  background:
    linear-gradient(
      rgba(255,255,255,0.04),
      rgba(255,255,255,0.02)
    );

  /* Glass border */
  border: 1px solid rgba(255, 255, 255, 0.18);

  /* Frosted depth */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  /* Glass lighting */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -10px 30px rgba(0,0,0,0.35),
    0 20px 50px rgba(0,0,0,0.45),
    0 0 25px rgba(255,255,255,0.05);
}


.glass-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.25),
      rgba(0,0,0,0.03)
    ),
    radial-gradient(
      120% 80% at 20% 10%,
      rgba(0,0,0,0.35),
      transparent 40%
    );

  opacity: 0.8;
}


.cta-bg {
  position: relative;

  /* Background */
  background:
    linear-gradient(
      rgba(255,255,255,0.04),
      rgba(255,255,255,0.02)
    ),
    url("../img/bg3.jpg") center / cover no-repeat;

  /* Glass border */
  border: 0px solid rgba(255, 255, 255, 0.18);

  /* Frosted depth */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  /* Glass lighting */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -10px 30px rgba(0,0,0,0.35),
    0 20px 50px rgba(0,0,0,0.45),
    0 0 25px rgba(255,255,255,0.05);
}


.cta-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.25),
      rgba(0,0,0,0.03)
    ),
    radial-gradient(
      120% 80% at 20% 10%,
      rgba(0,0,0,0.35),
      transparent 40%
    );

  opacity: 0.8;
}

.cta-wrapper::before,
.cta-wrapper::after {
    content: '';
    display: block;
    position: absolute;
    background-position: center center !important;
    background-size: contain !important;
    width: 250px;
    height: 250px;    
}

.cta-wrapper::before {  
  left: 5%;
  top: 5%;
  background: url("../img/shape13.png") no-repeat;
  animation: rotate-animate 12s infinite linear;
  animation-direction: alternate;
  z-index: -1;
}

.cta-wrapper::after {
  right: 5%;
  top: 60%;
  background: url("../img/shape14.png") no-repeat;
  animation: rotate-animate-reverse 12s infinite linear;
  animation-direction: alternate;
  z-index: -1;
}

@media (max-width: 768px) {
    .cta-wrapper::before,
    .cta-wrapper::after {
        width: 100px;
        height: 100px;    
    }
}

/* Wrapper */
.liquid-wrap {
  padding: 40px;
}

/* Liquid Glass Card */
.liquid-card {
  position: relative;
  width: 320px;
  padding: 28px;
  border-radius: 24px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.25),
      rgba(255,255,255,0.05)
    );

  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);

  border: 1px solid rgba(255,255,255,0.18);

  box-shadow:
    0 20px 50px rgba(0,0,0,0.45),
    inset 0 1px 1px rgba(255,255,255,0.25);

  color: #f8fafc;

  transition: transform .35s ease, box-shadow .35s ease;
}

/* Liquid Highlight */
.liquid-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background:
    radial-gradient(
      120% 60% at 20% 0%,
      rgba(255,255,255,0.45),
      transparent 50%
    );

  opacity: .35;
  pointer-events: none;
}

/* Hover Depth */
.liquid-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 35px 70px rgba(0,0,0,0.55),
    inset 0 1px 1px rgba(255,255,255,0.35);
}

/* Typography */
.liquid-card h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 600;
}

.liquid-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
}

/* Button */
.liquid-btn {
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);

  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.35),
      rgba(255,255,255,0.15)
    );

  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);

  transition: transform .2s ease, background .2s ease;
}

.liquid-btn:hover {
  transform: scale(1.05);
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.45),
      rgba(255,255,255,0.2)
    );
}


@media (max-width: 768px) {
  .main-bg {
    padding: 20px;
  }
}
