/* Import Nunito from Google Fonts as fallback */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800;900&display=swap');

/* Define Nunito font from local files */
@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 900;
    font-style: italic;
    font-display: swap;
}

/* Apply Nunito globally */
* {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
}

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #4f42d8;
}

.nav-link.active {
    color: #4f42d8;
    font-weight: 600;
}

.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-card-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: #333;
}

.blog-card-text {
    font-weight: 400;
    color: #666;
}

.btn-primary {
    background-color: #4f42d8;
    border-color: #4f42d8;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #3d32b0;
    border-color: #3d32b0;
}

.category-badge {
    font-weight: 600;
    font-size: 0.875rem;
}

.blog-meta {
    font-size: 0.875rem;
    color: #999;
    font-weight: 400;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 400;
}

.blog-content h1, 
.blog-content h2, 
.blog-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.comment-section {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
}

.comment-author {
    font-weight: 700;
    color: #333;
}

.comment-date {
    font-size: 0.875rem;
    color: #999;
    font-weight: 400;
}

.comment-text {
    font-weight: 400;
    color: #555;
}