:root {
    --primary-color: #d32f2f;
    /* Red standard for news */
    --secondary-color: #263238;
    /* Dark Grey */
    --light-bg: #f5f5f5;
    --font-heading: 'SolaimanLipi', sans-serif;
    /* Example font */
}

body {
    background-color: #fff;
    font-family: Arial, sans-serif;
}

/* Header */
.top-bar {
    background-color: var(--light-bg);
    font-size: 0.9rem;
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.main-header {
    padding: 20px 0;
    background: #fff;
}

.logo-area img {
    max-height: 80px;
}

.header-info {
    font-size: 0.95rem;
    font-weight: 500;
}

.bengali-date {
    color: #444;
}

.header-social-icons a {
    font-size: 1.2rem;
    transition: transform 0.2s;
    display: inline-block;
}

.header-social-icons a:hover {
    transform: scale(1.1);
}

/* Navigation */
.main-navbar {
    background-color: var(--secondary-color);
}

.main-navbar .nav-link {
    color: #fff !important;
    font-weight: bold;
    padding: 10px 15px;
}

.main-navbar .nav-link:hover {
    background-color: var(--primary-color);
}

.main-navbar .dropdown-menu {
    background-color: var(--secondary-color);
    border-radius: 0;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.main-navbar .dropdown-item {
    color: #fff;
    padding: 10px 20px;
    font-weight: 500;
}

.main-navbar .dropdown-item:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.main-navbar .dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Show dropdown on hover */
@media (min-width: 992px) {
    .main-navbar .nav-item.dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Breaking News Ticker */
.breaking-section {
    background: #222;
    color: #fff;
    border-radius: 4px;
}

.breaking-title {
    background: var(--primary-color);
    padding: 10px 20px;
    font-weight: bold;
    white-space: nowrap;
    position: relative;
    z-index: 10;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.breaking-link {
    color: #fff !important;
    font-weight: 500;
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breaking-link:hover {
    color: #ddd !important;
}



.breaking-controls {
    border-left: 1px solid #444;
}

.ticker-btn {
    background: none;
    border: none;
    color: #bbb;
    padding: 0 12px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    height: 100%;
}

.ticker-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Featured Section */
.featured-main {
    position: relative;
    overflow: hidden;
}

.featured-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s;
}

.featured-main:hover img {
    transform: scale(1.05);
}

.featured-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    padding: 20px;
}

/* Common Card */
.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-card h6,
.news-card h5 {
    margin-top: 10px;
    line-height: 1.4;
}

.news-card a {
    text-decoration: none;
    color: #333;
}

.news-card a:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background: #222;
    color: #ccc;
    padding: 40px 0;
    margin-top: 50px;
}

footer h5 {
    color: #fff;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

/* Social Share Buttons */
.social-share {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    line-height: 1;
}

.share-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.messenger {
    background-color: #0084ff;
}