body {
  font-family: Arial, sans-serif;
  margin: 0 auto;
  background: #0d0d0d;
  color: #f2f2f2;  font-size: 15px;
  line-height: 1.6;

        /* site width is 95% of screen */
}

/* Header with full-width background */
header {
  background: #1a1a1a;     /* full bar across screen */
  width: 100%;
}

/* Navbar content centered inside header */
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;      /* needed for hamburger positioning */
}

.logo {
  color: #00ffcc;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: #f2f2f2;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav-links a:hover {
  color: #00ffcc;
  border-bottom: 2px solid #00ffcc;
  padding-bottom: 2px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #f2f2f2;
  cursor: pointer;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 70px 20px;
  background: linear-gradient(135deg, #00ffcc, #0066ff);
  color: #0d0d0d;
}

.hero h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 17px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Sections */
section {
  padding: 50px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  scroll-margin-top: 70px;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 30px;
  align-items: stretch;   /* ensures equal height for all cards */
}

.feature {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;      /* consistent height across all cards */
}

.feature h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #00ffcc;
}

.feature p {
  font-size: 15px;
  line-height: 1.5;
  flex-grow: 1;           /* makes text area expand evenly */
}

/* About section */
#about p {
  text-align: center;  /* centers all lines */
  max-width: 800px;    /* keeps text from stretching too wide */
  margin: 0 auto;      /* centers block itself */
}


/* Contact section */
#contact p {
  font-size: 16px;
  margin-bottom: 20px;
}

.contact-container {
  max-width: 500px;
  margin: 0 auto;
}

form input, form textarea {
  display: block;
  width: 100%;
  margin: 8px 0;
  padding: 8px;
  border: none;
  border-radius: 5px;
}

textarea {
  min-height: 100px;
}

button {
  background: #00ffcc;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  width: 100%;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  background: #1a1a1a;
  color: #f2f2f2;
  font-size: 14px;
  border-top: 2px solid #00ffcc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #1a1a1a;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 15px;
    border-left: 2px solid #00ffcc;
  }

  .nav-links.active {
    display: flex;
  }

  /* Hamburger menu pinned top-right */
  .menu-toggle {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
  }

  .hero {
    padding: 40px 10px;
  }

  section {
    padding: 30px 10px;
  }
}
