:root {
  --neon-green: #7CFF4E;
  --dark-bg: #050b08;
  --card-bg: rgba(10, 46, 26, 0.8);
  --text-light: #eafff3;
  --muted-text: #b6e6cc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, Segoe UI, sans-serif;
}

body {
  background: radial-gradient(circle at top, #0f3d26 0%, var(--dark-bg) 55%);
  color: var(--text-light);
}

header {
  padding: 24px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 11, 8, 0.85);
  border-bottom: 1px solid rgba(124,255,78,0.15);
}

.logo {
  color: var(--neon-green);
  font-size: 22px;
  font-weight: 700;
}

nav a {
  margin-left: 28px;
  text-decoration: none;
  color: var(--muted-text);
  font-size: 14px;
}

nav a:hover {
  color: var(--neon-green);
}

.section {
  max-width: 1100px;
  margin: auto;
  padding: 80px 64px;
}

h1 {
  color: var(--neon-green);
  font-size: 48px;
  margin-bottom: 16px;
}

h3 {
  color: var(--neon-green);
  margin-bottom: 10px;
}

p {
  color: var(--muted-text);
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* SERVICE CARD */
.card {
  background: var(--card-bg);
  padding: 32px;
  border-radius: 20px;
  border: 1px solid rgba(124,255,78,0.25);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(124,255,78,0.3);
}

/* DROPDOWN PREVIEW */
.service-preview {
  margin-top: 16px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.card:hover .service-preview {
  max-height: 260px;
  opacity: 1;
}

.service-preview ul {
  margin-top: 12px;
  padding-left: 18px;
}

.service-preview li {
  font-size: 14px;
  color: var(--muted-text);
  line-height: 1.6;
}

/* FOOTER */
footer {
  padding: 40px;
  text-align: center;
  background: #040906;
  border-top: 1px solid rgba(124,255,78,0.15);
  color: var(--muted-text);
}

/* Government service layout fixes */

.list-section {
  max-width: 700px;
  margin-top: 32px;
}

.list-section ul {
  margin-top: 12px;
  padding-left: 20px;
}

.list-section li {
  margin-bottom: 8px;
}

.form-section {
  max-width: 600px;
  margin-top: 40px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
}

.btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

/* ============================= */
/* Mobile Navigation Fix */
/* ============================= */

@media (max-width: 768px) {

  header {
    flex-direction: column;
    align-items: center;
    padding: 16px 20px;
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 12px;
    gap: 10px;
  }

  nav a {
    margin: 0;
    padding: 8px 0;
    font-size: 15px;
  }

  .section {
    padding: 48px 20px;
  }

  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 18px; }

  p { font-size: 15px; }

  .grid,
  .projects-grid,
  .contact-grid,
  .founders {
    grid-template-columns: 1fr !important;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .hero { padding: 64px 20px 90px; }
}

/* Unified mobile navigation for ALL pages */
@media (max-width: 768px) {

  header {
    flex-direction: column;
    align-items: center;
    padding: 16px 20px !important;
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 12px;
    gap: 10px;
  }

  nav a {
    margin: 0 !important;
    padding: 8px 0;
    font-size: 15px;
  }
}
