* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    min-height: 100vh;
    background-color: #f0f0f0;
    color: #333;
    display: flex;
    flex-direction: column;
}

header {
    background-color: #9a2a2a;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    min-height: 60px;
    line-height: 1.5;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
}

.nav-left a, .nav-right a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    line-height: 1.5;
    display: inline-block;
}

.nav-left a:hover, .nav-right a:hover {
    background-color: #7a1f1f;
}

.credits {
    color: white;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.5;
    flex-grow: 1;
    max-width: 300px;
}

.welcome-page header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    flex: 1;
    padding: 2rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

main {
    flex: 1;
}

.welcome-page .hero-section {
    background-color: #f8f8f8;
    padding: 4rem 2rem;
    text-align: center;
    width: 100%;
}

.welcome-page .hero-logo {
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.welcome-page .hero-section h1 {
    color: #9a2a2a;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.welcome-page .hero-tagline {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 2rem;
}

.welcome-page .hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeIn 1s ease-in;
}

.welcome-page .cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #9a2a2a;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.2s;
}

.welcome-page .cta-button:hover {
    background-color: #7a1f1f;
    transform: scale(1.05);
}

.welcome-page .cta-button.secondary {
    background-color: #555;
}

.welcome-page .cta-button.secondary:hover {
    background-color: #444;
}

.welcome-page .services-section, .welcome-page .security-section, .welcome-page .developer-section {
    padding: 3rem 2rem;
    text-align: center;
    width: 100%;
}

.welcome-page .services-section {
    background-color: white;
}

.welcome-page .security-section {
    background-color: #f8f8f8;
}

.welcome-page .developer-section {
    background-color: #f0f0f0;
}

.welcome-page .services-section h2, .welcome-page .security-section h2, .welcome-page .developer-section h2 {
    color: #9a2a2a;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.welcome-page .services-grid, .welcome-page .security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-page .service-item, .welcome-page .security-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.welcome-page .service-item:hover, .welcome-page .security-item:hover {
    transform: translateY(-5px);
}

.welcome-page .service-item h3, .welcome-page .security-item h3 {
    color: #9a2a2a;
    margin-bottom: 0.5rem;
}

.welcome-page .service-item p, .welcome-page .security-item p {
    color: #555;
    text-align: left;
}

.welcome-page .developer-section p {
    font-size: 1.1rem;
    color: #333;
}

.welcome-page .developer-section a {
    color: #9a2a2a;
    text-decoration: none;
}

.welcome-page .developer-section a:hover {
    text-decoration: underline;
}

h1 {
    color: #9a2a2a;
    margin-bottom: 1.5rem;
    text-align: center;
}

h2 {
    color: #9a2a2a;
    margin-bottom: 1rem;
}

form {
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    background-color: white;
    margin: 0 auto;
}

form div {
    margin-bottom: 1rem;
}

form label {
    display: block;
    color: #9a2a2a;
    margin-bottom: 0.5rem;
}

.password-container {
    position: relative;
}

input, select, button, textarea {
    width: 100%;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

input[type="password"], input[type="text"].password-input {
    padding-right: 2.5rem;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9a2a2a;
    font-size: 1.2rem;
}

.toggle-password:hover {
    color: #7a1f1f;
}

textarea {
    resize: vertical;
}

button, input[type="submit"] {
    background-color: #9a2a2a;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover, input[type="submit"]:hover {
    background-color: #7a1f1f;
}

.flash-container {
    width: 100%;
    max-width: 500px;
    text-align: center;
    margin: 0 auto 1rem;
}

.flash {
    color: #9a2a2a;
    background-color: #ffdddd;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.error {
    color: red;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: block;
}

p {
    margin: 1rem 0;
    text-align: center;
}

p a {
    color: #9a2a2a;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}

.current-rate {
    color: #9a2a2a;
    font-weight: bold;
    margin-bottom: 1rem;
}

.loading-bar-container {
    display: none;
    width: 100%;
    max-width: 500px;
    margin: 1rem auto;
    background-color: #f3f3f3;
    border-radius: 4px;
    overflow: hidden;
}

.loading-bar {
    width: 0%;
    height: 20px;
    background-color: #9a2a2a;
    transition: width 0.1s linear;
}

.ad-container {
    text-align: center;
    background-color: transparent;
}

.ad-container.bottom-ad {
    margin-top: 2rem;
    width: 100%;
    max-width: 500px;
    padding: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.ad-container.left-ad {
    position: fixed;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
    z-index: 1000;
}

.ad-container.right-ad {
    position: fixed;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
    z-index: 1000;
}

.blog-section {
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 2rem auto;
}

.faq-item {
    margin: 1rem 0;
    text-align: left;
}

.faq-item details {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: bold;
    color: #9a2a2a;
    padding: 0.5rem;
}

.faq-item p {
    padding: 0.5rem;
    text-align: left;
}

.admin-section {
    padding: 2rem;
    background-color: #f0f0f0;
    max-width: 800px;
    margin: 2rem auto;
}

.admin-section .search-form {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 8px;
}

.admin-section .search-form input[type="text"] {
    flex: 3;
    min-width: 0;
    padding: 0.75rem;
}

.admin-section .search-form button {
    flex: 1;
    max-width: 100px;
    padding: 0.75rem 1rem;
}

.admin-section .user-table-form {
    padding: 0;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-section .user-table-form input[type="number"] {
    width: 100px;
    margin: 0;
}

.admin-section .user-table-form button {
    width: auto;
    padding: 0.5rem 1rem;
}

.admin-section table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

.admin-section th, .admin-section td {
    padding: 0.75rem;
    border: 1px solid #ccc;
}

.admin-section th {
    background-color: #9a2a2a;
    color: white;
}

.admin-section td {
    background-color: white;
}

.admin-section .remove-btn, .admin-section .cta-button {
    padding: 0.5rem 1rem;
    background-color: #7a1f1f;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
}

.admin-section .remove-btn:hover, .admin-section .cta-button:hover {
    background-color: #5e1818;
}

.account-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.account-info {
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.account-info p {
    margin: 0.75rem 0;
    font-size: 1.1rem;
}

.account-info strong {
    color: #9a2a2a;
    margin-right: 0.5rem;
}

.footer {
    background-color: #f0f0f0;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #333;
    margin-top: auto;
}

.footer a {
    color: #9a2a2a;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* New styles for promo code form and admin table */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
    color: #9a2a2a;
    margin-bottom: 0.5rem;
}

.form-group input {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn {
    background-color: #9a2a2a;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

.btn:hover {
    background-color: #7a1f1f;
}

.admin-section .promo-toggle-btn {
    padding: 0.5rem 1rem;
    background-color: #9a2a2a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.admin-section .promo-toggle-btn:hover {
    background-color: #7a1f1f;
}

@media (max-width: 600px) {
    header {
        padding: 0;
    }

    nav {
        padding: 0.5rem;
        flex-direction: column;
        align-items: center;
        min-height: auto;
    }

    .nav-left, .nav-right {
        width: 100%;
        justify-content: center;
        margin: 0.25rem 0;
    }

    .nav-left a, .nav-right a {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }

    .credits {
        width: 100%;
        margin: 0.25rem 0;
        max-width: none;
    }

    .container {
        padding: 1rem;
    }

    .welcome-page .hero-section {
        padding: 2rem 1rem;
    }

    .welcome-page .hero-logo {
        max-width: 200px;
    }

    .welcome-page .hero-section h1 {
        font-size: 2rem;
    }

    .welcome-page .hero-tagline {
        font-size: 1.2rem;
    }

    .welcome-page .hero-cta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .welcome-page .cta-button {
        width: 100%;
        text-align: center;
    }

    .welcome-page .services-section, .welcome-page .security-section, .welcome-page .developer-section {
        padding: 2rem 1rem;
    }

    .welcome-page .services-grid, .welcome-page .security-grid {
        grid-template-columns: 1fr;
    }

    form {
        padding: 1rem;
    }

    .blog-section, .admin-section {
        padding: 1rem;
        margin: 1rem auto;
    }

    .admin-section .search-form {
        flex-direction: column;
        gap: 0.5rem;
    }

    .admin-section .search-form input[type="text"] {
        flex: none;
        width: 100%;
    }

    .admin-section .search-form button {
        flex: none;
        max-width: none;
        width: 100%;
    }

    .admin-section .user-table-form {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .admin-section .user-table-form input[type="number"] {
        width: 100%;
    }

    .admin-section .user-table-form button {
        width: 0.5rem 1rem;
    }

    .admin-section .user-table-form button {
        width: 100%;
    }

    .admin-section table {
        font-size: 0.9rem;
    }

    .ad-container.left-ad, .ad-container.right-ad {
        display: none;
    }

    .account-container {
        padding: 1rem;
    }

    .account-info {
        padding: 0.75rem;
    }

    .account-info p {
        font-size: 1rem;
    }

    .footer {
        padding: 0.75rem;
        font-size: 0.8rem;
    }

    /* Responsive adjustments for promo code form and admin table */
    .form-group {
        margin-bottom: 0.75rem;
    }

    .form-group input {
        padding: 0.5rem;
    }

    .btn {
        padding: 0.5rem 1rem;
    }

    .admin-section .promo-toggle-btn {
        width: 100%;
        padding: 0.5rem;
    }
}

@media (max-width: 768px) {
    .ad-container {
        display: none;
    }
}

/* Pricing table styles */
.credits-table {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.credits-table th,
.credits-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.credits-table th {
    background-color: #9a2a2a;
    color: white;
    font-weight: bold;
}

.credits-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.credits-table tr:hover {
    background-color: #f1f1f1;
}

.select-bundle {
    background-color: #9a2a2a;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.select-bundle:hover {
    background-color: #5e1818;
}

.select-bundle:focus {
    outline: none;
    box-shadow: 0 0 0 0 2px rgb(94, 24, 24);
}

.outlined-content {
    border: 2px solid black;
    padding: 30px;
    display: inline-block;
    border-radius: 8px;
}

/* Styles for About Us page */
.about-page .container {
    max-width: 1000px;
    padding: 2rem;
    px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
}

.about-page main {
    text-align: left;
}

.about-page h1 {
    font-size: 2.5rem;
    color: #9a2a2a;
    text-align: center;
    margin-bottom: 2rem;
}

.about-page h2 {
    font-size: 1.8rem;
    color: #9a2a2a;
    margin: 2rem 0 1rem;
}

.about-page h3 {
    font-size: 1.4rem;
    color: #555;
    margin: 1.5rem 0 0.5rem;
}

.about-page p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin: 0.5rem 0;
    text-align: justify;
}

.about-page a {
    color: #9a2a2a;
    text-decoration: none;
}

.about-page a:hover {
    text-decoration: underline;
}

.pricing-table {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.pricing-table p {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-table table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing-table th,
.pricing-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.pricing-table th {
    background-color: #9a2a2a;
    color: white;
    font-weight: bold;
}

.pricing-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.pricing-table tr:hover {
    background-color: #f1f1f1;
}

.terms-section, .privacy-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.terms-section p, .privacy-section p {
    text-align: justify;
    margin: 0.75rem 0;
}

.terms-section h3, .privacy-section h3 {
    color: #9a2a2a;
}

@media (max-width: 600px) {
    .about-page .container {
        padding: 1rem;
        margin: 1rem auto;
    }

    .about-page h1 {
        font-size: 2rem;
    }

    .about-page h2 {
        font-size: 1.5rem;
    }

    .about-page h3 {
        font-size: 1.2rem;
    }

    .about-page p {
        font-size: 0.9rem;
        text-align: left;
    }

    .pricing-table {
        padding: 1rem;
    }

    .pricing-table table {
        font-size: 0.9rem;
    }

    .pricing-table th, .pricing-table td {
        padding: 8px;
    }

    .pricing-table p {
        text-align: center;
    }

    .terms-section, .privacy-section {
        padding: 1rem;
    }

    .terms-section p, .privacy-section p {
        text-align: left;
    }
}
/* About Conversion Page Styles */
.about-conversion {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.about-conversion h1 {
    font-size: 2.5rem;
    color: #9a2a2a;
    text-align: center;
    margin-bottom: 2rem;
}

.about-conversion h2 {
    font-size: 1.8rem;
    color: #9a2a2a;
    margin: 2rem 0 1rem;
}

.about-conversion h3 {
    font-size: 1.4rem;
    color: #555;
    margin: 1.5rem 0 0.5rem;
}

.about-conversion p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin: 0.5rem 0;
    text-align: justify;
}

.about-conversion ul {
    list-style-type: disc;
    margin: 0.5rem 0 1rem 2rem;
}

.about-conversion ul li {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.about-conversion ul li strong {
    color: #9a2a2a;
}

.about-conversion blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    border-left: 4px solid #9a2a2a;
    padding: 0.5rem 0 0.5rem 1rem;
    margin: 1rem 0;
    background-color: #f8f8f8;
    border-radius: 4px;
}

.about-conversion a {
    color: #9a2a2a;
    text-decoration: none;
}

.about-conversion a:hover {
    text-decoration: underline;
}

.about-conversion section {
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .about-conversion {
        padding: 1rem;
        margin: 1rem auto;
    }

    .about-conversion h1 {
        font-size: 2rem;
    }

    .about-conversion h2 {
        font-size: 1.5rem;
    }

    .about-conversion h3 {
        font-size: 1.2rem;
    }

    .about-conversion p {
        text-align: left;
    }

    .about-conversion ul {
        margin-left: 1.5rem;
    }

    .about-conversion blockquote {
        font-size: 1rem;
        padding: 0.5rem 0 0.5rem 0.75rem;
    }
}

/* New Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.blog-item {
    background-color: #fff;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.blog-item:hover {
    transform: translateY(-5px);
}

.blog-item h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-item h2 a {
    color: #9a2a2a;
    text-decoration: none;
}

.blog-item h2 a:hover {
    text-decoration: underline;
}

.blog-item p {
    color: #555;
    text-align: left;
    margin-bottom: 0.5rem;
}

.blog-icon {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.blog-icon.small {
    width: 50px;
    height: 40px;
}

.blog-banner {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 4px;
    margin: 1rem 0;
}
