/* Custom CSS for West Bengal Government Schemes Portal (BJP Era) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-color: #0c4a8a; /* Deep Government Blue */
  --primary-hover: #073564;
  --secondary-color: #f89406; /* Subtle Saffron Accent */
  --success-color: #2e7d32; /* Subtle Green Accent */
  --text-dark: #1e293b; /* Premium slate text */
  --text-muted: #64748b;
  --bg-main: #ffffff; /* Premium white */
  --bg-subtle: #f8fafc; /* Soft gray background */
  --border-color: #e2e8f0;
  --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --hover-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  --border-radius: 8px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-height: 140px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

ul {
  list-style: none;
}

/* Flag Accent Top Border */
.flag-top-border {
  height: 4px;
  background: linear-gradient(to right, #ff9933 33%, #ffffff 33%, #ffffff 66%, #138808 66%);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Official Header Utility Bar */
.utility-bar {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
  padding: 6px 0;
}

.utility-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gov-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.gov-banner svg {
  width: 16px;
  height: 16px;
}

.accessibility-tools {
  display: flex;
  align-items: center;
  gap: 15px;
}

.font-resize-btn {
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2px 8px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s;
}

.font-resize-btn:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Premium Main Brand Header (Sticky & Glassmorphism) */
.main-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-container svg {
  width: 70px;
  height: 70px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-container:hover svg {
  transform: rotate(10deg) scale(1.05);
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary-color);
  font-weight: 800;
  line-height: 1.25;
}

.brand-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Nav Menu Styles with sliding accent and background highlights */
.main-nav {
  display: flex;
  align-items: center;
  gap: 12px; /* Standardize link boxes with small borders */
}

.nav-link {
  position: relative;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 4px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: rgba(12, 74, 138, 0.05);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: var(--primary-color);
  background-color: rgba(12, 74, 138, 0.08);
}

/* Rounded Glossy Sweep eligibility Button */
.apply-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e5fa7 100%);
  color: white !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(12, 74, 138, 0.18);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.apply-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
  opacity: 0;
}

.apply-btn:hover {
  background: linear-gradient(135deg, #0e569c 0%, #2974c5 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(12, 74, 138, 0.28);
}

.apply-btn:hover::after {
  left: 125%;
  opacity: 1;
  transition: all 0.75s ease-out;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
  transition: transform 0.2s;
}

.menu-toggle:active {
  transform: scale(0.9);
}

/* Live News Ticker Section */
.ticker-section {
  background-color: #fff9e6;
  border-bottom: 1px solid #ffeeba;
  padding: 8px 0;
}

.ticker-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.ticker-label {
  background-color: var(--secondary-color);
  color: white;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(248, 148, 6, 0.2);
}

.ticker-wrap {
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  height: 24px;
}

.ticker-content {
  display: flex;
  position: absolute;
  white-space: nowrap;
  animation: ticker-anim 140s linear infinite;
  gap: 50px;
}

.ticker-wrap:hover .ticker-content,
.ticker-content:hover {
  animation-play-state: paused;
  cursor: pointer;
}

.ticker-item {
  font-size: 0.85rem;
  font-weight: 600;
  color: #856404;
}

.ticker-item a {
  color: var(--primary-color);
  text-decoration: underline;
  margin-left: 5px;
}

@keyframes ticker-anim {
  0% { transform: translate3d(100%, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Layout Utilities */
.section {
  padding: 60px 0;
}

.section-bg {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

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

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #ffffff 60%, #edf4fc 100%);
  padding: 70px 0;
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--primary-color);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 6px -1px rgb(12 74 138 / 0.15);
  transition: all 0.2s;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px -2px rgb(12 74 138 / 0.25);
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  transform: translateY(-1px);
}

/* CM Corner Section Card */
.cm-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-color: var(--primary-color);
}

.cm-photo-frame {
  width: 140px;
  height: 175px;
  margin: 0 auto 15px;
  border: 4px solid white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background-color: #f1f5f9;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cm-photo-frame svg {
  width: 100%;
  height: 100%;
}

.cm-details h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary-color);
  margin-bottom: 2px;
  font-weight: 700;
}

.cm-details .designation {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.cm-quote {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-dark);
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  margin-top: 10px;
  line-height: 1.5;
}

/* Eligibility Calculator Dashboard */
.calc-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--card-shadow);
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.calc-field select, .calc-field input {
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background-color: white;
  outline: none;
  transition: border-color 0.2s;
}

.calc-field select:focus, .calc-field input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgb(12 74 138 / 0.1);
}

.calc-submit {
  width: 100%;
  background-color: var(--success-color);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.calc-submit:hover {
  background-color: #235e26;
  box-shadow: 0 4px 6px -1px rgb(46 125 50 / 0.2);
}

/* Schemes Cards Grid */
.schemes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

.scheme-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.scheme-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hover-shadow);
  border-color: #cbd5e1;
}

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

.scheme-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.card-dept {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-dept svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.card-benefit {
  background-color: #f8fafc;
  border-left: 3px solid var(--success-color);
  padding: 10px 12px;
  border-radius: 0 4px 4px 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 18px;
}

.card-benefit strong {
  color: var(--success-color);
  font-weight: 700;
}

.card-eligibility {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-eligibility ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.card-eligibility li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-eligibility li strong {
  color: var(--text-dark);
  font-weight: 600;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f5f9;
  color: var(--text-dark);
  padding: 10px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  text-align: center;
  gap: 6px;
}

.scheme-card:hover .card-link {
  background-color: var(--primary-color);
  color: white;
}

.card-link:hover {
  background-color: var(--primary-hover) !important;
  color: white !important;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.tab-btn {
  background-color: #f1f5f9;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover, .tab-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Duare Sarkar / Campaigns Section */
.campaign-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.campaign-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 800;
}

.campaign-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.camp-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.camp-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.camp-icon {
  background-color: #f0f6fc;
  color: var(--primary-color);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

.camp-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.camp-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.campaign-visual {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--card-shadow);
  position: relative;
}

.campaign-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background-color: var(--secondary-color);
}

.camp-alert-title {
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.campaign-visual h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Detail Page Layout */
.detail-grid {
  display: grid;
  grid-template-columns: 2.8fr 1.2fr;
  gap: 40px;
}

.detail-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--card-shadow);
}

.detail-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 25px;
  margin-bottom: 30px;
}

.detail-header h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary-color);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-content h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 1.5rem;
  margin: 30px 0 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
}

.detail-content h2:first-of-type {
  margin-top: 0;
}

.detail-content p {
  color: #334155;
  margin-bottom: 15px;
}

.benefits-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.benefits-table th, .benefits-table td {
  border: 1px solid var(--border-color);
  padding: 12px 15px;
  text-align: left;
}

.benefits-table th {
  background-color: #f8fafc;
  color: var(--primary-color);
  font-weight: 700;
}

.eligibility-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checklist-item svg {
  color: var(--success-color);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.doc-list {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
  margin: 20px 0;
}

.doc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.doc-list li:last-child {
  margin-bottom: 0;
}

.doc-list li svg {
  color: var(--primary-color);
  width: 18px;
  height: 18px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.step-card {
  display: flex;
  gap: 15px;
}

.step-number {
  background-color: var(--primary-color);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.step-details h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.step-details p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* FAQ Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
}

.accordion-header {
  background-color: white;
  width: 100%;
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}

.accordion-header:hover {
  background-color: var(--bg-subtle);
}

.accordion-header::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 700;
}

.accordion-item.active .accordion-header::after {
  content: '−';
}

.accordion-body {
  background-color: #fafbfc;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0, 1, 0, 1);
  border-top: 1px solid transparent;
}

.accordion-item.active .accordion-body {
  padding: 16px 20px;
  max-height: 1000px;
  border-top-color: var(--border-color);
}

/* Detail Sidebar */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.sidebar-card h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 8px;
}

.helpdesk-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-item svg {
  color: var(--primary-color);
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.info-item p {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.info-item strong {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* compliance page style */
.compliance-content h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 12px;
}

.compliance-content p, .compliance-content li {
  color: #334155;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.compliance-content ul {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 20px;
}

/* Footer Section */
.main-footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 20px;
  font-size: 0.9rem;
  border-top: 4px solid var(--primary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-col p {
  color: #94a3b8;
  margin-bottom: 15px;
  line-height: 1.5;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  transition: all 0.2s;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

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

.footer-bottom p {
  margin-bottom: 5px;
}

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

.footer-bottom a:hover {
  color: white;
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .cm-card {
    max-width: 450px;
    margin: 0 auto;
  }
  .calc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .campaign-section {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    position: relative;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-top: 2px solid var(--primary-color);
    z-index: 999;
  }
  .main-nav.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .ticker-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .ticker-wrap {
    width: 100%;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 2rem;
  }
  .schemes-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .utility-container {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

/* West Bengal Government Holidays Desk & Countdowns Styles */
.holiday-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--card-shadow);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.holiday-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary-color);
}

.holiday-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.holiday-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.holiday-type-tag {
  background-color: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.countdown-badge {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}

.today-badge {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
  animation: pulse-red 2s infinite;
}

.tomorrow-badge {
  background-color: #ffedd5;
  color: #ea580c;
  border: 1px solid #fed7aa;
}

.future-badge {
  background-color: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.holiday-card h4 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.holiday-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

.holiday-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.holiday-detail-item strong {
  color: var(--text-dark);
}

/* Animations */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* Spinner class helper */
.loading-spinner {
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s linear infinite;
}

