/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0a0a14;
  color: #eee;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(10,10,20,0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%; /* perfect circle */
  border: 3px solid #ff6a00; /* glowing border */
  /* remove rotation animation */
  /* animation: logo-spin 6s linear infinite; */ 
}

.logo span {
  font-family: 'Great Vibes', cursive;
  font-size: 1.7rem;
  background: linear-gradient(45deg, #ff6a00, #ee0979, #ffdd00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 15px rgba(255,150,0,0.5);
}

@keyframes logo-spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #eee;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover, .nav-links .active {
  color: #ff6a00;
}

/* Hero Section */
.services-hero {
  height: 80vh;
  background: url("../images/hero-bg.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.services-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10,10,20,0.8), rgba(10,10,20,0.6));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 1s ease forwards;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ff6a00, #ee0979, #ffdd00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #ddd;
}

/* Particle background (behind hero) */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Services Cards */
.services-section {
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, #0a0a14, #1a1a2e);
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(255,255,255,0.05);
  border-radius: 25px;
  padding: 2rem;
  position: relative;
  text-align: center;
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.5s, box-shadow 0.5s;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 20px 50px rgba(255,106,0,0.5);
}

.service-card h2 {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
  background: linear-gradient(45deg, #ff6a00, #ffdd00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.5;
}

/* Footer */
footer {
  background: #0a0a14;
  padding: 2rem 0;
  text-align: center;
  color: #aaa;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  margin-top: 0.5rem;
}

.footer-links a {
  color: #aaa;
}

.footer-links a:hover {
  color: #ff6a00;
}

footer .socials a {
  color: #fff;
  margin: 0 10px;
  font-size: 22px;
  transition: 0.3s;
}

footer .socials a:hover {
  color: #ff6a00;
  transform: scale(1.3);
}

/* Animations */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(50px);}
  100% { opacity: 1; transform: translateY(0);}
}

.service-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media(max-width:768px){
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .services-section { padding: 2rem 1rem; }
}
