@font-face {
  font-family: 'NeonSciFi';
  src: url('assets/fonts/Aquire-BW0ox.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: transparent;
  font-family: 'NeonSciFi', sans-serif;
  color: #fff;
}

body {
  background: linear-gradient(135deg, #0a0f1c, #060c16);
  color: white;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(#00f0ff33 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.02;
  pointer-events: none;
  z-index: 0;
}

#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  opacity: 0.8;
  pointer-events: none;
}

section,
.navbar,
.about,
.services,
.resume,
.contact,
.portfolio,
.achievements,
.mockups {
  background-color: transparent !important;
  background: transparent !important;
}







/* ---------------- Navbar ---------------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  z-index: 999;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00f0ff;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #00f0ff;
}

/* ---------------- Hero ---------------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  z-index: 2;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero h1 {
  font-family: 'NeonSciFi';
  font-style: italic;
  font-size: 6rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #00f0ff;
  z-index: 3;
  letter-spacing: 2px;
  text-transform: none;
  text-shadow:
    0 0 10px rgba(0, 255, 255, 0.8),
    0 0 20px rgba(0, 255, 255, 0.6),
    0 0 40px rgba(0, 255, 255, 0.4),
    2px 2px 6px rgba(0, 0, 0, 0.9);
  animation: glowPulse 3s ease-in-out infinite;
}

.hero p {
  font-size: 1.8rem;
  margin-top: 20px;
  z-index: 3;
}

/* ---------------- Slides ---------------- */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: slideShow 16s infinite;
  opacity: 0;
  transform: translateX(100%);
  z-index: 0;
}

.slide1 {
  background-image: url('assets/COVER1.png');
  animation-delay: 0s;
}

.slide2 {
  background-image: url('assets/COVER2.png');
  animation-delay: 4s;
}

.slide3 {
  background-image: url('assets/COVER3.png');
  animation-delay: 8s;
}

.slide4 {
  background-image: url('assets/COVER4.gif');
  animation-delay: 12s;
}

@keyframes slideShow {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  5% {
    opacity: 1;
    transform: translateX(0);
  }

  25% {
    opacity: 1;
    transform: translateX(0);
  }

  30% {
    opacity: 0;
    transform: translateX(-100%);
  }

  100% {
    opacity: 0;
    transform: translateX(-100%);
  }
}

@keyframes glowPulse {

  0%,
  100% {
    text-shadow:
      0 0 10px rgba(0, 255, 255, 0.8),
      0 0 20px rgba(0, 255, 255, 0.6),
      0 0 40px rgba(0, 255, 255, 0.4),
      2px 2px 6px rgba(0, 0, 0, 0.9);
  }

  50% {
    text-shadow:
      0 0 15px rgba(0, 255, 255, 1),
      0 0 30px rgba(0, 255, 255, 0.8),
      0 0 60px rgba(0, 255, 255, 0.6),
      2px 2px 6px rgba(0, 0, 0, 0.9);
  }
}

/* ---------------- About ---------------- */
.about {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 100px 0;
  margin: 0;
  color: white;
  background-image: url('assets/SM.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  /* DARKER overlay */
  backdrop-filter: blur(3px);
  z-index: 1;
  border-radius: 0;
}

.about-content {
  font-family: 'Outfit', sans-serif;
  /* Fallback to system sans-serif */
  font-size: 1.2rem;
  line-height: 1.8;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
  max-width: 900px;
  padding: 40px;
  text-align: center;
  z-index: 3;
}

/* SERVICES */
.services {
  position: relative;
  width: 100%;
  padding: 100px 20px;
  color: white;
  background: url('assets/SERVICE.png') no-repeat center center;
  background-size: cover;
  z-index: 1;
  text-align: center;
  font-family: 'NeonSciFi', sans-serif;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  /* Optional dark overlay */
  backdrop-filter: blur(2px);
  z-index: 0;
}

.services * {
  position: relative;
  z-index: 2;
}


.services h2 {
  color: #00f0ff;
  font-size: 2.8rem;
  letter-spacing: 2px;
  margin-bottom: 40px;
  text-shadow:
    0 0 10px #00f0ff,
    0 0 20px #00f0ff;
}


.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  justify-items: center;
}

.service-card {
  background: rgba(25, 25, 25, 0.85);
  padding: 30px 20px;
  border-radius: 20px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow:
    0 0 10px rgba(0, 255, 255, 0.2),
    0 0 30px rgba(0, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 300px;
  backdrop-filter: blur(6px);
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 20px rgba(0, 255, 255, 0.4),
    0 0 60px rgba(0, 255, 255, 0.2);
}

.service-card h3 {
  font-size: 1.5rem;
  color: #00f0ff;
  margin-bottom: 10px;
  font-family: 'NeonSciFi';
}

.service-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
}

/* Service Backgrounds */
.service-box.modeling {
  background-image: url('/assets/services/service1.png');
}

.service-box.editing {
  background-image: url('/assets/services/service2.png');
}

.service-box.animation {
  background-image: url('/assets/services/service3.png');
}

.service-box.support {
  background-image: url('/assets/services/service4.png');
}

/* Shared Styling for All Service Boxes */
.service-box {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.75);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 20px #00f0ff44;
  color: white;
  transition: transform 0.3s ease;
}

.service-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px #00f0ffaa;
}

/* Resume Section */
.resume {
  background: linear-gradient(to right, #0a0a0a, #10131a);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.resume h2 {
  color: #00f0ff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.resume-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: #00f0ff;
  color: black;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.resume-btn:hover {
  background: #00c5e0;
}

/* Contact Section */
.contact {
  background: url('assets/bg_contact.png') no-repeat center center/cover;
  position: relative;
  padding: 80px 20px;
  color: white;
  text-align: center;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1;
}

.contact * {
  position: relative;
  z-index: 2;
}

.contact h2 {
  font-size: 2.5rem;
  color: #00f0ff;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.icon {
  padding: 12px 20px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid #00f0ff55;
  border-radius: 8px;
  color: #00f0ff;
  font-weight: 600;
  text-decoration: none;
  font-family: 'NeonSciFi';
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.icon:hover {
  background: #00f0ff;
  color: black;
  transform: translateY(-2px);
  box-shadow: 0 0 12px #00f0ffaa;
}


/* ---------------- Generic Sections ---------------- */
section {
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
}


section h2 {
  color: #00f0ff;
  margin-bottom: 20px;
}

.services ul {
  list-style: none;
}

.project {
  background-color: #1b1b1b;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.resume a {
  color: #00f0ff;
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  background: #111;
  margin-top: 40px;
}

/* -------- Portfolio Section -------- */
.portfolio {
  padding: 80px 20px;
  background-color: #0e0e0e;
  text-align: center;
  color: #00f0ff;
}

.portfolio h2 {
  font-size: 3rem;
  margin-bottom: 40px;
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 10px #00f0ff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-items: center;
  max-width: 1600px;
  margin: 0 auto;
}

/* --- Subtle Animated RGB Glow Border --- */
.portfolio-item {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 5px;
  border-radius: 12px;
  background: #111;
  animation: rgbGlow 6s linear infinite;
  box-shadow: 0 0 18px rgba(255, 0, 150, 0.25);
  /* stronger glow */
}

@keyframes rgbGlow {
  0% {
    box-shadow: 0 0 18px rgba(255, 0, 150, 0.25);
  }

  25% {
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.25);
  }

  50% {
    box-shadow: 0 0 18px rgba(0, 255, 0, 0.25);
  }

  75% {
    box-shadow: 0 0 18px rgba(255, 255, 0, 0.25);
  }

  100% {
    box-shadow: 0 0 18px rgba(255, 0, 150, 0.25);
  }
}


.portfolio-item video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  background-color: #000;
}

/* --- Hover Title Overlay --- */
.portfolio-item::after {
  content: attr(data-title);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 240, 255, 0.08);
  color: #00f0ff;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  padding: 10px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover {
  box-shadow: 0 0 25px rgba(255, 0, 150, 0.35);
}


.portfolio-item:hover::after {
  opacity: 1;
}

/* -------- Responsive Layout -------- */
@media (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* -------- Achievements Section -------- */
.achievements {
  padding: 80px 20px;
  background-color: #0e0e0e;
  text-align: center;
  color: #00f0ff;
}

.achievements h2 {
  font-size: 3rem;
  margin-bottom: 40px;
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 10px #00f0ff;
}

.achievement-item {
  max-width: 960px;
  margin: 40px auto;
  background: rgba(0, 240, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
  transition: 0.3s ease;
}

.achievement-item video {
  width: 100%;
  max-width: 960px;
  border-radius: 10px;
}

.video-caption {
  margin-top: 15px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
}

/* -------- CGI Mockups Section -------- */
.mockups {
  padding: 80px 20px;
  background-color: #0e0e0e;
  text-align: center;
  color: #00f0ff;
}

.mockups h2 {
  font-size: 3rem;
  margin-bottom: 40px;
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 10px #00f0ff;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.mockup-item {
  background: rgba(0, 240, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
  transition: 0.3s ease;
}

.mockup-item video {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.mockup-item:hover video {
  transform: scale(1.03);
}

.mockup-caption {
  margin-top: 10px;
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  font-size: 1rem;
}