/* Main navigation styling */
#navigation {
    font-family: 'Segoe UI', 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-transform: none;
    margin-top: 15px;
}

#navigation li {
    display: inline-block;
    margin-right: 20px;
    position: relative;
}

#navigation a {
    color: #800080;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 16px;
}

#navigation a:hover {
    color: #007BFF;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 5px;
}

/* Submenu styling */
#navigation li ul.submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background-color: #f8f9fa;
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 0;
}

#navigation li:hover > ul.submenu {
    display: block;
}

#navigation ul.submenu li {
    display: block;
    margin: 0;
}

#navigation ul.submenu a {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #444;
}

#navigation ul.submenu a:hover {
    background-color: #007BFF;
    color: #fff;
    border-radius: 0;
}

.trending-bottom, .trending-post a {
  display: block; /* or inline-block */
  text-align: justify;
  padding-left: 5px;
  padding-right: 5px;
}

.trending-post{
    margin-bottom: -10px;
}

.trand-right-img img{
    height: 120px;
    width: 120px;
}

.trend-top-img{
    position: relative;
    height: 420px; /* or any height */
    background-color: #f0f0f0; /* optional */
}

.bottom-center-img {
    object-fit: cover;
    max-width: 100%;
    max-height: 420px; /* or any size */
    background-color: #f0f0f0; /* optional, shows padding space */
    display: flex;
    align-items: center;
    justify-content: center;
  }

.section-tittle {
    text-align: left;
    margin-bottom: 30px;
    border-bottom: 4px solid #4f46e5;
}

.section-tittle h3 {
    display: inline-block;
    font-size: 24px;            /* Adjust size as needed */
    font-weight: 700;
    color: #2d3748;             /* Dark slate-like text */
    padding-bottom: 8px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease-in-out;
}

.section-tittle h3:hover {
    color: #1a202c;
    border-color: #6366f1; /* Lighter hover effect */
}

.what-cap h4{
    text-align: justify;
}

.what-img img{
    height: 360px;
    width: auto;
}

.trend-bottom-cap1 h4{
    font-size: 20px;
}

/* Custom CSS for Pagination     */
.page-link {
    color: brown;
    border: 1px solid #e0e0e0;
}

.page-link:hover {
    background-color: green;
    color: white;
}

.page-item.active .page-link {
    background-color: #4f46e5;
    border-color: #4f46e5;
    color: white;
}

.what-img-navcard img{
    height: 240px;
    width: 240px;
}

/* ----------------------------------------------------------------------------------------------------------------
                    CSS For Article frontend[article.blade.php]
-------------------------------------------------------------------------------------------------------------------*/

.section-tittle h3{
    text-align: justify;
    font-size: 28px;
    font-weight: 700;
    color: #2d3748; /* modern dark gray */
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin: 0;
    text-transform: none;
}

.article-info h6{
    font-style: italic;
    font-size: 14px;
    color: gray;
}

.about-prea{
    text-align: justify;
}

/* ----------------------------------------------------------------------------------------------------------------
                    Category NAV Bar Tab Active and Bold
-------------------------------------------------------------------------------------------------------------------*/

.nav-tabs .nav-link.active {
        font-weight: bold;
        color: #007bff !important; /* Bootstrap primary blue */
        border-color: transparent;
        background-color: transparent;
    }

    .nav-tabs .nav-link {
        color: #333; /* Default inactive tab color */
    }
/* ----------------------------------------------------------------------------------------------------------------
                        Article Section
-------------------------------------------------------------------------------------------------------------------*/

.section-tittle h6 {
    display: inline-block;
    align-items: center;
    font-size: 18px;            /* Adjust size as needed */
    font-weight: 200;
    color: red;             /* Dark slate-like text */
    padding-bottom: 8px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease-in-out;
}

.article-lis-author {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.article-lis-author li {
    font-color: dark brown;
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    background-color: #f9f9f9;
}

.article-lis-author li:hover {
    background-color: #eef6ff;
    transform: translateX(5px);
}

.article-lis-author li a {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    display: block;
}

.author-title{
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 4px solid #4f46e5;
}
