 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background: #000;
      font-family: 'Share Tech Mono', monospace;
      overflow-x: hidden;
      padding-top: 80px; 
    }

    /* --- FIXED NAVBAR STYLE --- */
    nav {
      width: 100%;
      padding: 15px 5%;
      display: flex;
      justify-content: space-between; /* লোগো, মেনু আর সার্চ বক্সের মাঝে দূরত্ব তৈরি করবে */
      align-items: center;
      background: rgba(0, 0, 0, 0.95);
      border-bottom: 2px solid #00ff00;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1000;
      animation: glowBackground 4s linear infinite;
    }

    @keyframes glowBackground {
      0%, 100% { box-shadow: 0 0 10px #00ff00; }
      50% { box-shadow: 0 0 20px rgba(0, 255, 0, 0.4); }
    }

    .logo {
      color: #00ff00;
      font-size: 24px;
      letter-spacing: 2px;
      text-shadow: 0 0 10px #00ff00;
      animation: flicker 2s infinite;
      white-space: nowrap;
      text-decoration: none;
      flex: 1; /* লোগোকে নির্দিষ্ট জায়গা দেবে */
    }

    @keyframes flicker {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.8; }
    }

    /* Desktop Nav Links Container (মাঝখানে রাখার জন্য আপডেট করা হয়েছে) */
    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex: 2; /* লোগো ও সার্চ বক্সের মাঝের পুরো ফাঁকা জায়গাটা নেবে */
    }

    .nav-links {
      list-style: none;
      display: flex;
      gap: 25px;
      margin: 0 auto; /* এই কোডটি লিঙ্কের মেনুটিকে একদম সেন্টারে (মাঝখানে) পুশ করবে */
    }

    .nav-links li a {
      color: #00ff00;
      text-decoration: none;
      font-size: 18px;
      position: relative;
      padding: 5px 10px;
      transition: 0.3s ease;
    }

    .nav-links li a:hover {
      color: black;
      background: #00ff00;
      border-radius: 5px;
    }

    /* Search Box Style */
    .search-box {
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .search-box input {
      padding: 6px 10px;
      background: black;
      border: 1px solid #00ff00;
      color: #00ff00;
      font-family: 'Share Tech Mono', monospace;
      outline: none;
      width: 140px;
      transition: 0.3s ease;
    }

    .search-box input::placeholder {
      color: rgba(0, 255, 0, 0.6);
    }

    .search-box button {
      background: #00ff00;
      color: black;
      border: none;
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
      border-radius: 3px;
      transition: 0.3s;
    }

    .search-box button:hover {
      background: black;
      color: #00ff00;
      border: 1px solid #00ff00;
    }

    /* Animated Line Glow underneath Nav */
    .line-glow {
      position: absolute;
      bottom: -2px;
      left: 0;
      height: 3px;
      width: 100%;
      background: linear-gradient(90deg, transparent, #00ff00, transparent);
      animation: moveLine 3s linear infinite;
    }

    @keyframes moveLine {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }

    /* Hamburger Responsive Toggle (CSS Only) */
    #menu-toggle {
      display: none;
    }

    .menu-icon {
      display: none;
      color: #00ff00;
      font-size: 24px;
      cursor: pointer;
    }

    /* --- HERO SECTION STYLES --- */
    .hero {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 60px 8%;
      background-color: #000;
      color: #00ffcc;
      min-height: calc(100vh - 80px);
      width: 100%;
      max-width: 1400px;
      margin: 0 auto;
      gap: 40px;
    }

    .hero-text {
      flex: 1;
      max-width: 650px;
      animation: fadeIn 1.5s ease;
    }

    .hero-text h1 {
      font-size: 38px;
      line-height: 1.3;
      color: #00ffcc;
      margin-bottom: 20px;
      word-wrap: break-word;
    }

    .hero-text .highlight {
      color: #39ff14;
      text-shadow: 0 0 8px #39ff14;
    }

    .hero-text p {
      font-size: 18px;
      line-height: 1.6;
      color: #ccc;
      margin-bottom: 35px;
    }

    .cta-button {
      display: inline-block;
      padding: 12px 30px;
      background: #00ffcc;
      color: #000;
      text-decoration: none;
      font-weight: bold;
      border-radius: 5px;
      box-shadow: 0 0 10px #00ffcc, 0 0 20px rgba(0, 255, 204, 0.4);
      transition: 0.3s ease;
      text-align: center;
    }

    .cta-button:hover {
      background: #39ff14;
      box-shadow: 0 0 15px #39ff14, 0 0 25px rgba(57, 255, 20, 0.5);
      transform: translateY(-2px);
    }

    /* Hero Media Image Area */
    .hero-image {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      max-width: 450px;
    }

    .hero-image img {
      width: 100%;
      height: auto;
      filter: drop-shadow(0 0 10px #00ffcc);
      animation: float 5s ease-in-out infinite;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-15px); }
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* =======================================================
       RESPONSIVE MEDIA QUERIES (DESKTOP + MOBILE PERFECT)
       ======================================================= */
    
    @media screen and (max-width: 1024px) {
      .hero-text h1 { font-size: 32px; }
      nav { padding: 15px 4%; }
    }

    @media screen and (max-width: 768px) {
      .logo {
        flex: none; /* মোবাইলে লোগোর ফ্লেক্স গ্রো বন্ধ করা হলো */
      }

      /* Mobile Hamburger Icon configuration */
      .menu-icon {
        display: block;
      }

      /* Navigation Links transforming into a mobile dropdown menu */
      .nav-container {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        border-bottom: 2px solid #00ff00;
        padding: 30px 0;
        gap: 20px;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.8);
        flex: none;
      }

      .nav-links {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin: 0; /* মোবাইলে মার্জিন অটো রিমুভ করা হলো */
      }

      .nav-links li {
        width: 100%;
      }

      .search-box {
        margin-top: 10px;
        justify-content: center;
      }

      .search-box input {
        width: 180px; 
      }

      /* Checkbox Toggle Logic */
      #menu-toggle:checked ~ .nav-container {
        display: flex;
      }

      #menu-toggle:checked ~ .menu-icon i::before {
        content: "\f00d"; 
      }

      /* Hero Section layout on Mobile */
      .hero {
        flex-direction: column-reverse; 
        text-align: center;
        padding: 40px 5%;
        justify-content: center;
        min-height: auto;
      }

      .hero-text {
        max-width: 100%;
      }

      .hero-text h1 {
        font-size: 26px;
      }

      .hero-image {
        max-width: 280px;
        margin-bottom: 20px;
      }
    }

    @media screen and (max-width: 400px) {
      .logo { font-size: 20px; }
      .hero-text h1 { font-size: 22px; }
      .cta-button { width: 100%; }
    }


              /* section 3 */




              /* --- NEW HACKER SECTIONS STYLES --- */
.section-title {
  text-align: center;
  color: #00ff00;
  font-size: 32px;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* 1. COURSES SECTION */
.courses-section {
  padding: 80px 8%;
  background: #050505;
  border-top: 1px solid #111;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.course-card {
  background: #000;
  border: 1px solid #00ff00;
  padding: 30px 20px;
  border-radius: 4px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: #00ffcc;
  transform: scaleX(0);
  transition: 0.3s ease;
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 255, 0, 0.2);
}

.course-icon {
  font-size: 40px;
  color: #00ffcc;
  margin-bottom: 15px;
}

.course-card h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 15px;
}

.course-card p {
  color: #888;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* 2. TERMINAL WINDOW SECTION */
.terminal-section {
  padding: 80px 8%;
  background: #000;
}

.terminal-container {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #333;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,255,204,0.1);
}

.terminal-header {
  background: #111;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #222;
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
  color: #666;
  margin-left: 20px;
  font-size: 14px;
}

.terminal-body {
  background: #050505;
  padding: 25px;
  color: #39ff14;
  font-size: 16px;
  line-height: 1.8;
}

.cmd { color: #fff; }
.output { color: #00ffcc; margin-bottom: 15px; }

/* Blinking Cursor Effect */
.blink {
  animation: blinker 1s linear infinite;
}
@keyframes blinker {
  50% { opacity: 0; }
}

/* --- MOBILE RESPONSIVE ADAPTATION --- */
@media screen and (max-width: 768px) {
  .section-title { font-size: 26px; }
}






/* footer */



/* =======================================================
   PROFESSIONAL HACKER FOOTER WITH ADSENSE CSS
   ======================================================= */
.cyber-footer {
  background: #000;
  border-top: 2px solid #00ff00;
  padding: 50px 8% 20px 8%;
  color: #ccc;
  font-family: 'Share Tech Mono', monospace;
}

/* Google AdSense Styling */
.adsense-container {
  max-width: 1200px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.adsense-label {
  color: rgba(0, 255, 0, 0.4);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.adsense-box {
  background: #050505;
  border: 1px dashed rgba(0, 255, 204, 0.3);
  min-height: 90px; /* Standard Leaderboard Height */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  padding: 10px;
}

.adsense-placeholder {
  color: #00ffcc;
  font-size: 14px;
  text-shadow: 0 0 5px rgba(0, 255, 204, 0.3);
}

/* Grid Layout */
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid #111;
}

.footer-col h4 {
  color: #00ff00;
  font-size: 18px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col .footer-logo {
  color: #00ff00;
  font-size: 24px;
  text-shadow: 0 0 8px #00ff00;
  margin-bottom: 15px;
}

.footer-desc {
  color: #888;
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 15px;
}

.footer-info {
  color: #fff;
  font-size: 15px;
  margin-bottom: 8px;
}

.footer-info i {
  color: #00ffcc;
  margin-right: 8px;
}

/* Links */
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: #aaa;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s ease;
}

.footer-links li a:hover {
  color: #00ff00;
  padding-left: 5px;
}

/* Social Media Terminals */
.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  color: #000;
  background: #00ffcc;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 0 5px rgba(0, 255, 204, 0.4);
  transition: 0.3s ease;
}

.footer-socials a:hover {
  background: #39ff14;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 0 10px #39ff14;
}

/* Bottom Area */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  color: #555;
}

.footer-bottom a {
  color: #00ff00;
  text-decoration: none;
}

/* RESPONSIVE FOR MOBILE */
@media screen and (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-socials {
    justify-content: center;
  }

  .footer-links li a:hover {
    padding-left: 0; /* মোবাইলে প্যাডিং শিফট বন্ধ */
  }
}