@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
/* Header container */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
  padding: 10px 80px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
}

/* Logo section */
.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  width: 45px;
  height: 45px;
  margin-right: 10px;
  border-radius: 8px;
}

.logo h1 {
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
}

/* Navigation menu */
nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #f36aff;
  text-shadow: 0 0 8px #f36aff;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 15px 30px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}
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: #100505;
  text-shadow: 0 0 15px #050505;
  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 {
  background: url('us.jpg') center/cover no-repeat;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
}

.hero h1 {
  font-size: 50px;
  font-weight: 700;
  text-shadow: 0 0 10px #0c0b0c;
}

.hero p {
  color: #020202;
  margin-top: 10px;
}

/* About section */
.about-section {
  position: relative;
  background: url('about.jpg') center/cover no-repeat;
  color: #fff;
  padding: 160px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* dark overlay */
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.about-content h2 {
  font-size: 48px;
  color: #060606;
  text-shadow: 0 0 15px #070607;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #ddd;
  margin-bottom: 30px;
}

.about-content .btn {
  display: inline-block;
  background: linear-gradient(90deg, #b94cff, #ff7cf8);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.about-content .btn:hover {
  box-shadow: 0 0 20px #ff9cff;
  transform: scale(1.05);
}


/* Skills */
.skills {
  padding: 100px 80px;
  background: #0a0a0a;
}

.skills h2 {
  color: #fff;
  margin-bottom: 10px;
}

.skills p {
  color: #ccc;
  margin-bottom: 30px;
}

.bar {
  margin-bottom: 20px;
}

.bar span {
  display: block;
  margin-bottom: 5px;
}

.line {
  width: 100%;
  background: #222;
  height: 6px;
  border-radius: 5px;
  overflow: hidden;
}

.line div {
  height: 6px;
  background: #f36aff;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  flex-wrap: wrap;
  text-align: center;
}

.stats div h3 {
  color: #f36aff;
  font-size: 28px;
}

/* CTA */
.cta {
  background: url('about.jpg') center/cover no-repeat;
  height: 50vh;
  position: relative;
}

.cta .overlay {
  background: rgba(0, 0, 0, 0.6);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta h3 {
  color: #0b040b;
  font-size: 18px;
}

.cta h2 {
  font-size: 32px;
  margin: 10px 0;
  text-align: center;
}

footer {
  background: #120013;
  color: rgb(13, 11, 11);
  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: #090709;
}

.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(14, 13, 14, 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;
  }
}
