/* General Body Styles */
body {
    background-color: #0B192C;
    color: #ECDFCC;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Top Navigation Bar --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #0c1a2e;
    border-bottom: 1px solid rgba(236, 223, 204, 0.2);
    position: relative;
    z-index: 1001; /* Ensure nav is above other content but below the slide-in menu */
}

nav a {
    color: #ECDFCC;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.nav-brand a {
    font-size: 1.3rem;
    font-weight: bold;
}

.nav-links-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu-links {
    display: flex;
    gap: 20px;
    font-size: 1.1rem;
}

.nav-menu-links a:hover, .nav-brand a:hover {
    color: #FFFFFF;
}

.nav-icon-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-icon-links .nav-button {
    font-size: 1rem;
    padding: 8px 16px;
    border: 1px solid #ECDFCC;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.nav-icon-links .nav-button:hover {
    background-color: #ECDFCC;
    color: #0B192C;
}

.nav-icon-links i {
    font-size: 1.6rem;
}

/* Mobile-only elements are hidden on desktop */
.hamburger-menu, .close-menu-btn, .back-to-list-btn {
    display: none;
}

/* --- Main Content Area --- */
main {
    flex: 1;
    padding: 2rem;
}

.homepage-content, .page-content {
    max-width: 1200px;
    margin: 0 auto;
}

.homepage-content {
    text-align: center;
}

.page-content {
    text-align: left;
}

.profile-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ECDFCC;
    margin-top: 2rem;
}

.welcome-heading {
    font-size: 2.8rem;
    font-weight: 300;
    margin-top: 2rem;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 850px;
    margin: 1rem auto 0;
}

.page-content h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(236, 223, 204, 0.1);
}

/* --- STYLES FOR TECH STACK PAGE --- */
.tech-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
    text-align: left;
}

.tech-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    border-right: none;
    padding-right: 0;
}

.tech-category-frame {
    border: 1px solid rgba(236, 223, 204, 0.2);
    border-radius: 8px;
    background-color: #0c1a2e;
    position: relative;
    margin-bottom: 0;
}

.tech-category-title {
    padding: 12px 15px;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
    background-color: rgba(236, 223, 204, 0.08);
    border-bottom: 1px solid rgba(236, 223, 204, 0.2);
    color: #ECDFCC;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.tech-category-title:hover, .tech-category-title.active-title {
    background-color: rgba(236, 223, 204, 0.15);
}

.tech-category-title::after {
    content: '▼';
    font-size: 0.8em;
    transition: transform 0.2s ease-in-out;
}

.tech-category-title.active-title {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.tech-category-title.long-title {
    font-size: 0.95rem;
    padding: 14px 16px;
}

.tech-category-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: #0c1a2e;
    border: 1px solid rgba(236, 223, 204, 0.2);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.tech-category-content.open {
    display: flex;
}

.tech-link {
    display: flex;
    align-items: center;
    padding: 8px;
    text-decoration: none;
    color: #ECDFCC;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    gap: 15px;
}

.tech-link:hover {
    background-color: rgba(236, 223, 204, 0.1);
}

.tech-link.active {
    background-color: #ECDFCC;
    font-weight: bold;
}

.tech-link.active .tech-link-text {
    color: #0B192C;
}

.tech-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
    flex-shrink: 0;
}

.tech-link-text {
    font-size: 1rem;
    color: #ECDFCC;
    transition: color 0.3s ease;
}

.tech-display {
    flex: 3;
}

.tech-content-panel h3 {
    margin-top: 0;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(236, 223, 204, 0.3);
    padding-bottom: 10px;
}

.tech-content-panel p {
    font-size: 1.1rem;
    color: rgba(236, 223, 204, 0.8);
}

.tech-content-panel pre {
    background-color: #020c1b;
    border: 1px solid rgba(236, 223, 204, 0.2);
    border-radius: 5px;
    padding: 1rem;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-top: 1.5rem;
}

.tech-content-panel code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    color: #a7c5eb;
}

.download-link {
    text-decoration: none;
    color: inherit;
}

.downloadable-title {
    transition: color 0.3s ease;
}

.download-link:hover .downloadable-title {
    color: #FFFFFF;
}

.downloadable-title .fa-download {
    font-size: 1.2rem;
    margin-left: 10px;
    opacity: 0.7;
}

.snippet-intro a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.snippet-intro a:hover {
    color: #FFFFFF;
}

.snippet-intro {
    background-color: rgba(12, 26, 46, 0.7);
    border-left: 4px solid #ECDFCC;
    padding: 15px 20px;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    text-align: left;
}

.snippet-intro p {
    margin: 0;
    font-size: 1rem;
    color: rgba(236, 223, 204, 0.9);
    line-height: 1.6;
}

/* --- CONTACT PAGE STYLES --- */
#contact {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#contact p {
    font-size: 1.2rem;
    color: rgba(236, 223, 204, 0.8);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    background-color: #0c1a2e;
    border: 1px solid rgba(236, 223, 204, 0.2);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    width: 100%;
    max-width: 400px;
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background-color: rgba(236, 223, 204, 0.05);
}

.contact-item .icon {
    font-size: 1.6rem;
    color: #ECDFCC;
    margin-right: 1.5rem;
}

.contact-item a, .contact-item span {
    font-size: 1.1rem;
    color: #ECDFCC;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* --- ABOUT ME PAGE STYLES --- */
.about-me-container {
    display: flex;
    gap: 3rem;
}

.about-me-menu {
    flex: 0 0 178px;
    position: sticky;
    top: 2rem;
    align-self: flex-start;
}

.about-me-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.about-me-menu a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #ECDFCC;
    border-left: 3px solid transparent;
    transition: all 0.2s ease-in-out;
    font-size: 1.1rem;
}

.about-me-menu a:hover {
    background-color: rgba(236, 223, 204, 0.05);
    border-left-color: #ECDFCC;
    color: #FFFFFF;
}

.about-me-content {
    flex: 1;
}

.about-me-content section:not(:last-child) {
    margin-bottom: 3rem;
}

.about-me-content h2 {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(236, 223, 204, 0.2);
    margin-bottom: 1.5rem;
}

.about-me-content p, .about-me-content li {
    line-height: 1.7;
    max-width: 75ch;
}

.about-me-content li:not(:last-child) {
    margin-bottom: 1rem;
}

/* --- ACCORDION STYLES FOR CODE SNIPPETS --- */
.code-accordion {
    border: 1px solid rgba(236, 223, 204, 0.2);
    border-radius: 5px;
    overflow: hidden;
    background-color: #020c1b;
}

.accordion-item:not(:last-child) {
    border-bottom: 1px solid rgba(236, 223, 204, 0.2);
}

.accordion-header {
    background-color: #0c1a2e;
    color: #ECDFCC;
    cursor: pointer;
    padding: 12px 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1rem;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover, .accordion-header.active {
    background-color: #1a2b3c;
}

.accordion-icon {
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content pre {
    margin-top: 0;
    border: none;
    border-radius: 0;
}


/* --- STYLES FOR PIPELINE SIMULATION --- */
.pipeline-visualizer-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pipeline-visualizer {
    display: flex;
    flex-grow: 1;
    border: 1px solid rgba(236, 223, 204, 0.2);
    border-radius: 5px;
    overflow: hidden;
}

.pipeline-stage {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    color: rgba(236, 223, 204, 0.6);
    background-color: #0c1a2e;
    border-right: 1px solid rgba(236, 223, 204, 0.2);
    transition: background-color 0.5s ease, color 0.5s ease;
}

.pipeline-stage:last-child {
    border-right: none;
}

.pipeline-stage.running {
    background-color: #0d47a1;
    color: #FFFFFF;
}

.pipeline-stage.success {
    background-color: #1b5e20;
    color: #FFFFFF;
}

#reset-pipeline-btn {
    background-color: transparent;
    border: 1px solid #ECDFCC;
    color: #ECDFCC;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#reset-pipeline-btn:hover {
    background-color: #ECDFCC;
    color: #0B192C;
}

.console-output {
    background-color: #000000;
    border: 1px solid rgba(236, 223, 204, 0.3);
    border-radius: 5px;
    margin-top: 10px;
}

.console-output pre {
    margin: 0;
    padding: 1rem;
    color: #f0f0f0;
    font-size: 0.85rem;
    white-space: pre-wrap;
    word-wrap: break-word;
    border: none;
}

/* --- STYLES FOR EDUCATION PAGE --- */
.education-section {
    margin-bottom: 2.5rem;
}

.education-section h2 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    color: #ECDFCC;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.grid-item {
    background-color: #0c1a2e;
    border: 1px solid rgba(236, 223, 204, 0.2);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: auto;
    transition: background-color 0.3s ease;
}

.grid-item:hover {
    background-color: rgba(236, 223, 204, 0.05);
}

.grid-item h3 {
    font-size: 1.15rem;
    font-weight: 500;
    color: #ECDFCC;
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.grid-item p {
    color: rgba(236, 223, 204, 0.8);
    margin-bottom: 0;
}

.course-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.course-link h3 {
    transition: color 0.3s ease;
}

.grid-item:hover .course-link h3 {
    color: #FFFFFF;
}

.certificate-badge {
    height: 110px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.grid-item a:hover .certificate-badge {
    transform: scale(1.05);
}

.certificate-title {
    margin-top: auto;
}

/* --- STYLES FOR XRAY.HTML PAGE & VULN TABLE --- */
.xray-container h2 {
    border-bottom: 1px solid rgba(236, 223, 204, 0.2);
    padding-bottom: 10px;
    text-align: left;
}

.xray-container hr {
    border: none;
    border-top: 1px solid rgba(236, 223, 204, 0.2);
    margin: 2rem 0;
}

.xray-container pre {
    background: #020c1b;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid rgba(236, 223, 204, 0.2);
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.xray-container code {
    font-family: "Fira Code", "Courier New", monospace;
    font-size: 0.95em;
}

.xray-container .explanation {
    margin-top: 20px;
}

.xray-container .explanation ul {
    list-style-type: disc;
    padding-left: 20px;
}

.xray-container .explanation ul ul {
    list-style-type: circle;
    padding-left: 25px;
}

.xray-container .code-inline {
    font-family: "Fira Code", "Courier New", monospace;
    background-color: rgba(236, 223, 204, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.xray-container .key { color: #9cdcfe; }
.xray-container .string { color: #ce9178; }
.xray-container .boolean { color: #569cd6; }
.xray-container .comment { color: #6a9955; font-style: italic; }

.vulnerability-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.vulnerability-table th, .vulnerability-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(236, 223, 204, 0.2);
}

.vulnerability-table thead th {
    background-color: #0c1a2e;
    font-weight: bold;
    color: #FFFFFF;
}

.vulnerability-table tbody tr:hover {
    background-color: rgba(236, 223, 204, 0.05);
}

.vulnerability-table td code {
    background-color: rgba(236, 223, 204, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* --- STYLES FOR PROJECTS PAGE --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-card {
    background-color: #0c1a2e;
    border: 1px solid rgba(236, 223, 204, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-card h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    color: #ECDFCC;
}

.project-card p {
    flex-grow: 1;
    color: rgba(236, 223, 204, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-links a {
    color: #ECDFCC;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 12px;
    border: 1px solid rgba(236, 223, 204, 0.5);
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.project-links a:hover {
    background-color: #ECDFCC;
    color: #0B192C;
}

.project-links a .fa-github {
    font-size: 1.2rem;
}

/* --- MISC STYLES --- */
.accordion-header .header-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.accordion-header .header-description {
    font-size: 0.9rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: normal;
    color: rgba(236, 223, 204, 0.8);
    margin-top: 5px;
    padding-right: 1rem;
}

.blinking-cursor {
    font-weight: bold;
    color: #ECDFCC;
    animation: 1s blink step-end infinite;
}

@keyframes blink {
    from, to { color: transparent; }
    50% { color: #ECDFCC; }
}


/* ===================================================================== */
/* =================== RESPONSIVE STYLES (CONSOLIDATED) ================ */
/* ===================================================================== */

/* --- Primary Mobile & Tablet Breakpoint (up to 992px) --- */
@media (max-width: 992px) {
    /* --- General Adjustments --- */
    main { padding: 1.5rem 1rem; }
    .welcome-heading { font-size: 2.2rem; }
    .page-content h1, #contact h2 { font-size: 2rem; }
    .about-text p, #contact p { font-size: 1.1rem; }

    /* --- SLIDE-IN HAMBURGER NAVIGATION --- */
    nav { flex-direction: row; justify-content: space-between; }
    .hamburger-menu {
        display: block;
        background: none;
        border: none;
        color: #ECDFCC;
        font-size: 1.6rem;
        cursor: pointer;
    }
    .nav-links-container {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background-color: #1a2b3c;
        z-index: 1002; /* Must be higher than nav's z-index */
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 3rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    .nav-links-container.active { transform: translateX(0); }
    .nav-links-container .nav-menu-links,
    .nav-links-container .nav-icon-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        width: 100%;
    }
    .close-menu-btn {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        background: none;
        border: none;
        color: #ECDFCC;
        font-size: 2rem;
        cursor: pointer;
        display: block;
    }
    
    /* --- TECH STACK MOBILE LAYOUT (NEW SIMPLIFIED VERSION) --- */
    .tech-list { 
        grid-template-columns: repeat(3, 1fr); 
    }
    .tech-display {
        /* This is hidden by default on mobile and shown with JS */
        display: none; 
    }
    .tech-content-panel code,
    .tech-content-panel pre {
        /* Further reduce font size for long code lines on mobile */
        font-size: 0.78rem; 
    }
    .back-to-list-btn {
        /* This will be visible when its parent (.tech-display) is shown */
        display: inline-flex; 
        align-items: center;
        gap: 0.5rem;
        background: none;
        border: 1px solid #ECDFCC;
        color: #ECDFCC;
        padding: 8px 16px;
        border-radius: 5px;
        cursor: pointer;
        margin-bottom: 1.5rem;
        font-size: 1rem;
    }

    /* --- Other Component Adjustments --- */
    .profile-photo { width: 150px; height: 150px; }
    .about-me-container { flex-direction: column; }
    .about-me-menu {
        position: static;
        border-bottom: 1px solid rgba(236, 223, 204, 0.2);
        margin-bottom: 2rem;
        align-self: stretch;
    }
    .about-me-menu ul { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .about-me-menu ul::-webkit-scrollbar { display: none; }
    .about-me-menu a { border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; padding: 12px; }
    .about-me-menu a:hover { border-left: none; border-bottom-color: #ECDFCC; }
    .grid-container { grid-template-columns: repeat(2, 1fr); }
    .pipeline-visualizer-container { flex-direction: column; align-items: stretch; }
    .pipeline-visualizer { flex-direction: column; }
    .pipeline-stage { border-right: none; border-bottom: 1px solid rgba(236, 223, 204, 0.2); }
    .pipeline-stage:last-child { border-bottom: none; }
    #reset-pipeline-btn { margin-top: 1rem; }
    .accordion-content { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .vulnerability-table { min-width: 600px; }
    .projects-grid { grid-template-columns: 1fr; }
}

/* --- Main Mobile Breakpoint (up to 768px) --- */
@media (max-width: 768px) {
    .grid-container { grid-template-columns: 1fr; }
    .tech-list { grid-template-columns: repeat(2, 1fr); }
}

/* --- Smaller Mobile Breakpoint (up to 480px) --- */
@media (max-width: 480px) {
    main { padding: 1rem 0.75rem; }
    .welcome-heading { font-size: 1.8rem; }
    .page-content h1, #contact h2 { font-size: 1.7rem; }
    .tech-list { grid-template-columns: 1fr; }
    .contact-item { padding: 1rem; flex-direction: column; text-align: center; gap: 0.5rem; }
    .contact-item .icon { margin-right: 0; margin-bottom: 0.5rem; }
}


/* ===================================================================== */
/* ============= UNIFIED SNIPPET & ACCORDION STYLES ==================== */
/* ===================================================================== */

/* --- General Code Container --- */
.code-container {
    background-color: #020c1b; /* Corrected lighter blue background */
    color: #f8f8f2;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    overflow-x: auto;
    border: 1px solid #444;
}
.code-container pre {
    margin: 0;
    padding: 20px;
}

/* --- Python Accordion & Code Highlighting --- */
.python-accordion {
    border: 1px solid rgba(236, 223, 204, 0.2);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1.5rem;
}
.python-accordion .accordion-item:not(:last-child) {
    border-bottom: 1px solid rgba(236, 223, 204, 0.2);
}
.python-accordion .accordion-header {
    background-color: #0c1a2e;
    color: #ECDFCC;
    cursor: pointer;
    padding: 15px 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.python-accordion .accordion-header:hover, .python-accordion .accordion-header.active {
    background-color: #1a2b3c;
}
.python-accordion .accordion-header-text .filename {
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
}
.python-accordion .accordion-header-text .description {
    display: block;
    font-size: 0.9rem;
    color: rgba(236, 223, 204, 0.7);
    margin-top: 5px;
    font-weight: normal;
}
.python-accordion .accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease-in-out;
}
.python-accordion .accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}
.python-accordion .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #020c1b; /* Corrected lighter blue background */
}
.python-accordion .accordion-content .code-container {
    border: none;
    border-radius: 0;
}
/* Syntax Highlighting */
.code-keyword { color: #ff79c6; }
.code-string { color: #f1fa8c; }
.code-comment { color: #6272a4; font-style: italic; }
.code-function { color: #50fa7b; }
.code-decorator { color: #ffb86c; }
.code-number { color: #bd93f9; }
.code-class { color: #8be9fd; }

/* --- Helm Snippet Accordion --- */
.helm-accordion {
    background-color: #0c1a2e;
    color: #ECDFCC;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid rgba(236, 223, 204, 0.2);
}
.helm-accordion.active, .helm-accordion:hover {
    background-color: #1a2b3c;
}
.helm-accordion-title {
    font-weight: bold;
    font-size: 1.2em;
    color: #ECDFCC;
}
.helm-accordion-explanation {
    margin-top: 8px;
    font-style: italic;
    color: rgba(236, 223, 204, 0.8);
}
.helm-panel {
    padding: 0 18px;
    background-color: #020c1b; /* Corrected lighter blue background */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border: 1px solid rgba(236, 223, 204, 0.2);
    border-top: none;
    border-radius: 0 0 5px 5px;
}
.helm-panel pre code {
    color: #a7c5eb;
}

/* --- Bash Snippet --- */
.code-container-bash {
    background-color: #020c1b; /* Corrected lighter blue background */
    color: #f8f8f2;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    overflow-x: auto;
    margin-top: 15px;
    margin-bottom: 15px;
    border: none; /* Removed the frame as requested */
}
.code-container-bash pre {
    margin: 0;
}
/* Syntax Highlighting */
.bash-comment { color: #6272a4; font-style: italic; }
.bash-keyword { color: #ff79c6; }
.bash-string { color: #f1fa8c; }
.bash-command { color: #8be9fd; }
.bash-variable { color: #bd93f9; }
