/* রিসেট এবং গ্লোবাল স্টাইল */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hind Siliguri', sans-serif;
}

:root {
    --primary: #0A369D;
    --secondary: #D90429;
    --dark: #1F2421;
    --light: #F4F7F6;
    --white: #ffffff;
    --gray: #555555;
    --premium-gold: #FFB30F;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

/* হেডার ও টপ বার */
header {
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* টেক্সট লোগো স্টাইল */
.brand-text {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    line-height: 1;
}

.brand-text span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1.1rem;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--secondary);
}

/* হিরো ব্যানার */
.hero {
    background: linear-gradient(135deg, rgba(10,54,157,0.95) 0%, rgba(31,36,33,0.9) 100%), url('https://images.unsplash.com/photo-1518156677180-95a2893f3e9f?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    color: var(--white);
    padding: 140px 5%;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: var(--secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #b30322;
    transform: translateY(-2px);
}

/* মেইন লেআউট গ্রিড */
.main-container {
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
}

.section-title {
    font-size: 1.9rem;
    color: var(--primary);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--secondary);
    display: inline-block;
}

.text-white {
    color: var(--white) !important;
}

/* নিউজ কার্ড গ্রিড */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.news-body {
    padding: 20px;
}

.news-tag {
    background: var(--primary);
    color: var(--white);
    padding: 3px 10px;
    font-size: 0.8rem;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 10px;
}

.news-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.news-body p {
    font-size: 0.95rem;
    color: var(--gray);
}

/* ইনফোগ্রাফিক ব্যানার */
.infographic-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    color: var(--white);
    margin: 40px 0;
    padding: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.info-item h3 {
    font-size: 2.2rem;
    color: var(--premium-gold);
}

/* সাইডবার */
.sidebar {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    height: fit-content;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.2s;
}

.sidebar-list a:hover {
    color: var(--primary);
}

.sidebar-ad {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 20px;
    border-radius: 6px;
    margin-top: 30px;
    text-align: center;
}

.sidebar-ad h4 {
    color: #856404;
    margin-bottom: 10px;
}

.btn-sm {
    display: inline-block;
    padding: 6px 15px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* স্ক্রোল সেকশন স্টাইল */
.scroll-section {
    padding: 80px 5%;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
}

.gray-bg {
    background-color: #eaedf0;
}

/* প্রবাসীদের গল্প সেকশন */
.premium-dark {
    background-color: #111827;
    color: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.story-card {
    background-color: rgba(255,255,255,0.05);
    padding: 30px;
    border-left: 4px solid var(--premium-gold);
    border-radius: 4px;
}

.story-card .quote {
    font-style: italic;
    font-size: 1.15rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.story-card h5 {
    color: var(--premium-gold);
    font-size: 1.1rem;
}

/* ম্যাগাজিন লেআউট */
.magazine-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.mag-featured {
    background: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.mag-featured h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.mag-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mag-item {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 6px;
    border-bottom: 3px solid #ddd;
}

.mag-item h4 {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.mag-item span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* মিডিয়া ও ভিডিও গ্রিড */
.media-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.video-placeholder {
    background-color: #2d3748;
    height: 300px;
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
    background-image: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    cursor: pointer;
}

.play-btn::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 25px;
    border-style: solid;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent white;
}

/* নিউজলেটার সাবস্ক্রিপশন */
.newsletter-section {
    background: linear-gradient(135deg, #ef4444 0%, var(--secondary) 100%);
    padding: 60px 5%;
    text-align: center;
    color: white;
}

.newsletter-box {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-box h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.subscribe-form {
    margin-top: 25px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.subscribe-form input {
    width: 60%;
    padding: 12px 20px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
}

/* ফুটার */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 5% 30px 5%;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--premium-gold);
}

.footer-col p, .footer-col ul {
    font-size: 0.95rem;
    opacity: 0.8;
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--premium-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* রেসপন্সিভ ডিজাইন */
@media (max-width: 968px) {
    .main-container, .magazine-layout, .media-grid, .story-grid {
        grid-template-columns: 1fr;
    }
    nav ul, .infographic-banner {
        display: none;
    }
    .hero h1 {
        font-size: 2.3rem;
    }
    .subscribe-form {
        flex-direction: column;
    }
    .subscribe-form input {
        width: 100%;
    }
}