    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        margin: 0;
        padding: 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background-color: #F7F7F7; /* Light gray background, good for reducing eye strain */
    }
    .container {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    header {
        background-color: #09131F; /* Dark blue header, creates a professional look */
        color: white;
        padding: 1rem;
    }
    main {
        flex: 1;
        padding: 2rem 0;
    }
    .form-floating {
        margin-bottom: 1rem;
    }
    #loadingSpinner {
        display: none;
    }
    .response-info {
        margin-top: 1rem;
    }
    .rtl {
        direction: rtl;
        text-align: right;
    }
    .ltr {
        direction: ltr;
        text-align: left;
    }
    
    .rtl .form-control::placeholder {
    text-align: right;
    }
    
    .ltr .form-control::placeholder {
        text-align: left;
    }
    /* Placeholder text alignment for RTL */
    .rtl textarea.form-control::placeholder {
        text-align: right;
    }
    
    /* Placeholder text alignment for LTR */
    .ltr textarea.form-control::placeholder {
        text-align: left;
    }
    textarea.form-control {
        direction: inherit;
        text-align: inherit;
    }
    /* Align labels to the right in RTL mode */
    .rtl .form-floating > label {
        text-align: right;
        right: 0;
        left: auto;
    }
    
    /* Ensure the text area itself is also right-aligned in RTL */
    .rtl textarea.form-control {
        text-align: right;
    }

    
    footer {
        background-color: #e9ecef; /* Light gray footer, consistent with body background */
        padding: 1rem 0;
        margin-top: auto;
    }
    .pricing-card {
        height: 100%;
        background-color: white;
        border: 1px solid #d1d9e6;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    /*.btn-primary {*/
    /*    background-color: #0A3414; */
    /*    border-color: #0A3414;*/
    /*}*/
    .btn-primary:hover {
        background-color: #041709; /* Darker shade on hover */
        border-color: #041709;
    }
    .form-control:focus {
        border-color: #0A3414; /* Consistent with button color */
        box-shadow: 0 0 0 0.2rem rgba(10, 52, 20, 0.25);
    }
    
    /* Custom Colors for Pricing Cards */
    .card-header.custom-free {
        background-color: #6c757d; /* Gray for Free plan */
        color: white;
    }
    .card-header.custom-basic {
        background-color: #28558D; /* Blue for Basic plan */
        color: white;
    }
    .btn.custom-basic {
        background-color: #376AA9; /* Blue for Basic plan */
        color: white;
    }
    .card-header.custom-standard {
        background-color: #203B5B; /* Green for Standard plan */
        color: white;
    }
    .btn.custom-standard {
        background-color: #2C4C71; /* Green for Standard plan */
        color: white;
    }
    .card-header.custom-premium {
        background-color: #121D2A; /* Dark green for Premium plan */
        color: white;
    }  
    .btn.btn-custom-premium {
        background-color: #09131F;
        color: white;
        border-color: #09131F;
    }
    .btn.btn-custom-normal, .btn.btn-copy  {
        background-color: white;
        color: #09131F;
        border-color: #09131F;
    }
    .btn.btn-custom-premium:hover, .btn.btn-copy:hover, .btn.custom-standard:hover, .btn.custom-basic:hover, .btn.rephrase:hover  {
        background-color: #05081B; /* Darker shade on hover */
    }
    .btn.rephrase {
        background-color: #041508; /* Dark green for Premium plan */
        color: white;
    } 
    .btn-light {
        background-color: #09131F; /* Dark green for Premium plan */
        color: #fff;
        /*border-color: #041709;*/
        border: 1px solid #fff;
        border-radius: 8px;
        /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
        padding: 8px 8px;
    }
    .btn-light:hover {
        background-color: #fff; 
        color: #09131F;
        /*box-shadow: 1px 1px rgba(0, 0, 0, 0.1);*/
        padding: 8px 8px;
    }
    .header-logo img {
            margin-top: 10px;
            width: 90px;
            height: auto;
        }
        
.btn-custom {
    background-color: #09131F;
    color: white;
    border: 1px solid white;
    border-radius: 8px;
    font-size: 14px; /* Ensure consistent text size */
    width: 180px; /* Set a fixed width for all buttons */
    text-align: center; /* Center-align text within the button */
    padding: 8px 0; /* Adjust padding to keep buttons the same height */
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom.active {
    background-color: white;
    color: #09131F;
    border-color: #09131F;
}

/* Ensure the dropdown button does not turn white when the dropdown is open */
.nav-item.dropdown .nav-link.dropdown-toggle:focus,
.nav-item.dropdown .nav-link.dropdown-toggle:hover,
.nav-item.dropdown .nav-link.dropdown-toggle[aria-expanded="true"] {
    background-color: #09131F;
    color: white;
    border-color: white;
}


.comparison-table {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1.5rem;
    color: #333;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem;
    vertical-align: middle;
}

.comparison-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

.comparison-table td {
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.comparison-table .btn {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background-color: white;
    color: #09131F;
    border-color: #09131F;
}
.comparison-table .btn-main {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background-color: #09131F;
    color: white;
    border-color: #09131F;
}

@media (max-width: 767.98px) {
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}
