/* =========================
   Reset & Fonts
========================= */
* {
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  font-family: 'Poppins', sans-serif;
}
html { scroll-behavior: smooth; }
body { 
  line-height: 1.6; 
  background: #0d0d0d; 
  color: #f4f4f4; 
  overflow-x: hidden;
  position: relative;
}

/* =========================
   Background Gradient Animation
========================= */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, #111, #1a1a1a, #222, #0d0d0d, #111);
  background-size: 400% 400%;
  animation: gradientMove 20s ease infinite;
  z-index: -3;
}
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating Particles */
body::after {
  content: "";
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('https://www.transparenttextures.com/patterns/stardust.png');
  opacity: 0.1; z-index: -2;
  animation: particleMove 60s linear infinite;
}
@keyframes particleMove {
  from { transform: translateY(0); }
  to { transform: translateY(-200px); }
}

/* =========================
   Header
========================= */
header {
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 15px 5%;
  background: rgba(0,0,0,0.7); 
  position: fixed; 
  width: 100%; 
  z-index: 1000;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
header .logo img { height: 55px; max-width: 100%; transition: transform 0.3s ease; }
header .logo img:hover { transform: scale(1.05); }

header nav ul {
  list-style: none; 
  display: flex; 
  flex-wrap: wrap; 
  gap: 20px; 
}
header nav ul li a {
  color: #fff; 
  text-decoration: none; 
  font-weight: 500; 
  font-size: clamp(14px, 2vw, 16px);
  transition: 0.4s;
  position: relative;
}
header nav ul li a::after {
  content: "";
  position: absolute; bottom: -6px; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg,#ff6600,#ff3300,#ff0099);
  transition: width 0.4s;
}
header nav ul li a:hover::after { width: 100%; }
header nav ul li a:hover { color: #ff6600; }

.navbar-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* =========================
   Hero Section
========================= */
.hero { 
  position: relative; 
  min-height: 100vh; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  text-align: center; 
  padding: 0 5%;
  overflow: hidden;
}
.hero .slider img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1s ease-in-out;
}
.hero .slider img.active { opacity: 1; filter: brightness(0.8); }

.hero-text {
  position: relative; 
  color: #fff;
  max-width: 800px;
  padding: 0 10px;
  z-index: 2;
}
.hero-text h1 {
  font-size: clamp(1.8rem, 6vw, 4rem);
  font-weight: 700; 
  margin-bottom: 20px; 
  line-height: 1.2;
  background: linear-gradient(90deg,#ff6600,#ff3300,#ff0099,#6600ff);
  -webkit-background-clip: text; /* stylelint-disable-line */
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 25px rgba(255,102,0,0.5);
  opacity: 0; transform: translateY(-30px);
  animation: cinematicFade 1.5s ease forwards;
}
.hero-text .btn {
  display: inline-block;
  margin: 10px 8px;
  padding: clamp(8px, 2vw, 15px) clamp(14px, 4vw, 30px);
  font-size: clamp(12px, 2.5vw, 16px);
  background: linear-gradient(45deg,#ff6600,#ff3300,#ff0099);
  color: #fff; font-weight: 600; text-decoration: none;
  border-radius: 50px; transition: 0.3s;
  opacity: 0; transform: scale(0.8);
  animation: fadeScale 2.2s ease forwards;
  box-shadow: 0 0 20px rgba(255,102,0,0.5);
}
.hero-text .btn:hover {
  transform: scale(1.1); 
  box-shadow: 0 0 35px rgba(255,102,0,0.9);
}

/* =========================
   Section Titles
========================= */
h2 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  text-align: center; 
  margin-bottom: 30px;
  background: linear-gradient(90deg,#ff6600,#ff0099,#6600ff);
  -webkit-background-clip: text; /* stylelint-disable-line */
  -webkit-text-fill-color: transparent;
  position: relative; 
  display: inline-block;
}
h2::after {
  content:""; display:block; width:80px; height:4px;
  background: linear-gradient(90deg,#ff6600,#ff0099);
  margin:15px auto 0; border-radius:2px;
  box-shadow: 0 0 15px rgba(255,102,0,0.7);
}

/* =========================
   Services / About
========================= */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 0 5%;
}
.service-item, .about img {
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 30px rgba(255,102,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.4s ease;
  border-radius: 12px;
  padding: 20px;
}
.service-item:hover, .about img:hover {
  box-shadow: 0 0 40px rgba(255,102,0,0.5);
  transform: translateY(-10px) scale(1.03);
}

/* =========================
   Footer
========================= */
footer {
  background: rgba(0,0,0,0.8);
  color: #fff;
  text-align: center;
  font-size: clamp(12px, 2vw, 14px);
  padding: 20px 10px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* =========================
   Animations
========================= */
@keyframes cinematicFade { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeScale { to { opacity: 1; transform: scale(1); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
  header nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(0,0,0,0.9);
    position: absolute;
    top: 70px; right: 0;
    width: 70%;
    padding: 20px;
    border-left: 1px solid rgba(255,255,255,0.1);
  }
  header nav.active { display: flex; }
  .navbar-toggle { display: block; }

  .hero { min-height: 80vh; }
  .hero .slider img { height: 100%; }
}

@media (max-width: 480px) {
  .hero { min-height: 70vh; }
  .hero-text { padding: 0 10px; }
  .services-container { gap: 15px; }
}
