:root {
    --primary-color: #ffffff;
    --secondary-color: #f4f4f5; /* Light Grey BG */
    --accent-color: #3b82f6; /* Bright Blue */
    --text-dark: #18181b; /* Almost Black */
    --text-muted: #71717a; /* Medium Grey */
    --border-color: #e4e4e7;
    --font-heading: 'Roboto', 'Noto Sans SC', sans-serif;
    --font-body: 'Noto Sans SC', sans-serif;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 8px;
}

/* --- Global Styles & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--secondary-color);
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; border-bottom: 2px solid var(--accent-color); padding-bottom: 0.5rem; margin-top: 2.5rem; }
h3 { font-size: 1.4rem; color: var(--accent-color); }

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #1d4ed8; /* Darker blue for hover */
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

ul {
    list-style-type: none;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--primary-color);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-muted);
    padding-bottom: 0.5rem;
    position: relative;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--text-dark);
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}


/* --- Main Content Layout --- */
.page-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.main-area {
    flex: 3;
}

.sidebar {
    flex: 1;
}

/* --- Hero Section --- */
.hero {
    background: var(--primary-color);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: var(--radius);
    margin-bottom: 2.5rem;
    border: 1px solid var(--border-color);
}
.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
}

/* --- Articles Grid & Cards --- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.article-card {
    background-color: var(--primary-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.article-card h3 {
    margin-bottom: 0.5rem;
}

.article-card p {
    flex-grow: 1;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 700;
    text-align: center;
    margin-top: 1rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #1d4ed8;
    color: #fff;
    transform: scale(1.05);
}

/* --- Sidebar --- */
.widget {
    background-color: var(--primary-color);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.widget ul li {
    margin-bottom: 0.5rem;
}

.widget ul li a {
    display: block;
    color: var(--text-muted);
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.widget ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

/* --- Footer --- */
.site-footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    background-color: var(--primary-color);
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

.site-footer p {
    margin-bottom: 0.5rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    margin: 0 0.5rem;
}
.footer-links a:hover {
    color: var(--text-dark);
}


/* --- Article Page Specific --- */
.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.article-header .meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-content {
    background: var(--primary-color);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.article-content h2, .article-content h3 {
    margin-top: 2rem;
}

.article-content ul, .article-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}
.article-content ul {
    list-style-type: disc;
}
.article-content ol {
    list-style-type: decimal;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.cta-box {
    background-color: #eff6ff; /* Light blue bg */
    border-left: 5px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 5px 5px 0;
}
.cta-box h3 {
    color: var(--text-dark);
}

/* --- Sub-page styles (About, Contact, Offers) --- */
.page-header {
    padding: 2rem;
    background-color: var(--primary-color);
    border-radius: var(--radius);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .page-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
}