:root {
  --primary-color: #6db43e; /* Light Green - Accents, Buttons, Glow */
  --secondary-color: #247042; /* Dark Green - Gradients, Borders */
  --bg-dark: #000200; /* Main Dark Background */
  --bg-card: #0a0a0a; /* Slightly lighter for cards */
  --text-main: #e1e1e1; /* Main text */
  --text-header: #ffffff;
  --accent-glow: 0 0 15px rgba(109, 180, 62, 0.4);
  /* "Black Future" is a custom font roughly equivalent to Black Ops One or Orbitron Black in style */
  --font-header: 'Black Ops One', 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  /* Subtle robotic circuit pattern overlay */
  background-image: 
    linear-gradient(rgba(0, 2, 0, 0.95), rgba(0, 2, 0, 0.95)),
    url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M10 10 L90 10 L90 90 L10 90 Z" fill="none" stroke="rgba(109,180,62,0.05)" stroke-width="1"/></svg>');
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  color: var(--text-header);
  text-transform: uppercase;
  letter-spacing: 2px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(0, 2, 0, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(109, 180, 62, 0.2);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-header);
  letter-spacing: 1px;
}

.logo i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 8px rgba(109, 180, 62, 0.6);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-header);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-family: var(--font-header);
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(109, 180, 62, 0.3);
}

.btn:hover {
  box-shadow: 0 6px 20px rgba(109, 180, 62, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(109, 180, 62, 0.1);
  color: #fff;
  box-shadow: 0 0 15px rgba(109, 180, 62, 0.4);
}

/* Sections */
section {
  padding: 6rem 5% 4rem;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Cards */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(109, 180, 62, 0.1);
}

.card h3 {
  margin: 1rem 0;
  color: var(--text-main);
}

.card p {
  font-size: 1rem;
  color: #aaa;
}

/* Footer */
footer {
  background: #050505;
  color: #888;
  padding: 2rem 5%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

/* Hero Section Specifics (moved from inline) */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(0,2,0,0.6), rgba(0,2,0,0.8)), url('../images/hero1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    align-items: flex-start;
    justify-content: center;
    padding-left: 10%;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 0px;
    top: 60px;
    height: 90vh;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    padding-top: 2rem;
    border-left: 1px solid rgba(109, 180, 62, 0.2);
  }

  .nav-links li {
    opacity: 0;
    margin: 1.5rem 0;
  }

  .burger-active {
    transform: translateX(0%);
  }

  .nav-active {
    transform: translateX(0%);
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero {
      padding-left: 5%;
  }
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}
