/* =========================
   Owl Carousel - Left Side Ultra Modern
========================= */
#featuredNewsCarousel {
  box-shadow: 0 12px 30px rgba(0,123,255,0.1);
  padding: .5rem;
  background: #fff;
  border-radius: 0; /* No border radius */
}

/* Each Carousel Item */
#featuredNewsCarousel .item {
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  border-radius: 0; /* remove radius */
}

#featuredNewsCarousel .item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 35px rgba(0,123,255,0.1);
}

/* =========================
   Owl Carousel Overlay Glass Effect
========================= */
#featuredNewsCarousel .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;

  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.12); /* slightly stronger */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Overlay Links */
#featuredNewsCarousel .overlay a {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6); /* text pop out */
}

#featuredNewsCarousel .overlay a:hover {
  color: #00d8ff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

/* Carousel Title */
.carousel-title {
  position: absolute;
  bottom: 70px;
  left: 20px;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 3px 12px rgba(0,0,0,0.05);
}

/* Image Zoom Effect */
.img-zoomin {
  width: 100%;
  transition: transform 0.5s ease;
}

.img-zoomin:hover {
  transform: scale(1.06);
}

/* =========================
   Right Side Vertical News - Ultra Modern
========================= */
/* Tab Buttons */
.nav-tabs .nav-link {
  font-weight: 600;
  color: #222;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
  background: #fff;
  border-radius:0;
  border-color: #ff7d00;
  color: #ff7d00;
}

/* Scrollable News */
.right-news-scroll {
  padding-right: 5px;
  max-height: 450px;
  overflow-y: auto;
}

/* News Item */
.features-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.features-item:hover {
  transform: translateX(5px);
  background: rgba(0, 123, 255, 0.1);
}

.news-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

/* Badge */
.features-item .badge {
  font-size: 10px;
  border-radius: 50%;
  padding: 3px 7px;
}

/* Link with Angle Icon */
.features-item a {
  font-weight: 500;
  color: #222;
  text-decoration: none;
  transition: color 0.3s ease;
}

.features-item a:hover {
  color: #ff7d00;
}

.sidebar-modern-top {
  background: #fff;
  padding: 1.89rem;
  box-shadow: 0 12px 25px rgba(0,123,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Section Title */
.sidebar-modern-top h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  color: #111;
  font-size: 1.3rem;
}
.sidebar-modern-top h4::after {
  content: '';
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg,#00d8ff,#007bff);
  border-radius: 3px;
  position: absolute;
  bottom: -8px;
  left: 0;
}

/* Scrollable Right News */
.right-news-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  box-shadow: inset 0 0 8px rgba(0,0,0,0.05);
}

/* Responsive height */
@media (min-height: 600px) {
  .right-news-scroll { max-height: calc(100vh - 220px); }
}
@media (min-height: 800px) {
  .right-news-scroll { max-height: calc(100vh - 280px); }
}

/* Scrollbar Styling */
.right-news-scroll::-webkit-scrollbar { width: 6px; }
.right-news-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.25); border-radius:3px; }
.right-news-scroll::-webkit-scrollbar-track { background:#f1f1f1; }

/* News Items */
.features-item {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}
.features-item:hover {
  background: rgba(0,123,255,0.12);
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0,123,255,0.12);
}
.features-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 0.75rem;
  transition: transform 0.4s ease;
}
.features-item:hover img {
  transform: scale(1.12);
}

/* Badges */
.features-item .badge {
  position: absolute;
  top: 10%;
  right: -10px;
  background: linear-gradient(90deg,#00d8ff,#007bff);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  padding: 2px 6px;
}

/* News Link */
.features-item a {
  color: #4b4b4b; /* deeper text color */
  font-weight: 500;
  transition: color 0.3s;
}
.features-item a:hover { color: #00d8ff; }
