:root {
  color-scheme: dark;
  --bg: #07080d;
  --panel: rgba(14, 16, 25, 0.76);
  --panel-solid: #11131d;
  --text: #f6f7fb;
  --muted: #b5bccf;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #58f0ff;
  --accent-2: #0926ff;
  --gold: #ffcf5a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% 0%, rgba(88, 240, 255, 0.16), transparent 34rem),
    radial-gradient(circle at 80% 20%, rgba(255, 61, 129, 0.14), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 4px;
  mix-blend-mode: soft-light;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(7, 8, 13, 0.72);
  
  /* border-bottom: 1px solid var(--line); */
  /* backdrop-filter: blur(18px); */
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* min-width: 4rem;
  min-height: 2.5rem; */

  font-size: 1rem;
  font-weight: 700;
  font-family:Georgia, 'Times New Roman', Times, serif ;

  color: #fff;
  text-shadow: 0 0 20px #00fffb, 0 0 40px #001aff;


}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 3vw, 2rem);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
}

.section {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 5vw, 4rem);
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.14) contrast(1.08);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 8, 13, 0.9), rgba(7, 8, 13, 0.45) 48%, rgba(7, 8, 13, 0.88)),
    linear-gradient(0deg, var(--bg), transparent 42%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  padding-top: 8rem;
  padding-bottom: clamp(2rem, 8vh, 6rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3.6rem, 11vw, 9.5rem);
  line-height: 0.86;
  font-weight: 800;
  max-width: 9ch;
  text-shadow: 0 0 26px rgba(88, 240, 255, 0.22);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 1;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  line-height: 1.2;
}

.hero-copy {
  width: min(620px, 100%);
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #05060a;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.logo-marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(3rem, 9vw, 8rem);
  padding: 1rem 0;
  animation: marquee 24s linear infinite;
}

.marquee-track img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(88, 240, 255, 0.18));
}

.section-heading {
  width: min(850px, 100%);
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.projects {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.project-subheading {
  margin-top: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.showcase-preview {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
}

.slideshow {
  height: 100%;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  list-style: none;
}

.slideshow li video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: fadeVideo 30s infinite;
  will-change: opacity, transform;
}

.slideshow li:nth-child(1) video {
  animation-delay: 0s;
}

.slideshow li:nth-child(2) video {
  animation-delay: 6s;
}

.slideshow li:nth-child(3) video {
  animation-delay: 12s;
}

.slideshow li:nth-child(4) video {
  animation-delay: 18s;
}

.slideshow li:nth-child(5) video {
  animation-delay: 24s;
}

.featured-video {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
  box-shadow: var(--shadow);
}

.featured-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.video-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transform: translateZ(0);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #000;
}

.video-card div {
  padding: 1rem;
}

.video-card p,
.service p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.services {
  background:
    linear-gradient(135deg, rgba(88, 240, 255, 0.08), transparent 44%),
    linear-gradient(315deg, rgba(255, 207, 90, 0.08), transparent 42%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service {
  min-height: 220px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.service span {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--gold);
  font-weight: 800;
}

.contact {
  padding-top: 2rem;
}

.contact-panel {
  display: grid;
  justify-items: start;
  gap: 1rem;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(88, 240, 255, 0.15), transparent 38%),
    var(--panel-solid);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin-bottom: 0.5rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.4rem clamp(1rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--text);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes fadeVideo {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  5% {
    opacity: 1;
    transform: scale(1.02);
  }
  20% {
    opacity: 1;
    transform: scale(1);
  }
  25%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .video-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-block: 0.8rem;
    background: transparent;
    /* backdrop-filter: blur(18px); */
  }

  .menu-toggle {
    display: block;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 1.8rem;
    cursor: pointer;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(7, 8, 13, 0.95);
    border-bottom: 1px solid var(--line);
    font-size: 0.78rem;
  }

  .site-header.is-open .nav-links {
    display: flex;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .video-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}











/* Hero Blinking Title */
/* Hero Blinking Title */
/* Hero Blinking Title */
/* Hero Blinking Title */

.blinkingheading {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 700;
  color: #fff;
  z-index: 5;
  pointer-events: none;
}

.blinkingheading b {
  font: 400 10dvh "Vibur";
  color: #fee;
  text-shadow:
    0 -40px 100px,
    0 0 2px,
    0 0 1em #4457ff,
    0 0 0.5em #4457ff,
    0 0 0.1em #4744ff,
    0 10px 3px #000;
}

.blinkingheading b span {
  animation: blink 2s linear infinite;
}

.blinkingheading b span:nth-of-type(2) {
  animation: blink 3s linear infinite;
}

@keyframes blink {
  78% {
    color: inherit;
    text-shadow: inherit;
  }
  79% {
    color: #333;
  }
  80% {
    text-shadow: none;
  }
  81% {
    color: inherit;
    text-shadow: inherit;
  }
  82% {
    color: #333;
    text-shadow: none;
  }
  83% {
    color: inherit;
    text-shadow: inherit;
  }
  92% {
    color: #333;
    text-shadow: none;
  }
  92.5% {
    color: inherit;
    text-shadow: inherit;
  }
}


/* Disapear on small devices */
@media (max-width: 768px) {
  .toolong {
    display: none;
  }
}
