* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: url('ser.jpg') no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
  overflow-x: hidden;
  min-height: 100vh;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #000;
  color: #fff;
}
/* 🌸 General animation for entire page */
body {
  opacity: 0;
  animation: fadeInPage 2s ease forwards;
  background-color: #000; /* or your preferred gradient */
  font-family: "Poppins", sans-serif;
}

/* Every section fades up softly */
section, header, footer, .about, .home, .contact, .projects {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.5s ease forwards;
}

/* Apply delays for smooth sequence */
header { animation-delay: 0.2s; }
.home { animation-delay: 0.4s; }
.about { animation-delay: 0.6s; }
.projects { animation-delay: 0.8s; }
.contact { animation-delay: 1s; }
footer { animation-delay: 1.2s; }

/* ✨ Keyframes for smooth page load */
@keyframes fadeInPage {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Optional: glowing text animation for headers */
h1, h2, h3 {
  color: #fff;
  text-shadow: 0 0 15px #ffbaff;
  animation: glowFade 2s ease-in-out infinite alternate;
}

@keyframes glowFade {
  from {
    text-shadow: 0 0 5px #ffbaff, 0 0 10px #ffbaff;
  }
  to {
    text-shadow: 0 0 25px #ffbaff, 0 0 40px #ffbaff;
  }
}


/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 80px;
  background: #000;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  width: 45px;
  height: 45px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 22px;
  color: white;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

nav a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

nav a:hover,
nav a.active {
  color: #f36aff;
  text-shadow: 0 0 8px #f36aff;
}

/* HERO */
.hero {
  position: relative;
  background: url('hero-bg.jpg') center/cover no-repeat;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  animation: fadeUp 1.2s ease-in-out;
}

.hero-content h1 {
  font-size: 3rem;
  letter-spacing: 1px;
}

.hero-content h1 span {
  color: #442366;
}

.hero-content p {
  margin: 20px 0;
  color: #ccc;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-orange, .btn-outline {
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-orange {
  background: linear-gradient(90deg, #f3eef6, #e0dce7);
  color: #000;
  border: none;
}

.btn-outline {
  border: 2px solid #382251;
  color: #ff6600;
  background: transparent;
}

.btn-orange:hover, .btn-outline:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #ff6600;
}

/* INFO SECTION */
.info-section {
  display: flex;
  justify-content: center;
  gap: 40px;
  background: #111;
  padding: 80px 40px;
}

.info-box {
  text-align: center;
  max-width: 300px;
  animation: fadeIn 1.5s ease-in-out;
}

.info-box .icon {
  font-size: 2rem;
  color: #ff6600;
  margin-bottom: 15px;
}

.info-box h3 {
  margin-bottom: 10px;
  color: #fff;
}

/* SERVICES */
.services {
  padding: 80px 40px;
  background: #0f0f0f;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  background: linear-gradient(90deg, #ff6600, #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: #bbb;
  margin-top: 10px;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 102, 0, 0.2);
  padding: 25px;
  border-radius: 10px;
  transition: 0.4s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 15px #ff6600;
}

/* INTELLIGENCE */
.intelligence {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 40px;
  flex-wrap: wrap;
  gap: 40px;
  background: #111;
}

.intelligence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.int-box {
  padding: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: 0.3s;
}

.int-box:hover {
  background: #ff6600;
  color: #000;
}

.intelligence-info {
  max-width: 500px;
}
footer {
  background: #120013;
  color: white;
  padding: 60px 80px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-logo img {
  width: 50px;
  border-radius: 10px;
}

.footer-logo p {
  margin-top: 10px;
  color: #aaa;
}

.footer-links ul {
  list-style: none;
  margin-top: 10px;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links ul li a:hover {
  color: #ff4bff;
}

.footer-contact p {
  color: #aaa;
  margin-top: 8px;
}

.copyright {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #333;
  padding-top: 20px;
  color: #777;
}
/* 🌙 Responsive Navbar Design */
@media (max-width: 900px) {
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    position: relative;
  }

  /* Hide normal menu */
  nav ul {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 70px;
    right: 20px;
    width: 200px;
    border-radius: 10px;
    padding: 15px 0;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    transition: all 0.3s ease-in-out;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    text-align: center;
    padding: 10px 0;
  }

  nav ul li a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
  }

  /* Hamburger icon */
  .menu-toggle {
    display: block;
    font-size: 25px;
    cursor: pointer;
    color: #fff;
  }
}

/* Hide hamburger for desktop */
@media (min-width: 901px) {
  .menu-toggle {
    display: none;
  }

  nav ul {
    display: flex !important;
    position: static;
    background: none;
    box-shadow: none;
  }
}
