
body {
    background-color: #0f172a;
    color: #e2e8f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    padding-top: 80px; /* Space for fixed navbar */
}

a { text-decoration: none; transition: all 0.3s ease; }
ul { list-style: none; padding: 0; margin: 0; }


.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 10px 0;
}

.navbar-brand img.logo {
    width: 120px;
    height: auto;
}


.navbar-nav .nav-link {
    color: #334155 !important;
    font-weight: 600;
    margin: 0 10px;
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: #3b82f6 !important;
    transform: translateY(0);
}


.navbar-toggler {
    border-color: rgba(0,0,0,0.1);
}
.navbar-toggler-icon {
    filter: invert(1) grayscale(100%) brightness(0); /* Forces icon to be black */
}

/* Dropdown Menu */
.dropdown-menu {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.dropdown-item { color: #334155; }
.dropdown-item:hover { background: #f1f5f9; color: #3b82f6; }



.blog-hero {
    height: 65vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -20px;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 1;
}

.hero-glass-box {
    position: relative; z-index: 2;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: white;
    max-width: 900px; width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-glass-box h1 {
    font-weight: 800;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    line-height: 1.3;
}



.article-content {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 24px;
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.9;
}

.article-content h2, 
.article-content h3 {
    color: #ffffff;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.article-content strong { color: #fff; }
hr { border-color: rgba(255, 255, 255, 0.1); opacity: 1; margin: 3rem 0; }

/* Special Content Boxes */
.golden-box {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.05), rgba(212, 175, 55, 0.15));
    border-left: 4px solid #d4af37;
    padding: 25px; border-radius: 12px; margin: 30px 0;
}



.sidebar-glass {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    height: fit-content;
}

.sidebar-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 2px solid #3b82f6;
    display: inline-block;
    padding-bottom: 10px;
}


.mini-post-card {
    display: flex;
    flex-direction: column; 
    margin-bottom: 25px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-post-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.mini-post-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    margin-right: 0;
}

.mini-post-content {
    padding: 15px;
}

.mini-post-content h5 {
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.mini-post-content span {
    color: #94a3b8 !important;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}
.mini-post-content span i { margin-right: 5px; }



.footer {
    background-color: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    text-align: center;
    color: #94a3b8;
    margin-top: auto;
}

.footer a { color: #cbd5e1; margin: 0 15px; font-size: 0.9rem; }
.footer a:hover { color: #3b82f6; }


@media (max-width: 991px) {
    .blog-hero { height: 50vh; }
    .hero-glass-box h1 { font-size: 1.8rem; }
    .sidebar-glass { margin-top: 40px; }
}