/* ==========================================================================
   Maha Naukri Portal - Premium Professional Color Palette & Responsive CSS
   ========================================================================== */

:root {
  --primary: #0f2b5c;             /* Deep Royal Navy Blue - Authoritative & Trusted */
  --primary-dark: #0a1e40;        /* Midnight Blue */
  --primary-light: #eff6ff;       /* Soft Ice Blue */
  --primary-hover: #1e3a8a;       /* Rich Navy Hover */
  --accent-saffron: #f59e0b;      /* Saffron / Amber for Highlights & CTAs */
  --accent-orange: #ea580c;       /* Vivid Alert Orange */
  --accent-green: #059669;        /* Forest Emerald Green */
  --accent-red: #dc2626;          /* Crimson Red for Urgency/Deadlines */
  --whatsapp: #25d366;            /* Official WhatsApp */
  --telegram: #0088cc;            /* Official Telegram */
  --text-main: #1e293b;           /* Slate 800 for high-readability text */
  --text-muted: #64748b;          /* Slate 500 */
  --bg-body: #f1f5f9;             /* Crisp Slate 100 Background */
  --bg-card: #ffffff;             /* Pure White */
  --border-color: #e2e8f0;        /* Subtle Slate Border */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-sans: 'Mukta', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-width: 1200px;
}

[data-theme="dark"] {
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --bg-body: #090e1a;
  --bg-card: #131d31;
  --border-color: #1e293b;
  --primary: #1e3a8a;
  --primary-dark: #0f172a;
  --primary-light: #172554;
}

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

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: #1d4ed8;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
}

/* Utilities */
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 600; }
.text-muted { color: var(--text-muted); }

.badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}
.badge-new { background: #fee2e2; color: var(--accent-red); animation: pulseBadge 2s infinite; }
.badge-primary { background: var(--primary-light); color: var(--primary); font-weight: 700; }
.badge-success { background: #d1fae5; color: var(--accent-green); }

@keyframes pulseBadge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ---------------- 1. Top Ticker Bar ---------------- */
.top-ticker-bar {
  background: #0b1329;
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  width: 100%;
}
.ticker-flex-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.ticker-left {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
}
.ticker-label {
  background: var(--accent-red);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 10.5px;
  margin-right: 10px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.ticker-content {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  min-width: 0;
  flex: 1;
}
.ticker-content a {
  color: #f1f5f9;
}
.ticker-content a:hover {
  color: var(--accent-saffron);
  text-decoration: underline;
}
.top-social-links {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.top-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  color: #fff !important;
  text-decoration: none;
}
.btn-wa { background: var(--whatsapp); }
.btn-tg { background: var(--telegram); }
.btn-wa:hover { background: #1eb855; }
.btn-tg:hover { background: #0077b5; }

@media (max-width: 768px) {
  .top-social-links {
    display: none;
  }
}

/* ---------------- 2. Site Header ---------------- */
.site-header {
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.site-logo img, .custom-logo {
  max-height: 48px;
  width: auto;
  display: block;
}
.site-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}
.site-title a {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-title a span {
  color: var(--accent-orange);
}
.site-tagline {
  font-size: 11.5px;
  color: var(--text-muted);
  margin: 2px 0 0;
}
@media (max-width: 480px) {
  .site-title { font-size: 19px; }
  .site-tagline { display: none; }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.theme-toggle-btn {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  border: none;
  color: #fff;
  font-size: 20px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------------- 3. Navigation Bar (Royal Navy Blue) ---------------- */
.main-nav-bar {
  background: var(--primary);
  color: #fff;
  width: 100%;
  border-top: 2px solid var(--accent-saffron);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  width: 100%;
}
.primary-menu li {
  position: relative;
}
.primary-menu li a {
  display: block;
  padding: 11px 16px;
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  transition: all 0.2s;
  white-space: nowrap;
}
.primary-menu li a:hover,
.primary-menu li.current-menu-item > a {
  background: var(--primary-hover);
  color: var(--accent-saffron);
}
.primary-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  border: 1px solid var(--border-color);
  list-style: none;
  z-index: 100;
}
.primary-menu .sub-menu li a {
  color: var(--text-main);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-color);
}
.primary-menu .sub-menu li a:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.primary-menu li:hover > .sub-menu {
  display: block;
}

@media (max-width: 860px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .main-nav-bar {
    background: transparent;
    border-top: none;
  }
  .primary-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--primary);
    box-shadow: var(--shadow-lg);
  }
  .primary-menu.active {
    display: flex;
  }
  .primary-menu li a {
    padding: 12px 18px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
}

/* ---------------- 4. Qualification Quick Pills (Smooth Auto-Scroll) ---------------- */
.quick-tags-bar {
  background: var(--bg-card);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
  overflow: hidden;
  position: relative;
}
.tags-bar-flex {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  width: 100%;
}
.tags-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tags-ticker-track {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 15px, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15px, black 96%, transparent);
}
.tags-scroll-inner {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: slowTagTicker 28s linear infinite;
  white-space: nowrap;
}
.tags-ticker-track:hover .tags-scroll-inner,
.tags-ticker-track:focus-within .tags-scroll-inner {
  animation-play-state: paused;
}
@keyframes slowTagTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: var(--bg-body);
  color: var(--text-main);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.tag-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---------------- 5. Hero Search Section (Deep Royal Navy Card) ---------------- */
.hero-search-section {
  background: linear-gradient(135deg, #0f2b5c 0%, #1e3a8a 60%, #172554 100%);
  color: #fff;
  padding: 26px 18px;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-headline {
  font-size: 23px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
}
.hero-subtext {
  font-size: 13.5px;
  color: #cbd5e1;
  margin-bottom: 18px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.search-form-wrap {
  max-width: 620px;
  margin: 0 auto 16px;
  position: relative;
  width: 100%;
}
.live-search-input {
  width: 100%;
  padding: 13px 18px 13px 44px;
  border-radius: 30px;
  border: 2px solid #cbd5e1;
  font-size: 15px;
  outline: none;
  background: #ffffff;
  color: #0f172a;
  box-shadow: var(--shadow-md);
  font-family: inherit;
  font-weight: 500;
}
.live-search-input:focus {
  border-color: var(--accent-saffron);
}
.search-icon-svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  pointer-events: none;
}
.hero-join-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.channel-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 30px;
  color: #fff !important;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.channel-join-btn:hover {
  transform: translateY(-2px);
}
@media (max-width: 480px) {
  .hero-headline { font-size: 19px; }
  .channel-join-btn { width: 100%; justify-content: center; }
}

/* ---------------- 6. Category Boxes Grid (4 Core Boxes) ---------------- */
.home-boxes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 24px;
  width: 100%;
}
@media (max-width: 700px) {
  .home-boxes-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.category-box-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.category-box-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.box-header {
  padding: 11px 14px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.box-header.navy { background: #0f2b5c; }
.box-header.orange { background: #ea580c; }
.box-header.indigo { background: #4338ca; }
.box-header.green { background: #059669; }
.box-header.purple { background: #7e22ce; }
.box-header.red { background: #b91c1c; }

.box-header a {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,0.22);
  padding: 2px 8px;
  border-radius: 10px;
}
.box-header a:hover {
  background: rgba(255,255,255,0.38);
}

.box-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.box-list li {
  border-bottom: 1px solid var(--border-color);
}
.box-list li:last-child {
  border-bottom: none;
}
.box-list li a {
  display: block;
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  transition: background 0.15s;
}
.box-list li a:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.box-list li a .job-last-date {
  display: block;
  font-size: 11px;
  color: var(--accent-red);
  font-weight: 700;
  margin-top: 3px;
}
.box-footer-link {
  display: block;
  text-align: center;
  padding: 8px;
  background: var(--bg-body);
  color: #1d4ed8;
  font-weight: 700;
  font-size: 12.5px;
  border-top: 1px solid var(--border-color);
}
.box-footer-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* ---------------- 7. Layout (Content & Sidebar) ---------------- */
.main-layout-wrap {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 24px;
  margin-bottom: 40px;
  width: 100%;
}
@media (max-width: 900px) {
  .main-layout-wrap {
    grid-template-columns: 1fr;
  }
}

.content-area {
  min-width: 0;
  width: 100%;
}

.sidebar-area {
  min-width: 0;
  width: 100%;
}

/* ---------------- 8. Structured Table & Mobile Card View ---------------- */
.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  flex-wrap: wrap;
  gap: 8px;
}
.section-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}

.jobs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.jobs-table th {
  background: var(--primary);
  color: #fff;
  padding: 11px 14px;
  font-weight: 700;
  white-space: nowrap;
}
.jobs-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}
.jobs-table tr:hover td {
  background-color: var(--primary-light);
}
.btn-apply-table {
  display: inline-block;
  background: var(--primary);
  color: #fff !important;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-apply-table:hover {
  background: var(--primary-hover);
}

/* Mobile-Specific Table Optimization */
@media (max-width: 640px) {
  .jobs-table thead {
    display: none;
  }
  .jobs-table, .jobs-table tbody, .jobs-table tr, .jobs-table td {
    display: block;
    width: 100%;
  }
  .jobs-table tr {
    margin-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    padding: 12px 14px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
  }
  .jobs-table td {
    padding: 4px 0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
  }
  .jobs-table td:nth-child(2) {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 6px;
  }
  .jobs-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--text-muted);
    font-size: 11.5px;
    text-transform: uppercase;
    margin-right: 8px;
  }
  .jobs-table td:nth-child(2)::before {
    display: none;
  }
  .btn-apply-table {
    width: 100%;
    text-align: center;
    margin-top: 8px;
    padding: 8px 12px;
  }
}

/* ---------------- 9. Sidebar Widgets ---------------- */
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  margin-bottom: 22px;
}
.widget-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--primary-light);
}
.sidebar-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-links-list li {
  border-bottom: 1px solid var(--border-color);
}
.sidebar-links-list li:last-child {
  border-bottom: none;
}
.sidebar-links-list li a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-main);
  font-weight: 600;
}
.sidebar-links-list li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.widget_archive,
.widget_categories,
.wp-block-archives,
.wp-block-categories {
  display: none !important;
}

/* ---------------- 10. Single Job Post Page ---------------- */
.single-post-article {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  width: 100%;
}
@media (min-width: 768px) {
  .single-post-article {
    padding: 28px;
  }
}
.post-header-top {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.post-title {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--primary);
}
@media (max-width: 480px) {
  .post-title { font-size: 19px; }
}
.post-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* Job Highlights Box */
.job-highlights-card {
  background: linear-gradient(to bottom, var(--primary-light), var(--bg-card));
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 20px 0;
}
.highlights-header {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 580px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }
}
.highlight-item {
  background: var(--bg-card);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}
.hl-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
}
.hl-value {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
}

/* Important Links Box */
.important-links-box {
  background: #fff8f1;
  border: 2px solid var(--accent-orange);
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 22px 0;
}
.important-links-title {
  font-size: 17px;
  font-weight: 800;
  color: #c2410c;
  margin-bottom: 14px;
  text-align: center;
}
.links-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
@media (max-width: 480px) {
  .links-action-grid {
    grid-template-columns: 1fr;
  }
}
.btn-action-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13.5px;
  text-align: center;
  color: #fff !important;
}
.btn-action-apply { background: var(--accent-green); }
.btn-action-pdf { background: var(--accent-red); }
.btn-action-site { background: var(--primary); }
.btn-action-share-wa { background: var(--whatsapp); }
.btn-action-share-tg { background: var(--telegram); }

/* Structured Content */
.single-post-content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-main);
  overflow-wrap: break-word;
  word-break: break-word;
}
.single-post-content h2 {
  font-size: 19px;
  font-weight: 800;
  margin: 22px 0 12px;
  color: var(--primary);
  border-left: 4px solid var(--accent-saffron);
  padding-left: 10px;
}
.single-post-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 18px 0 8px;
}
.single-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.single-post-content th,
.single-post-content td {
  border: 1px solid var(--border-color);
  padding: 9px 12px;
}
.single-post-content th {
  background: var(--primary-light);
  font-weight: 700;
  color: var(--primary);
}

/* ---------------- 11. Share Bar ---------------- */
.share-bar-container {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.share-buttons-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 4px;
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 700;
}

/* ---------------- 12. Footer (Midnight Navy) ---------------- */
.site-footer {
  background: #090e1a;
  color: #94a3b8;
  padding: 34px 0 18px;
  border-top: 3px solid var(--accent-saffron);
  margin-top: auto;
  width: 100%;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 26px;
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
.footer-column h4 {
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 4px;
}
.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent-saffron);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 7px;
}
.footer-links li a {
  color: #94a3b8;
  font-size: 14px;
}
.footer-links li a:hover {
  color: #fff;
}
.footer-disclaimer-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 18px;
  color: #94a3b8;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------------- 13. Back to Top ---------------- */
.back-to-top-btn {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  z-index: 99;
}
.back-to-top-btn.show {
  display: flex;
}
