/* General styles */
body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

.section {
  min-height: 100vh;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 30px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar ul li {
  margin: 0 15px;
}

.navbar ul li a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.navbar ul li a.active {
  background: linear-gradient(45deg, #76BEE3, #A4D6A6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px #76BEE3, 0 0 20px #A4D6A6;
}

/* Hero Section - Static Image */
.hero {
  background: url('Fisdevback.png') no-repeat center center/cover;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Title (above the symbol) */
.hero h1 {
  font-size: 5rem; /* Big font size */
  color: transparent; /* Makes text hollow */
  -webkit-text-stroke: 2px white; /* White outline around text */
  margin-bottom: 700px; /* Moves title closer to the top of the symbol */
  z-index: 10; /* Ensures it stays above background */
}

/* Paragraph (below the symbol) */
.hero p {
  font-size: 1.5rem;
  color: white;
  margin-top: -50px; /* Moves text closer to bottom of the symbol */
  z-index: 10; /* Ensures visibility */
}

/* About Section - Moving Gradient */
.about {
  background: linear-gradient(45deg, #76BEE3, #A4D6A6, #76BEE3);
  background-size: 300% 300%;
  animation: gradientMove 8s ease infinite;
  color: #f4f4f4;
}

@keyframes gradientMove {
  0% {
      background-position: 0% 50%;
  }
  50% {
      background-position: 100% 50%;
  }
  100% {
      background-position: 0% 50%;
  }
}

/* Projects and Contact Sections */
.projects {
  background: rgb(0, 0, 0);
  color: white;
}

.contact {
  background: #f4f4f4;
  color: #333;
}

/* Footer */
footer {
  background: linear-gradient(90deg, #76BEE3, #A4D6A6);
  color: white;
  text-align: center;
  padding: 10px 0;
}

/* Mobile Enhancements */
@media screen and (max-width: 768px) {
  .navbar {
      width: 90%;
      padding: 8px 10px;
      top: 10px;
  }

  .navbar ul {
      flex-wrap: wrap;
  }

  .navbar ul li {
      margin: 0 10px;
  }

  .hero h1 {
      font-size: 2.5rem;
  }

  .hero p {
      font-size: 1.2rem;
  }
}
