* {
    padding: 0px;
    margin: 0px;
    font-family: "Roboto", sans-serif !important;
}

:root {
    --primary-color: #000;
    --ligth-bg: #f5f7fdaf;
}

body {
    counter-reset: section;
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--ligth-bg);
}
header,
.tool,
.section__container {
    max-width: 1680px;
    margin: auto;
}

.header__section {
    max-width: 720px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;

    p {
        text-align: center;
    }
}

.content__section {
    width: 90%;
    margin: auto;
}

.site_name {
    font-size: 20px;
    font-weight: 500 !important;
    display: flex;
    align-items: center;
    color: #000;
    gap: 8px;
    width: fit-content;
}

.d-none {
    display: none !important;
}

h1 {
    font-size: 38px !important;
    font-weight: 600 !important;
}

h2 {
    font-size: 28px !important;
    font-weight: 600 !important;
}

h3 {
    font-size: 22px !important;
    font-weight: 600 !important;
}

#output,
textarea {
    color: #000000 !important;
    line-height: 28px !important;
    font-size: 16px !important;
    word-wrap: break-word !important;
    white-space: pre-wrap !important;
    height: 86.8%;
}

p {
    font-size: 18px !important;
}

.textarea__options {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -60%);
    display: flex;
    justify-content: center;
    gap: 20px;
    button {
        border: 1px solid rgb(212, 212, 212);
        /* background: rgb(243, 247, 250); */
        color: #000000;
        border-radius: 7px;
        font-size: 13px;
        width: 85px;
        height: 75px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        &:hover {
            background: rgb(245, 251, 255);
        }
    }
}

.active_language {
    border: 1px solid #fff;
    width: fit-content;
    height: fit-content;
    border: 1px solid #d9e1f1;
    background-color: #f8fafe;
    padding: 5px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    min-width: 120px;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
}

.active_language > div {
    display: flex;
}

.active_language > img {
    width: 14px !important;
}

.langauges img {
    width: 20px;
    margin-right: 5px;
}

.langauges {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0px 10px;
}

.langauge_options p {
    display: flex;
    align-items: center;
    font-size: 16px !important;
    padding: 7px 10px;
    cursor: pointer;
    transition: 0.2s ease;
}

.langauge_options p:hover {
    background-color: #1d1e55 !important;
    color: #fff !important;
}

.langauge_options {
    border-radius: 7px !important;
    position: absolute;
    top: 48px;
    width: 140px;
    border: 1px solid #d9e1f1;
    background-color: #f8fafe;
    z-index: 1;
    overflow: hidden;
}

#humanizeBtn {
    border-radius: 100px !important;
    box-shadow: rgb(70 96 119) 1.95px 1.95px 2.6px;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

#downloadButton,
#trashButton,
#copyButton {
    position: relative;
    user-select: none;
    outline: none;
    touch-action: none;
    border-left: 2px solid #e1e6e9;
    padding-left: 10px;
}

#copyButton {
    border-left: 0px;
}

#downloadButton img,
#trashButton img,
#copyButton img {
    user-select: none;
    outline: none;
    touch-action: none;
}
#downloadButton::before,
#trashButton::before,
#copyButton::before {
    position: absolute;
    left: -10%;
    background-color: var(--primary-color);
    color: #fff;
    padding: 4px 6px;
    border-radius: 5px;
    top: -33px;
    font-size: 12px;
    display: none;
}

#downloadButton::before {
    left: -100% !important;
}
#downloadButton:hover::before,
#trashButton:hover::before,
#copyButton:hover::before {
    display: flex;
}

#copyButton::before {
    content: "Copy";
}

#copyButton.active_copy::before {
    content: "Copied";
}

#downloadButton::before {
    content: "Download";
    left: -60%;
}

#trashButton::before {
    content: "Reset";
}

.hero {
    background-color: var(--ligth-bg) !important;
}

.tool {
    width: 80%;
    margin: auto;
    overflow: hidden;
    box-shadow:
        0px 8px 16px 0px rgb(50 68 73 / 8%),
        0px 4px 4px 0px rgb(70 90 99 / 6%),
        0px 0px 2px 0px rgb(68 81 87 / 10%);
}

.input__wrapper textarea:focus{
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.output__wrapper {
    max-height: 438px !important;
}

.modes {
    span {
        margin-right: 10px;
        display: block;
    }
    button {
        position: relative;
        padding: 14px 18px;
        color: gray;
        background: transparent;
        border: none;
        cursor: pointer;
        overflow: hidden;
    }

    button::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: #000;
        transition:
            width 0.3s ease,
            left 0.3s ease;
    }

    button.active_mode::after {
        width: 100%;
        left: 0;
    }

    button.active_mode {
        color: #000000;
    }
    button:hover {
        background: rgba(23, 43, 77, 0.08);
    }
}

.mobile__modes div {
    border: 1px solid #d9e1f1;
    background-color: #f8fafe;
}

.bubble {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(23, 43, 77, 0.085);
    border-radius: 50%;
    transform: scale(1);
    transform-origin: center;
    pointer-events: none;
    animation: pop 1.5s ease-out forwards;
}

@keyframes pop {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(25);
        opacity: 0;
    }
}
.tool__loader {
    backdrop-filter: blur(3px);
}

.output_options {
    min-height: 57px;
}

.custom-scrollbar {
    overflow-y: auto;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 12px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-color);
}

/* Custom Scrollbar for Firefox */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

.ai_companies {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 900px;
    justify-content: center;
    margin: auto;
    background: var(--ligth-bg);
    padding: 20px;
    border-radius: 12px;

    > div {
        display: flex;
        align-items: center;
        flex: 1;
        justify-content: center;
        gap: 10px;
        padding: 5px;
        border: 1px solid #eee;
        min-width: 190px;
        max-width: 150px;
        border-radius: 7px;
        background-color: #fff;
    }

    img {
        width: 25px;
        border-radius: 100%;
    }
}

.feature_cards {
    background-color: var(--ligth-bg);

    > div {
        transition: 0.3s ease;

        h3 {
            counter-increment: section;
            min-height: 115px;
            position: relative;
            display: flex;
            align-items: flex-end;
            z-index: 1;
            &::after {
                z-index: -1;
                content: counter(section, decimal-leading-zero);
                position: absolute;
                top: 0;
                left: 0;
                font-size: 90px;

                background: linear-gradient(180deg, #dbe7ff, #ffffff);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;

                background-clip: text; /* For Firefox */
                color: transparent;
                transition: 0.3s ease;
            }
        }

        img {
            transition: 0.3s ease;
        }
    }
}

.why_cards {
    > div {
        > div:nth-child(1) {
            background-color: #f5f7fd;
            min-width: 80px;
            min-height: 80px;
            border-radius: 100px;
            display: flex;
            justify-content: center;
            align-items: center;

            img {
                width: 50px;
            }
        }
    }
}

.user__cards {
    background-color: var(--ligth-bg);
}
.faqs {
    display: flex;
    width: 90%;
    margin: auto;
    gap: 20px;
    margin-top: 40px;
    padding: 20px !important;
    flex-wrap: wrap;
    background: var(--ligth-bg);
    border-radius: 12px;
    flex-direction: column;
    max-width: 1080px;
}

.faqs > div {
    background-color: #fff;
    border-radius: 12px;
    flex: 1;
    padding: 20px;
}

.faqs > div div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
    background-color: var(--ligth-bg);
    padding: 15px;
    border-radius: 7px;
}

.faqs > div p {
    padding: 0px 5px;
}

.faqs > div img {
    width: 15px;
}

footer {
    background: var(--ligth-bg) !important;
}

.footer__links a {
    background: #000000 !important;
}

@media only screen and (max-width: 1220px) {
    .modes button {
        padding: 14px 12px !important;
    }
}

@media only screen and (max-width: 1100px) {
    .tool {
        width: 90% !important;
    }
}
.mobile__modes {
    display: none !important;
}
.langauges > span {
    display: none !important;
}

@media only screen and (max-width: 980px) {
    .langauges {
        display: flex;
        flex-direction: row;
    }
    .langauges > span {
        display: block !important;
    }
    .mobile__hide {
        display: none !important;
    }

    .tool {
        width: 90% !important;
    }

    .mobile__modes {
        display: flex !important;
    }
    .tool__bar {
        padding: 10px 8px !important;
    }

    #modes__dropdown {
        position: absolute;
        flex-direction: column;
        z-index: 1;
        top: 49px;
        right: left;
        left: 83px;
        text-align: left !important;
        border: 1px solid #d9e1f1;
        background-color: #f8fafe;
        gap: 5px;
        padding: 5px;
        span {
            display: none;
        }

        button {
            width: 100%;
            text-align: left;
            padding: 8px 10px !important;
            min-height: 40px;
            border-radius: 7px;
        }
    }
}

@media only screen and (max-width: 768px) {
    #output {
        min-height: 380px;
    }

    .header__section p {
        width: 90% !important;
    }

    .tool__body {
        flex-direction: column;
    }

    .input__options {
        border-bottom: 2px solid #e5e7eb !important;
    }
    .input__wrapper {
        border-right: 0px !important;
    }
    .mobile__hide__wrapper {
        display: none !important;
    }

    .header__section {
        h2 {
            text-align: center;
        }
    }

    .faqs {
        width: 100%;
        padding: 10px !important;
        gap: 20px;
    }

    .faqs > div {
        padding: 0px !important;
        padding: 10px !important;

        h3 {
            font-size: 18px !important;
        }
    }

    h3 {
        font-size: 20px !important;
    }

    .uses__list li {
        margin-left: 35px;
    }
    .hero {
        padding-bottom: 20px !important;
    }

    /* s
    ection > div:nth-child(2){
        max-width: 90%;
        margin-left: auto !important;
        margin-right: auto !important;
        li{
            margin-left: 20px;
        }
    } */
}

@media only screen and (max-width: 500px) {
    .mobile__modes {
        flex-direction: column;
        justify-content: center !important;
        align-items: flex-start !important;
        gap: 5px;
    }

    .langauges {
        flex-direction: column !important;
    }
}

@media only screen and (max-width: 380px) {
    .tool__bar {
        align-items: flex-end !important;
    }

    #modes__dropdown {
        top: 78px;
        left: 16px;
    }

    .langauge_options {
        top: 78px !important;
    }

    .langauges {
        padding: 0px !important;
    }

    .mobile__mode__active {
        gap: 0px !important;
    }
}

#modes__dropdown::-webkit-scrollbar {
    width: 5px !important;
}

.social-pages {
    max-width: 1080px !important;
    margin: auto;
    margin-top: 40px;
    width: 90% !important;
}

.social-pages * {
    line-height: 150%;
}

.social-pages p {
    line-height: 150%;
    margin-top: 10px !important;
}

.social-pages strong {
    font-weight: 600 !important;
}

.social-pages h2,
.social-pages h3 {
    margin-bottom: 10px !important;
    margin-top: 40px !important;
    font-weight: 600 !important;
}

.social-pages h1 {
    margin-bottom: 10px !important;
}

.social-pages ul {
    margin-bottom: 15px;
    list-style-type: disc;
    list-style-position: inside;
    margin-left: 20px;
}

.social-pages ul {
    margin-top: 10px !important;
    margin-bottom: 5px !important;
}

li {
    font-size: 18px !important;
    margin-top: 10px;
    margin-bottom: 10px;
}

.social-pages a {
    color: rgb(31, 112, 235) !important;
    font-size: 18px !important;
    transition: 0.3s ease;
    text-decoration: none;
    word-break: break-word;
    /* overflow-wrap: break-word; */
    word-wrap: break-word;
    white-space: normal;
}

.social-pages a:hover {
    text-decoration: underline !important;
}


.blog__card {
    cursor: pointer;

    > div {
        border-radius: 10px !important;
        box-shadow:
            rgb(231 205 255 / 10%) 5px 5px 5px,
            rgba(216, 232, 255, 0.4) 5px 5px 8px;
    }

    .blog_img_wrap {
        padding: 10px;
    }

    h3 {
        color: var(--primary-color);
        transition: 0.3s ease;
        font-size: 24px !important;
    }

    img {
        transition: 0.3s ease;
        object-fit: revert-layer;
        object-position: center;
        border-radius: 10px;
    }

    &:hover img {
        transform: scale(1.01);
    }

    &:hover h3 {
        color: #689aff;
    }

    .blog_card_detail {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 130px;
    }
}

.blog_detail p {
    margin: 15px 0px;
    font-size: 18px !important;
}

.blog_detail li {
    font-size: 18px;
}

.blog_detail table {
    border: 1px solid #000;
    padding: 20px !important;
    border-radius: 7px !important;
}

.blog_detail table tbody {
    padding: 10px;
    display: block;
}

.blog_detail ul {
    list-style-type: disc !important;
    margin-left: 30px;
    margin-top: 10px;
}

.blog_detail ol {
    list-style-type: decimal !important;
}

.blog_detail a {
    color: rgb(94 77 255) !important;
    transition: 0.3s ease;
}

.blog_detail a:hover {
    text-decoration: underline;
}

.blog_detail ul li {
    list-style: disc;
    margin-top: 8px;
}

.blog_detail ol li {
    list-style: decimal !important;
    margin-left: 20px;
}

.single_blog {
    background: #fff;
    padding: 20px;
    border-radius: 12px;

    h1 {
        font-weight: 600 !important;
    }

    .blog_detail a {
        color: rgb(0, 140, 255) !important;
    }
}

.singleBlogPage {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    max-width: 90%;
    margin: auto;
    justify-content: space-between;

    .singleBlogSocial {
        /* flex: 1.5; */
        /* width: 25%; */
        position: sticky;
        width: 20%;
        top: 0px;


        
        > p {
            font-size: 20px;
            font-weight: 500;
            margin-top: 20px;
        }

        > div {
            gap: 5px !important;
            justify-content: space-between;
        }

        a {
            padding: 6px !important;
            transition: 0.3s ease;
            background-color: #000000;
            &:hover {
                transform: scale(1.1);
            }
        }
        svg {
            width: 16px !important;
            height: 16px !important;
        }
    }

    .singleBlogPageTOC {
        width: 20%;
        position: sticky;
        top: 0px;

        div {
            font-size: 20px;
            font-weight: 500;
            margin-top: 20px;
        }

        p {
            font-size: 13px !important;
            margin-top: 20px;
            margin-bottom: 5px;
        }

        li {
            font-size: 12px !important;
            display: flex;
            gap: 10px;
            color: #333;
            align-items: center;
            &:hover {
                text-decoration: underline;
            }

            img {
                width: 18px;
            }
        }
    }

    .single_blog {
        width: 60%;
    }
}


.singleBlogPageTOCMobile {
    display: none;
}

@media only screen and (max-width: 1024px) {

    .singleBlogPageTOCWeb {
        display: none;
    }

    .single_blog {
        padding: 4px !important;
    }
    .toggleHeight {
        height: 52px !important;
        overflow: hidden;
        cursor: pointer;
    }

    .singleBlogPageTOCMobile {
        transition: 0.3s ease;
        height: 100%;
        display: flex !important;
        flex-direction: column;
        width: 100% !important;
        padding: 10px;
        padding-top: 10px;
        position: relative !important;
        border: 1px solid #e0e0e0;
        border-radius: 7px;
        .caretIcon {
            width: 14px;
            position: absolute;
            right: 10px;
            top: 22px;
        }

        div {
            margin-top: 0px !important;
        }

        * {
            color: #333 !important;
        }
    }

    .singleBlogPage {
        flex-direction: column;

        > div {
            position: relative !important;
            width: 100% !important;
        }
        .singleBlogSocial {
            div {
                justify-content: flex-start !important;
                gap: 10px !important;
            }
        }
    }
}