    /* ✅ Paste your entire existing CSS here — unchanged */
     /* Your full existing CSS below — unchanged */
    :root {
      --bg-gradient-dark: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
      --bg-gradient-light: linear-gradient(135deg, #dfe9f3, #ffffff);
      --text-dark: #f1f1f1;
      --text-light: #222;
      --card-bg-dark: rgba(255,255,255,0.1);
      --card-bg-light: rgba(255,255,255,0.7);
      --border-dark: rgba(255,255,255,0.2);
      --border-light: rgba(0,0,0,0.1);
    }
    /* (rest of your existing CSS follows as-is...) */

    body {
      font-family: 'Poppins', sans-serif;
      background: var(--bg-gradient-dark);
      color: var(--text-dark);
      min-height: 100vh;
      transition: all 0.4s ease;
      background-attachment: fixed;
    }

    body.light-mode {
      background: var(--bg-gradient-light);
      color: var(--text-light);
    }

    /* 🌈 Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.08); /* light transparency for blur effect */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-dark);
  transition: all 0.4s ease;
}

/* Light mode navbar */
body.light-mode .navbar {
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid var(--border-light);
}

/* Dark mode navbar: match body background gradient */
body.dark-mode .navbar {
  background: inherit;  /* Use the same background as body */
  border-bottom: 1px solid rgba(255,255,255,0.1); /* subtle border for separation */
}

/* Navbar brand colors */
.navbar-brand {
  color: #fff !important;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}
body.light-mode .navbar-brand {
  color: #111 !important;
  text-shadow: none;
}

/* Navbar links */
#mainNavbar .nav-link {
  color: #fff;
}
body.light-mode #mainNavbar .nav-link {
  color: #222;
}


    /* 🌓 Toggle Button */
    .theme-toggle {
      background: linear-gradient(90deg, #00c6ff, #0072ff);
      border: none;
      color: white;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .theme-toggle:hover {
      transform: rotate(15deg) scale(1.1);
      opacity: 0.9;
    }

    /* 🧠 Category Tabs */
    .nav-pills .nav-link {
      border-radius: 30px;
      font-weight: 500;
      color: #fff;
      transition: all 0.3s ease;
    }
    .nav-pills .nav-link:hover {
      background: rgba(255,255,255,0.2);
      transform: scale(1.05);
    }
    .nav-pills .nav-link.active {
      background: linear-gradient(90deg, #00c6ff, #0072ff);
      box-shadow: 0 0 10px #00c6ff;
    }
    body.light-mode .nav-pills .nav-link {
      color: #222;
    }
    body.light-mode .nav-pills .nav-link.active {
      color: #fff;
    }

    /* 🔍 Search Box */
    form.d-flex input[type="text"] {
      border-radius: 30px;
      border: none;
      padding: 0.75rem 1.5rem;
      background: rgba(255,255,255,0.1);
      color: #fff;
      backdrop-filter: blur(8px);
      transition: all 0.4s ease;
    }
    body.light-mode form.d-flex input[type="text"] {
      background: rgba(255,255,255,0.7);
      color: #222;
    }
    form.d-flex input::placeholder {
      color: #ccc;
    }
    body.light-mode form.d-flex input::placeholder {
      color: #666;
    }
    .btn-search {
      background: linear-gradient(90deg, #00c6ff, #0072ff);
      border: none;
      color: #fff;
      border-radius: 30px;
      padding: 0.6rem 1.4rem;
      font-weight: 500;
      transition: all 0.3s ease;
    }
    .btn-search:hover {
      opacity: 0.85;
      transform: scale(1.05);
    }

    /* 📰 Cards */
    .card {
      background: var(--card-bg-dark);
      border: 1px solid var(--border-dark);
      border-radius: 16px;
      overflow: hidden;
      backdrop-filter: blur(10px);
      transition: all 0.4s ease;
      color: #fff;
    }
    body.light-mode .card {
      background: var(--card-bg-light);
      border: 1px solid var(--border-light);
      color: #111;
    }
    .card:hover {
      transform: translateY(-8px) scale(1.02);
      box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    }
    .card-title a {
      text-decoration: none;
      color: inherit;
      font-weight: 600;
    }
    .card-title a:hover {
      color: #00c6ff;
    }
    .card img {
      height: 200px;
      object-fit: cover;
      opacity: 0.95;
    }

    /* 🌟 Pagination */
    .pagination .page-link {
      background: transparent;
      border: 1px solid rgba(255,255,255,0.2);
      color: #fff;
      border-radius: 30px;
      margin: 0 4px;
      transition: 0.3s;
    }
    .pagination .page-link:hover {
      background: linear-gradient(90deg, #00c6ff, #0072ff);
      border: none;
    }
    body.light-mode .pagination .page-link {
      color: #222;
      border: 1px solid rgba(0,0,0,0.2);
    }

    
    /* 🩶 Text colors tuned for dark & light modes */
.text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}
body.light-mode .text-muted {
  color: rgba(0, 0, 0, 0.6) !important;
}

/* ✨ Description styling */
.card-text {
  color: rgba(173, 216, 230, 0.9); /* soft sky-blue tint */
  line-height: 1.6;
  text-shadow: 0 0 6px rgba(0, 198, 255, 0.25); /* subtle glow */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
body.light-mode .card-text {
  color: rgba(0, 0, 0, 0.75);
  text-shadow: none;
}

/* 🧠 Title hover glow */
.card-title a:hover {
  color: #00c6ff;
  text-shadow: 0 0 10px rgba(0,198,255,0.4);
}
.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Makes image cover the div without distortion */
}
body.dark-mode .navbar-toggler-icon {
  filter: invert(1) brightness(2); /* brightens the icon */
}
/* Active link underline */
.nav-link.active {
  position: relative;
  font-weight: 600;
}

/* Add animated underline */
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px; /* distance from text */
  width: 100%;
  height: 2px; /* thickness of underline */
  background: #00c6ff; /* primary color */
  border-radius: 2px;
}

/* Optional: smooth underline hover effect for all nav links */
.nav-link:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #00c6ff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
/* Footer overall */
/* 💠 Footer */
    .footer {
      text-align: center;
      margin-top: 80px;
      padding: 25px;
      color: #ddd;
      border-top: 1px solid rgba(255,255,255,0.1);
      font-size: 0.9rem;
      transition: 0.4s;
    }
    body.light-mode .footer {
      color: #333;
      border-top: 1px solid rgba(0,0,0,0.1);
    }
    .footer span {
      color: #00c6ff;
    }

.site-footer {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #ddd;
  padding: 50px 20px 20px;
  font-family: 'Arial', sans-serif;
}

/* Container */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo section */
.footer-logo-section {
  flex: 1 1 250px;
  margin-bottom: 20px;
}

.footer-logo {
  font-size: 1.8em;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.footer-tagline {
  font-size: 0.9em;
  margin-top: 5px;
  color: #bbb;
}

/* Links section */
.footer-links-section {
  flex: 1 1 200px;
  margin-bottom: 20px;
}

.footer-links-section h4 {
  margin-bottom: 10px;
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #00bcd4;
  text-decoration: underline;
}

/* Social icons */
.footer-social-section {
  flex: 1 1 200px;
  margin-bottom: 20px;
}

.footer-social-section h4 {
  margin-bottom: 10px;
  color: #fff;
}

.social-icons a {
  color: #ddd;
  margin-right: 15px;
  font-size: 1.2em;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #00bcd4;
}

/* Bottom copyright */
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85em;
  color: #aaa;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo-section, .footer-links-section, .footer-social-section {
    margin-bottom: 30px;
  }
}

/* QR Generator Section */
.qr-section {
  padding: 50px 0;
  text-align: center;
}

.qr-title {
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-dark);
}
body.light-mode .qr-title {
  color: var(--text-light);
}

.qr-container {
  max-width: 600px;
  margin: 0 auto;
}

.qr-box {
  background: var(--card-bg-dark);
  padding: 25px;
  border-radius: 18px;
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
body.light-mode .qr-box {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.qr-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}
body.light-mode .qr-label {
  color: var(--text-light);
}

.qr-input {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid #334155;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  transition: background 0.3s ease, color 0.3s ease;
}
body.light-mode .qr-input {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(0,0,0,0.2);
  color: #222;
}

.qr-btn,
.qr-download-btn {
  margin-top: 15px;
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, #00c6ff, #0072ff); /* Search button matching */
  color: #fff;
  border: none;
  border-radius: 30px; /* Search button shape */
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.qr-btn:hover,
.qr-download-btn:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

.qr-result {
  margin-top: 20px;
}
/* ===========================
   SCOOPLINER LIVE TICKER
   =========================== */
.live-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    color: var(--text-color);
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: var(--scoop-shadow);
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.live-ticker:hover {
    background: var(--accent-bg);
    border-color: var(--accent-border);
    transform: translateY(-2px);
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #ff2a2a;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff4d4d;
    animation: pulse 1.2s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.ticker-text {
    font-size: 15px;
}

.arrow {
    margin-left: auto;
    opacity: 0.7;
    transition: 0.3s;
}

.live-ticker:hover .arrow {
    margin-left: 12px;
    opacity: 1;
}
.scoop-btn-nav {
  background: linear-gradient(90deg, #ff7c02, #ff4b2b);
  color: #fff;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 28px;
  font-weight: 700;
  display: inline-block;
  animation: blinkSoft 1.4s infinite ease-in-out;
}

@keyframes blinkSoft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.scoop-btn-nav:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.45);
  background: linear-gradient(90deg, #ff8c20, #ff5c3d); /* Brighter hover */
  filter: drop-shadow(0 0 12px rgba(255, 100, 20, 0.65));
}
#mainNavbar .brand-text {
  font-size: 15px;             /* Same as nav items */
  font-weight: 600;            /* Same as nav items */
  color: #ffffff;              /* Same greyish-white like nav */
  margin-left: 4px;
  display: inline-block;
  text-decoration: none;
}
/* LIGHT MODE (when body has .light-mode) */
body.light-mode #mainNavbar .brand-text {
  color: #111 !important;       /* same color as your nav links in light mode */
}

/* Hover in light mode */
body.light-mode #mainNavbar .brand-text:hover {
  color: #000 !important;
  text-decoration: none;
}
.search-wrapper {
  margin-top: 30px;
  margin-bottom: -50px;
  display: flex;
  justify-content: flex-end;   /* RIGHT align */
}
.reset-heading {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
    padding: 0;
}
