:root {
  --primary: #0f2942;
  --primary-light: #1c446b;
  --accent: #c59b27;
  --accent-hover: #a8821d;
  --text-dark: #1e293b;
  --text-muted: #475569;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background-color: var(--white);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Disclaimer Bar */
.disclaimer-bar {
  background-color: #fef3c7;
  color: #78350f;
  font-size: 0.85rem;
  padding: 10px 0;
  border-bottom: 1px solid #fde68a;
  text-align: center;
}

.disclaimer-bar a {
  color: #78350f;
  font-weight: 700;
  text-decoration: underline;
}

/* Navbar */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.nav-links a.nav-ext-link {
  color: var(--primary);
  font-weight: 700;
  background: #f1f5f9;
  padding: 5px 11px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.nav-links a.nav-ext-link:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.lang-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
}

.lang-btn:hover {
  background: var(--primary-light);
}

/* Hero with Photo Grid */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #163a5c 100%);
  color: var(--white);
  padding: 72px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(197, 155, 39, 0.2);
  border: 1px solid var(--accent);
  color: #facc15;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 2.35rem;
  margin-bottom: 20px;
  line-height: 1.25;
}

.hero-lead {
  margin-bottom: 30px;
  font-size: 1.06rem;
  color: #cbd5e1;
}

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

/* Photo Card */
.hero-photo-wrapper {
  display: flex;
  justify-content: center;
}

.photo-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 14px;
  max-width: 320px;
  width: 100%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.photo-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  display: block;
}

.photo-fallback {
  width: 100%;
  height: 320px;
  background: #1c446b;
  border-radius: 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #facc15;
}

.photo-fallback span {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.photo-fallback small {
  color: #cbd5e1;
  font-size: 0.8rem;
  margin-top: 6px;
}

.photo-caption {
  padding-top: 12px;
  text-align: center;
}

.photo-caption strong {
  display: block;
  font-size: 1.05rem;
  color: var(--white);
}

.photo-caption span {
  font-size: 0.82rem;
  color: #facc15;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
}

.btn-secondary {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--primary-light);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* Sections */
.section {
  padding: 70px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

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

.section-header h2 {
  font-size: 1.9rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-subtitle {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.underline {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0 auto;
  border-radius: 2px;
}

/* Statement Card */
.statement-card {
  background: var(--white);
  border-left: 5px solid var(--accent);
  padding: 36px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.statement-card p {
  margin-bottom: 18px;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.signature-row {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.signature {
  display: flex;
  flex-direction: column;
}

.signature span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.signature a {
  color: var(--primary);
  font-weight: 600;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 22px;
  margin-bottom: 32px;
}

.timeline-marker {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-top: 4px;
}

.timeline-content {
  background: var(--bg-light);
  padding: 22px 26px;
  border-radius: 8px;
  border: 1px solid var(--border);
  flex: 1;
}

.timeline-content h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.18rem;
}

/* Works Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.work-card {
  background: var(--white);
  padding: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: #e2e8f0;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.work-card h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.work-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Video Lectures Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.video-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info {
  padding: 22px;
}

.video-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: #fef3c7;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.video-info h3 {
  color: var(--primary);
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.video-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.youtube-cta {
  text-align: center;
  margin-top: 34px;
}

/* Solidarity */
.solidarity-section {
  background: var(--primary);
  color: var(--white);
  text-align: center;
}

.solidarity-section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.solidarity-desc {
  max-width: 650px;
  margin: 0 auto 30px;
  color: #cbd5e1;
}

.support-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 480px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 10px;
}

.counter-display {
  margin-bottom: 22px;
}

.counter-display span {
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
  color: #facc15;
  line-height: 1.1;
}

.counter-display small {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.btn-large {
  width: 100%;
  font-size: 1.05rem;
  padding: 14px;
}

.pledge-msg {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #86efac;
  min-height: 22px;
}

/* Footer */
.footer {
  background: #091929;
  color: #94a3b8;
  padding: 50px 0 20px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 30px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 10px;
}

.footer-portal-link {
  display: inline-block;
  color: #facc15;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(250, 204, 21, 0.4);
  padding: 7px 14px;
  border-radius: 5px;
}

.footer-portal-link:hover {
  background: rgba(250, 204, 21, 0.12);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.footer-bottom a {
  color: #cbd5e1;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero h1 {
    font-size: 1.85rem;
  }
  .statement-card {
    padding: 24px;
  }
}
