.hero-section {
  background: linear-gradient(180deg, #fdfbf7 0%, #f3eae0 100%);
  min-height: calc(100vh - 148px);
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 4vw, 28px) clamp(12px, 4vw, 32px) 12px;
  font-family:
    "Poppins",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  position: relative;
}

.hero-container {
  max-width: 1200px;
  min-height: cal(100vh-100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

.live-tag {
  background-color: #d9534f;
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #34d399;
}

.hero-title {
  font-size: clamp(34px, 6vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #0f172a;
}

.hero-title .highlight-line {
  box-shadow: inset 0 -0.1em 0 #d9534f;
  display: inline;
}

.hero-description {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background-color: #d9534f;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease;
}

.btn-cta-primary:hover {
  background-color: #b03430;
}

.btn-cta-secondary {
  background-color: #ffffff;
  color: #1e293b;
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.btn-cta-secondary:hover {
  background-color: #f8fafc;
  border-color: #94a3b8;
}

.hero-link-arrow {
  text-decoration: none;
  color: #d9534f;
  font-size: 13.5px;
  font-weight: 600;
  margin-left: 6px;
  transition: translate 0.3s ease;
}

.hero-link-arrow:hover {
  translate: 3px -3px;
}

.hero-link-arrow:hover .title {
  text-decoration: underline;
}

.stats-wrapper {
  max-width: 620px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.stats-header-title {
  grid-column: 1 / -1;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: #d9534f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-card {
  padding: 16px 14px;
  border-right: 1px solid #f1f5f9;
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-size: 22px;
  font-weight: 700;
  color: #d9534f;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.order-board {
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: clamp(16px, 3vw, 24px);
  color: #0f172a;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 14px;
}

.board-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  color: #d9534f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.board-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

.board-date-badge {
  margin-top: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(10px, 0.8px + 0.5vw, 16px);
  font-weight: 600;
  color: white;
  background: #d9534f;
  padding: 4px 10px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

.guidelines-subtitle {
  font-size: 12px;
  color: #475569;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1.5px solid #d9534f;
}

.guidelines-body {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guideline-section {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
}

.guideline-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.guideline-section-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: #d9534f;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.guideline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guideline-list li {
  font-size: 12px;
  line-height: 1.5;
  color: #334155;
}

.guidelines-footer {
  margin-top: 10px;
  padding-top: 10px;
  font-size: 11.8px;
  color: #475569;
}

.guidelines-footer a {
  color: #2563eb;
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
}

.guidelines-footer a:hover {
  text-decoration: underline;
}

.notice-ticker-bar {
  position: relative;
  margin: auto 0 0;
  width: 100%;
  margin-left: 0;
  background-color: #0b1320;
  color: #e2e8f0;
  font-size: 12px;
  padding: 10px clamp(12px, 4vw, 32px);
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

@media (max-width: 1050px) {
  .hero-section {
    min-height: calc(100vh - 250px);
    padding-bottom: 45px;
  }

  .notice-ticker-bar {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .hero-section {
    min-height: calc(100vh - 205px);
  }
}

.notice-pill {
  background-color: #991b1b;
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.notice-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
}

.notice-content {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  /* Infinite seamless loop animation */
  animation: marquee-seamless 35s linear infinite;
}

.notice-content:hover {
  animation-play-state: paused;
}

.notice-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #cbd5e1;
}

.notice-item::before {
  content: "◆";
  color: #d9534f;
  font-size: 8px;
}

/* Seamless loop keyframe logic (-50% shifts perfectly to the start of duplicate set) */
@keyframes marquee-seamless {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

.portal-identity {
  max-width: 1200px;
  margin: 0 auto 28px;
  padding: 10px 16px;
  border: 1px solid #d8e0e8;
  border-left: 4px solid #d9534f;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: clamp(7px, 2vw, 24px);
  flex-wrap: wrap;
  color: #334155;
  font:
    600 11px "JetBrains Mono",
    monospace;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.portal-identity i {
  color: #d9534f;
  margin-right: 6px;
}

.portal-identity-spacer {
  width: min(100%, 1200px);
  min-height: 38px;
  margin: 0 auto 28px;
  flex: 0 0 auto;
}

.rti-video-section {
  width: min(100%, 1200px);
  margin: clamp(32px, 5vw, 56px) auto 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #d8e0e8;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.rti-video-heading {
  margin-bottom: clamp(18px, 3vw, 26px);
}

.rti-video-label {
  display: block;
  margin-bottom: 6px;
  color: #d9534f;
  font: 700 11px "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rti-video-heading h2 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 750;
}

.rti-video-heading p {
  margin: 0;
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.55;
}

.rti-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.rti-video-card {
  min-width: 0;
  padding: clamp(14px, 2vw, 18px);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
}

.rti-video-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 68px;
  margin-bottom: 14px;
}

.rti-video-card-heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
  background: #fce8e7;
  color: #b83f3b;
  font: 700 11px "JetBrains Mono", monospace;
}

.rti-video-card-heading h3 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 700;
}

.rti-video-card-heading p {
  margin: 0;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.45;
}

.rti-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #0f172a;
}

@media (max-width: 760px) {
  .rti-video-grid {
    grid-template-columns: 1fr;
  }

  .rti-video-card-heading {
    min-height: 0;
  }
}

.rti-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-title::before {
  content: "Right to Information Act, 2005";
  display: block;
  margin-bottom: 12px;
  color: #d9534f;
  font:
    700 11px "JetBrains Mono",
    monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-board {
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(10, 41, 72, 0.1);
}

.btn-cta-primary,
.btn-cta-secondary {
  border-radius: 4px;
}

.stats-grid {
  border-radius: 4px;
}
