/* Open-Lock.org Cybersecurity Platform Design System - HTML Version */

/* CSS Custom Properties */
:root {
  /* Cybersecurity Dark Theme */
  --background: hsl(220, 13%, 6%);
  --foreground: hsl(120, 5%, 95%);
  --card: hsl(220, 13%, 8%);
  --card-foreground: hsl(120, 5%, 95%);
  --popover: hsl(220, 13%, 8%);
  --popover-foreground: hsl(120, 5%, 95%);
  
  /* Cyber Green Primary */
  --primary: hsl(142, 76%, 36%);
  --primary-foreground: hsl(220, 13%, 6%);
  
  /* Secondary Dark Tones */
  --secondary: hsl(220, 13%, 12%);
  --secondary-foreground: hsl(120, 5%, 90%);
  --muted: hsl(220, 13%, 10%);
  --muted-foreground: hsl(120, 5%, 65%);
  
  /* Accent Cyber Green */
  --accent: hsl(142, 76%, 36%);
  --accent-foreground: hsl(220, 13%, 6%);
  
  --destructive: hsl(0, 84%, 60%);
  --destructive-foreground: hsl(120, 5%, 95%);
  
  --border: hsl(220, 13%, 15%);
  --input: hsl(220, 13%, 12%);
  --ring: hsl(142, 76%, 36%);
  
  --radius: 0.75rem;
  
  /* Custom Design Tokens */
  --cyber-green: hsl(142, 76%, 36%);
  --cyber-green-glow: hsl(142, 76%, 50%);
  --cyber-dark: hsl(220, 13%, 6%);
  --cyber-surface: hsl(220, 13%, 8%);
  --cyber-border: hsl(220, 13%, 15%);
  
  /* Gradients */
  --gradient-cyber: linear-gradient(135deg, var(--cyber-green) 0%, var(--cyber-green-glow) 100%);
  --gradient-surface: linear-gradient(135deg, var(--cyber-surface) 0%, var(--cyber-dark) 100%);
  
  /* Shadows */
  --shadow-cyber: 0 10px 30px -10px hsla(142, 76%, 36%, 0.3);
  --shadow-card: 0 4px 20px -4px hsla(220, 13%, 2%, 0.5);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --brand_color_dark: #078669;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utility Classes */
.text-cyber-green {
  color: var(--cyber-green);
}

.hidden-sm {
  display: none;
}

.w-full {
  width: 100%;
}

/* Button Styles */
.btn-primary, .btn-outline, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.25rem;
padding: 10px
}

.btn-primary {
  background: var(--gradient-cyber);
  color: var(--primary-foreground);
  border: none;
  font-weight: 600;
}

.btn-primary:hover {
  box-shadow: var(--shadow-cyber);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border-color: var(--cyber-border);
}

.btn-outline:hover {
  border-color: var(--cyber-green);
  color: var(--cyber-green);
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
  border: none;
}

.btn-ghost:hover {
  background: var(--muted);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

.btn-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

/* Header Styles */
.header {
  border-bottom: 1px solid var(--cyber-border);
  background: hsla(220, 13%, 8%, 0.5) !important;
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  color: var(--cyber-green);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-btn {
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition-smooth);
}

.nav-btn:hover {
  color: var(--cyber-green);
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: block;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5rem 1rem;
  background-image: url('./assets/cyber-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: hsla(220, 13%, 6%, 0.8);
  backdrop-filter: blur(4px);
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 10;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.search-container {
  max-width: 64rem;
  margin: 0 auto 2rem;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted-foreground);
  z-index: 10;
}

.search-input {
  width: 100%;
  height: 4rem;
  padding: 0 1rem 0 3rem;
  font-size: 1.125rem;
  background: hsla(220, 13%, 8%, 0.9);
  border: 1px solid var(--cyber-border);
  border-radius: var(--radius);
  color: var(--foreground);
  backdrop-filter: blur(8px);
}

.search-input::placeholder {
  color: var(--muted-foreground);
}

.search-input:focus {
  outline: none;
  border-color: var(--cyber-green);
  box-shadow: 0 0 0 3px hsla(142, 76%, 36%, 0.1);
}

.search-buttons {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.5rem;
}

.popular-searches {
  margin-bottom: 2rem;
}

.popular-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.trending-icon {
  width: 1rem;
  height: 1rem;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.tag-btn {
  background: transparent;
  border: 1px solid var(--cyber-border);
  color: var(--foreground);
  padding: 0.25rem 0.75rem;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tag-btn:hover {
  border-color: var(--cyber-green);
  color: var(--cyber-green);
}

.quick-access {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.quick-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: hsla(220, 13%, 8%, 0.8);
  border: 1px solid var(--cyber-border);
  color: var(--foreground);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.quick-btn:hover {
  border-color: var(--cyber-green);
}

.quick-icon {
  font-size: 1.125rem;
}

/* Section Styles */
.forum-section, .tools-section, .education-section {
  padding: 4rem 1rem;
}

.tools-section {
  background: var(--cyber-surface);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--cyber-surface);
  border: 1px solid var(--cyber-border);
  border-radius: var(--radius);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  border-color: var(--cyber-green);
}

.stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.stat-icon {
  width: 2rem;
  height: 2rem;
  color: var(--cyber-green);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Discussions */
.discussions-section {
  margin-bottom: 2rem;
}

.discussions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.discussions-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.discussions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.discussion-card {
  background: var(--cyber-surface);
  border: 1px solid var(--cyber-border);
  border-radius: var(--radius);
  transition: var(--transition-smooth);
}

.discussion-card:hover {
  border-color: hsla(142, 76%, 36%, 0.5);
  box-shadow: var(--shadow-card);
}

.discussion-content {
  padding: 1.5rem;
}

.discussion-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.discussion-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.discussion-title:hover {
  color: var(--cyber-green);
}

.hot-badge {
  background: var(--gradient-cyber);
  color: var(--primary-foreground);
  padding: 0.125rem 0.5rem;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
  font-weight: 500;
}

.discussion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.tag {
  background: transparent;
  border: 1px solid var(--cyber-border);
  color: var(--foreground);
  padding: 0.125rem 0.5rem;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
}

.discussion-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.meta-icon {
  width: 1rem;
  height: 1rem;
}

/* Section CTA */
.section-cta {
  text-align: center;
}

/* Tools Section */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.category-card {
  background: var(--cyber-dark);
  border: 1px solid var(--cyber-border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.category-card:hover {
  border-color: var(--cyber-green);
}

.category-icon {
  width: 2rem;
  height: 2rem;
  color: var(--cyber-green);
  margin: 0 auto 0.5rem;
  transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.1);
}

.category-name {
  font-weight: 500;
  color: var(--foreground);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.category-count {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Featured Tools */
.featured-tools {
  margin-bottom: 2rem;
}

.featured-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.featured-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.tool-card {
  background: var(--cyber-dark);
  border: 1px solid var(--cyber-border);
  border-radius: var(--radius);
  transition: var(--transition-smooth);
}

.tool-card:hover {
  border-color: hsla(142, 76%, 36%, 0.5);
  box-shadow: var(--shadow-card);
}

.tool-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0.75rem;
}

.tool-icon-wrapper {
  padding: 0.5rem;
  background: var(--cyber-surface);
  border-radius: var(--radius);
  margin-right: 0.75rem;
}

.tool-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--cyber-green);
}

.tool-info {
  flex: 1;
}

.tool-name {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  transition: var(--transition-smooth);
}

.tool-card:hover .tool-name {
  color: var(--cyber-green);
}

.featured-badge {
  background: var(--gradient-cyber);
  color: var(--primary-foreground);
  padding: 0.125rem 0.5rem;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
  font-weight: 500;
}

.tool-content {
  padding: 0 1.5rem 1.5rem;
}

.tool-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tool-tag {
  background: transparent;
  border: 1px solid var(--cyber-border);
  color: var(--foreground);
  padding: 0.125rem 0.5rem;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
}

.tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tool-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.stat-icon.star {
  color: #fbbf24;
}

/* Education Section */
.learning-paths {
  margin-bottom: 3rem;
}

.paths-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.paths-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.path-card {
  background: var(--cyber-surface);
  border: 1px solid var(--cyber-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.path-card:hover {
  border-color: hsla(142, 76%, 36%, 0.5);
  box-shadow: var(--shadow-card);
}

.path-header {
  text-align: center;
  margin-bottom: 1rem;
}

.path-thumbnail {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.level-badge {
  padding: 0.25rem 0.75rem;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid;
}

.level-badge.beginner {
  border-color: #10b981;
  color: #10b981;
}

.level-badge.intermediate {
  border-color: #f59e0b;
  color: #f59e0b;
}

.level-badge.advanced {
  border-color: #ef4444;
  color: #ef4444;
}

.path-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  text-align: center;
  margin-bottom: 0.5rem;
  transition: var(--transition-smooth);
}

.path-card:hover .path-title {
  color: var(--cyber-green);
}

.path-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  text-align: center;
  margin-bottom: 1rem;
}

.path-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.path-stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.path-icon {
  width: 1rem;
  height: 1rem;
}

.path-icon.star {
  color: #fbbf24;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.recent-content {
  flex: 2;
}

.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.content-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.content-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.content-card {
  background: var(--cyber-surface);
  border: 1px solid var(--cyber-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.content-card:hover {
  border-color: hsla(142, 76%, 36%, 0.5);
}

.content-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.content-type {
  background: transparent;
  border: 1px solid var(--cyber-border);
  color: var(--foreground);
  padding: 0.125rem 0.5rem;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
}

.new-badge {
  background: var(--gradient-cyber);
  color: var(--primary-foreground);
  padding: 0.125rem 0.5rem;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
  font-weight: 500;
}

.content-item-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.content-item-title:hover {
  color: var(--cyber-green);
}

.content-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  flex-wrap: wrap;
}

.content-stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.content-icon {
  width: 1rem;
  height: 1rem;
}

/* Certifications Sidebar */
.certifications-sidebar {
  flex: 1;
}

.cert-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.cert-card {
  background: var(--cyber-surface);
  border: 1px solid var(--cyber-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.cert-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cert-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--cyber-green);
}

.cert-subtitle {
  font-weight: 500;
  color: var(--foreground);
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.cert-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: var(--cyber-dark);
  border: 1px solid var(--cyber-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cert-item:hover {
  border-color: var(--cyber-green);
}

.cert-name {
  color: var(--foreground);
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--cyber-dark);
  border-top: 1px solid var(--cyber-border);
}

.footer .container {
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  grid-column: 1 / -1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 2rem;
  height: 2rem;
  color: var(--cyber-green);
}

.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.footer-brand-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-btn {
  background: transparent;
  border: 1px solid var(--cyber-border);
  color: var(--foreground);
  padding: 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.social-btn:hover {
  border-color: var(--cyber-green);
color: var(--brand_color);
}

.social-icon {
  width: 1rem;
  height: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-section-title {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--cyber-green);
}

/* Newsletter */
.newsletter-section {
  border-top: 1px solid var(--cyber-border);
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.newsletter-content {
  max-width: 28rem;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.newsletter-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.5rem 1rem;
  background: var(--cyber-surface);
  border: 1px solid var(--cyber-border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 0.875rem;
}

.newsletter-input::placeholder {
  color: var(--muted-foreground);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--cyber-green);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--cyber-border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.legal-link {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.legal-link:hover {
  color: var(--cyber-green);
}

.page-template-page-scripts, .script-template-default, .forum-archive, .page-template-page-home, .page-id-15021, .forum-template-default{
    background: hsl(220, 13%, 8%) !important;
    color: #ffffff;
}
.page-template-page-scripts .doc_blog_classic_area, .page-template-page-scripts .forum-page-content, .script-template-default .doc_blog_classic_area, .script-template-default .forum-page-content, .forum-archive .doc_blog_classic_area, .forum-archive .forum-page-content, .forum-template-default .forum-page-content{
    background: hsl(220, 13%, 8%) !important;
    color: #ffffff;
}
.script-template-default h1,.script-template-default h2,.script-template-default h3,.script-template-default h4,.script-template-default h5,.script-template-default h6, .script-template-default .h1, .script-template-default .h2, .script-template-default .h3, .script-template-default .h4, .script-template-default .h5, .script-template-default .h6, .forum-archive h1,.forum-archive h2,.forum-archive h3,.forum-archive h4,.forum-archive h5,.forum-archive h6, .forum-archive .h1, .forum-archive .h2, .forum-archive .h3, .forum-archive .h4, .forum-archive .h5, .forum-archive .h6, .page-template-page-scripts h1,.page-template-page-scripts h2,.page-template-page-scripts h3,.page-template-page-scripts h4,.page-template-page-scripts h5,.page-template-page-scripts h6, .page-template-page-scripts .h1, .page-template-page-scripts .h2, .page-template-page-scripts .h3, .page-template-page-scripts .h4, .page-template-page-scripts .h5, .page-template-page-scripts .h6, .forum-template-default h1,.forum-template-default h2,.forum-template-default h3,.forum-template-default h4,.forum-template-default h5,.forum-template-default h6, .forum-template-default .h1, .forum-template-default .h2, .forum-template-default .h3, .forum-template-default .h4, .forum-template-default .h5, .forum-template-default .h6{
    color: #ffffff;
}
.script-template-default .blog_single_item{
    background: hsl(220, 13%, 6%) !important;
}
.forum-archive .widget_display_replies li:before, .forum-archive .widget_display_topics .bbp-forum-title, .forum-archive .widget_display_replies .bbp-forum-title, .forum-template-default .widget_display_topics .bbp-forum-title{
    color: #ffffff !important;
}
.forum-template-default .bbp-topics-widget li a{
    color: #ffffff;
}
.forum-archive .answer-action, .forum-template-default .answer-action, .forum-archive .post-header, .forum-template-default .post-header, .community-post.forum-item, .forum-archive .bb-radius, .forum-template-default .communities-boxes .com-box .icon-container{
    background: hsl(220, 13%, 6%) !important;
    border: 1px solid hsl(220, 13%, 15%);
}
.forum-archive .community-post.style-two:hover{
    border-color: hsl(220, 13%, 15%);
}
.forum-archive .community-post.style-two:not(:last-child), .forum-template-default .community-post.style-two:not(:last-child){
    border-bottom: 1px solid hsl(220, 13%, 15%);
}
.forum-archive .forums-box, .loading, .forum-template-default .community-post, .forum-template-default .pagination-wrapper{
    background: hsl(220, 13%, 6%) !important;
}
.forum-archive .widget_display_topics li::before, .forum-template-default .widget_display_topics li::before, .forum-template-default .communities-boxes .com-box .com-box-content .title a{
    color: #ffffff;
}
/* ===== BASE MENU ===== */
#menu-primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
  align-items: center;
}

#menu-primary-menu > .menu-item {
  position: relative;
}

#menu-primary-menu > .menu-item > a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

#menu-primary-menu > .menu-item > a:hover {
  color: hsl(142, 76%, 36%);
}

/* ===== SUB MENU ===== */
#menu-primary-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%; /* directly below the parent */
  left: 0;
  min-width: 200px;
  background: hsla(220, 13%, 8%, 0.5) !important;
  backdrop-filter: blur(8px);
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  flex-direction: column;
  z-index: 999;
}

/* Submenu items */
#menu-primary-menu .sub-menu .menu-item a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

#menu-primary-menu .sub-menu .menu-item a:hover {
  color: hsl(142, 76%, 36%);
}

/* ===== HOVER ACTION ===== */
#menu-primary-menu .menu-item.menu-item-has-children:hover > .sub-menu {
  display: flex;
  animation: dropdownFade 0.25s ease-in-out;
}

/* ===== ANIMATION ===== */
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE (optional) ===== */
@media (max-width: 768px) {
  #menu-primary-menu {
    flex-direction: column;
    gap: 10px;
  }
  #menu-primary-menu .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
  }
  #menu-primary-menu .menu-item.menu-item-has-children:hover > .sub-menu {
    display: block;
  }
}

.blog_sidebar .widget.widget_nav_menu ul li a, .blog_sidebar .widget.widget_meta ul li a, .blog_sidebar .widget.widget_pages ul li a, .blog_sidebar .widget.widget_archive ul li a, .blog_sidebar .widget.widget_categories ul li a{
    color: #ffffff !important;
}
.widget_categories .cat-item:hover, .widget_categories .cat-item a:hover, .widget_categories .cat-item a:hover:before{
    color: hsl(142, 76%, 36%) !important;
}
.blog_sidebar .widget.widget_nav_menu ul li a:hover, .blog_sidebar .widget.widget_meta ul li a:hover, .blog_sidebar .widget.widget_pages ul li a:hover, .blog_sidebar .widget.widget_archive ul li a:hover, .blog_sidebar .widget.widget_categories ul li a:hover{
    color: hsl(142, 76%, 36%) !important;
}

/* Responsive Design */
@media (min-width: 640px) {
  .hidden-sm {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .nav-desktop {
    display: flex;
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .paths-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .content-grid {
    grid-template-columns: 2fr 1fr;
  }
  
  .footer-grid {
  grid-template-columns: 2fr repeat(3, 1fr);
  }
  
  .footer-brand {
    grid-column: 1;
  }
  
  .footer-bottom {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
  
  .categories-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
  
  .hero-section {
    padding: 5rem 2rem;
  }
  
  .forum-section, .tools-section, .education-section {
    padding: 4rem 2rem;
  }
}
@media (max-width: 990px) {
.newsletter-description {
            width: 80%;
        }

}
@media (max-width: 576px) {
.search-input{
font-size: 10px !important;
}
 .newsletter-description {
            width: 100%;
        }
}
.blog_top_post .b_top_post_content p{
color: var(--muted-foreground);
}
.subscription-toggle:hover{
color: white !important;
}
.action-button-container.action-btns .bbp-topic-reply-link:hover
 {
    background: var(--brand_color) !important;
color: white !important;
}
#favorite-toggle .favorite-toggle:hover{
    background: var(--bs-white);
    border: 1px solid var(--brand_color) !important;
}
.sidebar-tool {
align-items: center;
margin-top: 20px
}
.sidebar-tool img {
margin-right: 20px;
    border-radius: 4px;
}
.forum_sidebar .widget_display_replies .bbp-replies-widget .bbp-author-avatar img{
margin-right: 5px
}
.elementor-button {
    background-color: var(--cyber-green) !important;
    color: #ffffff;
border: none;
border-radius: 4px;
margin-top: 20px;
}
.elementor-col-100{
width: 95%
}
.elementor-labels-above{
margin-top: 50px
}
.btn-color .page-numbers:hover {
                color: white !important;
            }
.blog_comment_box .get_quote_form .thm_btn{
background: var(--brand_color) !important;
}
.logged-in-as a:hover{
color: var(--brand_color);
}
.script-item a img{
margin-bottom: 30px;

}
.author_text a:hover{
color: var(--brand_color);
}
.bbpc_attachments a:hover{
color: var(--brand_color);
}
.elementor-element a:hover{
color: var(--brand_color);
}
.blog_top_post a img{
width: 100%
}
.tool-tag:hover{
color: white
}
.row
.bbpc_attachments 
    .bbpc-attachment-addfile {
        border: 2px solid var(--brand_color) !important;
        color: var(--brand_color) !important;
    }
body .bbp-form .bbpc_attachments .bbpc-attachment-addfile {
  border: 2px solid var(--brand_color) !important;
}

.row
.bbpc_attachments 
    .bbpc-attachment-addfile:hover {
border: 2px solid var(--brand_color) !important;
background: transparent !important;
}
@media (max-width: 990px){
.elementor-form-fields-wrapper {
gap: 10px
}
.elementor-column.elementor-col-50{
width: 48% !important
}
}
@media (max-width: 576px){
.elementor-form-fields-wrapper {
gap: 10px
}
.elementor-column.elementor-col-50{
width: 100% !important;
        flex-direction: column;
        align-items: flex-start;
}
.elementor-column.elementor-col-50 p{
width: 100%
}
.elementor-col-100 {
width: 100%
}
.script-item a img{
    height: 250px;
    object-fit: cover;
}
}