.nav-link:focus { outline: none; box-shadow: none; }
.navbar-dark .navbar-nav .nav-link { position: relative; color: #fff; text-decoration: none; padding-bottom: 8px; transition: color 0.3s ease-in-out; }
.navbar-dark .navbar-nav .nav-link::after { content: ''; position: absolute; width: 0; height: 2px; background-color: #D4AFFF; bottom: 0; left: 50%; transform: translateX(-50%); transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.navbar-dark .navbar-nav .nav-link:hover { color: #D4AFFF !important; }
.navbar-dark .navbar-nav .nav-link:hover::after { width: 100%; }
.navbar-dark .navbar-nav .nav-link { display: inline-block; transition: transform 0.2s ease-out, color 0.2s ease-out; }
.navbar-dark .navbar-nav .nav-link:hover { color: #D4AFFF !important; transform: scale(1.05) translateY(-3px); }
.top-menu { display: flex; justify-content: flex-end; align-items: center; padding: 5px 15px; font-size: 14px; color: #666; }
.top-menu a { color: #666; text-decoration: none; margin: 0 10px; }
.top-menu a:hover { text-decoration: underline; }
.top-icons a { color: #666; margin-left: 5px; font-size: 16px; }
.header-container { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.search-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 60px; background: #2E1A46; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; z-index: 1000; }
.search-overlay.active { opacity: 1; visibility: visible; }
.search-box-container { width: 98%; display: flex; background: white; border-radius: 5px; overflow: hidden; }
.search-box { flex: 1; border: none; padding: 10px; outline: none; border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; border-right: none !important; }
.search-button, .close-button { background: white; color: #2E1A46; border: none; padding: 10px 15px; cursor: pointer; }
.mega-dropdown { width: 100%; left: 0; right: 0; background-color: white; box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); border: 1px solid #2E1A47; position: absolute; top: 100%; z-index: 1050; display: none; }
.mega-title { font-weight: bold; color: #2E1A46; }
.mega-dropdown img { width: 100%; max-width: 150px; }
.mega-dropdown a { color: #2E1A46; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 95%; }
.mega-dropdown a:hover { text-decoration: underline; }
.mega-dropdown .img-thumbnail {width: 80px; height: 80px; object-fit: cover; }
.offcanvas { background-color: #23133D !important; }
.promo-banner { background-color: #2E1A46; color: white; width: 720px; height: 87px; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.promo-container { width: 100%; }
.promo-container .promo-box { width: 100%; height: 297px; background-color: #2E1A46; display: flex; align-items: center; justify-content: center; text-align: center; color: white; font-size: 24px; font-weight: bold; font-family: Arial, sans-serif; border-radius: 5px; position: relative; margin-bottom: 20px; }
.promo-container .promo-overlay { position: absolute; bottom: 0; width: 100%; background-color: rgba(0, 0, 0, 0.3); display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; font-size: 14px; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; color: white; }
.promo-container .contact-btn { font-size: 12px; padding: 4px 10px; }
.carousel { border-radius: 5px; overflow: hidden; }
.carousel-inner, .carousel-item { height: 614px; background-size: cover; background-position: center; }
.carousel-caption { background: rgba(0, 0, 0, 0.7); padding: 15px; border-radius: 5px; }
.featured-article { transition: all 0.3s ease-in-out; background: #FFFFFF; border-radius: 8px; display: flex; align-items: start; border: 1px solid #ddd; }
.featured-article img { border-radius: 6px; box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); }
.featured-article:hover { background: #2E1A47; color: #FFFFFF; border-color: #2E1A47; }
.featured-article:hover h3, .featured-article:hover a, .featured-article:hover p, .featured-article:hover i { color: #FFFFFF !important; }
.featured-article:hover a:hover { color: #FFFFFF; text-decoration: underline; }
.featured-article:hover .btn-secondary { background-color: #9453FF; border-color: #9453FF; color: #FFFFFF; }
.article { background: #FFFFFF; border-radius: 8px; padding: 15px; display: flex; align-items: start; border: 1px solid #ddd; transition: all 0.3s ease-in-out; }
/*.article:hover { background: #2E1A47; color: #FFFFFF !important;  transform: translateY(-3px); box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15); }*/
.article:hover { background: #2E1A47; color: #FFFFFF !important; box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15); }
.article img { border-radius: 6px; box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); max-width: 250px; }
.article a { color: #2E1A46; font-weight: bold; font-size: 18px; text-decoration: none; }
.article a:hover { color: #9453FF; text-decoration: underline; }
.article-meta { font-size: 14px; color: #6c757d; }
.article-meta i { color: #2E1A47; }
.article-meta span {opacity: 0.6; }
.article:hover a, .article:hover .article-meta, .article:hover .article-meta i { color: #FFFFFF; }
.article:hover a:hover { color: #FFFFFF; text-decoration: underline; }
.article:hover .btn-secondary { background-color: #9453FF; border-color: #9453FF; color: #FFFFFF;}
.popular-post { position: relative; padding: 0.75rem; margin: 0 -0.75rem; border-radius: 0.375rem; transition: all 0.2s ease-in-out; }
.popular-post:hover { background-color: #2E1A47; z-index: 2; }
.popular-post-title { color: #2E1A47; font-weight: bold; text-decoration: none; font-size: 1rem; }
.popular-post:hover .popular-post-title, .popular-post:hover p, .popular-post:hover i { color: #FFFFFF !important; }
.popular-post img { height: auto; object-fit: cover; }
.issue-wrapper { display: flex; justify-content: center;  align-items: center;  flex-direction: column; text-align: center;  margin: 20px auto;  }
.issue-card { width: 100% !important; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #ddd; box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); transition: all 0.3s ease-in-out; }
.issue-card:hover { transform: translateY(-3px); box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15); }
.issue-card img { width: 100%; height: auto; border-bottom: 1px solid #ddd; }
.issue-card .card-body { padding: 12px; }
.issue-card .card-title { font-size: 16px; font-weight: bold; color: #2E1A46; }
.issue-card .card-text { font-size: 13px; color: #6c757d; }
.issue-btn { background-color: #2E1A46; color: white; font-size: 13px; padding: 6px 12px; border-radius: 5px; display: block; width: 100%; text-align: center; transition: all 0.3s ease; }
.issue-btn:hover { background-color: #9453FF; color: white; }
.categories-section { background: #fff; border-radius: 8px; padding: 15px; border: 1px solid #ddd; box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); }
.categories-section h5 { font-size: 16px; font-weight: bold; color: #2E1A46; margin-bottom: 12px; border-bottom: 2px solid #ddd; padding-bottom: 6px; }
.category-tag { display: inline-block; background-color: #f8f9fa; color: #333; padding: 6px 12px; margin: 4px; border-radius: 20px; font-size: 14px; text-decoration: none; transition: 0.3s ease-in-out; border: 1px solid #ddd; }
.category-tag:hover { background-color: #e9ecef; color: #000; text-decoration: none; }
.tag-group { flex: 1 1 200px; min-width: 200px; margin-bottom: 15px; }
.testimonial-box { background-color: #190E2C !important; transition: all 0.3s ease-in-out; padding: 15px !important; }
.testimonial-box:hover { background-color: #2A1540 !important; box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3); }
.testimonial-box a { padding: 1px 1px !important;  display: block; }
.testimonial-box-view-more-btn { width: 100%; font-size: 14px; padding: 6px 10px; display: block; text-align: center; margin: 10px auto 0; border-radius: 0px; background-color: #FFC107; border: none; transition: background-color 0.3s ease-in-out; }
.testimonial-box-view-more-btn:hover { color: #C0C0C0 !important; background-color: #190E2C !important; }
.footer-area { background-color: #2E1A47; }
.footer-area a { color: #FFFFFF; text-decoration: none; transition: all 0.3s ease; }
.footer-links a:hover { color: #c9b1ff; padding-left: 5px; }
.footer-social a { display: inline-block; }
.footer-social a:hover { color: #c9b1ff; transform: translateY(-3px); }
.footer-area .form-control { background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #FFFFFF; }
.footer-area .form-control::placeholder { color: rgba(255, 255, 255, 0.6); }
.footer-area .form-control:focus { background-color: rgba(255, 255, 255, 0.2); box-shadow: 0 0 0 0.25rem rgba(148, 83, 255, 0.5); border-color: #9453FF; color: #FFFFFF; }
#back-to-top { position: fixed; bottom: 20px; right: 20px; font-size: 30px; background: none; border: none; color: #FFC107; /* Yellow */ cursor: pointer; transition: all 0.3s ease-in-out; opacity: 0; visibility: hidden; }
#back-to-top:hover { color: #E0A800; }
#back-to-top.show { opacity: 1; visibility: visible; }
.btn-custom { background-color: #2E1A46; color: #FFFFFF; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; display: inline-block; transition: background 0.3s ease-in-out; }
.btn-custom:hover { background-color: #552F81;color: #FFFFFF; }
@media (max-width: 991.98px) {
 .mega-dropdown { display: none !important; }
 .promo-banner { display: none !important; }
 .top-menu { display: none !important; }
}
/* Adjust Carousel Height and Captions for Mobile */
@media (max-width: 768px) {
 .carousel-inner, .carousel-item { height: 297px; }
 .carousel-item { background-size: cover; background-position: center; }
 .carousel-caption { font-size: 14px; padding: 8px; bottom: 10px; background: rgba(0, 0, 0, 0.6); text-align: center; width: 100%; left: 50%; transform: translateX(-50%); position: absolute; }
 .carousel-caption h5 { font-size: 16px; font-weight: bold; display: block; text-align: center; width: 100%; }
 .carousel-caption p { display: none; }
}
@media (max-width: 768px) {
 .article { flex-direction: column !important; align-items: center; }
 .article img { width: 100%; max-width: 250px; }
}