/* ---
Theme: Minimalist Clean
Font: Inter (Sans-Serif)
--- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
    --primary-color: #005A9C; /* Professional Blue */
    --accent-color: #007BFF; /* Brighter Blue for interactions */
    --background-color: #FFFFFF; /* Pure White */
    --surface-color: #F8F9FA; /* Off-White/Light Grey */
    --text-color: #212529; /* Dark Grey for text */
    --text-muted-color: #6C757D; /* Medium Grey */
    --border-color: #DEE2E6; /* Light Grey for borders */
    --font-family-main: 'Inter', sans-serif;
    --transition-speed: 0.2s ease-in-out;
}

/* --- General Resets & Defaults --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-main);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}

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

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

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-speed);
}

a:hover, a:focus {
    color: var(--primary-color);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

li {
    margin-bottom: 0.5rem;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--background-color);
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(5px);
}

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

.site-title {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
    text-decoration: none;
}
.site-title:hover {
    text-decoration: none;
    color: var(--primary-color);
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.75rem;
}

.main-nav a {
    text-decoration: none;
    font-size: 1rem;
    color: var(--text-muted-color);
    padding: 0.25rem 0;
    font-weight: 600;
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform var(--transition-speed);
}
.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    text-decoration: none;
}

/* --- Main Content Layout --- */
.main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

@media (min-width: 992px) {
    .main-layout {
        grid-template-columns: 2.5fr 1fr;
    }
}

/* --- Hero Section (Homepage) --- */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    margin-bottom: 3rem;
    background-color: var(--surface-color);
    border-radius: 8px;
}

.hero h1 {
    font-size: 3.2rem;
}

.hero p {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 1rem auto 0;
    color: var(--text-muted-color);
}

/* --- Blog Articles Section --- */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.article-card {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: box-shadow var(--transition-speed), transform var(--transition-speed);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.article-card-content {
    padding: 1.75rem;
}

.article-card h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.article-card h3 a:hover {
    color: var(--primary-color);
}

.read-more-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 700;
}

/* --- Single Article Page --- */
.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}
.article-header h1 {
    font-size: 2.5rem;
}
.article-meta {
    font-size: 0.9rem;
    color: var(--text-muted-color);
}

/* --- Sidebar Widgets --- */
.widget {
    background-color: var(--surface-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    margin-top: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
    color: var(--text-color);
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li a {
    display: block;
    padding: 0.4rem 0;
    font-weight: 400;
    color: var(--text-muted-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.widget ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* --- Call to Action --- */
.cta-section {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 2.5rem;
    text-align: center;
    margin: 3rem 0;
    border-radius: 8px;
}
.cta-section h2 {
    color: var(--background-color);
}
.cta-section .read-more-link {
    background-color: var(--background-color);
    color: var(--primary-color);
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}
.cta-section .read-more-link:hover {
    background-color: #e9ecef;
}


/* --- Contact Form --- */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-family-main);
    font-size: 1rem;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: border-color var(--transition-speed);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-form button {
    cursor: pointer;
    border: none;
    font-weight: 600;
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color var(--transition-speed);
}
.contact-form button:hover {
    background-color: var(--accent-color);
}

/* --- Footer --- */
.site-footer {
    padding: 3rem 0;
    margin-top: 2rem;
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
}

.site-footer .container {
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 0;
}

.footer-links a {
    color: var(--text-muted-color);
    text-decoration: none;
    font-weight: 400;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-muted-color);
    margin-top: 1rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    h1 { font-size: 2.2rem; }
    .hero h1 { font-size: 2.5rem; }
    h2 { font-size: 1.6rem; }
    .hero { padding: 2.5rem 1rem;}
}
