:root { 
    --primary-color: #003366; 
    --secondary-color: #00A090; 
    --text-color: #333; 
    --bg-color: #f4f7f6; 
    --white: #ffffff; 
    --font-main: 'Roboto', sans-serif; 
    --font-heading: 'Montserrat', sans-serif; 
}

body { 
    font-family: var(--font-main); 
    color: var(--text-color); 
    line-height: 1.7; 
    margin: 0; 
    background-color: var(--bg-color); 
}

.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header { 
    background: var(--white); 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    padding: 1rem 0; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}

header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo { 
    font-family: var(--font-heading); 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--primary-color); 
    text-decoration: none; 
}

nav ul { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    display: flex; 
}

nav ul li { 
    margin-left: 25px; 
}

nav a { 
    text-decoration: none; 
    color: var(--primary-color); 
    font-weight: 500; 
    transition: color 0.3s; 
}

nav a:hover { 
    color: var(--secondary-color); 
}

.hero { 
    background-image: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../img/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white); 
    text-align: center; 
    padding: 4rem 20px; 
}

.hero h1 { 
    font-family: var(--font-heading); 
    font-size: 2.8rem; 
    margin-bottom: 0.5rem; 
}

.articles-grid { 
    padding: 4rem 0; 
}

.articles-grid h2, .faq-section h2, .page-title { 
    text-align: center; 
    font-family: var(--font-heading); 
    font-size: 2.2rem; 
    color: var(--primary-color); 
    margin-bottom: 3rem; 
}

.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
}

.card-link { 
    text-decoration: none; 
    color: inherit; 
    display: block; 
}

.card { 
    background: var(--white); 
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
    overflow: hidden; 
    transition: transform 0.3s, box-shadow 0.3s; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
}

.card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.12); 
}

.card img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
}

.card-content { 
    padding: 20px; 
    flex-grow: 1; 
}

.card-content h3 { 
    font-family: var(--font-heading); 
    margin-top: 0; 
    color: var(--primary-color); 
    font-size: 1.2rem; 
}

.card-content p { 
    font-size: 0.95rem; 
    margin-bottom: 0; 
}

.faq-section { 
    background: var(--white); 
    padding: 4rem 0; 
}

.faq-item { 
    border-bottom: 1px solid #e0e0e0; 
}

.faq-question { 
    width: 100%; 
    background: none; 
    border: none; 
    text-align: left; 
    padding: 20px 0; 
    font-size: 1.2rem; 
    font-weight: 500; 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.faq-question::after { 
    content: '+'; 
    font-size: 1.5rem; 
    color: var(--secondary-color); 
    transition: transform 0.3s; 
}

.faq-question.active::after { 
    transform: rotate(45deg); 
}

.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.5s ease-out;
    padding-right: 20px;
}

footer { 
    background: var(--primary-color); 
    color: var(--white); 
    text-align: center; 
    padding: 2rem 0; 
    margin-top: 3rem;
}

footer a { 
    color: var(--white); 
    text-decoration: underline; 
}

/* Article Page Specific Styles */
.article-header { text-align: center; margin: 2rem 0; }
.article-header h1 { font-family: var(--font-heading); font-size: 2.8rem; color: var(--primary-color); line-height: 1.2; margin-bottom: 0.5rem; }
.article-meta { color: #777; font-size: 0.9rem; }
.article-content img.article-main-image { max-width: 100%; height: auto; border-radius: 8px; margin: 2rem 0; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.article-content h2 { font-family: var(--font-heading); font-size: 1.8rem; color: var(--primary-color); margin-top: 2.5rem; border-bottom: 2px solid var(--secondary-color); padding-bottom: 0.5rem; text-align: left; }
.article-content h3 { font-family: var(--font-heading); font-size: 1.4rem; color: var(--primary-color); margin-top: 2rem; }
.article-content p, .article-content li { font-size: 1.1rem; }
.article-content ul, .article-content ol { list-style-position: inside; padding-left: 0; }
.article-content ul { list-style-type: disc; padding-left: 20px; }
.article-content strong { color: var(--primary-color); }
.comparison-table { width: 100%; border-collapse: collapse; margin: 2rem 0; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.comparison-table th, .comparison-table td { border: 1px solid #ddd; padding: 12px; text-align: left; }
.comparison-table th { background-color: #f2f2f2; font-family: var(--font-heading); font-weight: 700; }
.info-box { background-color: #eef7f6; border-left: 5px solid var(--secondary-color); padding: 1px 20px; margin: 2rem 0; border-radius: 5px; }
.warning-box { background-color: #f8d7da; border-left: 5px solid #dc3545; padding: 1px 20px; margin: 2rem 0; border-radius: 5px; }

/* Static Page Styles */
.static-page h1, .static-page h2 {
    text-align: left;
}
