body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #fff;
}

.dark-mode body {
    background-color: #181818;
    color: #e4e4e4;
}

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

.header {
    text-align: center;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.header h1 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 10px;
}

.dark-mode .header h1 {
    color: #e4e4e4;
}

.header h1 span {
    color: #2463eb;
}

.dark-mode .header h1 span {
    color: #4e8aff;
}

.header p {
    font-size: 1.1rem;
    color: #666;
    margin: 20px 0;
}

.dark-mode .header p {
    color: #aaa;
}

.header .btn-container {
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    margin: 10px;
    color: #fff;
    background-color: #000;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-secondary {
    background-color: #0056ff;
}

.btn:hover {
    background-color: #333;
}

.dark-mode .btn {
    background-color: #1a73e8;
}

.dark-mode .btn:hover {
    background-color: #0f57c7;
}

.subtext {
    font-size: 1rem;
    color: #777;
    margin-top: 10px;
    margin-bottom: 50px;
}

.dark-mode .subtext {
    color: #999;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #e4e4e4;
    margin: 50px 0;
}

.dark-mode .divider {
    background-color: #333;
}

.section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

.section .content, .section .image {
    width: 48%;
}

.content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #000;
}

.dark-mode .content h2 {
    color: #e4e4e4;
}

.content p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #666;
}

.dark-mode .content p {
    color: #aaa;
}

.content ul {
    list-style: none;
    padding: 0;
}

.content ul li {
    padding-left: 25px;
    margin-bottom: 10px;
    position: relative;
    font-size: 1rem;
    color: #666;
}

.dark-mode .content ul li {
    color: #aaa;
}

.content ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff66b2;
    font-weight: bold;
}

.dark-mode .content ul li:before {
    color: #ff66b2;
}

.image {
    background-color: #f4f4f4;
    border: 2px dashed #ccc;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #999;
    border-radius: 12px;
    text-align: center;
    padding: 0; 
    box-sizing: border-box;
    margin-top: 35px;
    overflow: hidden; 
}

.dark-mode .image {
    background-color: #333;
    border-color: #555;
    color: #ccc;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 12px;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

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

    .header p {
        font-size: 1rem;
        margin: 15px 0;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section {
        flex-direction: column;
    }

    .section .content, .section .image {
        width: 100%;
    }

    .section .image {
        margin-top: 20px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 0; 
        margin: 0; 
        text-align: left; 
    }
    .footer .btn {
        padding: 10px 20px;
        background-color: #007bff;
        color: white;
        text-decoration: none;
        border-radius: 8px;
        margin: 0 10px;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }
    
    .footer .btn:hover {
        background-color: #0056b3;
    }
    .footer .footer-content {
        width: 100%;
        text-align: left; 
        padding: 0; 
        margin: 0; 
    }

    .footer .image {
        width: 100%;
        margin-top: 20px;
    }

    .footer h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .footer ul {
        padding-left: 0; 
        margin-left: 0; 
    }

    .footer .addon-button {
        display: inline-block;
        margin-top: 15px;
    }
}

.dark-mode .footer .image {
    background-color: #333;
    border-color: #555;
}
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    visibility: hidden;
}

#lightbox.active {
    opacity: 1;
    visibility: visible;
}

#lightbox img {
    max-width: 90%;
    max-height: 80%;
}

.btn.addon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    background: linear-gradient(135deg, #FF7139, #FF8539); 
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/a/a0/Firefox_logo%2C_2019.svg');
    background-repeat: no-repeat;
    background-position: 10px center; 
    background-size: 28px 28px;
    padding-left: 50px; 
}
.btn.addon-button:hover {
    color: #e4e4e4;
    background-color: #0f57c7;
}

.dark-mode .btn.addon-button {
    color: #e4e4e4;
}

.dark-mode .btn.addon-button:hover {
    color: #ffffff;
}

.install-section {
    display: flex;
    justify-content: center;
    padding: 0px 20px;
    border-radius: 8px;
    margin: 20px 0;
    line-height: 1.8;
}

.install-content {
    max-width: 800px;
    width: 100%;
    text-align: left;
}

.install-content h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.install-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    text-align: left;
    padding: 10px 20px;
    border-radius: 4px;
}

.install-text pre,
.install-text code {
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 10px;
    font-family: 'Courier New', Courier, monospace;
    color: #333;
    overflow-x: auto;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
}

.install-text code {
    background-color: #e0e0e0;
    padding: 2px 4px;
    border-radius: 3px;
}

.install-text pre code.language-bash,
.install-text pre code.language-ini {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.install-text pre code.language-bash::before,
.install-text pre code.language-ini::before {
    content: 'bash';
    display: block;
    font-size: 0.9em;
    color: #8be9fd;
    margin-bottom: 8px;
}

.install-text pre code.language-ini::before {
    content: 'ini';
    display: block;
    font-size: 0.9em;
    color: #bd93f9;
    margin-bottom: 8px;
}

.dark-mode .install-content h2 {
    color: #ddd;
}

.dark-mode .install-text {
    color: #ccc;
}

.dark-mode .install-text pre,
.dark-mode .install-text code {
    background-color: #444;
    color: #f0f0f0;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.1);
}

.dark-mode .install-text code {
    background-color: #555;
    color: #f0f0f0;
}

.dark-mode .install-text pre code.language-bash,
.dark-mode .install-text pre code.language-ini {
    background-color: #1e1e1e;
    color: #f8f8f2;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.2);
}

.dark-mode .install-text pre code.language-bash::before {
    color: #8be9fd;
}

.dark-mode .install-text pre code.language-ini::before {
    color: #bd93f9;
}
.carousel {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    border-radius: 12px;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.carousel-controls .prev, .carousel-controls .next {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    cursor: pointer;
    pointer-events: all;
    border-radius: 5px;
    margin-left: 3px;
    margin-right: 3px;
}

.carousel-controls .prev {
    left: 10px;
}

.carousel-controls .next {
    right: 10px;
}
.code-container {
    color: #f8f8f2;
    font-family: "Courier New", monospace;
    border-radius: 20px;
    overflow-x: auto;
    display: block; /* Ensures it takes full width for auto margin */
    white-space: pre;
    margin: 10px auto; /* Centers horizontally */
    padding: 10px;
    max-width: 50%; /* Adjust width as needed */
}

.code-container pre {
    margin: 0 !important;
    padding: 10px;
    line-height: 1.4;
    background: none;
}

.info-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background-color: #dceeff;
    border: 1px solid #91caff;
    color: #084298;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    width: 100%;
}

.info-banner::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('https://upload.wikimedia.org/wikipedia/commons/3/3f/Info_icon_002.svg') no-repeat center center;
    background-size: contain;
}

.info-banner i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.dark-mode .info-banner {
    background-color: #0b2544;
    border: 1px solid #4e8aff;
    color: #cfdfff;
}

.dark-mode .info-banner::before {
    filter: brightness(0) invert(1);
}