/* GLOBAL */
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:'Roboto',sans-serif;background:#0a0a0a;color:#fff;overflow-x:hidden;}
a{text-decoration:none;color:inherit;}

/* NEON TEXT */
.neon-text{font-family:'Orbitron',sans-serif;color:#0ff;text-shadow:0 0 5px #0ff,0 0 10px #0ff,0 0 20px #0ff,0 0 40px #0ff,0 0 80px #0ff;}
.neon-pink{color:#ff4d9d;text-shadow:0 0 5px #ff4d9d,0 0 10px #ff4d9d,0 0 20px #ff4d9d,0 0 40px #ff4d9d;}
.neon-blue{color:#1e90ff;text-shadow:0 0 5px #1e90ff,0 0 10px #1e90ff,0 0 20px #1e90ff,0 0 40px #1e90ff;}

/* HEADER */
header{
  position:fixed;top:0;left:0;width:100%;z-index:999;background:rgba(10,10,10,0.85);
  backdrop-filter:blur(10px);padding:15px 50px;display:flex;justify-content:space-between;align-items:center;
  border-bottom:1px solid rgba(255,255,255,0.1);
}
.logo{font-family:'Orbitron';font-size:1.8rem;color:#0ff;letter-spacing:2px;}
nav{display:flex;gap:25px;}
nav a{position:relative;font-weight:500;font-size:1rem;transition:0.3s;}
nav a::after{content:'';position:absolute;width:0;height:2px;bottom:-4px;left:0;background:#ff4d9d;transition:0.3s;}
nav a:hover::after{width:100%;}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 1001; /* Ensure it's above nav */
}

.hamburger div {
  width: 100%;
  height: 3px;
  background: #0ff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Toggle to X */
.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active div:nth-child(2) {
  opacity: 0;
}
.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBILE NAV */
@media(max-width:768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden by default */
    height: 100vh;
    width: 220px;
    background: #111;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.4s ease;
    z-index: 1000; /* below hamburger */
  }

  nav.active {
    right: 0;
  }
}

/* HERO */
.hero{
  height:100vh;position:relative;display:flex;justify-content:center;align-items:center;text-align:center;color:#fff;overflow:hidden;
}
.hero video{
  position:absolute;top:50%;left:50%;min-width:100%;min-height:100%;transform:translate(-50%,-50%);
  object-fit:cover;opacity:0.6;z-index:-1;
}
.hero-content{animation:flicker 1.5s infinite alternate;}
.hero h1{font-size:4rem;margin-bottom:20px;}
.hero p{font-size:1.5rem;margin-bottom:30px;}
.hero button{
  padding:12px 35px;border:none;background:#ff4d9d;color:#fff;font-weight:600;
  border-radius:5px;cursor:pointer;font-size:1rem;transition:0.3s;box-shadow:0 0 20px #ff4d9d;
}
.hero button:hover{transform:scale(1.1);box-shadow:0 0 40px #ff4d9d;}
@keyframes flicker{0%,19%,21%,23%,25%,54%,56%,100%{opacity:1;}20%,22%,24%,55%{opacity:0.4;}}

/* SECTIONS */
section{padding:100px 50px;text-align:center;}
.about,.projects,.contact{background:#111;}
.services,.testimonials{background:#0a0a0a;}

/* CARDS */
.service-cards,.project-grid{display:grid;gap:30px;}
.service-cards{grid-template-columns:repeat(3,1fr);}
.project-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));}

.service-card,.project-card{
  padding:30px;border-radius:15px;background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);
  transition:0.3s;position:relative;overflow:hidden;
}
.service-card::before,.project-card::before{
  content:"";position:absolute;top:0;left:0;width:100%;height:100%;
  background:linear-gradient(135deg,#ff4d9d,#0ff,#1e90ff,#ff4d9d);filter:blur(60px);
  opacity:0;transition:0.5s;
}
.service-card:hover::before,.project-card:hover::before{opacity:0.3;}
.service-card:hover,.project-card:hover{transform:translateY(-10px);box-shadow:0 0 30px #0ff,0 0 60px #ff4d9d;}

.service-card h3,.project-card h3{margin-bottom:15px;color:#0ff;font-size:1.5rem;}
.project-card h3{color:#ff4d9d;}
.service-card p,.project-card p{color:#ccc;font-size:1rem;line-height:1.6;}

/* ===========================
   TESTIMONIAL SECTION
=========================== */

#testimonials {
  padding: 60px 0;
  background: #050505;
  text-align: center;
}

#testimonials h2 {
  margin-bottom: 30px;
}

/* Wrapper */
.testimonial-slider-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Stable (no animation) */
.testimonial-slider {
  display: flex;
  gap: 30px;
  width: max-content;
  position: relative;
  animation: none !important;   /* stops sliding */
}

/* Remove duplicate auto cloning */
.testimonial-slider::after {
  content: none !important;
}

/* Card */
.testimonial-card {
  width: 300px;
  padding: 30px;
  border-radius: 15px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  text-align: center;
  flex-shrink: 0;
  transition: 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: #0ff;
  box-shadow: 0 0 18px rgba(0,255,255,0.3);
}

/* Responsive */
@media (max-width: 600px) {
  .testimonial-card {
    width: 240px;
  }
  .testimonial-slider {
    gap: 18px;
  }
}


/* ===========================
   CONTACT SECTION
=========================== */

.contact {
  padding: 80px 20px;
  background: #0a0a0a;
  text-align: center;
}

.contact h2 {
  font-size: 3rem;
  margin-bottom: 40px;
  text-shadow: 0 0 10px #ff4d9d, 0 0 20px #ff4d9d;
}

/* Glass Card */
.contact-card {
  display: inline-block;
  max-width: 450px;
  padding: 35px 25px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 25px rgba(255, 77, 157, 0.2), 0 0 50px rgba(0, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 35px rgba(255, 77, 157, 0.4), 0 0 70px rgba(0, 255, 255, 0.4);
}

/* Contact info */
.contact-card p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 20px;
}

.contact-card i {
  color: #ff4d9d;
  margin-right: 10px;
}

.neon-link {
  color: #0ff;
  text-decoration: none;
  transition: 0.3s;
}

.neon-link:hover {
  color: #ff4d9d;
  text-shadow: 0 0 10px #ff4d9d;
}

/* CTA Button */
.glow-btn {
  display: inline-block;
  padding: 12px 35px;
  margin-top: 15px;
  border-radius: 50px;
  font-weight: bold;
  color: #fff;
  background: #ff4d9d;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 0 20px #ff4d9d;
}

.glow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px #ff4d9d, 0 0 50px #0ff;
}
/* ===========================
   FOOTER
=========================== */

.main-footer {
  background: #000;
  padding: 40px 20px;
  text-align: center;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.main-footer p {
  margin: 0;
  color: #bbb;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-shadow: 0 0 5px #0ff;
}

.footer-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.footer-links a {
  color: #0ff;
  font-size: 0.95rem;
  transition: 0.3s;
  text-decoration: none;
  text-shadow: 0 0 5px #0ff;
}

.footer-links a:hover {
  color: #ff4d9d;
  text-shadow: 0 0 15px #ff4d9d, 0 0 25px #0ff;
}

/* Animated neon glow line above footer */
.main-footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ff4d9d, #0ff, #ff4d9d);
  margin-bottom: 20px;
  animation: glowMove 6s linear infinite;
}

@keyframes glowMove {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* Responsive */
@media(max-width: 600px){
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* RESPONSIVE */
@media(max-width:1024px){.service-cards{grid-template-columns:repeat(2,1fr);}}
@media(max-width:768px){
  .service-cards,.project-grid{grid-template-columns:1fr;}
  .hero h1{font-size:3rem;}
  .hero p{font-size:1.2rem;}
}
@media(max-width:480px){
  .hero h1{font-size:2.2rem;}
  .hero p{font-size:1rem;}
}
