/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

/* --- CSS Variables (Blue Theme) --- */
:root {
    --primary-blue: #0052FF;
    --dark-blue: #0A0F14;
    --light-blue-bg: #f7faff;
    --text-primary: #1d3557;
    --text-secondary: #5a677d;
}

/* --- Global & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-blue-bg);
    color: var(--text-primary);
    line-height: 1.7;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #0041CC;
}

ul,
ol {
    margin: 1rem 0 1rem 1.5rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

h1,
h2,
h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* --- Header --- */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.navbar .nav-links a {
    font-weight: 500;
    margin-left: 1.5rem;
}

/* --- Page Layout --- */
.page-container {
    display: grid;
    grid-template-columns: 1fr;
    /* 1 column on mobile */
    gap: 2rem;
    margin: 2rem auto;
}

/* --- Main Article --- */
.content-article {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.content-article h1 {
    font-size: 2.4rem;
}

.content-article h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.article-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1.5rem;
}

/* --- Main CTA Button --- */
.hero-call-btn {
    display: block;
    background: var(--primary-blue);
    color: white;
    padding: 1rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    margin: 1rem 0 2rem 0;
    box-shadow: 0 5px 15px rgba(0, 82, 255, 0.4);
    transition: all 0.3s;
}

.hero-call-btn:hover {
    background: #0041CC;
    color: white;
    transform: translateY(-3px);
}

/* --- Sidebar --- */
.sidebar .widget {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.sidebar .widget h3 {
    font-size: 1.3rem;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 0.5rem;
}

.widget-call-btn {
    display: block;
    background: #f0f0f0;
    color: var(--text-primary);
    padding: 0.75rem;
    text-align: center;
    font-weight: 700;
    border-radius: 5px;
    margin-top: 1rem;
}

.widget-call-btn:hover {
    background: #e0e0e0;
    color: var(--text-primary);
}

.topic-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.topic-list li {
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

/* --- Footer --- */
.main-footer {
    background: var(--dark-blue);
    color: #a0aec0;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-links {
    margin-top: 0.5rem;
}

.footer-links a {
    color: #fff;
    font-size: 0.9rem;
    margin: 0 0.5rem;
}

/* --- Responsive (Desktop) --- */
@media (min-width: 900px) {
    .page-container {
        grid-template-columns: 2.5fr 1fr;
        /* 2 columns on desktop */
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-links {
        margin-top: 0;
    }
}