/* ======== GLOBAL RESET ======== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0a66c2, #171515);
  background-size: 200% 200%;
  animation: gradientMove 10s ease infinite;
  color: #f2f2f2;
  line-height: 1.7;
  overflow-x: hidden;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ======== HEADER ======== */
header {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1.8rem 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

header h1 {
  font-size: 2.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeInDown 1s ease-in;
}

header p {
  font-size: 1rem;
  opacity: 0.9;
  animation: fadeInDown 1.2s ease-in;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-top: 1rem;
}

.nav-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav-list a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #00d9ff;
  transition: width 0.3s;
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-list a:hover {
  color: #00d9ff;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ======== SECTIONS ======== */
.section {
  max-width: 1000px;
  margin: 4rem auto;
  background: rgba(255, 255, 255, 0.1);
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  transform: translateY(50px);
  opacity: 0;
  transition: all 1s ease-out;
}

/* When visible */
.section.show {
  transform: translateY(0);
  opacity: 1;
  box-shadow: 0 0 35px rgba(0, 217, 255, 0.2);
}

.section:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(0, 217, 255, 0.35);
}

.section h2 {
  font-size: 2rem;
  color: #00d9ff;
  margin-bottom: 1rem;
}

/* ======== SKILLS ======== */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.skills-list li {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.skills-list li:hover {
  background: #00d9ff;
  color: #000;
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 0 15px #00d9ff;
}

/* ======== PROJECTS ======== */
.projects {
  display: grid;
  gap: 2rem;
  justify-content: center;
}

.project {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 700px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.15);
  cursor: pointer;
}

.project:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
}

.project h3 {
  color: #00d9ff;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.project a {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.6rem 1.2rem;
  background: #00d9ff;
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project a:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px #00d9ff;
}

/* ======== CONTACT ======== */
#contact .contact-icons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

#contact a {
  color: #00d9ff;
  font-size: 2rem;
  transition: transform 0.4s ease, color 0.3s;
}

#contact a:hover {
  transform: scale(1.3) rotate(10deg);
  color: #fff;
}

/* ======== FOOTER ======== */
footer {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  color: #aaa;
  font-size: 0.9rem;
}

/* ======== SCROLL TO TOP BUTTON ======== */
#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #00d9ff;
  color: #000;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.4rem;
  cursor: pointer;
  display: none;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
  transition: transform 0.4s ease, background 0.3s;
}

#scrollToTop:hover {
  background: #fff;
  transform: translateY(-5px);
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.8rem;
  }

  .section {
    margin: 2rem 1rem;
    padding: 2rem 1.2rem;
  }
}



