

    :root {
      --header-blue: #007bff;
      --header-text: #fff;
      --trending-bg: #000;
      --trending-text: #fff;
    }

    /* Reset default spacing */
    body, html {
      margin: 0;
      padding: 0;
      scroll-behavior: smooth;
    }

    /* ===== Top Header ===== */
    .top-header-bar {
      position: sticky;
      top: 0;
      z-index: 1030;
      background-color: #fff;
      border-bottom: 3px solid var(--header-blue);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .top-header-bar .brand-name h3 {
      margin: 0;
      color: #4506f1;
      font-weight: 700;
    }

    .top-header-bar .brand-name span {
      color: #000;
    }

    .top-header-bar .current-date {
      color: #555;
      font-size: 0.9rem;
    }

    /* ===== Navbar ===== */
    .navbar {
      position: sticky;
      top: 55px; /* directly under top header */
      z-index: 1020;
      background-color: var(--header-blue);
      transition: all 0.3s ease;
    }

    .navbar-nav .nav-link {
      color: var(--header-text) !important;
      font-weight: 500;
      padding: 10px 16px;
      transition: background 0.2s;
    }

    .navbar-nav .nav-link:hover {
      background: rgba(255, 255, 255, 0.15);
      border-radius: 6px;
    }

    /* ===== Trending Bar ===== */
    .trending-bar {
      position: sticky;
      top: 100px; /* below navbar */
      z-index: 1010;
      background-color: var(--trending-bg);
      color: var(--trending-text);
      padding: 6px 15px;
      font-size: 0.95rem;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .trending-bar marquee a {
      color: #ff6666;
      text-decoration: none;
      font-weight: bold;
    }

    .trending-bar marquee a:hover {
      text-decoration: underline;
    }

    /* ===== Responsive Fix ===== */
    @media (max-width: 768px) {
      .navbar {
        top: 60px;
      }

      .trending-bar {
        top: 110px;
      }

      .navbar-nav .nav-link {
        padding: 8px;
      }
    }




/* ===============================
   Base Styles
================================*/
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--body-bg);
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--primary-hover);
  text-decoration: none;
}

/* Main Content */
.container-fluid {
  padding: 0 30px;
}

/* Sidebar Cards */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  background-color: var(--card-bg);
}
.card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.card-header {
  background-color: transparent;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 1.1rem;
}
.card-body {
  padding: 1.25rem;
}

/* Category List */
.list-unstyled li {
  margin-bottom: 0.5rem;
  transition: var(--transition);
}
.list-unstyled li:hover {
  transform: translateX(5px);
}
.list-unstyled a {
  color: var(--gray-color);
  display: block;
  padding: 0.25rem 0;
}
.list-unstyled a:hover {
  color: var(--primary-color);
}

/* News Cards */
.card-img-top {
  border-radius: 8px 8px 0 0;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.card-img-top:hover {
  transform: scale(1.02);
}
.card-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}
.card-title:hover {
  color: var(--primary-color);
}
.badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
  border-radius: 4px;
}
.bg-success {
  background-color: var(--secondary-color) !important;
}
.bg-warning {
  background-color: #f4a261 !important;
}

/* Widgets */
.widget-title {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}
.widget-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
}
.widget-title span {
  color: var(--primary-color);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.page-link {
  border: none;
  color: var(--gray-color);
  margin: 0 5px;
  border-radius: 6px !important;
  transition: var(--transition);
}
.page-link:hover {
  background-color: var(--primary-color);
  color: white;
}


        /* Footer */
footer {
  background-color: var(--dark-color);
  color: rgb(12, 1, 1);
  padding: 30px 0;
  margin-top: 50px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .container-fluid {
    padding: 0 15px;
  }
  
  .col-md-2 {
    display: none;
  }
  
  .col-md-7 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .navbar-brand img {
    height: 50px;
  }
  
  .card-img-top {
    height: 180px;
  }
}

/* Animations */
.animate__animated {
  animation-duration: 0.5s;
}

/* Owl Carousel Customization */
.owl-carousel .owl-item img {
  border-radius: 8px;
}

.owl-theme .owl-nav [class*='owl-'] {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 1.5rem;
  transition: var(--transition);
}

.owl-theme .owl-nav [class*='owl-']:hover {
  background: var(--primary-color);
}

