
html,
body{
  width:100%;
  margin:0;

  background:#050505;

  cursor:none;

  overflow-x:hidden;
}



*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #07070c;
  --white: #f0f0f8;
  --gold: #f97316;
  --muted: rgba(255,255,255,0.35);
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}
body.ready { overflow-y: auto; }

/* ══════════════════════════
   PRELOADER
══════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 36px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* — Corner brackets — */
.bracket {
  position: absolute;
  width: 36px;
  height: 36px;
}
.bracket::before, .bracket::after {
  content: '';
  position: absolute;
  background: rgba(200,168,75,0.5);
}
.bracket::before { width: 100%; height: 1px; top: 0; left: 0; }
.bracket::after  { width: 1px; height: 100%; top: 0; left: 0; }
.bracket.tl { top: 28px; left: 28px; }
.bracket.tr { top: 28px; right: 28px; transform: scaleX(-1); }
.bracket.bl { bottom: 28px; left: 28px; transform: scaleY(-1); }
.bracket.br { bottom: 28px; right: 28px; transform: scale(-1,-1); }

/* — Logo — */
.pre-logo{
  position:relative;

  font-family:Arial, Helvetica, sans-serif;
  font-weight:900;

  font-size:clamp(6rem,14vw,13rem);

  line-height:.9;
  letter-spacing: 0.02em;

  user-select:none;

  color:transparent;

  -webkit-text-stroke:1px rgba(255,255,255,.18);

  text-shadow:
    0 0 25px rgba(255,255,255,.04);
}

.pre-logo-fill{
  position:absolute;
  inset:0;

  font:inherit;
  line-height:inherit;
  letter-spacing:inherit;

  background:
    linear-gradient(
      135deg,
      #fc9235 0%,
      #fe741f 25%,
      #fc8e39 55%,
      #ff8f39 80%,
      #f97316 100%
    );

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;

  clip-path:inset(100% 0 0 0);

  transition:
    clip-path 1s cubic-bezier(.76,0,.24,1);
}

.pre-logo-fill.reveal{
  clip-path:inset(0 0 0 0);
}
.pre-logo-fill.reveal { clip-path: inset(0% 0 0 0); }

/* — Unique loader: Morphing liquid ring — */
.loader-ring {
  position: relative;
  width: 72px;
  height: 72px;
}

.loader-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: ring-spin 2s linear infinite;
}

.ring-track {
  fill: none;
  stroke: rgba(255,255,255,0.05);
  stroke-width: 2;
}

.ring-arc {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 180 226;
  stroke-dashoffset: 0;
  animation: arc-chase 2s ease-in-out infinite;
}

.ring-arc.a1 { stroke: var(--gold); filter: drop-shadow(0 0 5px var(--gold)); }
.ring-arc.a2 {
  stroke: rgba(200,168,75,0.3);
  stroke-dasharray: 60 346;
  animation: arc-chase2 2s ease-in-out infinite;
}

.ring-center-dot {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--gold), 0 0 28px rgba(200,168,75,0.3);
  animation: dot-breathe 2s ease-in-out infinite;
}

@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes arc-chase {
  0%   { stroke-dashoffset: 0; }
  50%  { stroke-dashoffset: -180; }
  100% { stroke-dashoffset: -406; }
}
@keyframes arc-chase2 {
  0%   { stroke-dashoffset: 0; }
  50%  { stroke-dashoffset: -80; }
  100% { stroke-dashoffset: -406; }
}
@keyframes dot-breathe {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.7; }
  50%      { transform: translate(-50%,-50%) scale(1.5); opacity: 1; }
}

/* — Counter — */
.pre-count {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.2);
}
.pre-count span {
  color: var(--gold);
  font-weight: 700;
}



/* ========================================= */
/* WRAPPER */
/* ========================================= */

.canvas-wrap{
  position:fixed;
  inset:0;

  overflow:hidden;

  pointer-events:none;

  z-index:99999;

  isolation:isolate;
}

/* ========================================= */
/* GLOW */
/* ========================================= */

.cursor-glow,
.cursor-core,
.trail,
.spark{

  position:fixed;

  left:0;
  top:0;

  pointer-events:none;

  border-radius:50%;

  transform:
    translate3d(-50%, -50%, 0);

  will-change:
    transform,
    opacity;
}

/* ========================================= */
/* OUTER GLOW */
/* ========================================= */

.cursor-glow{

  width:140px;
  height:140px;

  background:
    radial-gradient(
      circle,

      rgba(255,230,180,0.28) 0%,

      rgba(255,170,60,0.18) 35%,

      rgba(255,120,40,0.08) 55%,

      transparent 72%
    );

  filter:
    blur(18px);

  mix-blend-mode:screen;

  opacity:0.95;

  z-index:20;

  transition:
    transform 180ms ease;
}

/* ========================================= */
/* CENTER CORE */
/* ========================================= */

.cursor-core{

  width:14px;
  height:14px;

  background:
    radial-gradient(
      circle,

      #ffffff 0%,

      #fff1c2 35%,

      #ffb347 70%,

      #ff922b 100%
    );

  box-shadow:
    0 0 12px rgba(255,255,255,0.9),
    0 0 24px rgba(255,180,80,0.8),
    0 0 50px rgba(255,120,20,0.35);

  z-index:25;

  transition:
    transform 120ms ease;
}

/* ========================================= */
/* TRAIL */
/* ========================================= */

.trail{

  mix-blend-mode:screen;

  background:
    radial-gradient(
      circle,

      rgba(255,255,255,0.95) 0%,

      rgba(255,220,150,0.55) 28%,

      rgba(255,160,50,0.16) 58%,

      transparent 74%
    );

  filter:
    blur(5px);

  opacity:0.9;

  animation:
    fadeTrail linear forwards;
}

/* ========================================= */
/* SPARKS */
/* ========================================= */

.spark{

  width:6px;
  height:6px;

  background:
    radial-gradient(
      circle,
      #fff,
      #ffb347 60%,
      transparent 75%
    );

  box-shadow:
    0 0 12px rgba(255,180,50,0.9);

  mix-blend-mode:screen;

  animation:
    sparkFly 650ms linear forwards;
}

/* ========================================= */
/* TRAIL ANIMATION */
/* ========================================= */

@keyframes fadeTrail{

  0%{
    opacity:1;

    transform:
      translate3d(-50%, -50%, 0)
      scale(1);
  }

  100%{
    opacity:0;

    transform:
      translate3d(-50%, -50%, 0)
      scale(0.15);
  }
}

/* ========================================= */
/* SPARKS */
/* ========================================= */

@keyframes sparkFly{

  0%{
    opacity:1;

    transform:
      translate3d(-50%, -50%, 0)
      scale(1);
  }

  100%{
    opacity:0;

    transform:
      translate3d(
        calc(-50% + var(--dx)),
        calc(-50% + var(--dy)),
        0
      )
      scale(0.1);
  }
}



/* HOVER */


.line-hover {
  position: relative;
}

.line-hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #f5660e;
  transition: 0.35s;
}

.line-hover:hover::after {
  width: 100%;
}


.second-Ai-text{
  font-size: large;
  color:aqua
}

.marquee {
  width: max-content;
  animation: scrollLeft 22s linear infinite;
}

.company {
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  padding: 0 1.5rem;
  letter-spacing: -0.03em;
}

.divider {
  width: 2px;
  height: 70px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
}

@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }

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



.service-card {
  transition: all 0.5s ease;
}

.service-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
}

.service-card:hover .service-number {
  background: #f97316;
  color: black;
  border-color: #f97316;
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(249, 115, 22, 0.35);
}

.service-card:hover .service-number-active {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(249, 115, 22, 0.45);
}

.service-card:hover h2 {
  color: #fff;
}

.service-image img {
  will-change: transform;
}
.smooth-transition{
  transition:
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 900ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 900ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card{
  transition:
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 900ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover{
  transform: translateY(-12px);
  border-color: rgba(255,120,0,0.25);
  box-shadow:
    0 0 40px rgba(255,120,0,0.08);
}

.work-image{
  transition:
    transform 1200ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover .work-image{
  transform: scale(1.06);
  filter:
    brightness(1.05)
    saturate(1.15);
}

.smooth-transition{
  transition:
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 900ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 900ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 900ms cubic-bezier(0.22, 1, 0.36, 1),
    color 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

#hero-section{
  opacity:0;

  transform:
    translateY(80px)
    scale(.98);

  transition:
    opacity 1.4s cubic-bezier(.22,1,.36,1),
    transform 1.4s cubic-bezier(.22,1,.36,1);
}

#hero-section.visible{
  opacity:1;

  transform:
    translateY(0)
    scale(1);
}

#hero-bg{
  opacity:0;
  transform:scale(1.08);

  transition:
    opacity 2.5s ease,
    transform 3s ease;
}

#hero-bg.visible{
  opacity:.9;
  transform:scale(1);
}