/* ===== JobBD Global Stylesheet ===== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Hind+Siliguri:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;600&display=swap');

:root {
  --primary: #00ffff;
  --primary-dim: rgba(0,255,255,0.12);
  --primary-border: rgba(0,255,255,0.2);
  --secondary: #3b82f6;
  --accent-green: #00e676;
  --accent-gold: #ffc107;
  --accent-red: #ff4560;
  --bg: #020617;
  --bg2: #05070a;
  --bg3: #080d14;
  --surface: rgba(255,255,255,0.03);
  --surface2: rgba(255,255,255,0.06);
  --border: rgba(0,255,255,0.15);
  --border2: rgba(0,255,255,0.08);
  --text: #e2e8f0;
  --text2: #94a3b8;
  --text3: #475569;
  --neon-shadow: 0 0 10px rgba(0,255,255,0.4), 0 0 25px rgba(0,255,255,0.15);
  --card-shadow: 0 4px 24px rgba(0,0,0,0.5);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --navbar-h: 64px;
  --footer-h: auto;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 100px;
  --font-display: 'Orbitron', monospace;
  --font-body: 'Rajdhani', 'Hind Siliguri', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient bg glows */
.bg-glow {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}
.bg-glow::before {
  content: ''; position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,255,255,0.06), transparent 70%);
  top: -200px; left: -200px;
  filter: blur(80px);
  animation: glow1 14s ease-in-out infinite alternate;
}
.bg-glow::after {
  content: ''; position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.06), transparent 70%);
  bottom: -200px; right: -200px;
  filter: blur(80px);
  animation: glow2 18s ease-in-out infinite alternate;
}
@keyframes glow1 { 0%{transform:translate(0,0);} 100%{transform:translate(80px,60px);} }
@keyframes glow2 { 0%{transform:translate(0,0);} 100%{transform:translate(-60px,-80px);} }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  background: rgba(2,6,23,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
  z-index: 1000;
  transition: var(--transition);
}
.navbar::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.3;
}
.navbar.scrolled {
  background: rgba(2,6,23,0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-shadow: 0 0 8px var(--primary);
}
.nav-logo-text .b { color: #ff4444; }
.nav-logo-text .d { color: #00e676; }

/* Nav links - desktop */
.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.58rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text2);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: var(--primary-dim);
  text-shadow: 0 0 8px var(--primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
  background: none; border: none;
  z-index: 1200;
}
.hamburger span {
  display: block; width: 24px; height: 2.5px;
  background: var(--primary);
  border-radius: 10px;
  box-shadow: 0 0 5px var(--primary);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(2,6,23,0.97);
  backdrop-filter: blur(25px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  clip-path: circle(0% at calc(100% - 36px) 32px);
  transition: clip-path 0.6s cubic-bezier(0.77,0,0.175,1);
  z-index: 1100;
}
.mobile-menu.open { clip-path: circle(160% at calc(100% - 36px) 32px); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text2); text-decoration: none;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  width: 260px; text-align: center;
  transition: var(--transition);
}
.mobile-menu a:hover {
  color: var(--primary);
  border-color: var(--border);
  background: var(--primary-dim);
  text-shadow: var(--neon-shadow);
}
.mobile-menu-close {
  position: absolute; top: 18px; right: 20px;
  font-size: 1.6rem; color: var(--primary);
  background: none; border: none; cursor: pointer;
  line-height: 1;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 0.95rem;          /* ছোট করা হলো */
  font-weight: 500;            /* একটু কম ভারী */
  letter-spacing: 0.5px;       /* ঘন করা হলো */
  text-transform: none;        /* uppercase বন্ধ */
  color: var(--text2);
  text-decoration: none;

  padding: 8px 20px;          /* কম padding = ঘন look */
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  width: 200px;                /* একটু কম width */
  text-align: center;

  transition: var(--transition);
}
.mobile-menu {
  gap: 2px;   /* আগে 8px ছিল → এখন অনেক ঘন */
}
/* ===== FOOTER ===== */
.footer {
  background: rgba(2,6,23,0.9);
  border-top: 1px solid var(--border2);
  backdrop-filter: blur(20px);
  padding: 40px 20px 24px;
  margin-top: auto;
}
.footer-inner {
  max-width: 900px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--primary);
  text-shadow: 0 0 8px var(--primary);
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 0.85rem; color: var(--text2); line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.6rem; letter-spacing: 2px;
  color: var(--primary); margin-bottom: 14px;
  text-transform: uppercase;
}
.footer-col a {
  display: block; font-size: 0.85rem;
  color: var(--text2); text-decoration: none;
  padding: 4px 0; transition: var(--transition);
}
.footer-col a:hover { color: var(--primary); padding-left: 6px; }
.footer-bottom {
  max-width: 900px; margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: var(--text3);
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: var(--primary); text-decoration: none; }
.footer-bottom a:hover { text-shadow: 0 0 8px var(--primary); }

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ===== CARDS ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}
.card:hover {
  border-color: var(--border);
  box-shadow: 0 0 20px rgba(0,255,255,0.06);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: none;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000; font-weight: 700;
}
.btn-primary:hover {
  box-shadow: var(--neon-shadow);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary-dim); }

/* ===== SEARCH BAR ===== */
.search-wrap {
  position: relative; width: 100%; max-width: 640px; margin: 0 auto;
}
.search-input {
  width: 100%; padding: 16px 60px 16px 24px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-pill);
  color: var(--text); font-size: 1rem; font-family: var(--font-body);
  backdrop-filter: blur(12px);
  outline: none; transition: var(--transition);
}
.search-input::placeholder { color: var(--text3); }
.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,255,255,0.1), var(--neon-shadow);
}
.search-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none; cursor: pointer; color: #000; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  box-shadow: 0 0 12px rgba(0,255,255,0.3);
}
.search-btn:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: var(--neon-shadow);
}

/* ===== UTILITY ===== */
.neon-text { color: var(--primary); text-shadow: var(--neon-shadow); }
.page-wrap { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.section-title {
  font-family: var(--font-display);
  font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.section-title::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,255,255,0.2); border-radius: 4px; }

/* ===== RESPONSIVE NAVBAR ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .navbar { padding: 0 16px; }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 8px rgba(0,255,255,0.3); }
  50% { box-shadow: 0 0 20px rgba(0,255,255,0.6); }
}
.anim-fade { animation: fadeInUp 0.5s ease both; }
.anim-fade-d1 { animation-delay: 0.1s; }
.anim-fade-d2 { animation-delay: 0.2s; }
.anim-fade-d3 { animation-delay: 0.3s; }
