/*** Ultra-Modern Sidebar & Features Section V2 ***/

/* Sidebar Wrapper */
.sidebar-modern {
  background: transparent; /* No background */
  padding: 0;
  box-shadow: 0 8px 25px rgba(0,123,255,0.1);
  border-radius: 16px;
}

/* Section Titles */
.sidebar-modern h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  color: #ff7d00;
}
.sidebar-modern h4::after {
  content:'';
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg,#ff7d00,#ff9a33);
  border-radius: 2px;
  position: absolute;
  bottom: -6px;
  left: 0;
}

/* Social Buttons - Glass Card Style */
.btn-social {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  backdrop-filter: blur(15px) saturate(150%);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 6px 25px rgba(0,123,255,0.2);
  transition: all 0.3s ease;
}
.btn-social i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border-radius: 50%;
  background: #fff;
  color: #ff7d00;
  transition: all 0.3s ease;
}
.btn-social:hover i {
  background: linear-gradient(90deg,#ff7d00,#ff9a33);
  color: #fff;
  transform: scale(1.15);
}
.btn-social span { transition: color 0.3s; color:#444; }
.btn-social:hover span { color: #fff; }

/* Popular News Cards */
.features-item {
  background: rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(0,123,255,0.1);
}
.features-item:hover { 
  background: rgba(255,255,255,0.18); 
  transform: translateY(-5px); 
  box-shadow: 0 12px 35px rgba(0,123,255,0.25);
}

.features-item img { 
  transition: transform 0.5s; 
  border-radius: 12px;
}
.features-item:hover img { 
  transform: scale(1.1); 
}

.features-item .badge {
  position: absolute;
  top: 10%;
  right: -10px;
  background: linear-gradient(90deg,#ff7d00,#ff9a33);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  padding: 2px 6px;
}

/* View More Button */
.btn-outline-modern {
  border: 1px solid #ff7d00;
  color: #444;
  border-radius: 50px;
  padding: 0.7rem 1rem;
  text-align: center;
  backdrop-filter: blur(15px) saturate(150%);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 6px 25px rgba(0,123,255,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.btn-outline-modern:hover {
  transform: translateY(-4px);
  background: linear-gradient(90deg,#ff7d00,#ff9a33);
  color: #fff;
  box-shadow: 0 12px 35px rgba(0,123,255,0.3);
}

/* Banner-2 */
/* Banner-2 Modern */
.banner-2-modern {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 420px; /* লম্বাটে 느낌 */
    box-shadow: 0 12px 35px rgba(0,123,255,0.2);
    transition: all 0.4s ease;
}

.banner-2-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: 20px;
}

.banner-2-modern:hover img {
    transform: scale(1.08);
}

/* Gradient Overlay */
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.05));
    z-index: 1;
    transition: background 0.4s ease;
}

.banner-2-modern:hover .banner-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.08));
}

/* Content Box */
.banner-content-modern {
    position: absolute;
    bottom: 20px;
    left: 0;               
    right: 0;               
    margin: 0 auto;
    width: 95%;           
    z-index: 2;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-radius: 16px;
    padding: 20px 30px;     /* content padding */
    color: #fff;
    box-shadow: 0 8px 25px rgba(0,123,255,0.25);
    transition: all 0.4s ease;
    text-align: center;      /* Center text */
}

.banner-2-modern:hover .banner-content-modern {
    background: rgba(255,255,255,0.22);
    box-shadow: 0 12px 35px rgba(0,123,255,0.35);
}

/* Headline */
.banner-content-modern h6 {
    color: #ff7d00;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 6px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.07);
}

.banner-content-modern p {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 12px;
    opacity: 0.9;
}

/* Button */
.btn-gradient-modern {
    display: inline-block;
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    background: linear-gradient(90deg,#ff7d00,#ff9a33);
    color: #fff;
    box-shadow: 0 8px 25px rgba(255,125,0,0.3);
    transition: all 0.3s ease;
}

.btn-gradient-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,125,0,0.45);
}

/* === Sidebar Mobile Responsive === */
@media(max-width: 767px) {
  /* Sidebar Padding */
  .sidebar-modern {
    padding: 15px;
    box-shadow: none;
  }

  /* Section Titles */
  .sidebar-modern h4 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
  }
  .sidebar-modern h4::after {
    width: 35px;
    height: 2px;
  }

  /* Social Buttons */
  .btn-social {
    padding: 0.5rem 0.8rem;
    gap: 8px;
    font-size: 0.85rem;
  }
  .btn-social i {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  .btn-social span {
    font-size: 0.85rem;
  }

  /* Popular News Cards */
  .features-item {
    padding: 8px;
    gap: 10px;
  }
  .features-item img {
    width: 45px;
    height: 45px;
  }
  .features-item .ms-3 {
    font-size: 0.85rem;
  }

  /* View More Button */
  .btn-outline-modern {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  /* Banner-2 Modern */
  .banner-2-modern {
    height: 300px;
  }
  .banner-2-modern img {
    border-radius: 15px;
  }
  .banner-content-modern {
    padding: 15px 20px;
  }
  .banner-content-modern h6 {
    font-size: 0.95rem;
  }
  .banner-content-modern p {
    font-size: 0.85rem;
  }
  .btn-gradient-modern {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }
}