:root {
    --primary-color: #E83E8C;
    --secondary-color: #4a90e2;
    --accent-color: #ff6584;
    --success-color: #00A86B;
    --danger-color: #ff3547;
}

[data-bs-theme="light"] {
    --bs-body-bg: #ffffff;
    --bs-body-color: #212529;
    --navbar-bg: #ffffff;
    --card-bg: #ffffff;
    --border-color: #dee2e6;
    --text-muted: #6c757d;
}

[data-bs-theme="dark"] {
    --bs-body-bg: #1a1a1a;
    --bs-body-color: #ffffff;
    --navbar-bg: #2d2d2d;
    --card-bg: #2d2d2d;
    --border-color: #495057;
    --text-muted: #adb5bd;
}

* {
    font-family: 'Inter', sans-serif;
}
.bg-light, .bg-white {
    background-color: var(--card-bg) !important;
    color: var(--text-muted) !important;
}
a {
    color: var(--bs-body-color)
}

body {
    transition: all 0.3s ease;
}

.navbar {
    background-color: var(--navbar-bg) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

    .nav-link:hover {
        color: var(--primary-color) !important;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background: var(--primary-color);
        transition: all 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
        left: 0;
    }

.theme-toggle {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

    .theme-toggle:hover {
        background: var(--primary-color);
        color: white;
        transform: scale(1.05);
    }

.hero-section {
    /*    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));*/
    /*    background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);*/
    background: linear-gradient(135deg, #191654,#43C6AC);
    color: white;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
        background-size: cover;
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.featured-posts {
    background: var(--accent-color);
    color: white;
    padding: 10px 0;
    margin-bottom: 0;
}

.featured-posts-text {
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.section-title {
    position: relative;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
    }

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

    .blog-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    }

    .blog-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: all 0.3s ease;
    }

    .blog-card:hover img {
        transform: scale(1.05);
    }

.blog-card-body {
    padding: 20px;
}

.blog-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.blog-title {
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 15px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.author-widget {
    background: linear-gradient(135deg, #43C6AC, var(--accent-color) 60%);
    color: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.trending-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

    .trending-item:hover {
        background: rgba(108, 99, 255, 0.1);
        border-radius: 10px;
        padding-left: 10px;
    }

.trending-number {
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.footer {
    background: var(--navbar-bg);
    border-top: 1px solid var(--border-color);
    padding: 50px 0 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

    .social-links a:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
    }

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }

    .blog-card img {
        height: 150px;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid white;
}
.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: var(--success-color); /* LinkedIn Blue */
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}
    .linkedin-btn img {
        width: 20px;
        height: 20px;
    }

/*    Trends*/
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-shadow:hover {
    box-shadow: 0 12px 25px rgba(0,0,0,0.15) !important;
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

.city-btn {
    transition: all 0.3s ease;
    border-width: 2px;
}

    .city-btn:hover {
        transform: translateY(-2px) scale(1.05);
    }

.trend-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.trend-item {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

    .trend-item:hover {
        border-left-color: var(--bs-primary);
    }
/*  end  Trends*/
/* footer*/

.footer {
    border-top: 2px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-link {
    color: var(--bs-secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

    .footer-link:hover {
        color: #ff6b35;
        text-shadow: 0 0 8px rgba(255, 107, 53, 0.4);
    }

.social-icon {
    color: var(--bs-secondary-color);
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

    .social-icon:hover {
        color: #ff6b35;
        transform: translateY(-3px);
        text-shadow: 0 0 8px rgba(255, 107, 53, 0.6);
    }

/* Auto Dark Theme Support */
@media (prefers-color-scheme: dark) {
    .footer {
        background: #111;
        color: #ddd;
    }

    .footer-link, .social-icon {
        color: #bbb;
    }

        .footer-link:hover, .social-icon:hover {
            color: #ff6b35;
        }

    .footer hr {
        border-color: rgba(255, 255, 255, 0.15);
    }
}


/* footer*/

.topic-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #1f1c2c, #928DAB);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #f8f9fa; /* softer white for readability */
    text-shadow: 0 1px 2px rgba(0,0,0,0.5); /* gives text depth */
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}


    .topic-link:hover {
        background: linear-gradient(135deg, #928DAB, #1f1c2c);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    }

    .topic-link i {
        font-size: 1rem;
        transition: transform 0.3s ease;
    }

    .topic-link:hover i {
        transform: scale(1.2);
    }

.contact-heading {
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 2px 4px rgba(0,0,0,0.3), 0 0 6px rgba(0,0,0,0.15);
    letter-spacing: 1px;
}
.hover-shadow {
    transition: all 0.3s ease-in-out;
}

    .hover-shadow:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

.breadcrumb {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 15px 20px;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

.article-header {
    margin-bottom: 30px;
}

.article-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--bs-body-color);
}

.article-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 25px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.meta-item {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

    .meta-item i {
        color: var(--primary-color);
        margin-right: 8px;
    }

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.article-image {
    width: 100%;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.image-caption {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
    font-style: italic;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--bs-body-color);
}

    .article-content p {
        margin-bottom: 25px;
    }

    .article-content h3 {
        color: var(--primary-color);
        font-weight: 600;
        margin: 20px 0 10px 0;
        font-family: 'Poppins', 'Segoe UI', Roboto, sans-serif;
    }
    .article-content h2 {
        color: darkolivegreen;
        font-weight: 600;
        margin: 30px 0 10px 0;
        font-family: 'Poppins', 'Segoe UI', Roboto, sans-serif;
    }

.highlight-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(26, 115, 232, 0.1));
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.quote-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    position: relative;
}

    .quote-box::before {
        content: '"';
        font-size: 4rem;
        color: var(--primary-color);
        position: absolute;
        top: -10px;
        left: 20px;
        font-family: Georgia, serif;
    }

.quote-text {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 30px;
}

.quote-author {
    color: var(--text-muted);
    font-weight: 500;
    text-align: right;
}

.social-share {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
}

.share-button {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 50px;
    margin: 0 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .share-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        color: white;
    }

.share-facebook {
    background: #3b5998;
}

.share-twitter {
    background: #1da1f2;
}

.share-whatsapp {
    background: #25d366;
}

.share-telegram {
    background: #0088cc;
}

.share-linkedin {
    background: #0077b5;
}

.tags-section {
    margin: 40px 0;
}

.tag {
    display: inline-block;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--bs-body-color);
    padding: 8px 15px;
    border-radius: 20px;
    margin: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .tag:hover {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

.related-news {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
}

.section-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 50px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
    }

.related-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

    .related-item:last-child {
        border-bottom: none;
    }

    .related-item:hover {
        background: rgba(255, 107, 53, 0.05);
        border-radius: 10px;
        padding: 15px;
        margin: 0 -15px;
    }

.related-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-content h6 {
    margin-bottom: 5px;
    line-height: 1.3;
}

.related-content small {
    color: var(--text-muted);
}
.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

    .news-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    }

    .news-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: all 0.3s ease;
    }

    .news-card:hover img {
        transform: scale(1.05);
    }

.news-card-body {
    padding: 20px;
}

.news-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.news-title {
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 15px;
}
