:root {
  --green-deep:  #0F1E0A;
  --green-dark:  #1a330f;
  --green-mid:   #2A4D1A;
  --green-light: #3D6B28;
  --gold:        #C8A84B;
  --gold-light:  #E8C96A;
  --gold-pale:   #F5E6A3;
  --cream:       #F7F0DC;
  --cream-dark:  #EDE3C4;
  --white:       #FEFCF5;
  --text-dark:   #0D1A08;
  --text-muted:  #5A7245;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Crimson Pro', 'Noto Sans Bengali', serif;
  background: var(--green-deep);
  color: var(--cream);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.lang-bar {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 8px 32px;
  background: rgba(15, 30, 10, 0.95);
  border-bottom: 1px solid rgba(200, 168, 75, 0.2);
  backdrop-filter: blur(10px);
}

.lang-toggle {
  display: flex;
  border: 1px solid rgba(200, 168, 75, 0.4);
  border-radius: 4px;
  overflow: hidden;
}

.lang-btn {
  padding: 4px 14px;
  background: transparent;
  border: none;
  color: var(--gold);
  font-family: 'Crimson Pro', serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 600;
}

.lang-btn:hover:not(.active) { background: rgba(200, 168, 75, 0.1); }

nav {
  position: fixed;
  top: 36px; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(15, 30, 10, 0.9);
  border-bottom: 1px solid rgba(200, 168, 75, 0.15);
  backdrop-filter: blur(12px);
  transition: all 0.3s;
}

nav.scrolled {
  padding: 10px 48px;
  background: rgba(11, 22, 7, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-emblem {
  width: 48px; height: 48px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0D1E08;
  overflow: hidden;
  padding: 3px;
  flex-shrink: 0;
}

.logo-emblem img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.logo-text { line-height: 1.1; }

.logo-text .main {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}

.logo-text .sub {
  font-size: 0.68rem;
  color: rgba(200, 168, 75, 0.6);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: rgba(247, 240, 220, 0.7);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta { display: flex; gap: 10px; }

.btn {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-block;
}

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover { background: rgba(200, 168, 75, 0.12); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--green-deep);
  border: none;
  font-weight: 700;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 20px rgba(200, 168, 75, 0.35);
}

.btn-lg { padding: 14px 34px; font-size: 0.72rem; }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 48px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(61, 107, 40, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 90% 80%, rgba(200, 168, 75, 0.06) 0%, transparent 60%),
    linear-gradient(160deg, var(--green-deep) 0%, #0A1606 50%, #060E04 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  border: 1px solid rgba(200, 168, 75, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(200, 168, 75, 0.03),
    0 0 0 120px rgba(200, 168, 75, 0.02),
    0 0 0 200px rgba(200, 168, 75, 0.01);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(200, 168, 75, 0.35);
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 28px;
  background: rgba(200, 168, 75, 0.05);
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-badge span {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
}

.hero-badge::before { content: '◆'; font-size: 8px; color: var(--gold); }

h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 8px;
}

h1 .highlight { color: var(--gold); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(247, 240, 220, 0.7);
  line-height: 1.7;
  margin: 24px 0 40px;
  max-width: 540px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  position: absolute;
  right: 48px; top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
}

.stat-card {
  background: rgba(27, 50, 16, 0.6);
  border: 1px solid rgba(200, 168, 75, 0.2);
  border-left: 3px solid var(--gold);
  padding: 20px 28px;
  min-width: 200px;
  backdrop-filter: blur(8px);
  animation: fadeInRight 0.6s ease both;
}

.stat-card:nth-child(2) { animation-delay: 0.1s; }
.stat-card:nth-child(3) { animation-delay: 0.2s; }
.stat-card:nth-child(4) { animation-delay: 0.3s; }

.stat-num {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(247, 240, 220, 0.6);
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.gold-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

section { position: relative; z-index: 1; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-header { text-align: center; margin-bottom: 60px; }

.section-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}

.section-desc {
  margin-top: 14px;
  color: rgba(247, 240, 220, 0.6);
  font-size: 1.05rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.about-strip {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--green-deep) 0%, #0C1808 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-img-area { position: relative; }

.military-frame {
  border: 2px solid rgba(200, 168, 75, 0.3);
  padding: 4px;
  position: relative;
}

.military-frame::before, .military-frame::after {
  content: '★';
  position: absolute;
  color: var(--gold);
  font-size: 18px;
}

.military-frame::before { top: -12px; left: 50%; transform: translateX(-50%); }
.military-frame::after { bottom: -12px; left: 50%; transform: translateX(-50%); }

.frame-inner {
  background: linear-gradient(135deg, var(--green-dark), var(--green-deep));
  border: 1px solid rgba(200, 168, 75, 0.15);
  padding: 48px;
  text-align: center;
}

.bauet-seal {
  width: 140px; height: 140px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 12px rgba(200, 168, 75, 0.18));
}

.bauet-seal img {
  width: 130px; height: 130px;
  object-fit: contain;
}

.frame-title {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 6px;
}

.frame-sub {
  font-size: 0.8rem;
  color: rgba(200, 168, 75, 0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-text h2 { text-align: left; }
.about-text .section-tag { text-align: left; }

.about-body {
  margin-top: 20px;
  color: rgba(247, 240, 220, 0.75);
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-features {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: rgba(27, 50, 16, 0.4);
  border: 1px solid rgba(200, 168, 75, 0.12);
  border-radius: 2px;
}

.feat-icon { font-size: 1.3rem; flex-shrink: 0; }
.feat-label { font-size: 0.85rem; color: rgba(247, 240, 220, 0.8); }

.modules-section { padding: 100px 0; background: var(--green-deep); }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(200, 168, 75, 0.1);
  border: 1px solid rgba(200, 168, 75, 0.15);
}

.module-card {
  background: var(--green-deep);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  cursor: default;
}

.module-card:hover { background: rgba(27, 50, 16, 0.9); }

.module-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.3s;
  transform-origin: bottom;
}

.module-card:hover::before { transform: scaleY(1); }

.module-num {
  font-family: 'Cinzel', serif;
  font-size: 3rem; font-weight: 900;
  color: rgba(200, 168, 75, 0.08);
  position: absolute; top: 20px; right: 24px;
  line-height: 1;
}

.module-icon { font-size: 2rem; margin-bottom: 20px; }

.module-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem; font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.module-title-bn {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 0.88rem;
  color: rgba(200, 168, 75, 0.7);
  margin-bottom: 14px;
}

.module-desc {
  font-size: 0.9rem;
  color: rgba(247, 240, 220, 0.6);
  line-height: 1.6;
}

.module-tag {
  display: inline-block;
  margin-top: 18px;
  padding: 3px 10px;
  background: rgba(200, 168, 75, 0.1);
  border: 1px solid rgba(200, 168, 75, 0.25);
  border-radius: 2px;
  font-family: 'Cinzel', serif;
  font-size: 0.58rem; letter-spacing: 2px;
  color: rgba(200, 168, 75, 0.7);
  text-transform: uppercase;
}

.how-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #0C1808 0%, var(--green-deep) 100%);
}

.steps-container { display: flex; gap: 0; position: relative; }

.steps-container::before {
  content: '';
  position: absolute;
  top: 40px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.2;
}

.step {
  flex: 1;
  padding: 0 24px;
  text-align: center;
  position: relative;
  animation: fadeInUp 0.5s ease both;
}

.step:nth-child(2) { animation-delay: 0.1s; }
.step:nth-child(3) { animation-delay: 0.2s; }
.step:nth-child(4) { animation-delay: 0.3s; }

.step-circle {
  width: 80px; height: 80px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  background: var(--green-deep);
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--gold);
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.step:hover .step-circle {
  background: rgba(200, 168, 75, 0.15);
  box-shadow: 0 0 30px rgba(200, 168, 75, 0.2);
}

.step-title {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem; font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.step-title-bn {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 0.8rem;
  color: rgba(200, 168, 75, 0.7);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.85rem;
  color: rgba(247, 240, 220, 0.55);
  line-height: 1.6;
}

.categories-section { padding: 80px 0; }

.cat-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.cat-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border: 1px solid rgba(200, 168, 75, 0.2);
  background: rgba(27, 50, 16, 0.4);
  border-radius: 2px;
  cursor: default;
  transition: all 0.25s;
}

.cat-chip:hover {
  border-color: var(--gold);
  background: rgba(200, 168, 75, 0.08);
  transform: translateY(-2px);
}

.cat-chip-icon { font-size: 1.4rem; }

.cat-chip-text {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--cream);
}

.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #0D1E08 0%, #1B3210 50%, #0D1E08 100%);
  border-top: 1px solid rgba(200, 168, 75, 0.15);
  border-bottom: 1px solid rgba(200, 168, 75, 0.15);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.cta-section::before {
  content: 'BAUET';
  position: absolute;
  font-family: 'Cinzel', serif;
  font-size: 20vw; font-weight: 900;
  color: rgba(200, 168, 75, 0.02);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.cta-section h2 { position: relative; z-index: 1; }

.cta-section p {
  position: relative; z-index: 1;
  margin: 16px auto 40px;
  color: rgba(247, 240, 220, 0.65);
  max-width: 480px;
  font-size: 1.05rem;
}

.cta-buttons {
  position: relative; z-index: 1;
  display: flex; gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

footer {
  background: #060E04;
  padding: 60px 48px 30px;
  border-top: 1px solid rgba(200, 168, 75, 0.1);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand .logo-text .main { font-size: 1.2rem; }

.footer-about {
  margin-top: 16px;
  font-size: 0.88rem;
  color: rgba(247, 240, 220, 0.5);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(247, 240, 220, 0.5);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(200, 168, 75, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(247, 240, 220, 0.3);
}

.footer-gold-star {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 6px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.bn-inline { display: none; }
body.lang-bn .en-inline { display: none; }
body.lang-bn .bn-inline { display: inline; }

@media (max-width: 1024px) {
  .hero-stats { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 12px 20px; }
  .nav-links { display: none; }
  .hero { padding: 120px 20px 60px; }
  .section-inner { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .steps-container { flex-direction: column; gap: 40px; }
  .steps-container::before { display: none; }
}
