/* Subhadra Yojana - Core Design System & Mobile Responsive Styling */
@import url('https://fonts.googleapis.com/css2?family=Arimo:wght@400;500;600;700&family=Noto+Sans+Oriya:wght@400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --primary-orange: #E47502;
  --primary-orange-hover: #C86200;
  --orange-light: #FFF4E5;
  --orange-gradient: linear-gradient(135deg, #FF9100 0%, #E47502 50%, #C86200 100%);
  --banner-bg: #E47502;
  --header-bg: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --card-bg: #FFFFFF;
  --body-bg: #F1F5F9;
  --border-color: #CBD5E1;
  --accent-gold: #F59E0B;
  --success-green: #16A34A;
  --danger-red: #DC2626;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 10px 25px rgba(228, 117, 2, 0.18);
  --font-base: 'Noto Sans Oriya', 'Arimo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  background-color: var(--body-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary-orange);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-orange);
  color: #ffffff;
  padding: 8px 16px;
  z-index: 10000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top Utility Bar (MOBILE ONLY) */
.top-utility-bar {
  display: none !important;
  /* Hidden on desktop screens */
  background-color: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 6px 0;
}

.top-utility-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.btn-top-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #E47502;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  transition: background-color 0.2s ease;
  box-shadow: 0 2px 4px rgba(228, 117, 2, 0.2);
}

.btn-top-login:hover {
  background-color: #C86200;
}

/* Language Switcher in Header */
.header-lang-switcher select {
  padding: 8px 12px;
  border: 1.5px solid var(--primary-orange);
  border-radius: var(--radius-sm);
  color: var(--primary-orange);
  background-color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-lang-switcher select:hover {
  background-color: var(--orange-light);
}

.header-lang-switcher select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(228, 117, 2, 0.2);
}

/* Main Header Section */
.main-header {
  background-color: var(--header-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  position: sticky;
  top: 0;
  z-index: 10000;
  border-bottom: 1px solid #E2E8F0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
}

.header-right {
  gap: 14px;
}

.gov-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.subhadra-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.subhadra-logo:hover {
  transform: scale(1.05);
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-login {
  background-color: var(--primary-orange);
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(228, 117, 2, 0.3);
}

.btn-login:hover {
  background-color: var(--primary-orange-hover);
  transform: translateY(-1px);
}

/* Exact Hamburger Icon Toggle Button (HIDDEN BY DEFAULT ON DESKTOP) */
.mobile-nav-toggle {
  display: none !important;
  /* Hidden on desktop screens */
  background-color: #FFFFFF;
  border: 1px solid #D0D5DD;
  border-radius: 6px;
  padding: 10px 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.mobile-nav-toggle:hover {
  background-color: #F8FAFC;
  border-color: #94A3B8;
}

.hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 22px;
}

.hamburger-lines span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #475569;
  border-radius: 1px;
}

/* Secondary Navigation Bar */
.nav-bar {
  background-color: #1E293B;
  color: #FFFFFF;
  width: 100%;
}

.nav-menu {
  display: flex;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav-menu::-webkit-scrollbar {
  display: none;
}

.nav-item a {
  display: block;
  padding: 12px 18px;
  color: #E2E8F0;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
}

.nav-item a:hover,
.nav-item a.active {
  color: #FFAA00;
  border-bottom-color: #FFAA00;
  text-decoration: none;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--banner-bg);
  background-image: var(--orange-gradient);
  color: #FFFFFF;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: center;
  padding: 36px 0;
  position: relative;
  z-index: 2;
}

.hero-text-side {
  padding-right: 16px;
}

.hero-tagline {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-main-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 1px;
  color: #FFFFFF;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 18px;
}

.hero-graphic-side {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-graphic-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border: 4px solid rgba(255, 255, 255, 0.4);
  background: #E47502;
}

/* Announcement Ticker Bar */
.ticker-bar {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.ticker-inner {
  display: flex;
  align-items: center;
  min-height: 48px;
  overflow: hidden;
}

.ticker-label {
  background-color: #E47502;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0 16px;
  height: 48px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.ticker-marquee {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
  padding: 0 16px;
}

.ticker-text {
  display: inline-block;
  font-weight: 600;
  color: #1E293B;
  animation: marquee 22s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.ticker-helpline {
  background-color: #E47502;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0 16px;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  text-decoration: none !important;
  white-space: nowrap;
}

.ticker-helpline:hover {
  background-color: var(--primary-orange-hover);
}

/* Pratiti Subhadra Paeen Cards Section */
.pratiti-section {
  background: linear-gradient(180deg, #FFC66B 0%, #EE980E 100%);
  padding: 40px 0 60px 0;
  position: relative;
}

.pratiti-title-wrap {
  margin-bottom: 24px;
}

.pratiti-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1E293B;
  position: relative;
  display: inline-block;
}

.pratiti-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #E47502;
  margin-top: 6px;
  border-radius: 2px;
}

.pratiti-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pratiti-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.pratiti-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-hover);
}

.pratiti-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 16px;
}

.pratiti-card-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.btn-pratiti-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border: 1px solid var(--text-muted);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.85rem;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.btn-pratiti-more:hover {
  background-color: var(--text-muted);
  color: #FFFFFF;
}

.pratiti-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* 6-Card Services Section with Jagannath Temple & Odisha Map Background */
.services-section {
  padding: 50px 0;
  background-image: url('bg_sec.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
  background-color: #F8FAFC;
  position: relative;
}

.services-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.cards-6-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-card-orange {
  background-color: #E47502;
  border-radius: var(--radius-md);
  padding: 20px 14px;
  color: #FFFFFF;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 130px;
  box-shadow: 0 4px 12px rgba(228, 117, 2, 0.25);
  transition: all 0.3s ease;
  text-decoration: none !important;
  cursor: pointer;
}

.service-card-orange:hover {
  background-color: #C86200;
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(228, 117, 2, 0.38);
}

.service-card-icon {
  width: 42px;
  height: 42px;
  fill: #FFFFFF;
}

.service-card-text {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  color: #FFFFFF;
}

.odisha-map-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
}

.odisha-map-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.18));
}

/* Tab Navigation styling for Beneficiary & Provisional List */
.tab-header-wrap {
  display: flex;
  gap: 6px;
  margin-bottom: -1px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  cursor: pointer;
  border: 1px solid var(--border-color);
  border-bottom: none;
  background-color: #E2E8F0;
  color: #475569;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-btn.active {
  background-color: #F59E0B;
  color: #FFFFFF;
  border-color: #F59E0B;
}

/* Status Check Section & Interactive Form */
.status-section {
  padding: 50px 0;
  background-color: var(--body-bg);
}

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

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
}

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

.card-box {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-color);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background-color: var(--card-bg);
  color: var(--text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(228, 117, 2, 0.2);
}

select.form-control {
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-orange);
  color: #FFFFFF !important;
  border: none;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(228, 117, 2, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
}

.btn-primary:hover {
  background-color: var(--primary-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(228, 117, 2, 0.35);
}

/* Status Result Card */
.status-result-card {
  margin-top: 24px;
  border-top: 2px dashed var(--border-color);
  padding-top: 20px;
  display: none;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
}

.badge-success {
  background-color: #DCFCE7;
  color: #15803D;
}

.badge-pending {
  background-color: #FEF3C7;
  color: #B45309;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.result-item {
  background-color: var(--orange-light);
  padding: 14px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-orange);
}

.result-item-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.result-item-value {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 4px;
}

/* Beneficiary List & Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-top: 18px;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  background-color: #1E293B;
  color: #FFFFFF;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}

.data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.88rem;
}

.data-table tr:hover {
  background-color: var(--orange-light);
}

/* FAQ Accordion */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 12px;
}

.faq-answer {
  padding: 0 20px 18px 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer Styling */
.site-footer {
  background-color: #1E293B;
  color: #94A3B8;
  padding: 50px 0 24px 0;
  margin-top: 50px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 28px;
  margin-bottom: 32px;
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
}

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

.footer-links a {
  color: #CBD5E1;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFAA00;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
}

/* ==========================================================================
   Comprehensive Mobile Responsive Breakpoints & Fixed Mobile Navigation
   ========================================================================== */

/* Medium Devices (Tablets & Laptops, max-width: 992px) */
@media (max-width: 992px) {
  .hero-content-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-text-side {
    padding-right: 0;
  }

  .hero-graphic-side {
    justify-content: center;
  }

  .services-grid-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pratiti-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Mobile & Tablet Layout Adjustments (< 768px) */
@media (max-width: 768px) {

  /* Show Top Utility Bar ONLY on Mobile */
  .top-utility-bar {
    display: block !important;
    background-color: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    padding: 6px 0;
  }

  .top-utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
  }

  /* Hide Desktop Login & Language inside header-right on mobile */
  .header-right .btn-login,
  .header-right .header-lang-switcher {
    display: none !important;
  }

  /* Show Hamburger Button ONLY on Mobile */
  .mobile-nav-toggle {
    display: flex !important;
  }

  /* Permanently Sticky Header on Mobile Scroll */
  .main-header {
    position: sticky;
    top: 0;
    z-index: 10000;
    background-color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
  }

  .gov-logo {
    height: 44px;
  }

  .subhadra-logo {
    height: 44px;
  }

  /* Absolute Mobile Slide-Down Navigation Menu Drawer (Starts 100% below main header with 0 cutoff) */
  .nav-bar {
    display: none;
    background-color: #1E293B;
    border-top: 1px solid #334155;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  }

  .nav-bar.mobile-open {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    z-index: 9999;
    animation: slideDown 0.2s ease-out forwards;
  }

  .nav-menu {
    flex-direction: column;
    overflow-x: visible;
    white-space: normal;
    padding: 12px 0 16px 0;
  }

  .nav-item a {
    padding: 14px 20px;
    font-size: 0.96rem;
    border-bottom: 1px solid #334155;
    border-left: 4px solid transparent;
  }

  .nav-item a:hover,
  .nav-item a.active {
    background-color: #334155;
    border-left-color: #FFAA00;
    border-bottom-color: #334155;
  }

  /* Mobile Eligibility Criteria Card Transformation */
  #eligibility-section .table-responsive {
    overflow-x: visible;
  }

  #eligibility-section table,
  #eligibility-section thead,
  #eligibility-section tbody,
  #eligibility-section th,
  #eligibility-section td,
  #eligibility-section tr {
    display: block !important;
    width: 100% !important;
  }

  #eligibility-section thead {
    display: none !important;
  }

  #eligibility-section tr {
    margin-bottom: 20px !important;
    background-color: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
  }

  #eligibility-section tr:first-child th {
    background-color: #DCFCE7 !important;
    color: #15803D !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    padding: 14px 16px !important;
    border-bottom: 2px solid #86EFAC !important;
    text-align: left !important;
  }

  #eligibility-section tr:last-child th {
    background-color: #FEE2E2 !important;
    color: #991B1B !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    padding: 14px 16px !important;
    border-bottom: 2px solid #FCA5A5 !important;
    text-align: left !important;
  }

  #eligibility-section td {
    padding: 18px 16px !important;
    font-size: 0.95rem !important;
    line-height: 1.75 !important;
    color: #334155 !important;
  }

  #eligibility-section ol {
    margin-left: 18px !important;
  }

  #eligibility-section li {
    margin-bottom: 10px !important;
  }

  .hero-main-title {
    font-size: 2.7rem;
  }

  .hero-tagline {
    font-size: 1.5rem;
  }

  .pratiti-grid {
    grid-template-columns: 1fr;
  }

  .card-box {
    padding: 20px 16px;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }
}

/* Extra Small Devices (Smartphones, max-width: 576px) */
@media (max-width: 576px) {
  .container {
    padding: 0 12px;
  }

  .gov-logo,
  .subhadra-logo {
    height: 48px;
  }

  .btn-top-login {
    padding: 5px 10px;
    font-size: 0.78rem;
  }

  .header-lang-switcher select {
    padding: 5px 8px;
    font-size: 0.78rem;
  }

  .hero-main-title {
    font-size: 2.1rem;
  }

  .hero-tagline {
    font-size: 1.25rem;
  }

  .hero-text-side div[style*="display: flex"] {
    flex-direction: column;
    width: 100%;
  }

  .hero-text-side .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .cards-6-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .service-card-orange {
    padding: 14px 6px;
    min-height: 105px;
  }

  .service-card-icon {
    width: 34px;
    height: 34px;
  }

  .service-card-text {
    font-size: 0.82rem;
  }

  .ticker-bar .ticker-inner {
    flex-direction: column;
    height: auto;
  }

  .ticker-label,
  .ticker-helpline {
    width: 100%;
    justify-content: center;
    height: 36px;
  }

  .ticker-marquee {
    padding: 6px 0;
    width: 100%;
  }

  .form-control {
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  .btn-primary {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .data-table th,
  .data-table td {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
}

/* Keyframe Animation for Mobile Drawer Opening */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ultra Small Devices (Phones under 380px) */
@media (max-width: 380px) {
  .cards-6-grid {
    grid-template-columns: 1fr;
  }

  .hero-main-title {
    font-size: 1.75rem;
  }
}