.input-group input,
.input-group select {
    height: 40px;
    padding: 10px;
    outline: 0;
    appearance: none;
    width: 100%
}

.error {
    color: red;
    font-size: .8rem
}

.input-group label.forIn.focused {
    background: #fff
}

.form-control:hover {
    border: 1px solid #285da7
}

.main-section {
    background: linear-gradient(180deg, #d0ebff -30.37%, #fcfeff 45.36%, rgba(255, 255, 255, 0) 136.3%);
    padding-top: 60px
}

.form-wrapper {
    position: relative;
    display: flex;
    background: #fff;
    box-shadow: 0 0 28.7px 0 #5eaaac40;
    padding: 30px;
    border-radius: 15px;
    gap: 30px;
    max-width: 1006px;
    margin: auto
}

.main-heading {
    text-align: center;
    font-weight: 900;
    font-size: 40px;
    line-height: 48px;
    color: #013046
}

.main-heading span {
    background: linear-gradient(87.94deg, #3671c6 68.15%, #285da7 86.08%, #0f376f 98.26%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.input-group input,
.input-group select {
    background-color: #f9fdff;
    font-size: 13px
}

.main-description {
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #758da3;
    padding: 15px 0 50px;
    max-width: 80%;
    margin: auto
}

.input-group input {
    border: 1px solid #ddeaf5;
    border-radius: 8px;
    line-height: 15px;
    color: #205195;
    margin-top: 5px
}

.selection .select2-selection--single {
    max-height: 40px;
    min-height: 40px;
    padding: 11px
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-left: -4px;
    margin-top: -5px;
    position: absolute;
    top: 50%
}

.select2-container--default .select2-selection--single {
    background-color: #f9fdff;
    border-radius: 8px
}

.select2-results__option,
.selection .select2-selection--single .select2-selection__rendered {
    font-size: 13px
}

.select2-results__options::-webkit-scrollbar {
    width: 8px
}

.select2-results__options::-webkit-scrollbar-track {
    background: #f1f1f1
}

.select2-results__options::-webkit-scrollbar-thumb {
    background: #205195;
    border-radius: 4px
}

.clear-button:hover,
.output-tab.active,
.output-tab:hover {
    background: #e8f5ff
}

.select2-results__options::-webkit-scrollbar-thumb:hover {
    background: #233f8c
}

.select2-valid .selection .select2-selection--single .select2-selection__rendered {
    color: #205195
}

.input-group select {
    cursor: pointer;
    border: 1px solid #ddeaf5;
    border-radius: 8px;
    line-height: 15px;
    color: #a1acb9
}

.input-group input:hover,
.input-group select:hover {
    border: 1px solid #0f3870
}

.input-group input::placeholder {
    color: #758da3
}

.character-count {
    padding-top: 3px;
    font-size: 12px;
    color: #758da3;
    line-height: 15px;
    font-weight: 400;
    text-align: end
}

.input-group label {
    font-weight: 500;
    font-size: 14px;
    color: #013046
}

.select-arrow {
    position: absolute;
    right: 10px;
    top: 56%;
    transform: translateY(-50%);
    pointer-events: none;
    height: auto
}

.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%
}

.error-msg,
.gifMessageIcon,
.horizontal-line {
    display: none
}

.vertical-line {
    height: 392px;
    border-left: 1px solid #ddeaf5
}

.input-group {
    padding-bottom: 10px
}

.generate-citation-form {
    position: relative;
    min-width: 442px
}

.form-buttons {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-bottom: 13px
}

.clear-button,
.output-tab {
    font-family: Segoe UI;
    color: #758da3;
    padding: 8px 12px;
    font-weight: 600;
    cursor: pointer
}

input::placeholder {
    color: #758da3
}

.form-output {
    width: 100%
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px
}

.output-tabs {
    font-family: Segoe UI;
    display: flex;
    gap: 5px
}

.output-tab {
    border-radius: 6px;
    font-size: 14px;
    transition: .2s
}

.output-tab.active {
    color: #3671c6
}

.clear-button {
    background: #eef6fb;
    border: none;
    border-radius: 4px
}

.button-generate,
.generate-essay-processing {
    color: #fff;
    background: linear-gradient(78.37deg, #3671c6 17.07%, #285da7 56.57%, #0f376f 91.47%);
    font-size: 16px
}

.output-content {
    border-top: 1px solid #ddeaf5;
    position: relative;
    height: 343px;
    overflow: auto
}

.data-zero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.button-generate {
    cursor: pointer;
    padding: 6px 20px;
    border: none;
    border-radius: 5px
}

.generate-essay-processing {
    padding: 6px 20px;
    border: none;
    border-radius: 5px;
    width: 107px;
    height: 32px
}

.generate-essay-processing svg {
    width: 20px
}

.button-generate:hover {
    background: #fff;
    color: #3671c6;
    box-shadow: 0 0 0 1px #205195
}

.button-clear-input {
    cursor: pointer;
    border: 1px solid #205195;
    font-size: 13px;
    font-weight: 500;
    background: #fff;
    color: #205195;
    padding: 6px 20px;
    border-radius: 5px
}

.button-clear-input:hover {
    background: linear-gradient(78.37deg, #3671c6 17.07%, #285da7 56.57%, #0f376f 91.47%);
    color: #fff
}

.form-wrapper::after,
.form-wrapper::before {
    content: "";
    position: absolute;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-size: contain
}

.button-clear-input:hover svg {
    fill: #fff !important
}

.form-wrapper::after {
    top: -10%;
    right: -14%;
    width: 119px;
    height: 133px;
    background-image: url(../webp/lightblub-2.webp)
}

.form-wrapper::before {
    top: 40%;
    left: -14%;
    width: 99px;
    height: 82px;
    background-image: url(../webp/speech_bubble-2.webp)
}

.logos::after,
.logos::before {
    content: "";
    position: absolute;
    height: 100%
}

.trusted-text {
    text-transform: capitalize;
    color: #789bbf;
    font-size: 15px;
    line-height: 18px;
    text-align: center;
    padding-bottom: 10px
}

.trusted-institutes {
    border: 1px solid #daeeff;
    padding: 41px 0;
    text-align: center;
    background: linear-gradient(180deg, #d0ebff -30.37%, #fcfeff 45.36%, rgba(255, 255, 255, 0) 136.3%);
    border-radius: 30px;
    max-width: 1006px;
    margin: auto
}

.institutes-container {
    padding-top: 55px;
    padding-bottom: 55px
}

.button-clear-input svg {
    margin-right: 3px
}

.logosSlide {
    display: inline-block;
    animation-name: slide;
    animation-duration: 35s;
    animation-iteration-count: infinite;
    animation-timing-function: linear
}

.logos:hover .logosSlide {
    animation-play-state: paused
}

.logos {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0
}

.logos::before {
    top: 0;
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff);
    width: 60px;
    z-index: 2
}

.logos::after {
    top: 0;
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
    width: 60px;
    z-index: 2
}

.logosSlide img {
    margin: 0 63px 0 0
}

@keyframes slide {
    from {
        transform: translateX(0)
    }
    to {
        transform: translateX(-100%)
    }
}

.cat-pages {
    justify-content: end
}

input.invalid {
    border-color: red
}

input.invalid~.error-msg {
    color: red;
    font-size: 14px;
    padding-top: 4px;
    font-weight: 400;
    display: block
}

.generatedEssay {
    padding: 20px 0 0;
    margin-top: 50px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column
}

.generatedEssayText {
    white-space: pre-wrap;
    font-size: 16px;
    line-height: 170%;
    color: #3f3f3f;
    cursor: not-allowed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    word-wrap: break-word;
    word-break: break-word
}

.generatedBtns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-bottom: 20px
}

.generatedEssay .generatedBtns:first-child {
    margin-top: 0
}

.iconsLeft {
    display: flex;
    column-gap: 8px;
    align-items: center
}

.iconsLeft div {
    cursor: pointer
}

.iconsLeft div:hover svg path {
    fill: #3671c6
}

.timeStamp span {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #94a3bb;
    text-transform: capitalize
}

.generatedEssay:first-child {
    border-top: none;
    margin-top: 0
}

.output-content::-webkit-scrollbar {
    width: 6px;
    height: 2px
}

.output-content::-webkit-scrollbar-track {
    background: #f1f1f1
}

.output-content::-webkit-scrollbar-thumb {
    background: #233f8c;
    border-radius: 8px
}

.output-content::-webkit-scrollbar-thumb:hover {
    background: #555
}

.clipboardMsg {
    background: #000;
    color: #fff;
    font-weight: 500;
    position: fixed;
    font-size: 14px;
    padding: 6px 18px;
    left: 50%;
    transition: .43s ease-in;
    transform: translate(-50%, 0);
    border-radius: 3px;
    line-height: 18px;
    bottom: -60px
}

.clipicon {
    padding-right: 5px;
    display: inline-flex
}

.clipboardMsg.show {
    transform: translate(-50%, -113px);
    z-index: 1111
}

.keepReading {
    padding-top: 21px;
    width: 100%;
    padding-bottom: 50px
}

.keepReading h2 {
    font-style: normal;
    font-weight: 450;
    font-size: 32px;
    line-height: 122.5%;
    color: #1e2532;
    padding-bottom: 24px
}

.blogCard p a,
.blogCardHead span {
    font-style: normal;
    font-weight: 400
}

.keepReading .blogCard {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.blogCardHead {
    display: flex;
    align-items: center;
    column-gap: 6px;
    position: relative
}

.blogCardHead span {
    font-size: 19px;
    line-height: 23px;
    color: rgba(15, 20, 30, .44)
}

.blogCard p a {
    font-size: 28px;
    line-height: 33px;
    color: #0f141e;
    padding-top: 8px;
    margin-bottom: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

.containerBlogsWrapper {
    max-width: 1440px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto
}

.blogCard img {
    display: block;
    width: 100%;
    min-height: 282px;
    height: 100%;
    object-fit: cover
}

.otherBlogsWrapper {
    width: 100%;
    display: flex;
    column-gap: 20px;
    padding-bottom: 24px;
    white-space: nowrap;
    overflow-x: auto
}

.otherBlogsWrapper .cardWrapper {
    display: block;
    background: #efcfb6;
    border-radius: 7px;
    padding: 12px 16px;
    text-decoration: none;
    max-width: 23%;
    width: 100%
}

.otherBlogsWrapper::-webkit-scrollbar {
    height: 5px
}

.no-bulletItems::-webkit-scrollbar,
.otherBlogsWrapper::-webkit-scrollbar,
.relatedblogwrap::-webkit-scrollbar {
    width: 5px
}

.no-bulletItems::-webkit-scrollbar-thumb,
.otherBlogsWrapper::-webkit-scrollbar-thumb,
.relatedblogwrap::-webkit-scrollbar-thumb {
    background: #1276ce;
    border-radius: 10px
}

.no-bulletItems::-webkit-scrollbar-track,
.otherBlogsWrapper::-webkit-scrollbar-track,
.relatedblogwrap::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #cec8c8;
    border-radius: 10px
}

.blogCard p a:hover {
    text-decoration: underline
}

.faqWraper {
    margin-top: 30px
}

.centerHead {
    text-transform: none
}

.stepBox {
    max-width: 270px
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single {
    border-radius: 8px 8px 0 0
}

/* Breadcrumbs */
.banner-breadcrumbs {
    margin-bottom: 70px;
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
}
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: underline;
    transition: color 0.2s;
    white-space: nowrap;
}
.breadcrumb-item a:hover {
    color: #fff;
}

/* Dark variant — for pages with light backgrounds */
.breadcrumb-dark .breadcrumb-item {
    color: rgba(1, 48, 70, 0.6);
}
.breadcrumb-dark .breadcrumb-item a {
    color: rgba(1, 48, 70, 0.6);
    text-decoration: underline;
}
.breadcrumb-dark .breadcrumb-item a:hover {
    color: #013046;
}
.breadcrumb-dark .breadcrumb-item:not(:last-child)::after {
    color: rgba(1, 48, 70, 0.4);
}
.breadcrumb-dark .breadcrumb-current {
    color: rgba(1, 48, 70, 0.9);
}
.breadcrumb-item:not(:last-child)::after {
    content: '›';
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    line-height: 1;
    font-weight: 300;
    margin-left: 2px;
}
.breadcrumb-current {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

@media screen and (max-width:1277px) {
    .form-wrapper::after,
    .form-wrapper::before {
        display: none
    }
}

@media screen and (max-width:1200px) {
    .otherBlogsWrapper {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 20px
    }
}

@media screen and (max-width:991px) {
    .otherBlogsWrapper .cardWrapper {
        max-width: 45%
    }
}

@media screen and (max-width:768px) {
    .containerBlogsWrapper {
        padding: 0 20px;
        max-width: 570px;
        margin: 0 auto
    }
    .horizontal-line {
        display: block;
        border: 1px solid #ddeaf5
    }
    .trusted-text {
        font-size: 13px;
        padding-bottom: 26px
    }
    .main-description {
        font-size: 14px;
        line-height: 21px;
        padding: 5px 0 20px
    }
    .trusted-institutes {
        padding: 50px 0
    }
    .form-wrapper::after,
    .form-wrapper::before,
    .vertical-line {
        display: none
    }
    .generate-citation-form {
        min-width: auto
    }
    .form-wrapper {
        flex-direction: column
    }
    .main-section {
        padding: 100px 0
    }
    .form-buttons {
        position: relative;
        padding-top: 40px;
        justify-content: space-evenly
    }
    .input-group {
        padding-bottom: 10px
    }
    .main-heading {
        font-size: 25px;
        line-height: 37px
    }
}

@media screen and (max-width:575px) {
    .faqSection h2,
    .how__it__Works__Wrapper .sec_head,
    .mainConWrapper h2,
    .privacy__Wrapper .sec_head {
        font-size: 28px
    }
    .keepReading h2 {
        font-size: 28px;
        text-align: center
    }
    .otherBlogsWrapper {
        justify-content: flex-start;
        column-gap: 18px;
        white-space: nowrap;
        overflow-x: scroll;
        flex-wrap: nowrap
    }
    .otherBlogsWrapper .cardWrapper {
        max-width: 47%
    }
    .blogCard img {
        min-height: 157px
    }
    .blogCard p a {
        font-size: 16px;
        line-height: 19px
    }
}