/* Reset Default Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px; /* Base font size */
  scroll-behavior: smooth; /* Smooth scrolling */
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #e0e0e0; /* Light gray text for readability */
  background-color: #121212; /* Dark background */
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: #00ff88; /* Neon green */
  transition: color 0.3s ease;
}

a:hover {
  color: #00cc66; /* Slightly darker neon green on hover */
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background-color: #00ff88;
  color: #121212;
  padding: 0.5rem 1rem;
  z-index: 1000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* Focus States */
button:focus,
a:focus {
  outline: 2px solid #00ff88;
  outline-offset: 2px;
}

/* Header Styles */
header {
  background-color: #121212; /* Dark background */
  color: #e0e0e0;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
}

header .logo img {
  max-height: 40px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links li {
  display: inline-block;
}

.nav-links a {
  color: #e0e0e0;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00ff88; /* Neon green for hover effect */
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hide nav links on small screens */
  }

  header {
    flex-direction: column;
    text-align: center;
  }
}

/* Main Content Container */
main {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  margin-bottom: 4rem;
}

h1,
h2,
h3 {
  color: #e0e0e0;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* Buttons */
button,
a.button {
  display: inline-block;
  background-color: #00ff88;
  color: #121212;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover,
a.button:hover {
  background-color: #00cc66;
}

/* Glow Effect for Buttons */
button.glow,
a.button.glow {
  box-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88;
}

button.glow:hover,
a.button.glow:hover {
  box-shadow: 0 0 15px #00ff88, 0 0 30px #00ff88;
}

/* Highlight Sections */
.highlight {
  background-color: #1e1e1e; /* Slightly lighter dark background */
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.highlight h3 {
  color: #00ff88;
}

/* Footer Styles */
footer {
  background-color: #121212;
  color: #e0e0e0;
  padding: 2rem;
  text-align: center;
  border-top: 1px solid #333;
}

footer p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.social-icons a {
  color: #e0e0e0;
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #00ff88; /* Neon green for hover effect */
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  color: #ccc;
  font-size: 0.9rem;
  margin: 0 0.5rem;
}

.footer-links a:hover {
  color: #00ff88;
}

/* Responsive Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Mobile-Friendly Adjustments */
@media (max-width: 768px) {
  main {
    padding: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  button,
  a.button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }
}

/* Animated Background */
@keyframes pulse {
  0% {
    background-color: #121212;
  }
  50% {
    background-color: #1e1e1e;
  }
  100% {
    background-color: #121212;
  }
}

body {
  animation: pulse 10s infinite alternate;
}