
:root {
    --primary-color: #ff6b35;
    --secondary-color: #1a73e8;
    --accent-color: #f39800;
    --success-color: #00c851;
    --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;
    --highlight-bg: #f8f9fa;
    --highlight-color: #212529;
}

[data-bs-theme="dark"] {
    --bs-body-bg: #1a1a1a;
    --bs-body-color: #ffffff;
    --navbar-bg: #2d2d2d;
    --card-bg: #2d2d2d;
    --border-color: #495057;
    --text-muted: #adb5bd;
    --highlight-bg: #2c2c2c;
    --highlight-color: #f1f1f1;
}

* {
    font-family: 'Noto Sans Devanagari', sans-serif;
}

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));
    color: white;
    padding: 80px 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;
}

.breaking-news {
    background: var(--danger-color);
    color: white;
    padding: 10px 0;
    margin-bottom: 0;
}

.breaking-news-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;
    }

.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;
}

.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;
}

.weather-widget {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    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(255,107,53,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(255,107,53,0.4);
    }

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }

    .news-card img {
        height: 150px;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.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: 40px 0 20px 0;
    }

.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);
}

.comment-section {
    margin-top: 50px;
}

.comment-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.comment-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-avatar {
    width: 45px;
    height: 45px;
    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;
}

.footer {
    background: var(--navbar-bg);
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    margin-top: 50px;
}

.back-to-home {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

    .back-to-home:hover {
        background: var(--secondary-color);
        transform: translateY(-2px);
        color: white;
    }

@media (max-width: 768px) {
    .article-title {
        font-size: 1.8rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }
}
a .news-title, .click-heading {
    color: var(--bs-body-color) !important;
}

/* Logo hover effect */
.navbar-brand img:hover {
    transform: scale(1.15) rotate(5deg); /* Slight zoom + rotation */
    box-shadow: 0 0 12px rgba(255,107,53,1); /* Glow effect */
}

/* Text hover effect */
.navbar-brand:hover {
    color: #ff854d; /* Slightly brighter orange on hover */
    transform: scale(1.05);
}

/* Optional: Smooth transition for hover */
.navbar-brand,
.navbar-brand img {
    transition: all 0.3s ease-in-out;
}
.bg-light {
    background-color: var(--highlight-bg) !important; /* Darker shade */
    color: var(--highlight-color); /* light text */
}
