/* ================================================================
   SHARED SECTION LAYOUT
   ================================================================ */
.section-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================================================================
   HERO SLIDER
   ================================================================ */
.hero-section {
  background: #fff;
  border-bottom: 1px solid #e8e8f0;
  overflow: hidden;
}

.hero-slider,
.hero-static-banner {
  position: relative;
  background-color: #0b112c;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 45%, rgba(255, 255, 255, 0.25) 80%, transparent 100%), url('../assets/banner2.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 480px;
  overflow: hidden;
}

/* Subtle dot grid overlay for professional modern government feel */
.hero-slider::after,
.hero-static-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(26, 26, 78, 0.05) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
}

.hero-slide {
  display: none;
  width: 100%;
  position: relative;
  opacity: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 480px;
}

/* Dynamic Banner Backgrounds with transparent linear gradients */
.hero-slide.slide-1,
.hero-slide:nth-of-type(1) {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 45%, rgba(255, 255, 255, 0.25) 80%, transparent 100%), url('../assets/banner1.png');
}

.hero-slide.slide-2,
.hero-slide:nth-of-type(2) {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 45%, rgba(255, 255, 255, 0.25) 80%, transparent 100%), url('../assets/banner2.png');
}

.hero-slide.slide-3,
.hero-slide:nth-of-type(3) {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 45%, rgba(255, 255, 255, 0.25) 80%, transparent 100%), url('../assets/banner.png');
}

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

.hero-slide.active {
  display: block;
  opacity: 1;
  animation: fadeInSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 52px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  min-height: 440px;
  position: relative;
  z-index: 2;
}

/* Hero text with frosted glass card for high readability over clear background */
.hero-text {
  max-width: 850px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  -webkit-backdrop-filter: blur(12px);
  padding: 32px 24px;
  border-radius: 16px;
}

/* Gov badges */
.gov-badge-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.gov-badge-tag {
  background: var(--navy);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 4px;
  border-left: 3px solid var(--orange);
}

.hero-pre {
  color: var(--orange);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 6px;
}

.hero-title-main {
  color: #1a1a4e;
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.hero-title-accent {
  color: var(--orange);
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.hero-desc {
  color: #4a4a5a;
  font-size: 0.92rem;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 0 20px;
}

/* ================================================================
   HERO INFORMATION CARDS (DPIIT, Govt of India, EODB)
   ================================================================ */
.hero-cards-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 14px;
  margin-top: 10px;
  width: 100%;
}

.hero-feature-card {
  flex: 1 1 0px;
  min-width: 230px;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.hero-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

/* Card Themes */
.hero-feature-card.card-dpiit {
  border-color: rgba(26, 26, 78, 0.2);
}

.hero-feature-card.card-dpiit .hero-card-icon-wrap {
  background: linear-gradient(135deg, #1a1a4e 0%, #0b112c 100%);
  color: #ffffff;
}

.hero-feature-card.card-dpiit .hero-card-title {
  color: #1a1a4e;
}

.hero-feature-card.card-gov {
  border-color: rgba(39, 174, 96, 0.25);
}

.hero-feature-card.card-gov .hero-card-icon-wrap {
  background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
  color: #ffffff;
}

.hero-feature-card.card-gov .hero-card-title {
  color: #1e8449;
}

.hero-feature-card.card-eodb {
  border-color: rgba(232, 108, 26, 0.25);
}

.hero-feature-card.card-eodb .hero-card-icon-wrap {
  background: linear-gradient(135deg, #e86c1a 0%, #c55a12 100%);
  color: #ffffff;
}

.hero-feature-card.card-eodb .hero-card-title {
  color: #c55a12;
}

/* Card internal structure */
.hero-card-icon-wrap {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.hero-card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 2px 0;
  line-height: 1.2;
}

.hero-card-text {
  font-size: 0.72rem;
  color: #4b5563;
  line-height: 1.35;
  margin: 0;
  font-weight: 400;
}

.hero-card-subtext {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 1px;
}

@media (max-width: 900px) {
  .hero-cards-container {
    flex-wrap: wrap;
  }
  .hero-feature-card {
    flex: 1 1 100%;
  }
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.hero-btn-primary {
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 4px;
  border: 1px solid var(--navy);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(26, 26, 78, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: #fff;
  transform: translateY(-1px);
}

.hero-btn-secondary {
  background: transparent;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 4px;
  border: 1px solid var(--navy);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-btn-secondary:hover {
  background: rgba(26, 26, 78, 0.06);
  color: var(--navy);
  transform: translateY(-1px);
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #ddd;
  color: #1a1a4e;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

.slider-arrow:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.prev-arrow {
  left: 12px;
}

.next-arrow {
  right: 12px;
}

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(26, 26, 78, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}

.dot.active {
  background: var(--orange);
  width: 26px;
  border-radius: 5px;
}

/* ================================================================
   QUICK ACCESS LINKS
   ================================================================ */
.quick-links-section {
  background: #ffffff;
  padding: 20px 0;
  border-bottom: 1px solid #ebebf0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.quick-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 10px 14px;
  color: #1a1a4e;
  text-decoration: none;
  border-right: 1px solid #ebebf0;
  transition: all 0.2s;
  text-align: center;
  cursor: pointer;
}

.quick-link-card:last-child {
  border-right: none;
}

.quick-link-card:hover {
  background: #fff8f3;
  color: var(--orange);
}

.ql-icon {
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.ql-label {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  color: inherit;
}

.ql-sublabel {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  color: inherit;
}

/* ================================================================
   VIDEO SECTION
   ================================================================ */
.video-section {
  background: #f5f6fa;
  padding: 36px 0;
  border-bottom: 1px solid #e0e0ea;
}

.video-row {
  display: flex;
  align-items: flex-start;
  gap: 36px;
}

.video-embed-wrap {
  flex: 0 0 520px;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.video-iframe {
  width: 100%;
  height: 300px;
  display: block;
  border: none;
}

.video-info {
  flex: 1;
  padding-top: 4px;
}

.video-title {
  color: var(--orange);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 14px;
}

.video-desc {
  color: #444;
  font-size: 0.83rem;
  line-height: 1.75;
  margin: 0 0 20px;
}

.view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 2px solid var(--navy);
  color: var(--navy);
  background: #fff;
  padding: 9px 18px;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.view-more-btn:hover {
  background: var(--navy);
  color: #fff;
}

/* ================================================================
   ABOUT SECTIONS
   ================================================================ */
.about-section {
  padding: 36px 0;
  background: #ffffff;
  border-bottom: 1px solid #ebebf0;
}

.about-section-alt {
  background: #f9f9fc;
}

.about-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.about-icon-col {
  flex: 0 0 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-top: 4px;
}

.about-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--orange-bg);
  border: 2px solid var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.about-icon-line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  margin-top: 6px;
}

.about-content-col {
  flex: 1;
  min-width: 0;
}

.about-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a4e;
  margin: 0 0 8px;
}

.about-underline {
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 16px;
}

.about-para {
  color: #444;
  font-size: 0.82rem;
  line-height: 1.85;
  margin: 0 0 10px;
  text-align: justify;
}

.about-para:last-child {
  margin-bottom: 0;
}

/* ================================================================
   GUIDELINES & PRESS RELEASES — two-column section
   ================================================================ */
.info-two-col-section {
  background: #f5f6fa;
  padding: 40px 0;
  border-bottom: 1px solid #e0e0ea;
}

.info-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* shared column container */
.info-col {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e4e6f0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

/* column header bar */
.info-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.guideline-header {
  background: #1a1a4e;
}

.press-header {
  background: #1a1a4e;
}

.info-col-icon {
  color: #fff;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.info-col-title {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.2px;
}

.info-col-viewall {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.info-col-viewall:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

/* ── GUIDELINES & PRESS RELEASES — scrollable containers ─────── */
.guideline-scroll-wrap,
.guideline-marquee-wrap,
.press-scroll-wrap {
  height: 280px;
  overflow-y: auto !important;
  scroll-behavior: smooth;
  position: relative;
}

/* top + bottom fade masks removed for scrollbar visibility */
.guideline-marquee-wrap::before,
.guideline-marquee-wrap::after {
  display: none;
}

.guideline-marquee-track {
  display: flex;
  flex-direction: column;
  animation: none !important;
}

/* Custom Scrollbars — sleek navy thumb */
.guideline-scroll-wrap::-webkit-scrollbar,
.guideline-marquee-wrap::-webkit-scrollbar,
.press-scroll-wrap::-webkit-scrollbar {
  width: 6px;
}

.guideline-scroll-wrap::-webkit-scrollbar-track,
.guideline-marquee-wrap::-webkit-scrollbar-track,
.press-scroll-wrap::-webkit-scrollbar-track {
  background: #f0f0f8;
  border-radius: 3px;
}

.guideline-scroll-wrap::-webkit-scrollbar-thumb,
.guideline-marquee-wrap::-webkit-scrollbar-thumb,
.press-scroll-wrap::-webkit-scrollbar-thumb {
  background: #1a1a4e;
  border-radius: 3px;
}

.guideline-scroll-wrap::-webkit-scrollbar-thumb:hover,
.guideline-marquee-wrap::-webkit-scrollbar-thumb:hover,
.press-scroll-wrap::-webkit-scrollbar-thumb:hover {
  background: #e86c1a;
}

.guideline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid #f0f0f8;
  transition: background 0.18s;
}

.guideline-item:last-child {
  border-bottom: none;
}

.guideline-item:hover {
  background: #fafaff;
}

.guideline-icon-wrap {
  color: #e86c1a;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.guideline-body {
  flex: 1;
  min-width: 0;
}

.guideline-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1a1a4e;
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.18s;
}

.guideline-title:hover {
  color: #e86c1a;
}

.guideline-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.guideline-date {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.70rem;
  color: #888;
}

.guideline-tag {
  font-size: 0.64rem;
  font-weight: 700;
  color: #fff;
  background: #e86c1a;
  padding: 1px 7px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.guideline-download {
  color: #1a1a4e;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 6px;
  border-radius: 4px;
  transition: color 0.18s, background 0.18s;
}

.guideline-download:hover {
  color: #e86c1a;
  background: #fff3eb;
}

/* ── PRESS RELEASES — scrollable container ───────────────────── */
.press-scroll-wrap {
  height: 240px;
  /* only show ~4 items at a time */
  overflow-y: auto;
  scroll-behavior: smooth;
}

/* custom scrollbar — thin, government navy/orange */
.press-scroll-wrap::-webkit-scrollbar {
  width: 5px;
}

.press-scroll-wrap::-webkit-scrollbar-track {
  background: #f0f0f8;
}

.press-scroll-wrap::-webkit-scrollbar-thumb {
  background: #1a1a4e;
  border-radius: 10px;
}

.press-scroll-wrap::-webkit-scrollbar-thumb:hover {
  background: #e86c1a;
}

.press-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid #f0f0f8;
  transition: background 0.18s;
}

.press-item:last-child {
  border-bottom: none;
}

.press-item:hover {
  background: #fafaff;
}

/* date calendar badge */
.press-date-badge {
  flex-shrink: 0;
  width: 44px;
  background: #1a1a4e;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0 5px;
  text-align: center;
  overflow: hidden;
}

.press-day {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.press-month {
  font-size: 0.62rem;
  font-weight: 700;
  color: #e86c1a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.press-year {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.2;
}

.press-body {
  flex: 1;
  min-width: 0;
}

.press-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1a1a4e;
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color 0.18s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.press-title:hover {
  color: #e86c1a;
}

.press-source {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.press-read-more {
  color: #1a1a4e;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 6px;
  border-radius: 4px;
  transition: color 0.18s, background 0.18s;
}

.press-read-more:hover {
  color: #e86c1a;
  background: #fff3eb;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .quick-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .quick-link-card:nth-child(3) {
    border-right: none;
  }

  .video-embed-wrap {
    flex: 0 0 420px;
  }
}

@media (max-width: 768px) {
  .hero-slide {
    background-position: center center;
  }

  .hero-slide.slide-1,
  .hero-slide:nth-of-type(1) {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 70%, rgba(255, 255, 255, 0.55) 100%), url('../assets/banner1.png');
  }

  .hero-slide.slide-2,
  .hero-slide:nth-of-type(2) {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 70%, rgba(255, 255, 255, 0.55) 100%), url('../assets/banner2.png');
  }

  .hero-slide.slide-3,
  .hero-slide:nth-of-type(3) {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 70%, rgba(255, 255, 255, 0.55) 100%), url('../assets/banner.png');
  }

  .hero-content {
    padding: 32px 20px;
    min-height: auto;
  }

  .hero-title-main,
  .hero-title-accent {
    font-size: 1.8rem;
  }

  .quick-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .video-row {
    flex-direction: column;
  }

  .video-embed-wrap {
    flex: none;
    width: 100%;
  }

  .about-icon-col {
    display: none;
  }

  .info-two-col-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title-main,
  .hero-title-accent {
    font-size: 1.25rem;
  }
}