/* SEO/Service Pages Section CSS - Consolidated from newHomePgae.css, buy-essay.css, and argumentative-essay.css */

/* Service Pages Section */
section.servicePages {
    width: 100%;
    padding: 100px 0;
}

.servicePages .sec__head {
    max-width: 90%;
    width: 100%;
    font-size: 32px;
    line-height: 150%;
    margin: 0 auto;
    text-align: center;
}

.servicePages h2 {
    color: #221f1f;
}

.servicePagesWrapper h2,
.servicePagesWrapper h3,
.servicePagesWrapper h4 {
    color: #231f20;
    font-size: 22px;
    line-height: 130%;
}

.servicePagesWrapper h2 {
    font-size: 22px !important;
}

/* SEO Content Wrapper */
.seoContent {
    margin-top: 30px;
        position: relative;
}

.servicePagesWrapper {
    width: 100%;
    max-height: 600px;
    padding-top: 40px;
    padding-right: 70px;
    padding-left: 20px;
    border-top: 1px solid #233f8c;
    border-bottom: 4px solid #233f8c;
    height: 100%;
    overflow-y: scroll;
}

.servicePagesWrapper::-webkit-scrollbar {
    display: none;
}

/* SEO Row and Column */
.seoRow {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.seoColumn {
    width: 100%;
}

/* SEO Content Cards */
.seoContentCard {
    margin-bottom: 20px;
    padding: 40px 30px 20px;
    border: 1px solid #c8d9ee;
    border-radius: 20px;
}

.seoContentCard h2,
.seoContentCard h3 {
    font-size: 18px;
    line-height: 150%;
}

.seoContentCard ul {
    padding-left: 30px;
}

.seoContentCard table,
td,
th {
    border: 1px solid #c8d9ee;
}

.seoContentCard table td {
    padding: 15px 10px 0;
}

.seoContentCard td {
    vertical-align: top;
    box-sizing: border-box;
}

/* Text Styles */
.servicePagesWrapper li,
.servicePagesWrapper p {
    font-weight: 450;
    font-family: CircularStd;
    color: #575e62;
    font-size: 15px;
    line-height: 170%;
    padding-bottom: 15px;
    margin: 0;
}

.servicePagesWrapper p a:hover {
    text-decoration: underline;
}

/* Scroll Buttons */
.scrollBtm,
.scrollTop {
    position: absolute;
    left: auto;
    right: 0;
    box-shadow: inset 0 0 0 1px #c8d9ee;
    color: #c8d9ee;
    cursor: pointer;
}

.scrollTop {
    top: 40px;
    bottom: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 54px;
    height: 54px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 50%;
    -webkit-transition: 250ms ease-in-out;
    transition: 250ms ease-in-out;
}

.scrollBtm {
    bottom: 40px;
    top: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 54px;
    height: 54px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 50%;
    -webkit-transition: 250ms ease-in-out;
    transition: 250ms ease-in-out;
}

.scrollBtm svg {
    transform: rotate(180deg);
}

.scrollBtm:hover,
.scrollTop:hover {
    box-shadow: inset 0 0 0 1px #233f8c;
}

.scrollBtm:hover svg,
.scrollTop:hover svg {
    fill: #233f8c;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .seoColumn {
        max-width: 100%;
        width: 100%;
    }
    .seoRow {
        flex-direction: column;
    }
    .seoContentCard {
        padding: 40px 10px 20px;
    }
}

@media (max-width: 767px) {
    .scrollBtm,
    .scrollTop {
        display: none;
    }
    .servicePagesWrapper {
        padding-right: 20px;
        padding-left: 0;
    }
    .seoContentCard h2,
    .seoContentCard h3 {
        font-size: 18px;
        line-height: 150%;
    }
    .servicePagesWrapper::-webkit-scrollbar-thumb {
        background: #233f8c;
        border-radius: 4px;
    }
    .servicePagesWrapper::-webkit-scrollbar-track {
        background: #e5e5e5;
    }
    .servicePagesWrapper::-webkit-scrollbar {
        width: 5px;
        max-height: 5px;
        display: block;
    }
    .servicePages .sec__head {
        max-width: 100%;
        font-size: 22px;
    }
    .servicePagesWrapper li,
    .servicePagesWrapper p {
        font-size: 14px;
    }
    .seoContentCard ul {
        padding-left: 30px;
    }
}

@media (max-width: 479px) {
    section.servicePages {
        padding: 80px 0;
    }
}
