@font-face {
  font-family: 'hind_siliguri';
  src: url('/assets/v2/font/HindSiliguri-Bold.ttf');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'hind_siliguri';
  src: url('/assets/v2/font/HindSiliguri-Regular.ttf');
  font-weight: normal;
  font-style: normal;
}

/* default  */

body {
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-weight: normal;
  font-size: 16px;
  text-align: left;
  box-sizing: border-box;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin: 0;
  padding: 0;
}

p {
  line-height: 20px;
  font-size: 16px;
  color: var(--font-color);
  margin-bottom: 15px;

}

:root {
  --primary-color: #2B2B2B;
  --secondary-color: #f2c00b;
  --light-color: #fff5cf;
  --dark-color: #D60000;
  --bg-color: #E8E8E8;
  --bg-two-color: #f3f3f3;
  --font-color: #000;
  --border: #e1e1e1;
  --link-color: #ffffff;
  --font-family: 'Hind Siliguri', sans-serif;
  --navbar-active-color: #d60000;
  color: #d60000;
}

.read-more {
  font-weight: 600;
  text-align: center;
  text-decoration: underline;
  padding-bottom: 10px;
  padding-top: 10px;
}


.top-logo img {
  width: 200px;
  height: auto;
  max-width: 100%;
}


/* top menu */
.top-menu {
  input {
    border: none;
    width: 15%;
    margin-right: -10px;
  }

  .top-date {
    padding-bottom: 10px;
  }

  p {
    color: var(--font-color);
  }

  a {
    font-size: 14px;
    font-weight: normal;
  }
}

.english-icon {
  color: var(--font-color);
}

/* ============================================
   NEW HEADER TOP SECTION
   ============================================ */

/* Site Header Wrapper */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

/* Top Header Bar */
.header-top {
  border-bottom: 1px solid #e5e5e5;
  padding: 15px 0;
  background: #fff;
}

/* Site Logo */
.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  width: 180px !important;
  max-height: 50px;
  transition: max-height 0.3s ease;
}

/* Header Actions Container */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}


/* Login Link */
.login-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.login-link i {
  font-size: 18px;
}

.login-link:hover {
  color: var(--dark-color);
}


/* ============================================
   RESPONSIVE STYLES FOR NEW HEADER
   ============================================ */

/* Tablet */
@media (max-width: 991px) {
  .header-top {
    padding: 12px 0;
  }

  .header-actions {
    gap: 15px;
  }

  .login-link span {
    display: none;
  }

  .login-link i {
    font-size: 18px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .header-top {
    padding: 10px 0;
  }

  .login-link i {
    font-size: 16px;
  }

  .header-actions {
    gap: 12px;
  }
}

/* Sticky Header Enhancement */
.site-header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled .site-logo img {
  max-height: 40px;
}

.site-header.scrolled .header-top {
  padding: 10px 0;
}

/* ============================================
   END NEW HEADER SECTION
   ============================================ */

/* Menu */
.navbar-nav ul li a {
  color: var(--border);
}

.navbar-nav .nav-item a {
  font-size: 15px;
  font-weight: bold;
  color: var(--font-color);
}

.main-menu {
  border-bottom: 2px solid var(--secondary-color);
  border-top: 2px solid var(--secondary-color);
  background-color: #ffffff;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1000;
}

/* When scrolled past header - becomes fixed */
.main-menu.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  animation: slideDown 0.3s ease;
}

/* Placeholder to prevent content jump */
.menu-placeholder {
  display: none;
}


@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.main-menu .navbar-expand-lg .navbar-nav .nav-link {
  padding: 15px 15px 15px 10px;
}

.main-menu .navbar-expand-lg .navbar-nav .nav-link.active,
.main-menu .navbar-expand-lg .navbar-nav .nav-link:hover {
  color: var(--navbar-active-color);
}

.main-menu .navbar-nav .nav-link.active,
.main-menu .navbar-nav .nav-link.show {
  color: var(--navbar-active-color);
}

.navbar-toggler {
  color: var(--primary-color);
}

.navbar-nav .mega-menu {
  background: var(--light-color);

  h6 {
    font-weight: bold;
    font-size: 15px;
    padding: 10px 15px;           // match list-item hit area
    color: var(--font-color);
    border-radius: 6px;
    display: block;               // make the whole line hoverable
    transition: all 0.2s ease;
    cursor: default;
  }

  // Hover like list items
  h6:hover {
    background: #f5f5f5;
    color: var(--navbar-active-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  // If your heading is clickable (h6 contains an <a>)
  h6 > a {
    display: block;
    padding: 10px 15px;           // keep same hit area if you remove h6 padding
    margin: -10px -15px;          // lets the <a> fill the h6 area
    color: inherit;
    text-decoration: none;
    border-radius: inherit;
  }

  h6 > a:hover {
    color: var(--navbar-active-color);
  }

  // Keyboard focus
  h6 > a:focus-visible {
    outline: 2px solid var(--navbar-active-color);
    outline-offset: 2px;
  }

  ul li a {
    font-weight: normal;
    font-size: 14px;
  }

  .mega-social-media .social-media {
    a {
      color: var(--font-color);

      i {
        font-size: 25px;
      }
    }
  }
}

.dropdown-item {
  font-weight: normal;
}

/* ============================================
   MOBILE HORIZONTAL SCROLL WITH FIXED HAMBURGER
   ============================================ */

/* Mobile Nav Wrapper */
@media (max-width: 991px) {
  .mobile-nav-wrapper {
    display: flex;
    width: 100%;
    position: relative;
  }

  /* Scrollable Menu Container */
  .main-menu .navbar-collapse {
    display: block !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
    padding: 0 !important;
    flex: 1;
    max-width: calc(100% - 100px); /* Reserve space for fixed items */
  }

  .main-menu .navbar-collapse::-webkit-scrollbar {
    display: none;
  }

  .main-menu .navbar-nav {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto;
  }

  .main-menu .nav-item {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .main-menu .navbar-expand-lg .navbar-nav .nav-link {
    
    display: inline-block;
    font-size: 14px;
  }

  .main-menu .navbar-nav .nav-link.active {
    background: rgba(242, 192, 11, 0.1);
    border-bottom: 3px solid var(--navbar-active-color);
  }

  /* Fixed Right Side Items */
  .nav-right-fixed {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    background: #fff;
    border-left: 1px solid #e5e5e5;
    position: relative;
    z-index: 10;
  }

  .nav-right-fixed .lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
  }

  .nav-right-fixed .lang-switch i {
    font-size: 14px;
  }

  /* Mobile Mega Menu Toggle Button */
  .mobile-mega-menu-toggle {
    background: none;
    border: none;
    font-size: 22px;
    color: #333;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Gradient indicators for scrollable area */
  .main-menu {
    position: relative;
  }

  .main-menu::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 5;
    pointer-events: none;
  }
}

/* ============================================
   MOBILE MEGA MENU OVERLAY (FULL SCREEN FIX)
   ============================================ */
@media (max-width: 991px) {
  
  /* 1. The Main Container (Fixed Overlay) */
  .ktm-mega-menu .mega-menu {
    position: fixed !important;
    inset: 0;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: #fff; /* White background for the whole menu */
    z-index: 9999;
    display: none; 
    width: 100% !important;
    height: 100vh !important;
    max-height: none !important;
    transform: none !important;
    
    /* Use Flexbox to stack Header and Content vertically */
    flex-direction: column; 
  }

  /* 2. Show state - must be display: flex to support the layout */
  .ktm-mega-menu .mega-menu.show {
    display: flex !important; 
  }

  /* 3. The Header (stays at top) */
  .mega-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 2px solid var(--secondary-color);
    background: var(--light-color);
    flex-shrink: 0; /* Prevents header from shrinking */
    z-index: 10001;
  }

  .mega-menu-header h5 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
  }

  /* 4. The Content (Takes remaining space and scrolls) */
  .mega-menu-content {
    position: static;
    width: 100%;
    height: auto;
    flex-grow: 1;
    background: #fff;
    overflow-y: auto; /* Enable scrolling for content only */
    padding: 20px 15px;
  }

  /* Close Button Style */
  .mega-menu-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    padding: 0 10px;
    line-height: 1;
  }
  
  /* Adjust padding for content inside */
  .mega-menu .container-fluid {
    padding: 0; 
  }
}

/* ============================================
   DESKTOP: KEEP ORIGINAL LAYOUT
   ============================================ */
@media (min-width: 992px) {
  .mobile-nav-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .main-menu .navbar-collapse {
    display: flex !important;
    flex: 1;
  }

  .main-menu .navbar-nav {
    flex-direction: row;
    gap: 5px;
    justify-content: center;
  }

  .nav-right-fixed {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
  }

  .nav-right-fixed .lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  .nav-right-fixed .lang-switch:hover {
    color: var(--dark-color);
    border-color: var(--dark-color);
  }

  /* Hide mobile mega menu toggle on desktop */
  .mobile-mega-menu-toggle {
    display: none;
  }

  /* Hide mobile mega menu specific elements on desktop */
  .mega-menu-header {
    display: none;
  }
  
  .mega-menu-content {
    height: auto;
    overflow: visible;
    background: transparent;
  }
}

/* ============================================
   SMALL MOBILE ADJUSTMENTS
   ============================================ */
@media (max-width: 576px) {
  .main-menu .navbar-expand-lg .navbar-nav .nav-link {
    padding: 12px 14px;
    font-size: 13px;
  }

  .nav-right-fixed {
    gap: 8px;
    padding: 0 8px;
  }

  .nav-right-fixed .lang-switch {
    padding: 5px 8px;
    font-size: 12px;
  }

  .mobile-mega-menu-toggle {
    font-size: 20px;
    padding: 6px;
  }
}

/* Mega Menu Container (Desktop Base) */
.ktm-mega-menu {
  position: static;
}

@media (min-width: 992px) {
  .ktm-mega-menu .mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 30px 0;
    background: var(--light-color);
    border: none;
    border-top: 3px solid var(--secondary-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-radius: 0;
    display: none;
    z-index: 1000;
    top: 100%;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .ktm-mega-menu:hover .mega-menu,
  .ktm-mega-menu .mega-menu:hover,
  .ktm-mega-menu .mega-menu.show {
    display: block;
  }
}

/* Custom Scrollbar for Mega Menu */
.ktm-mega-menu .mega-menu::-webkit-scrollbar {
  width: 8px;
}

.ktm-mega-menu .mega-menu::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.ktm-mega-menu .mega-menu::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 4px;
  transition: background 0.3s ease;
}

.ktm-mega-menu .mega-menu::-webkit-scrollbar-thumb:hover {
  background: var(--navbar-active-color);
}

/* Firefox Scrollbar */
.ktm-mega-menu .mega-menu {
  scrollbar-width: thin;
  scrollbar-color: var(--secondary-color) rgba(0, 0, 0, 0.05);
}

/* Mega Menu Title */
.mega-menu-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 12px;
  padding-bottom: 8px;
  padding-left: 0;
  border-bottom: 2px solid var(--secondary-color);
  font-family: 'hind_siliguri', Arial, sans-serif;
  text-transform: none;
}

/* Mega Menu List */
.mega-menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-menu-list li {
  margin-bottom: 6px;
  line-height: 1.5;
}

.mega-menu-list .dropdown-item {
  padding: 5px 0;
  font-size: 14px;
  font-weight: normal;
  color: var(--font-color);
  background: transparent;
  border: none;
  transition: all 0.2s ease;
  white-space: normal;
  font-family: 'hind_siliguri', Arial, sans-serif;
  border-radius: 0;
}

.mega-menu-list .dropdown-item:hover,
.mega-menu-list .dropdown-item:focus {
  color: var(--navbar-active-color);
  background: transparent;
  padding-left: 8px;
  font-weight: 600;
}

/* Social Media Section */
.mega-menu-social {
  margin-top: 0;
  padding-top: 20px;
}

.mega-menu-social h6 {
  font-size: 15px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 12px;
  padding-left: 0;
  font-family: 'hind_siliguri', Arial, sans-serif;
}

.mega-menu-social .social-media {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.mega-menu-social .social-media a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border-radius: 0;
  color: var(--font-color);
  font-size: 25px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.mega-menu-social .social-media a:hover {
  color: var(--navbar-active-color);
  transform: translateY(-2px);
}

/* Container Fluid Padding */
.mega-menu .container-fluid {
  padding-left: 40px;
  padding-right: 40px;
}

/* Row Spacing */
.mega-menu .row {
  margin-bottom: 0;
}

.mega-menu .row + .row {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1.5px solid var(--border);
}

/* Column Styling */
.mega-menu .col-md-2 {
  padding-left: 15px;
  padding-right: 15px;
}

/* Hover Effect on Nav Link */
.ktm-mega-menu .nav-link {
  position: relative;
}

.ktm-mega-menu .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--navbar-active-color);
  transition: width 0.3s ease;
}

.ktm-mega-menu:hover .nav-link::after,
.ktm-mega-menu .nav-link.active::after {
  width: 80%;
}

/* Responsive Design Adjustments for Content */
@media (max-width: 991px) {
  .mega-menu .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }

  .mega-menu .row {
    margin-left: 0;
    margin-right: 0;
  }

  .mega-menu .col-md-2 {
    width: 100%;
    margin-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
  }

  .mega-menu .row + .row {
    margin-top: 0;
    padding-top: 20px;
    border-top: 1.5px solid var(--border);
  }

  .mega-menu-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .mega-menu-list .dropdown-item {
    font-size: 14px;
    padding: 6px 0;
  }

  .mega-menu-social {
    margin-top: 0;
    padding-top: 0;
  }
  
  /* Mobile Scrollbar */
  .mega-menu-content::-webkit-scrollbar {
    width: 6px;
  }
}

@media (max-width: 767px) {
  .mega-menu-list .dropdown-item {
    font-size: 13px;
  }

  .mega-menu-social .social-media a {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}

/* Smooth Transitions */
.mega-menu * {
  transition: all 0.2s ease;
}

/* Accessibility */
.mega-menu-list .dropdown-item:focus {
  outline: 2px solid var(--navbar-active-color);
  outline-offset: 2px;
}

/* When menu is sticky, adjust mega menu position */
.main-menu.is-sticky .ktm-mega-menu .mega-menu {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Smooth appearance animation */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ktm-mega-menu:hover .mega-menu {
  animation: fadeInDown 0.3s ease;
}

/* Ensure proper spacing in mega menu columns */
.mega-menu .col-md-2:not(:last-child) {
  margin-bottom: 0;
}

/* END MEGA MENU STYLING */


/* top news Section  */

.breaking-news-title {
  padding-bottom: 10px;

  h6 {
    color: var(--dark-color);
    font-weight: bold;
  }
}

.news-meta {
  ul li {
    padding: 0 8px 0 0;
    font-size: 11px;
    line-height: 13px;
    list-style: none;
    display: inline-block;
    background: url(/assets/v2/img/list.jpg) no-repeat right;

    a {
      font-size: 13px;
      color: var(--font-color);
      font-weight: 600;
    }
  }

  ul li:last-child {
    background: none;
  }
}

.breaking-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: var(--dark-color);
  border-radius: 50%;
  margin: 11px 10px 0px 0;
  animation: pulse 1s cubic-bezier(.4, 0, .6, 1) infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite
}

@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}



/* News Card  */
.card-news {
  margin-bottom: 10px;
  border-bottom: 1.5px solid var(--border);
}

.breaking-middle {
  border-right: 1.5px solid var(--border);
  border-left: 1.5px solid var(--border);
  padding: 0 12px 0 12px;
  margin: 0 -10px 0 -10px;
}
.breaking-middle .img-fluid {
    width: 630px;
}

.sport-title h6 {
  padding: 10px 0;
  font-size: 25px;
  font-weight: bold;
}


.sports-news .sport-title {
  padding-top: 0px;
  margin-bottom: 18px;
}

.global-news {
  .news-meta {
    padding-top: 10px;
  }

  p {
    padding-top: 10px;
  }
}

/* Right top Section  */

.ads-part-right {
  margin-bottom: 20px;
}

.news-content {
  margin-bottom: 20px;
}

.right-news-card {
  ul {
    padding-top: 8px;
  }
}

.right-ads {
  margin-bottom: 10px;
}

.international {
  margin-bottom: 25px;
  border-bottom: 1.5px solid var(--border);
  padding-bottom: 20px;

  .news-meta {
    padding-bottom: 8px;
  }

}

/* international-trade */

.tranding {
  background-color: var(--light-color);
  margin-top: 3.5rem;
}

@media (min-width: 992px) {
  .img-custom {
    width:450px;
  }
}

@media (min-width: 1200px) {
  .img-top-news {
	width:300px; 
  }
}

.international-tranding-news .card-news {
  border-bottom: none;
  padding-right: 30px;

  h6 {
    font-size: 25px;
    font-weight: bold;
  }

  .news-meta {
    padding: 10px 0 20px 0;
  }
}



.international-service {
  .card-news {
    border-bottom: none;
    margin-bottom: 0px;
  }

  .news-meta {
    padding: 10px 0 0 0;
    font-size: 12px;

    a {
      font-size: 13px;
    }
  }
}

.tranding .read-more a {
  color: var(--primary-color);
}

/* ads-part */

.ads-part {
  background-color: var(--bg-two-color);
  padding: 3rem 0 3rem 0;
  margin-bottom: 50px;
}

/* employment part  */

.news-headline-title {
  padding: 15px 0 15px 0;
  margin-bottom: 25px;
  border-bottom: 1.5px solid var(--secondary-color);

  h4 {
    font-size: 25px;
    line-height: 30px;
    font-weight: bold;
  }

}

.employmment-card .card-news {
  border-bottom: none;

  h6 {
    font-size: 25px;
    font-weight: bold;
  }

  .news-meta {
    padding: 10px 0 20px 0;
  }
}

/* Right Part */
.employment-content {
  .international {
    padding-bottom: 18px;
    margin-bottom: 18px;
  }
}

/* Educational field  and  Campuse  */
.explore-content {
  border-bottom: 1.5px solid var(--secondary-color);
  margin-bottom: 27px;
  margin-top: -5px;
}

.nav-pills .nav-link {
  font-weight: bold;
  color: var(--primary-color);
  padding-left: 0;
  margin-right: 3.6rem;
  font-size: 25px;
}

.nav-pills .nav-link.active {
  background-color: #ffff;
  color: #1a1a1a;
  border-bottom: 3px solid var(--font-color);
  border-radius: 0;
  margin-bottom: -2px;
  font-weight: bold;
}

.educational-field .card-news {
  border-bottom: none;
}

.educational-field .card-news .news-meta {
  padding: 8px 0 0 0;

  p {
    padding: 8px 0 0 0;
  }
}


/* Campuse speaking */
.campuse-left h6 {
  padding: 20px 0 0 0;
  font-size: 15px;
}

.campuse-title .news-headline-title {
  padding: 9px 0 9px 0;
  margin-bottom: 2px;
}

.campuse-content {
  .card-news {
    .news-meta {
      padding: 15px 0 14px 0;
    }
  }
}

.campuse-searhing {
  background-color: var(--light-color);
  padding: 5px 0 8px 5px;
  margin-bottom: 20px;
  margin-top: -2px;

  select {
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: bold;
    padding: 3px 0 2px 30px;
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 5px;
  }

  .btn-primary {
    background-color: var(--secondary-color);
    color: var(--bg-two-color);
    font-size: 10px;
    padding: 3px 38px 3px 38px;
    margin-right: 10px;
    border: none;
    border-radius: 0px;
    outline: none;
  }

  .btn:first-child:active {
    background-color: var(--border);
    color: #ffffff;
  }
}

.campuse-speaking-content {
  padding: 2rem 0 1rem 10rem;
  background: #fff8dd;

  img {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    text-align: center;
  }

  .campuse-title {
    padding-top: 10px;

    .news-meta {
      padding-top: 10px;
      padding-bottom: 8px;
      border-bottom: 1.5px solid var(--border);
    }
  }
}

.card-news {
  position: relative;
}

.speaking-icon {
  position: absolute;
  top: 30px;
  left: 80px;
}

.campuse-vc {
  border-bottom: 1.5px solid var(--primary-color);
}

/* Read More Slider */
.learn-more {
  position: relative;
  margin-bottom: 10px;
  padding: 0 0 10px 0;

  img {
    border-radius: 10px;
    opacity: 0.9;
  }
}

.learn-more-title {
  position: absolute;
  left: 19px;
  bottom: 18%;

  a {
    color: var(--bg-two-color);
  }
}

.learn-more-title .heading-title {
  display: inline-block;
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  background: var(--secondary-color);
}
.job-heading-title {
	display: inline-block;
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
  margin-Right: 20px;
  background: #5E5E5EB1;
}

/* slider */
.carousel-indicators {
  bottom: -25px;
}

.carousel-indicators [data-bs-target] {
  background: #111111;
  border-radius: 50%;
  width: 12px;
  height: 8px;
  border-top: 2px solid #111111;
  border-bottom: 2px solid #111111;
}

/* District News */
.district-title {
  margin-bottom: 0px;
}

.district-searching {
  padding: 10px 0 10px 0;
  gap: 20%;
  background-color: var(--light-color);

  select {
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: bold;
    padding: 2px 0 2px 30px;
    width: 8rem;
    border: 1.5px solid var(--border);
    border-radius: 5px;
  }
}

.district-button {
  background-color: var(--secondary-color);
  color: var(--bg-two-color);
  font-size: 10px;
  padding: 3px 35px 3px 35px;
  margin: 10px 10px 0 0;
  border: none;
  border-radius: 0px;
  outline: none;
}

.btn:first-child:active {
  background-color: var(--border);
  color: #ffffff;
}

.district-left .news-meta,
.district-content .news-meta {
  padding: 5px 0 8px 0;

  p {
    padding: 10px 0 10px;
  }
}

.district-card {
  padding-bottom: 3.5rem;

  .card-news {
    margin-bottom: 0px;
  }

  .international {
    margin-bottom: 17px;
    padding-bottom: 17px;
  }
}

.district-service {
  border-bottom: none;

  p {
    margin-top: 15px;
  }
}

/* sport And politics  News */
.sport-left {

  p {
    padding-top: 10px;
  }
}

.sport-content {
  .card-news {
    margin-bottom: 9px;
    padding-bottom: 11px;
  }

  .international {
    margin-bottom: 9px;
    padding-bottom: 11px;
  }
}

.sport-content-left .card-news {
  padding-bottom: 11px;

  h6 {
    padding: 10px 0 10px 0;
  }

}

.politics {
  border-left: 1.5px solid var(--border);
  padding-left: 8px;
  margin-left: -13px;
  padding-bottom: 10px;
}

/* Editor's Column */
.editor-content .card-news {
  border-right: 1.5px solid var(--border);
  border-bottom: none;
  padding-right: 8px;
  margin-right: -14px;
}

.editor-Column .col-lg-3:nth-child(5) .editor-content .card-news {
  border-right: none;
}

/* picture gallery */
.picture {
  margin-bottom: 15px;
}

.picture-item h6 {
  padding-top: 10px;
}

/* ongoing Part  */
.ongoing {
  background: var(--bg-two-color);
  padding: 30px 0 20px 0;
}

.ongoing-content {
  .news-meta {
    padding: 10px 0 10px 0;
  }
}

.ongoing-item {
  position: relative;
}

.ongoing-icon {
  position: absolute;
  top: 0;
  left: -20px;

  img {
    height: 6rem;
    width: 7.5rem;
  }
}

.ongoing-icon-part {
  position: absolute;
  top: 0;
  left: 0;

  img {
    height: 3rem;
    width: 3.5rem;
    cursor: pointer;
  }
}

/* footer Part */
.footer-part {
  background: var(--font-color);
  color: var(--bg-two-color);

  p {
    font-size: 14px;
    color: var(--bg-two-color);

    a {
      color: var(--link-color);
    }
  }

  h6 {
    margin-bottom: 10px;
    font-weight: bold;
  }
}

.footer-item {
  ul li {
    list-style: none;
    padding-bottom: 5px;

    a {
      font-size: 14px;
      color: var(--link-color);
      font-weight: 500;
    }
  }
}

.social-media-icons {
  ul li {
    display: inline-block;
    list-style-type: none;
  }

  a {
    color: var(--link-color);
    font-size: 25px;
  }
}

.footer-social-media {
  p {
    font-weight: 700;
  }
}

/* Discription */
.ads-header {
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 20px;
}

.description-left {
  .card-news {
    h2 {
      font-size: 38px;
      line-height: 4rem;
    }
  }

  p {
	font-size: 19px;
    line-height: 30px;
  }
}

.description-read {
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
  padding: 10px 0 10px 0;
  margin: 15px 0 15px 0;
}

.description-right .card-news {
  border-bottom: none;
}

.description-content-img {
  padding: 30px 0 30px 0;
}

.content-imge p {
  margin: 0 20% 0 20%;
  background: var(--bg-two-color);
  padding: 3px 0 3px 0;
}

.description-date {
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 20px;
  padding-bottom: 10px;

  .news-meta {
    ul li {
      font-size: 14px;

      a {
        font-size: 14px;
      }
    }
  }

  p {
    font-size: 14px;
  }
}

.right-content {
  .news-meta {
    ul li {
      font-size: 11px;

      a {
        font-size: 12px;
      }
    }
  }
}

.quote-box {
  background-color: var(--light-color);
  border-bottom: 3px solid var(--secondary-color);
  padding: 40px;
  position: relative;
  max-width: 600px;
  text-align: center;
  margin: 50px auto;
}

.quote-icon {
  position: absolute;
  top: -30px;
  left: 25px;
  font-weight: bold;
}

.quote-text {
  font-size: 20px;
  color: var(--primary-color);
  margin-top: 20px;
  font-weight: 500;
}



/* Category */
.top-category {
  border-top: 1.5px solid var(--border);
  border-bottom: none;
  background: var(--light-color);
  padding: 25px 0 20px 0;
  margin-bottom: 2rem;

  h4 {
    font-size: 40px;
  }
}

/* cricket */
.cricket-content .ongoing-item {
  h6 {
    border-bottom: 1.5px solid var(--border);
    padding: 16px 0 2rem 0;
  }

  .news-meta {
    border-bottom: 1.5px solid var(--border);
    padding: 8px 0 8px 0;

    ul li {
      font-size: 14px;
    }
  }

}

.cricket-item {
  border-left: 1.5px solid var(--border);
  border-spacing: 10px;
  padding-left: 10px;
  margin-left: -14px;

  .card-news {
    padding-bottom: 37px;
    margin-bottom: 0px;
  }

  .district-left h6 {
    padding: 12px 0 20px 0;
  }

  p {
    padding-bottom: 2rem;
  }
}

.sub-category-item {
  padding-left: 25px;
  margin-left: 0px;
}


/* football */
.football-content {
  .card-news {
    border: none;
  }


  .football-item {
    border-bottom: 1.5px solid var(--border);
    margin-bottom: 10px;

  }
}



.district-left .news-meta {
  padding: 8px 0 8px 0;

  ul li {
    font-size: 14px;
  }
}

/* badminton */
.football-right .card-news,
.badminton-right .card-news,
.badminton-left .card-news {
  border: none;
}

/* pagination */
.sub-pagination {
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
  margin: 20px 0 30px 0;
  padding: 10px 0 10px 0;

  nav {
    background: var(--secondary-color);
  }

  .sub-bottom-pagenating {
    ul li {
      a {
        background-color: transparent;
        color: var(--bg-two-color);
        border: none;
        outline: none;
      }
    }
  }

  .page-item:last-child {
    padding-left: 7rem;
  }

  .page-item:first-child {
    padding-right: 7rem;

  }
}

/* sub Category */
.sub-category-ads {
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 15px;
}

.sub-category-content {
  margin-top: 20px;
  padding-bottom: 20px;

  .card-news {
    margin-bottom: 25px;
    padding-bottom: 30px;
    h6 {
      margin-top: 10px;
    }
  }

  .news-meta {
    padding: 10px 0 10px 0;
  }

}

.sub-category-content .sub-pagination {
  border: none;

  .page-item:last-child {
    padding-left: 2rem;
  }

  .page-item:first-child {
    padding-right: 2rem;

  }
}

/* Desktop Navigation Container Alignment */
@media (min-width: 992px) {
  .main-menu .container {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 0px;
  }

  .mobile-nav-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .main-menu .navbar-collapse {
    flex: 1;
    display: flex !important;
    justify-content: flex-start;
  }

  .main-menu .navbar-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: flex-start;
  }

  /* Reduce padding to fit all items */
  .main-menu .navbar-expand-lg .navbar-nav .nav-link {
    padding: 15px 15px 15px 10px; /* Reduced from 25px to 15px */
    font-size: 16px;
    white-space: nowrap;
  }

  .nav-right-fixed {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    flex-shrink: 0;
  }
}

/* For large screens - more padding */
@media (min-width: 1400px) {
  .main-menu .container {
    max-width: 1400px;
  }

  .main-menu .navbar-expand-lg .navbar-nav .nav-link {
    padding: 15px 20px 10px 20px; /* More space on larger screens */
  }
}

/* For medium-large screens */
@media (min-width: 1200px) and (max-width: 1399px) {
  .main-menu .container {
    max-width: 1140px;
  }

  .main-menu .navbar-expand-lg .navbar-nav .nav-link {
    //padding: 10px 10px 10px 5px;
    font-size: 15px;
  }
}

/* For smaller desktop screens */
@media (min-width: 992px) and (max-width: 1199px) {
  .main-menu .container {
    max-width: 960px;
  }
  
  .main-menu .navbar-expand-lg .navbar-nav .nav-link {
    padding: 10px 10px 10px 5px;
    font-size: 14px;
  }
}

/* ===============================
   Article Social Share & Caption
   =============================== */

/* Social Share Buttons */
.share-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Makes them circular */
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s;
    font-size: 16px;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: #fff;
}

/* Brand Colors */
.share-btn.facebook { background-color: #1877F2; }
.share-btn.messenger { background-color: #00B2FF; }
.share-btn.whatsapp { background-color: #25D366; }
.share-btn.x-twitter { background-color: #000000; }
.share-btn.copy-link { background-color: #6c757d; }

/* Caption Styling */
.image-caption {
    background-color: #f8f9fa; /* Light grey background */
    padding: 8px 10px;
    border-left: 3px solid var(--secondary-color); /* Adds a nice accent line */
}

.image-caption p {
    font-size: 13px;
    color: #555;
    font-style: italic;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .social-share-box {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }
}

/* Wrapper to keep the layout stable (16:9 Ratio) */
.video-thumb-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  border-radius: 6px;
  background-color: #f0f0f0;
  display: block;
}

/* The Image itself */
.video-thumb-wrapper img.thumb-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills the box perfectly */
  transition: transform 0.3s ease;
}

/* Slight zoom effect on hover */
.ongoing-item:hover .thumb-img {
  transform: scale(1.05);
}

/* Caption Styling */
.video-caption {
  margin-top: 10px;
  display: block;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  text-decoration: none;
}

.video-caption:hover {
  color: #d32f2f;
}

/* Social Share Buttons Styling */
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    color: #fff;
}

.share-btn.facebook {
    background-color: #1877f2;
}

.share-btn.messenger {
    background-color: #0084ff;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn.x-twitter {
    background-color: #000;
}

.share-btn.copy-link {
    background-color: #6c757d;
}

.share-btn.print {
    background-color: #495057;
}

.share-btn.print:hover {
    background-color: #343a40;
}

/* Quote Box Styling */
.quote-box {
    background: #f8f9fa;
    border-left: 4px solid var(--secondary-color, #AD1A1F);
    padding: 20px 20px 20px 60px;
    margin: 20px 0;
    position: relative;
}

.quote-icon {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 30px;
    height: 30px;
}

.quote-text {
    font-style: italic;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

/* Image Caption */
.image-caption {
    font-size: 14px;
    color: #6c757d;
}

/* Content Image Styling */
.description-content-img {
    margin: 30px 0;
}

.content-imge p {
    font-size: 14px;
    color: #6c757d;
    margin-top: 10px;
}

/* Right Content Sidebar */
.right-content {
	padding-top: 1.5rem !important;
}

.right-content:last-child {
    border-bottom: none;
}

/* Read More Section */
.read-more-discription {
    text-align: center;
    padding: 15px 0;
    margin: 20px 0;
    border-top: 2px solid var(--secondary-color, #AD1A1F);
    border-bottom: 2px solid var(--secondary-color, #AD1A1F);
}

.read-more-discription a {
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

/* Tags styling */
.tags .btn-outline-secondary {
    border-color: #ddd;
    color: #666;
}

.tags .btn-outline-secondary:hover {
    background-color: var(--secondary-color, #AD1A1F);
    border-color: var(--secondary-color, #AD1A1F);
    color: #fff;
}

/* =========================================
   STICKY HEADER STYLES
   ========================================= */

/* When the header has the class 'sticky-active' */
.site-header.sticky-active .main-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background-color: #ffffff; /* Change to your menu background color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.35s ease-in-out;
    padding: 5px 0; /* Optional: Slimmer menu on scroll */
}

/* Show the logo when sticky */
.site-header.sticky-active .sticky-logo {
    display: block !important;
}

/* Ensure Nav Items align correctly with the logo */
.site-header.sticky-active .mobile-nav-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Animation Effect */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Category Pills/Tabs Styling */
.subcategory-pills .pill-link {
    display: inline-block;
    padding: 6px 16px;
    background-color: #f5f5f5;
    color: #333;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.subcategory-pills .pill-link:hover,
.subcategory-pills .pill-link.active {
    background-color: #d32f2f;
    color: #fff;
    border-color: #d32f2f;
}

/* Featured Story Styling */
.featured-story h5 {
    font-size: 22px;
    line-height: 1.4;
    font-weight: bold;
}

.featured-story h5 a {
    text-decoration: none;
}

.featured-story h5 a:hover {
    color: #d32f2f;
}

/* Responsive */
@media (max-width: 991px) {
    .category-main-title {
        font-size: 26px !important;
    }
    
    .featured-story h5 {
        font-size: 18px;
    }
}

/* Category SEO Content Styling */
			.category-seo-content {
				background: #ffffff;
				border: 1px solid #e0e0e0;
				border-top: 3px solid #cf8e00;
				padding: 30px;
				margin-top: 40px;
				margin-bottom: 40px;
				border-radius: 4px;
				box-shadow: 0 2px 4px rgba(0,0,0,0.05);
				position: relative;
			}

			.seo-content-wrapper {
				font-size: 16px;
				line-height: 1.8;
				color: #333;
				font-family: 'SolaimanLipi', Arial, sans-serif;
				position: relative;
			}

			/* Hide elements after 2nd paragraph initially */
			.seo-content-wrapper.collapsed > *:nth-child(n+3) {
				display: none !important;
			}

			/* Fade overlay for collapsed state */
			.seo-fade-overlay {
				display: block;
				position: absolute;
				bottom: 60px;
				left: 0;
				right: 0;
				height: 80px;
				background: linear-gradient(to bottom, transparent, #ffffff);
				pointer-events: none;
				transition: opacity 0.3s ease;
				z-index: 1;
			}

			.seo-fade-overlay.hidden {
				opacity: 0;
				display: none;
			}

			/* Button Styling */
			.btn-seo-toggle {
				background: #cf8e00;
				color: #ffffff;
				border: none;
				padding: 12px 30px;
				font-size: 16px;
				font-weight: 600;
				border-radius: 4px;
				cursor: pointer;
				transition: all 0.3s ease;
				display: inline-flex;
				align-items: center;
				gap: 8px;
				box-shadow: 0 2px 4px rgba(211, 47, 47, 0.3);
				position: relative;
				z-index: 2;
			}

			.btn-seo-toggle:hover {
				background: #b71c1c;
				box-shadow: 0 4px 8px rgba(211, 47, 47, 0.4);
				transform: translateY(-1px);
			}

			.toggle-icon {
				transition: transform 0.3s ease;
				font-size: 12px;
			}

			.btn-seo-toggle.expanded .toggle-icon {
				transform: rotate(180deg);
			}

			.mt-20 {
				margin-top: 20px;
			}

			/* Content Styling */
			.seo-content-wrapper p {
				margin-bottom: 15px;
				text-align: justify;
			}

			.seo-content-wrapper a {
				color: #d32f2f;
				text-decoration: none;
				font-weight: 500;
			}

			.seo-content-wrapper a:hover {
				color: #b71c1c;
				text-decoration: underline;
			}

			@media (max-width: 768px) {
				.category-seo-content {
					padding: 20px 15px;
				}
				.seo-content-wrapper {
					font-size: 15px;
				}
				.btn-seo-toggle {
					padding: 10px 20px;
					font-size: 15px;
				}
			}

/* =========================================
   PAGINATION STYLING
   ========================================= */

/* Pagination Container */
.sub-pagination {
    border-top: 1.5px solid var(--border);
    border-bottom: 1.5px solid var(--border);
    margin: 20px 0 30px 0;
    padding: 10px 0 10px 0;
}

.sub-pagination .pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Page Item Styling */
.sub-pagination .page-item {
    margin: 0;
}

.sub-pagination .page-item .page-link {
    border-radius: 6px;
    border: 1px solid #dee2e6;
    background-color: #fff;
    color: #333;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 45px;
    text-align: center;
}

/* Active Page */
.sub-pagination .page-item.active .page-link {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    box-shadow: 0 2px 6px rgba(211, 47, 47, 0.3);
}

/* Hover Effect */
.sub-pagination .page-item .page-link:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Active Page Hover (No transform) */
.sub-pagination .page-item.active .page-link:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    transform: none;
}

/* Previous/Next Buttons */
.sub-pagination .page-item:first-child .page-link,
.sub-pagination .page-item:last-child .page-link {
    font-weight: 700;
    padding: 10px 20px;
    
}

.sub-pagination .page-item:first-child .page-link:hover,
.sub-pagination .page-item:last-child .page-link:hover {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: #d32f2f;
}

/* Disabled State */
.sub-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sub-pagination .page-link {
        padding: 8px 12px;
        font-size: 14px;
        min-width: 38px;
    }
    
    .sub-pagination .page-item:first-child .page-link,
    .sub-pagination .page-item:last-child .page-link {
        padding: 8px 15px;
    }
    
    .sub-pagination .pagination {
        gap: 5px;
    }
}

@media (max-width: 576px) {
    .sub-pagination .page-link {
        padding: 6px 10px;
        font-size: 13px;
        min-width: 35px;
    }
    
    .sub-pagination .page-item:first-child .page-link,
    .sub-pagination .page-item:last-child .page-link {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Remove old pagination styling conflicts */
.sub-pagination nav {
    background: transparent;
}

.sub-pagination .sub-bottom-pagenating ul li a {
    background-color: #fff;
    color: #333;
    border: 1px solid #dee2e6;
}

.sub-pagination .page-item:last-child {
    padding-left: 0;
}

.sub-pagination .page-item:first-child {
    padding-right: 0;
}

/* ========================================
   District News Section Styles
======================================== */

.district-news-section {
    position: relative;
    overflow: hidden;
}

/* Selector Card */
.district-selector-card {
    position: relative;
    overflow: hidden;
}

.district-selector-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.district-selector-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* Form Controls */
.district-selector-card .form-select {
    border: none;
    border-radius: 10px;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.district-selector-card .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    border-color: #dc3545;
}

.district-selector-card .form-select:disabled {
    background-color: #e9ecef;
    opacity: 0.7;
    cursor: not-allowed;
}

/* News Cards */
.district-news-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.district-news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.district-news-card img {
    transition: transform 0.6s ease;
}

.district-news-card:hover img {
    transform: scale(1.15);
}

.district-news-card .hover-title {
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.district-news-card:hover .hover-title {
    color: #dc3545 !important;
}

/* Badge Styling */
.district-news-card .badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

/* Image Container */
.district-news-card .overflow-hidden {
    position: relative;
}

.district-news-card .overflow-hidden::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.district-news-card:hover .overflow-hidden::after {
    opacity: 1;
}

/* Empty State */
.empty-state {
    padding: 3rem 1rem;
}

/* Fade-in Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.district-news-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.district-news-card:nth-child(1) { animation-delay: 0.1s; }
.district-news-card:nth-child(2) { animation-delay: 0.15s; }
.district-news-card:nth-child(3) { animation-delay: 0.2s; }
.district-news-card:nth-child(4) { animation-delay: 0.25s; }
.district-news-card:nth-child(5) { animation-delay: 0.3s; }
.district-news-card:nth-child(6) { animation-delay: 0.35s; }
.district-news-card:nth-child(7) { animation-delay: 0.4s; }
.district-news-card:nth-child(8) { animation-delay: 0.45s; }

/* Loading State */
.district-results {
    transition: opacity 0.3s ease;
}

.district-results.loading {
    opacity: 0.4;
    pointer-events: none;
}

/* See More Button */
.btn-outline-danger.rounded-pill {
    transition: all 0.3s ease;
}

.btn-outline-danger.rounded-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .district-selector-card {
        border-radius: 10px;
        padding: 1.5rem !important;
    }
    
    .section-header h3 {
        font-size: 1.5rem;
    }
    
    .district-news-card {
        margin-bottom: 1.5rem;
    }
}

/* Object Fit Polyfill for older browsers */
.object-fit-cover {
    object-fit: cover;
}

/* University Selector Styling */
.university-selector-wrapper .form-select {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.university-selector-wrapper .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.15);
}

#campusNewsResults {
    transition: opacity 0.3s ease;
}

/* Sticky Footer ad */
.sticky-footer{
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%); /* hidden off-screen by default */
    opacity: 0;
    z-index: 99999;
    transition: transform .25s ease, opacity .25s ease;
    pointer-events: none;
  }
  .sticky-footer.sticky_add{
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
  }
  .sticky-footer.sticky_closed{
    display: none !important;
  }

  .sticky-close{
    position: absolute;
    right: -11px;
    top: -13px;
    background: #746f6f;
    padding: 5px 6px;
    border-radius: 50%;
    font-size: 12px;
    line-height: 14px;
    color: #fff;
    cursor: pointer;
  }
  
/* Related Articles Hover Effects */
.related-cat-link:hover {
  color: #dc3545 !important;
}

.related-news-link:hover {
  color: #dc3545 !important;
}

.related-news-link:hover .transition-icon {
  color: #dc3545 !important;
}

/* Smooth transition for color change */
.related-cat-link,
.related-news-link,
.transition-icon {
  transition: color 0.2s ease-in-out;
}


/* =========================================
   DARK MODE INTEGRATION
   ========================================= */

/* 1. Define Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #e0e0e0;       /* Lighter text for dark bg */
    --secondary-color: #f2c00b;     /* Keep accent color same or slightly brighter */
    --light-color: #1e1e1e;         /* Dark grey for light backgrounds */
    --dark-color: #ff4d4d;          /* Brighter red for visibility */
    --bg-color: #121212;            /* Main background - almost black */
    --bg-two-color: #1a1a1a;        /* Secondary background */
    --font-color: #b0b0b0;          /* Softer white for reading text */
    --border: #333333;              /* Darker borders */
    --link-color: #ffffff;
    --navbar-active-color: #ff4d4d;
}

/* 2. Global Overrides for Dark Mode */
[data-theme="dark"] body {
    background-color: var(--bg-color);
    color: var(--font-color);
}

[data-theme="dark"] a {
    color: var(--primary-color);
}

[data-theme="dark"] a:hover {
    color: var(--secondary-color);
}

/* 3. Component Specific Overrides */

/* Header & Menu */
[data-theme="dark"] .site-header,
[data-theme="dark"] .main-menu,
[data-theme="dark"] .header-top {
    background-color: #1a1a1a;
    border-color: #333;
}

[data-theme="dark"] .navbar-nav .nav-item a {
    color: #e0e0e0;
}

[data-theme="dark"] .main-menu .navbar-expand-lg .navbar-nav .nav-link:hover,
[data-theme="dark"] .main-menu .navbar-expand-lg .navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

[data-theme="dark"] .mega-menu {
    background-color: #1a1a1a !important;
    border-top-color: var(--secondary-color);
}

[data-theme="dark"] .mega-menu h6,
[data-theme="dark"] .mega-menu-list .dropdown-item {
    color: #ccc;
}

[data-theme="dark"] .mega-menu-list .dropdown-item:hover {
    color: var(--secondary-color);
}

/* Cards & News Items */
[data-theme="dark"] .card, 
[data-theme="dark"] .card-news,
[data-theme="dark"] .district-news-card {
    background-color: #1e1e1e;
    border-color: #333;
}

[data-theme="dark"] .card-body h6 a,
[data-theme="dark"] .news-headline-title h4,
[data-theme="dark"] .breaking-news-title h6 {
    color: #e0e0e0;
}

/* Inputs & Forms */
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] .form-select,
[data-theme="dark"] .search-input {
    background-color: #2d2d2d;
    color: #fff;
    border-color: #444;
}

[data-theme="dark"] .search-box {
    background-color: #2d2d2d;
}

/* Specific Sections */
[data-theme="dark"] .bg-light,
[data-theme="dark"] .tranding,
[data-theme="dark"] .campuse-searhing,
[data-theme="dark"] .district-searching,
[data-theme="dark"] .quote-box {
    background-color: #1a1a1a !important;
    color: #ddd;
}

[data-theme="dark"] .ads-part,
[data-theme="dark"] .ongoing {
    background-color: #151515;
}

[data-theme="dark"] .campuse-speaking-content {
    background-color: #252525;
}

/* 3D Swiper Fixes */
[data-theme="dark"] .swiper-slide {
    background-color: #252525 !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

[data-theme="dark"] .slide-bottom-info,
[data-theme="dark"] .slide-top-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
}

/* Buttons */
[data-theme="dark"] .btn-theme {
    color: #000; /* Keep black text on yellow button for contrast */
}

/* Transitions for smooth toggle */
body, .card, .main-menu, .site-header, input, h1, h2, h3, h4, h5, h6, p, a {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ================================================== */
/* DARK MODE: LOGO & MENU FIXES                       */
/* ================================================== */

/* 1. Fix Logo Visibility */
/* Adds a light, semi-transparent background and padding to the logo image so black text is visible */
[data-theme="dark"] .site-logo img {
    background-color: rgba(255, 255, 255, 0.9); /* Light background */
    padding: 5px 10px; /* Add some breathing room */
    border-radius: 8px; /* Rounded corners for a polished look */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Subtle shadow for depth */
}

/* 2. Fix Menu White Gradient & Hamburger Background */
@media (max-width: 991px) {
    /* Change the left scroll gradient from white to dark */
    [data-theme="dark"] .main-menu::before {
        background: linear-gradient(to right, var(--bg-two-color) 0%, rgba(26, 26, 26, 0) 100%);
    }

    /* Fix the Hamburger Menu area background and icon color */
    [data-theme="dark"] .nav-right-fixed {
        background-color: var(--bg-two-color); /* Match menu background */
        border-left-color: #333; /* Darker border */
    }

    [data-theme="dark"] .mobile-mega-menu-toggle {
        color: #fff; /* Make the hamburger icon white */
    }
}

/* Temporary Fix: Invert Logo Colors in Dark Mode */
[data-theme="dark"] .site-logo img {
    filter: invert(1) hue-rotate(180deg); 
    background: transparent; /* Remove the white box we added earlier */
    box-shadow: none;
    padding: 0;
}

/* GLOBAL HOVER EFFECT FOR TITLES */
    /* The Hover Action (Turns Yellow/Theme Color) */
    .card-news h6 a:hover,
    .international h6 a:hover,
    .sport-title h6 a:hover,
    .job-heading-title a:hover,
    .video-caption:hover {
        color: var(--secondary-color) !important;
    }

/* =========================================
   STANDARD DROPDOWN MENU STYLING (EXCLUDES MEGA MENU)
   ========================================= */

/* 1. Base Dropdown Container */
/* The :not(.mega-menu) ensures this style DOES NOT affect your existing mega menu */
.navbar-nav .dropdown-menu:not(.mega-menu) {
    border: none;
    border-radius: 0; 
    padding: 0;
    margin-top: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
    border-top: 3px solid var(--secondary-color); 
    min-width: 220px;
    z-index: 10000; /* Ensure it appears above other elements */
}

/* 2. Dropdown Items */
.navbar-nav .dropdown-menu:not(.mega-menu) .dropdown-item {
    padding: 12px 20px;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #f5f5f5; 
    transition: all 0.3s ease;
    background: transparent;
    font-weight: 500;
}

/* Remove border from last item */
.navbar-nav .dropdown-menu:not(.mega-menu) .dropdown-item:last-child {
    border-bottom: none;
}

/* 3. Hover Effect */
.navbar-nav .dropdown-menu:not(.mega-menu) .dropdown-item:hover,
.navbar-nav .dropdown-menu:not(.mega-menu) .dropdown-item:focus {
    background-color: #fff8e1; 
    color: #000;
    padding-left: 28px; 
    border-left: 3px solid var(--secondary-color); 
}

/* =========================================
   DESKTOP SPECIFIC (Hover Behavior)
   ========================================= */
@media all and (min-width: 992px) {
    
    /* Open Standard Dropdown on Hover */
    .navbar-nav .nav-item.dropdown:not(.ktm-mega-menu):hover .dropdown-menu {
        display: block;
        animation: fadeInUp 0.3s ease forwards;
    }

    /* Animation */
    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(15px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Arrow on top */
    .navbar-nav .dropdown-menu:not(.mega-menu)::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 20px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid var(--secondary-color);
    }
}

/* =========================================
   ARTICLE BLOCKQUOTE DESIGN
   ========================================= */

/* The Container */
blockquote {
    position: relative;
    margin: 30px 0;
    padding: 25px 30px 25px 60px; /* Left padding for the icon */
    background-color: #fffbf0; /* Very light yellow background */
    border-left: 5px solid var(--secondary-color); /* Your Brand Yellow */
    font-size: 19px;
    line-height: 1.6;
    font-style: italic;
    color: #222;
    border-radius: 0 8px 8px 0;
}

/* The Quote Icon (FontAwesome) */
blockquote::before {
    content: '\f10d'; /* Quote Icon Code */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 28px;
    color: var(--secondary-color);
    opacity: 0.8;
}

/* Optional: Cite/Author styling if you use <cite> tag */
blockquote cite {
    display: block;
    margin-top: 15px;
    font-size: 15px;
    font-weight: bold;
    color: #555;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

blockquote cite::before {
    content: "— ";
    color: var(--secondary-color);
    font-weight: bold;
}

/* =========================================
   DARK MODE SUPPORT for Blockquote
   ========================================= */
[data-theme="dark"] blockquote {
    background-color: #1e1e1e; /* Dark background */
    color: #e0e0e0;
    border-left-color: var(--secondary-color);
}

[data-theme="dark"] blockquote cite {
    color: #aaa;
}

/* =========================================
   FIX: RESPONSIVE ARTICLE IMAGES
   ========================================= */

/* Target images inside your article content areas.
   We use !important to override inline styles added by the text editor.
*/
.description-left img, 
.news-content img,
.article-body img,
.seo-content-wrapper img {
    max-width: 100% !important;  /* Force image to never exceed container width */
    height: auto !important;     /* Maintain correct aspect ratio */
    display: block;              /* Removes bottom gap often seen with inline images */
    margin: 10px auto;           /* Centers the image with a little spacing */
}

/* Optional: Fix for IFRAMES (Youtube/Facebook videos) having the same issue */
.description-left iframe,
.news-content iframe {
    max-width: 100% !important;
}

/* =========================================
   VIDEO SECTION TITLE FIX
   ========================================= */

/* Container spacing */
.ongoing-item {
    position: relative;
    margin-bottom: 20px;
}

/* 1. Ensure the H6 container has space */
.ongoing-item h6 {
    margin-top: 12px;
    margin-bottom: 0;
    line-height: 1.4;
    overflow: hidden; 
}

/* 2. Style the Link/Title */
.ongoing-item .video-caption {
    display: block; /* Ensures it takes up space */
    color: var(--primary-color); /* Ensures text isn't white-on-white */
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Main Video Title Size */
.large-video .video-caption {
    font-size: 18px;
}

/* Side Video Titles Size */
.small-grid-title {
    font-size: 15px !important;
}

/* Hover Effect */
.ongoing-item .video-caption:hover {
    color: var(--secondary-color);
}

/* 3. Dark Mode Support */
[data-theme="dark"] .ongoing-item .video-caption {
    color: #e0e0e0;
}

[data-theme="dark"] .ongoing-item .video-caption:hover {
    color: var(--secondary-color);
}

/* =========================================
   FIX: STICKY MENU DARK MODE OVERRIDE
   ========================================= */

/* 1. Force Dark Background when Sticky */
[data-theme="dark"] .main-menu.is-sticky,
[data-theme="dark"] .site-header.sticky-active .main-menu {
    background-color: #1a1a1a !important; /* Matches your dark theme var */
    border-bottom: 1px solid #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Darker shadow */
}

/* 2. Ensure Nav Links remain light colored */
[data-theme="dark"] .main-menu.is-sticky .navbar-nav .nav-link,
[data-theme="dark"] .site-header.sticky-active .main-menu .navbar-nav .nav-link {
    color: #e0e0e0;
}

/* 3. Ensure Active Links/Hover states stay visible */
[data-theme="dark"] .main-menu.is-sticky .navbar-nav .nav-link:hover,
[data-theme="dark"] .main-menu.is-sticky .navbar-nav .nav-link.active,
[data-theme="dark"] .site-header.sticky-active .main-menu .navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

/* 4. Fix Sticky Logo background if you are using the inverted filter */
[data-theme="dark"] .site-header.sticky-active .site-logo img {
    background-color: transparent;
}

/* FIX: Invert Sticky Logo in Dark Mode */
[data-theme="dark"] .site-header.sticky-active .sticky-logo,
[data-theme="dark"] .site-header.sticky-active .site-logo img {
    filter: invert(1) hue-rotate(180deg) !important;
    background: transparent !important; /* Ensures no background box */
    padding: 0 !important;
    box-shadow: none !important;
}

/* =========================================
   FIX: MEGA MENU DARK MODE OVERRIDE
   ========================================= */

/* 1. Main Container & Content Backgrounds */
[data-theme="dark"] .ktm-mega-menu .mega-menu,
[data-theme="dark"] .mega-menu-content,
[data-theme="dark"] .mega-menu-header {
    background-color: #1a1a1a !important;
    background: #1a1a1a !important;
    color: #e0e0e0;
}

/* 2. Menu Links & Items */
[data-theme="dark"] .mega-menu-list .dropdown-item {
    color: #b0b0b0 !important;
    background: transparent !important;
}

[data-theme="dark"] .mega-menu-list .dropdown-item:hover {
    color: var(--secondary-color) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* 3. Headings (Categories) */
[data-theme="dark"] .mega-menu-title,
[data-theme="dark"] .mega-menu-header h5,
[data-theme="dark"] .mega-menu-social h6 {
    color: #ffffff !important;
    border-bottom-color: var(--secondary-color);
}

/* 4. Social Icons */
[data-theme="dark"] .mega-menu-social .social-media a {
    color: #e0e0e0;
}

[data-theme="dark"] .mega-menu-social .social-media a:hover {
    color: var(--secondary-color);
}

/* 5. Mobile Specific Fixes (Close Button & Headers) */
[data-theme="dark"] .mega-menu-close {
    color: #ffffff !important;
}

[data-theme="dark"] .mega-menu-header {
    border-bottom: 1px solid #333;
}

/* Search Wrapper */
.search-wrapper {
    position: relative;
}

/* Dropdown Box Styling */
.search-dropdown {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;       /* Push it to the bottom of the button */
    right: 0;        /* Align to the right edge */
    width: 300px;    /* Fixed width */
    background: #fff;
    padding: 10px;
    z-index: 1050;   /* Ensure it sits on top of other content */
    border-top: 3px solid #f2c00b; /* Brand color accent on top */
    margin-top: 10px; /* Slight spacing from the icon */
    
    /* Animation for smooth appearance */
    animation: slideDown 0.2s ease-out forwards;
}

/* Input Field Styling */
.search-dropdown input {
    font-size: 15px;
    padding-left: 10px;
}

/* Button Styling */
.search-dropdown .btn-theme {
    background-color: #f2c00b;
    border-radius: 0 4px 4px 0;
    transition: background 0.3s;
}
.search-dropdown .btn-theme:hover {
    background-color: #dcb00a;
}

/* Simple Slide Down Animation */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
    .search-dropdown {
        width: 260px; /* Slightly smaller on phones */
        right: -10px; /* Slight offset if needed */
    }
}