:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --secondary: #1d3557;
    --accent: #2a9d8f;
    --light: #f1faee;
    --dark: #1a1a2e;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Noto Sans Devanagari', 'Open Sans', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f8f9fa;
    direction: ltr;
    text-align: left;
}
h1, h2, h3, h4 {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    line-height: 1.3;
}
h1 {
    font-size: 2.5rem;
    color: var(--primary);
    border-bottom: 3px solid var(--accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    padding-left: 0.75rem;
    border-left: 5px solid var(--primary);
}
h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    color: var(--accent);
}
p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: justify;
}
a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.site-header {
    background-color: var(--secondary);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo a:hover {
    text-decoration: none;
    color: var(--light);
}
.logo-icon {
    color: var(--primary);
}
.nav-desktop {
    display: flex;
    gap: 2rem;
}
.nav-desktop a {
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}
.nav-desktop a:hover {
    background-color: rgba(255,255,255,0.1);
    text-decoration: none;
}
.nav-mobile {
    display: none;
}
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}
.breadcrumb {
    background-color: var(--light-gray);
    padding: 1rem 0;
    margin-bottom: 2rem;
}
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 0.5rem;
}
.breadcrumb li {
    display: flex;
    align-items: center;
}
.breadcrumb a {
    color: var(--secondary);
}
.breadcrumb a:hover {
    color: var(--primary);
}
.breadcrumb .separator {
    margin: 0 0.5rem;
    color: var(--gray);
}
.main-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    padding: 2rem 0;
}
@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}
.article-content {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}
.sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    align-self: start;
    position: sticky;
    top: 120px;
}
.search-box, .comment-form, .rating-form {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border: 1px solid var(--light-gray);
}
.search-box h3, .comment-form h3, .rating-form h3 {
    margin-top: 0;
}
.search-form {
    display: flex;
}
.search-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: inherit;
}
.search-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}
.search-btn:hover {
    background: var(--primary-dark);
}
.form-group {
    margin-bottom: 1rem;
}
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.form-input, .form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: inherit;
}
.form-textarea {
    min-height: 120px;
    resize: vertical;
}
.submit-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}
.submit-btn:hover {
    background: #21867a;
}
.rating-stars {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.rating-stars input {
    display: none;
}
.rating-stars label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}
.rating-stars label:hover,
.rating-stars input:checked ~ label {
    color: #ffc107;
}
.article-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    border: 3px solid var(--accent);
}
.emphasis {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-left: 5px solid var(--primary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}
.highlight {
    background-color: #fff3cd;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}
.web-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin: 3rem 0;
}
.web-link {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.web-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.web-link a {
    color: var(--secondary);
    font-weight: 600;
    display: block;
}
.web-link a:hover {
    color: var(--primary);
}
.site-footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: #ccc;
}
.footer-links a:hover {
    color: white;
    padding-left: 5px;
}
.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.3rem; }
    .header-container { flex-wrap: wrap; }
    .nav-desktop { display: none; }
    .hamburger { display: block; }
    .nav-mobile {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--secondary);
        margin-top: 1rem;
        border-radius: var(--border-radius);
        overflow: hidden;
    }
    .nav-mobile.active {
        display: flex;
    }
    .nav-mobile a {
        color: white;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-mobile a:hover {
        background: rgba(255,255,255,0.1);
        text-decoration: none;
    }
    .article-content {
        padding: 1.5rem;
    }
    .sidebar {
        position: static;
    }
}
