* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
}

.logo span {
    color: #e74c3c;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #e74c3c;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23ecf0f1" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn:hover {
    background: #c0392b;
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 15px;
}

.about-image {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    height: 300px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

/* Features */
.features {
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.article-image {
    height: 180px;
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.article-content {
    padding: 20px;
}

.article-content h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.article-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.read-more {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* Single Article */
.article-single {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 0 auto;
}

.article-single h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2rem;
}

.article-meta {
    color: #999;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.article-single p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-single h2 {
    color: #2c3e50;
    margin: 30px 0 15px;
    font-size: 1.5rem;
    text-align: left;
}

.article-single ul {
    margin: 15px 0 15px 30px;
}

.article-single li {
    margin-bottom: 8px;
}

.article-single a {
    color: #e74c3c;
}

.article-single a:hover {
    text-decoration: underline;
}

/* Table of Contents */
.toc {
    background: #f8f9fa;
    border-left: 4px solid #e74c3c;
    padding: 20px 25px;
    margin: 25px 0 30px;
    border-radius: 0 8px 8px 0;
}

.toc h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.toc ol {
    margin: 0;
    padding-left: 20px;
}

.toc li {
    margin-bottom: 6px;
}

.toc a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.2s;
}

.toc a:hover {
    color: #e74c3c;
    text-decoration: underline;
}

/* Sources Section */
.sources {
    background: #f0f4f8;
    border: 1px solid #d0d7de;
    padding: 25px;
    margin-top: 40px;
    border-radius: 8px;
}

.sources h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 8px;
}

.sources ul {
    margin: 0;
    padding-left: 20px;
}

.sources li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.sources a {
    color: #2980b9;
    font-weight: 500;
}

.sources a:hover {
    color: #e74c3c;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    text-align: center;
}

.cta h2 {
    color: #fff;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.cta .btn {
    background: #fff;
    color: #e74c3c;
}

.cta .btn:hover {
    background: #f9f9f9;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #e74c3c;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        gap: 15px;
    }

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

    .about-content,
    .features-grid,
    .articles-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .article-single {
        padding: 20px;
    }
}
