/* ---------------------------------- */
/* Core Setup                         */
/* ---------------------------------- */

:root{
  --bg-1: #030712;
  --grad-a: #0f172a;
  --accent-1: #3b82f6;
  --accent-2: #a855f7;
  --muted: #94a3b8;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden !important;
}

body {
  font-family: 'Exo 2', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(59,130,246,0.06), transparent),
              linear-gradient(180deg,#020617 0%, #05060b 100%);
  color: #e6eef8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: pointer;
}

/* Fix AOS Overflow */
[data-aos] {
  overflow: hidden;
}

/* ---------------------------------- */
/* Header / Nav                       */
/* ---------------------------------- */

.nav-gradient {
  background: linear-gradient(90deg, rgba(59,130,246,0.06), rgba(10,10,10,0.35));
  backdrop-filter: blur(6px);
}

.logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(59,130,246,0.6))
          drop-shadow(0 0 12px rgba(168,85,247,0.5));
}

.logo:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px rgba(59,130,246,0.9))
          drop-shadow(0 0 20px rgba(168,85,247,0.8));
}

@media (max-width: 768px) { .logo { height: 40px; } }
@media (max-width: 480px) { .logo { height: 32px; } }

/* ---------------------------------- */
/* Hero                               */
/* ---------------------------------- */

.hero {
  min-height: 60vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:6rem 1rem;
 
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.title {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.8px;
}

/* ---------------------------------- */
/* Marquee                            */
/* ---------------------------------- */

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 10s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* ---------------------------------- */
/* Project Cards                      */
/* ---------------------------------- */

.project-card {
  transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s;
  border: 1px solid rgba(255,255,255,0.03);
  background: linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0.008));
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(11,15,30,0.6), 0 2px 10px rgba(59,130,246,0.06);
  border-color: rgba(59,130,246,0.08);
}

.project-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

@media (min-width: 1024px) {
  .project-card img { height: 160px; }
}

/* ---------------------------------- */
/* Service Cards (Neon Hover)         */
/* ---------------------------------- */

.service-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, #4f46e5, #3b82f6, #a855f7, #9333ea);
  background-size: 400% 400%;
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 0.6;
  animation: neon-glow 3s linear infinite;
}

@keyframes neon-glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(59,130,246,0.7), 
              0 0 40px rgba(168,85,247,0.5);
  border-color: #3b82f6;
}

.service-card > * {
  position: relative;
  z-index: 2;
}

/* ---------------------------------- */
/* Cursor Ring                        */
/* ---------------------------------- */

.cursor-ring {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 2px solid #3b82f6;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: ring-glow 1.5s infinite alternate;
  z-index: 9999;
}

@keyframes ring-glow {
  0% { box-shadow: 0 0 6px #3b82f6, 0 0 12px #a855f7; }
  100% { box-shadow: 0 0 12px #3b82f6, 0 0 24px #a855f7; }
}

/* ---------------------------------- */
/* WhatsApp Glow                      */
/* ---------------------------------- */

a[href*="wa.me"] i {
  text-shadow: 0 0 4px #25d366,
               0 0 8px #25d366,
               0 0 12px #25d366;
}

/* ---------------------------------- */
/* Utilities                          */
/* ---------------------------------- */

.muted { color: var(--muted); }

.accent-grad {
  background: linear-gradient(90deg,var(--accent-1),var(--accent-2));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* CTA Button */
.cta-btn {
  padding: .75rem 1.25rem;
  border-radius:999px;
  background: linear-gradient(90deg,var(--accent-1),var(--accent-2));
  color:white;
  font-weight:600;
  box-shadow: 0 8px 24px rgba(59,130,246,0.12);
}
