/* BeduSec - Hacker/Developer Theme CSS */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Courier New', monospace;
}

body {
  background-color: #0a0a0a;
  color: #00ff00;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Terminal Effect - Scan Line */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 255, 0, 0.03) 1px,
      transparent 1px);
  background-size: 100% 2px;
  pointer-events: none;
  z-index: 9999;
  animation: scan 15s linear infinite;
}

@keyframes scan {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 100%;
  }
}

/* Glitch Effect */
.glitch {
  position: relative;
  animation: glitch 5s infinite;
}

@keyframes glitch {
  0% {
    transform: translate(0);
  }

  20% {
    transform: translate(-2px, 2px);
  }

  40% {
    transform: translate(-2px, -2px);
  }

  60% {
    transform: translate(2px, 2px);
  }

  80% {
    transform: translate(2px, -2px);
  }

  100% {
    transform: translate(0);
  }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #00ff00;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  margin-bottom: 1rem;
}

.terminal-text {
  color: #00ff00;
  font-family: 'Courier New', monospace;
  text-shadow: 0 0 5px #00ff00;
}

.neon-blue {
  color: #00b3ff;
  text-shadow: 0 0 10px rgba(0, 179, 255, 0.5);
}

.neon-green {
  color: #00ff00;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* Navigation */
.navbar {
  background-color: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid #00ff00;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00ff00;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: #00b3ff;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #00ff00;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  background-color: rgba(0, 255, 0, 0.1);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.nav-links a.active {
  background-color: rgba(0, 255, 0, 0.2);
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}

/* Main Content */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(45deg, rgba(0, 255, 0, 0.1), rgba(0, 179, 255, 0.1));
  border-radius: 10px;
  margin-bottom: 3rem;
  border: 1px solid rgba(0, 255, 0, 0.3);
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid #00ff00;
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: #00ff00;
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #00b3ff;
  margin-bottom: 2rem;
}

/* Cards */
.card {
  background-color: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ff00, transparent);
  animation: slide 2s linear infinite;
}

@keyframes slide {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
  border-color: #00ff00;
}

/* Buttons */
.btn {
  background: transparent;
  color: #00ff00;
  border: 1px solid #00ff00;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background-color: rgba(0, 255, 0, 0.1);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
  transform: translateY(-2px);
}

.btn-primary {
  background-color: rgba(0, 255, 0, 0.2);
  border-color: #00ff00;
}

.btn-blue {
  color: #00b3ff;
  border-color: #00b3ff;
}

.btn-blue:hover {
  background-color: rgba(0, 179, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 179, 255, 0.4);
}

.btn-danger {
  color: #ff3333;
  border-color: #ff3333;
}

.btn-danger:hover {
  background-color: rgba(255, 51, 51, 0.1);
  box-shadow: 0 0 15px rgba(255, 51, 51, 0.4);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #00ff00;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 4px;
  color: #00ff00;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Blog Posts */
.blog-post {
  margin-bottom: 2rem;
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 255, 0, 0.3);
}

.blog-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog-date {
  color: #00b3ff;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: #cccccc;
  line-height: 1.6;
}

/* Projects */
.project-card {
  height: 100%;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tech-tag {
  background-color: rgba(0, 179, 255, 0.2);
  color: #00b3ff;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(0, 179, 255, 0.3);
}

/* Members */
.member-card {
  text-align: center;
}

.member-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00ff00;
  margin: 0 auto 1rem;
  padding: 3px;
  background-color: rgba(20, 20, 20, 0.9);
}

.member-name {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.member-role {
  color: #00b3ff;
  margin-bottom: 0.5rem;
}

.member-rank {
  color: #ffcc00;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: rgba(10, 10, 10, 0.95);
  border-top: 1px solid rgba(0, 255, 0, 0.3);
  padding: 2rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: #00ff00;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #00b3ff;
  text-shadow: 0 0 10px rgba(0, 179, 255, 0.5);
}

.copyright {
  color: #666;
  font-size: 0.9rem;
}

/* Admin Panel */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 255, 0, 0.3);
}

.admin-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 255, 0, 0.3);
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.table-container {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.admin-table th,
.admin-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}

.admin-table th {
  background-color: rgba(0, 255, 0, 0.1);
  color: #00ff00;
}

.admin-table tr:hover {
  background-color: rgba(0, 255, 0, 0.05);
}

/* Loading Animation */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(0, 255, 0, 0.3);
  border-top-color: #00ff00;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid rgba(0, 255, 0, 0.3);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #00ff00;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.p-1 {
  padding: 0.5rem;
}

.p-2 {
  padding: 1rem;
}

.p-3 {
  padding: 1.5rem;
}

.p-4 {
  padding: 2rem;
}

.p-5 {
  padding: 3rem;
}
/* Add to existing CSS */

/* Join Page Styles */
.faq-item {
  background-color: rgba(30, 30, 30, 0.5);
  padding: 1rem;
  border-radius: 4px;
  border-left: 3px solid #00ff00;
  margin-bottom: 1rem;
}

/* Projects Page Styles */
.featured-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.8rem;
  z-index: 1;
}

.category-badge {
  background: rgba(0, 179, 255, 0.2);
  color: #00b3ff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.8rem;
  display: inline-block;
}

/* Members Page Styles */
.member-avatar-container {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3333;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: bold;
}

.member-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

/* Blog Page Styles */
.blog-content {
  line-height: 1.8;
  color: #cccccc;
}

.blog-content h2 {
  color: #00ff00;
  margin: 1.5rem 0 1rem;
}

.blog-content h3 {
  color: #00b3ff;
  margin: 1.25rem 0 0.75rem;
}

.blog-content p {
  margin-bottom: 1rem;
}

.blog-content code {
  background-color: rgba(0, 255, 0, 0.1);
  color: #00ff00;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
}

.blog-content pre {
  background-color: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 4px;
  padding: 1rem;
  overflow-x: auto;
  margin: 1rem 0;
}

.blog-content ul,
.blog-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
}

.blog-content blockquote {
  border-left: 3px solid #00b3ff;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #00b3ff;
  font-style: italic;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .member-avatar {
    width: 120px;
    height: 120px;
  }

  .blog-content pre {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }
}