
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #0a0a0a, #1a1a1a);
    color: #e0e0e0;
    overflow-x: hidden;
}

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

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    font-size: 2.5em;
    color: #bb86fc;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(187, 134, 252, 0.7);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #e0e0e0;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #03dac6;
}

.hero {
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    padding: 60px 20px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3em;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.hero p {
    font-size: 1.2em;
    line-height: 1.7;
    color: #d0d0d0;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #03dac6;
    color: #121212;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 10px rgba(3, 218, 198, 0.7);
}

.btn:hover {
    background-color: #00bfa5;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(3, 218, 198, 0.9);
}

.projects-section, .article-section {
    padding: 40px 20px;
}

.projects-section h2, .article-section h2 {
    font-size: 2.2em;
    color: #bb86fc;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 8px rgba(187, 134, 252, 0.7);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: #1e1e1e;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
}

.project-card h3 {
    font-size: 1.5em;
    color: #03dac6;
    margin-top: 0;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 1em;
    line-height: 1.6;
    color: #c0c0c0;
}

.project-card ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
}

.project-card ul li {
    background-color: #333;
    color: #bbb;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 5px;
    font-size: 0.9em;
}

.article-section {
    background-color: #121212;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
    padding: 40px;
}

.article-section article {
    max-width: 900px;
    margin: 0 auto;
    color: #d0d0d0;
}

.article-section article h2 {
    font-size: 2em;
    color: #03dac6;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.article-section article h3 {
    font-size: 1.6em;
    color: #bb86fc;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-section article p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-section article b {
    color: #fff;
    font-weight: bold;
}

.article-section article pre {
    background-color: #222;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.9em;
    line-height: 1.5;
    tab-size: 4;
    margin-bottom: 20px;
    white-space: pre-wrap;
}

.article-section article pre code {
    display: block; /* Ensure code takes full width of pre */
}

.article-section article ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.article-section article ul li {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 10px;
}

footer {
    text-align: center;
    padding: 30px 0;
    color: #888;
    border-top: 1px solid #333;
}

footer p {
    font-size: 0.9em;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.section-title {
    font-size: 2.5em;
    color: #00bcd4;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.7);
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    header nav ul {
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
    }
    header nav ul li {
        margin: 10px 0;
    }
    .hero h2 {
        font-size: 2.5em;
    }
    .hero p {
        font-size: 1.1em;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .article-section article h2 {
        font-size: 1.8em;
    }
    .article-section article h3 {
        font-size: 1.4em;
    }
    .article-section article p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }
    .hero h2 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1em;
    }
    .projects-section h2, .article-section h2 {
        font-size: 2em;
    }
    .project-card h3 {
        font-size: 1.3em;
    }
    .article-section article h2 {
        font-size: 1.6em;
    }
    .article-section article h3 {
        font-size: 1.3em;
    }
    .article-section article p {
        font-size: 0.95em;
    }
}

