


:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SolaimanLipi', 'Kalpurush', 'Siyam Rupali', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* বাংলা ফন্ট স্ট্যাক */
@font-face {
    font-family: 'SolaimanLipi';
    src: url('../fonts/SolaimanLipi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* হেডার এবং নেভিগেশন */
.navbar-brand {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
}

.navbar-nav .nav-link {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

/* হিরো সেকশন */
.hero-section {
    margin: 20px 0 30px 0;
}

.hero-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    padding: 40px 20px;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.hero-content .lead {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-banner img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* নিউজ সেকশন */
.section-title {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
    margin: 30px 0 20px 0;
}

/* নিউজ কার্ড - ছোট সাইজ */
.news-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.news-card .card-img-top {
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .card-img-top {
    transform: scale(1.05);
}

.news-card .card-title {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.news-card .card-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.news-card .card-title a:hover {
    color: var(--secondary-color);
}

.news-card .card-text {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.news-card .card-footer {
    background: transparent;
    border-top: 1px solid #eee;
    padding: 10px 15px;
}

/* ফিচার্ড নিউজ */
.featured-news-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.featured-news-card .card-title {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.4;
}

.featured-news-card .card-text {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-size: 0.9rem;
    color: #666;
}

/* বাংলাদেশ ম্যাপ */
#bangladesh-map {
    text-align: center;
}

#bangladesh-map img {
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

/* সাইডবার */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.card-header {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    padding: 15px 20px;
}

.list-group-item {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-weight: 600;
    border: none;
    border-bottom: 1px solid #e9ecef;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    border-left: 3px solid var(--secondary-color);
}

.list-group-item:last-child {
    border-bottom: none;
}

/* ব্যাজ স্টাইল */
.badge {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 12px;
}

/* বাটন স্টাইল */
.btn {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-weight: 600;
    border-radius: 6px;
    padding: 6px 15px;
    font-size: 0.9rem;
}

/* ফুটার */
footer {
    background: var(--dark-color);
    color: white;
    margin-top: 50px;
    padding: 30px 0 20px 0;
}

footer h5 {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

footer p {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ইউটিলিটি ক্লাস */
.text-bangla {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
}

/* মোবাইল রেস্পন্সিভ */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .news-card .card-img-top {
        height: 140px;
    }
    
    .news-card .card-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-section {
        margin: 10px 0 20px 0;
    }
    
    .news-card {
        margin-bottom: 15px;
    }
}

/* এডমিন প্যানেল স্টাইল */
.admin-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.admin-card .card-header {
    background: linear-gradient(135deg, var(--primary-color), #1a252f);
    color: white;
    border-radius: 10px 10px 0 0 !important;
}

/* ড্রাগ অ্যান্ড ড্রপ স্টাইল */
.sortable-list {
    min-height: 200px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    background: #f8f9fa;
}

.sortable-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.sortable-item:hover {
    background: #e3f2fd;
    border-color: var(--secondary-color);
    transform: translateX(5px);
}

.sortable-item.dragging {
    opacity: 0.6;
    background: #bbdefb;
}

.drag-handle {
    cursor: move;
    color: #6c757d;
    margin-right: 10px;
}

.drag-handle:hover {
    color: var(--primary-color);
}

/* টেক্সট এডিটর টুলবার */
.editor-toolbar {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-bottom: none;
    padding: 10px;
    border-radius: 5px 5px 0 0;
}

.editor-toolbar .btn-group {
    margin-right: 5px;
    margin-bottom: 5px;
}

.editor-toolbar .btn {
    padding: 4px 8px;
    font-size: 0.8rem;
}

/* টেবিল স্টাইল */
.table th {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-weight: 700;
    background: var(--primary-color);
    color: white;
    border: none;
}

.table td {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    vertical-align: middle;
    border-color: #dee2e6;
}

/* ফর্ম স্টাইল */
.form-label {
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control, .form-select {
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 8px 12px;
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* অ্যালার্ট স্টাইল */
.alert {
    border: none;
    border-radius: 8px;
    font-family: 'SolaimanLipi', 'Kalpurush', sans-serif;
    font-weight: 600;
}

/* লোডিং স্পিনার */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ইমেজ প্রিভিউ */
.img-preview {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}