:root {
  --bg: #0f1115;
  --muted: #9aa4b2;
  --accent: #6EE7B7;
  --secondary-color: #49D3FF;
  --glass: rgba(255,255,255,0.04);
  --radius: 14px;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
cursor: none;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, Arial, sans-serif;
  color: #e6eef6;
  background: linear-gradient(180deg, #04163a 10%, #7d4d27 140%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
overflow-y: auto;
}

  /* Reset counter */
  body {
    counter-reset: fade-order;
  }

  /* Apply animation to all elements */
  body *:not(.client-carousel):not(.carousel-track):not(.client-item):not(.magnetic) {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out forwards;
    counter-increment: fade-order;
    --order: counter(fade-order);
    animation-delay: calc(var(--order) * 0.8s);
  }

  /* Keyframes */
  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
@media (min-width: 769px) {
	body, html {
  		cursor: none;
	
	}
}
/* Wrap all content in a div for smooth scrolling */
#scroll-container {
  will-change: transform;
  min-height: 100%;
  transition: transform 0.1s ease-out;
}
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  /*background: rgba(10,12,16,0.6);*/
  border-bottom: 1px solid rgba(255,255,255,0.003);
  z-index: 80;
  transition: all 0.3s ease; /* smooth shrinking */
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: padding 0.3s ease;
  padding: 1.2rem 1rem; /* default padding */
}

/* Logo */
.brand img {
  height: 4em;
  transition: height 0.3s ease;
padding-top:2px;
}

/* Shrink state */
.site-header.shrink {
  background: rgba(10,12,16,0.85); /* slightly darker when scrolled */
}

.site-header.shrink .wrap {
  padding: 0.7rem 0.7rem;
}

.site-header.shrink .brand img {
  height: 3em;
}


/* Nav base */
.nav {
  margin-left: auto;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.nav a:hover {
  color: #fff;
  background: var(--glass);
}
.nav a.cta-button {
  border: 1px solid rgba(255,255,255,0.06);
  padding: 0.5rem 0.9rem;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 3px;
  background: var(--muted);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate into X */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: 60px;
    right: 20px;
    flex-direction: column;
    gap: 0;
    background: rgba(30, 30, 30, 0.95);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }

  .nav.open {
    max-height: 400px; /* enough space for all links */
    opacity: 1;
  }

  .nav a {
    display: block;
    padding: 1rem 2rem;
    width: 100%;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav a:last-child {
    border-bottom: none;
  }
}

/* Hero */
.hero { padding: 3.5rem 0 4rem; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 2.5rem;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(1.6rem,3.5vw,2.8rem);
  line-height: 1.03;
  margin: 0 0 1rem;
  color: #fff;
}
.lead { color: var(--muted); margin-bottom: 1.25rem; }
.btn {
  display: inline-block;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.primary {
  background: linear-gradient(90deg,var(--accent),var(--secondary-color));
  color: #031018;
}
.ghost {
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
}
.hero-media img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(2,6,23,0.6);
  transition: transform 0.3s ease;
}
.hero-media img:hover { transform: scale(1.02); }

/* Sections */
.section { padding: 3.5rem 0; }
.section-title { color: #fff; margin: 0 0 0.25rem; font-size: 1.4rem; }
.section-sub { color: var(--muted); margin-bottom: 1.5rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--glass);
  padding: 1.5rem;
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.service-card h3 { color: #fff; margin-top:0;margin-bottom:.5rem; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 1rem;
}
.work-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.work-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}
.work-item:hover img { transform: scale(1.05); }
.work-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.6),transparent);
  transition: all 0.3s ease;
}
.work-item:hover figcaption { transform: translateY(-5px); }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.about-inner img { border-radius: var(--radius); width:100%; }
.meta-list { list-style:none; padding:0; color: var(--muted); }
.meta-list li { margin-bottom: .5rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.contact-form label {
  display:block;
  margin-bottom:1rem;
  color:#fff;
  font-weight:500;
}
.contact-form input,
.contact-form textarea {
  width:100%;
  padding:.6rem .75rem;
  border-radius:var(--radius);
  border:none;
  background:rgba(255,255,255,0.05);
  color:#fff;
}
.contact-form button { margin-top:.5rem; }

/* Footer */
.site-footer {
  padding:2rem 0;
  text-align:center;
  color: var(--muted);
  font-size:0.9rem;
}
.footer-nav { display:flex; justify-content:center; gap:1rem; margin-top:0.5rem; }
.footer-nav a { color: var(--muted); text-decoration:none; }

@media (min-width: 769px) {/* -------------------- */
/* Custom Cursor */
.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, background 0.3s ease, border 0.3s ease;
  z-index: 9999;
}
.cursor.hover {
  transform: translate(-50%, -50%) scale(2);
  background: var(--secondary-color);
  border-color: transparent;
}

/* -------------------- */
/* Magnetic Buttons */
.magnetic {
  display: inline-block;
  transition: transform 0.2s ease;
  will-change: transform;
  position: relative;
  z-index: 1;
}

/* Buttons hover effect */
button:hover, .cta-button:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, var(--secondary-color), #ff6b6b);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
button:active, .cta-button:active { transform: scale(0.95); }
}

/* Responsive */
@media(max-width:768px){
  .hero-inner{grid-template-columns:1fr;}
  .about-inner{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
  .nav{display:none;}
  .menu-toggle{display:block;}
}

/* Section styling */
.clients {
  padding: 80px 0;
  text-align: center;
}

.client-carousel {
  overflow: hidden;
  position: relative;
  margin-top: 40px;
}

/* Key: the track is duplicated virtually using ::after */
.carousel-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scrollClients 30s linear infinite;
  will-change: transform; /* smoother GPU animation */
}

/* Duplicate content for seamless loop */
.carousel-track::after {
  content: attr(data-duplicate);
  display: flex;
}

/* Items */
.client-item {
  flex: 0 0 auto;
  width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.client-item img {
  max-width: 100%;
  max-height: 80%;
  object-fit: contain;
  display: block;
}

.client-item:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Infinite marquee */
@keyframes scrollClients {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .carousel-track { gap: 30px; animation-duration: 20s; }
  .client-item { width: 100px; }
}

@media (max-width: 480px) {
  .carousel-track { gap: 20px; animation-duration: 15s; }
  .client-item { width: 80px; }
}



.careers-container {
  text-align: center;
  margin-top: 2rem;
}

.careers-button {
  display: inline-block;
  background: rgba(10, 12, 16, 0.6);
  color: white;
  padding: 1rem 2rem;
  border-radius: 999px; /* pill shape */
  text-decoration: none;
  font-weight: 500;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.careers-button:hover {
  background: rgba(10, 12, 16, 0.85);
  transform: scale(1.05);
}

textarea {
  resize: vertical;   /* only up and down */
}






