/* cybersecurity.css */
body {
  margin: 0;
  font-family: 'Rubik', sans-serif;
  background-color: #0c0f1a;
  color: #e0e0e0;
}

.navbar {
  background-color: #121827;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #333;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
}

.logo {
  font-size: 1.8rem;
  color: #00d1b2;
  font-weight: bold;
  text-decoration: none;
}

.logo span {
  color: #ff4081;
}

.nav-links ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 12px;
}

.nav-links a {
  text-decoration: none;
  color: #bbb;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.nav-links a.active,
.nav-links a:hover {
  background-color: #1f2937;
  color: #fff;
}

.menu-btn {
  display: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero-section {
  background: linear-gradient(to right, #1e3c72, #2a5298);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
  position: relative;
}

.overlay {
  background-color: rgba(0,0,0,0.5);
  padding: 50px 0;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-section p {
  max-width: 800px;
  margin: auto;
  font-size: 1.1rem;
}

.cyber-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.articles {
  flex: 3;
}

.articles article {
  background: #1a1f2e;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}

.articles article:hover {
  transform: translateY(-5px);
}

.articles h2 {
  color: #00d1b2;
  margin-bottom: 10px;
}

.articles p {
  line-height: 1.6;
  color: #ccc;
}

.quick-links {
  flex: 1;
  background: #11141c;
  padding: 20px;
  border-radius: 8px;
  height: fit-content;
}

.quick-links h3 {
  color: #ff4081;
  margin-bottom: 15px;
}

.quick-links ul {
  list-style: none;
  padding: 0;
}

.quick-links li {
  margin-bottom: 10px;
}

.quick-links a {
  color: #00d1b2;
  text-decoration: none;
  font-size: 0.95rem;
}

.quick-links a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 30px 20px;
  background-color: #0a0d14;
  color: #888;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .cyber-content {
    flex-direction: column;
  }
  .nav-links ul {
    flex-direction: column;
    background-color: #1f2937;
    padding: 20px;
    border-radius: 8px;
    display: none;
  }
  .nav-links ul.show {
    display: flex;
  }
  .menu-btn {
    display: block;
  }
}
