/* Homepage – reference layout (newassignmenthelp.co.uk) */

.page-home main { overflow-x: visible; }

/* ── Hero Banner ── */
.home-banner {
    background-color: #f4f2f0;
    color: var(--text-dark);
    padding: 10px 0 20px;
    position: relative;
}

.home-banner .container {
    position: relative;
    z-index: 2;
}

.banner-grid {
    display: block;
    width: 100%;
}

.banner-left {
    text-align: center;
    margin-bottom: 20px;
}

.home-heading {
    font-size: 25px;
    font-weight: 700;
    line-height: normal;
    padding: 15px 0 10px;
    margin-bottom: 0;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}

.home-banner .sub-heading {
    font-size: 15px;
    color: #444;
    margin-bottom: 16px;
    line-height: 22px;
}

/* Feature icons – mobile: centered, icon above text */
.banner-features {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.banner-features li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.75rem;
    color: #333;
    line-height: 1.35;
    min-width: 110px;
    padding: 38px 0 0;
    margin: 45px 0 15px;
}
.banner-features li::before {
    background: url("../images/common/sprite.svg") no-repeat 0 -32px;
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 33px;
    width: 32px;
}
.banner-features li.feature-expert::before { background-position: -35px -32px; }
.banner-features li.feature-ai::before { background-position: -300px -74px; }
.review-fb-icon { color: var(--accent); }
.banner-features li span { display: block; }
.banner-features li strong {
    display: block;
    font-size: 16px;
    color: var(--primary-dark);
    font-weight: 600;
}

/* Review badges */
.review-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.review-strip .review-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #bbb;
    border-radius: 5px;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    min-width: 130px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.review-strip .review-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    color: var(--primary);
}
.review-strip .google-icon {
    background: #fff;
    border: 1px solid #e5e7eb;
}
.review-strip .tp-icon {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.review-strip .review_label {
    font-size: 12px;
    line-height: 20px;
    display: block;
    color: #000;
}
.review-strip .stars { color: #f59e0b; font-size: 11px; letter-spacing: -1px; }
.review-strip .ratings {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    line-height: 35px;
}

/* Form card – reference .right column */
.banner-right {
    position: relative;
    z-index: 3;
    margin: 10px auto 0;
    max-width: var(--banner-form-width, 380px);
    width: 100%;
}
.banner-form-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    width: 100%;
    max-width: var(--banner-form-width, 380px);
    min-height: 268px;
    padding: 0 0 25px;
}
.form-offer-head {
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    padding: 12px 14px 10px;
    letter-spacing: 0.3px;
    margin: 0 auto 10px;
}
.banner-form-card .dis_price b { color: var(--primary); font-size: 18px; }
.banner-form-card .dis_price strike { color: rgba(17, 17, 17, 0.73); margin-left: 6px; font-size: 14px; }
.banner-form-card .btn-order-home {
    display: block;
    width: 100%;
    background: #f6a720;
    color: #000;
    border: none;
    border-radius: 5px;
    padding: 10px 0;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
}
.banner-form-card .btn-order-home:hover { background: #e09510; color: #000; }
.banner-form-card form { padding: 0 25px; }
.banner-form-card input[type="email"],
.banner-form-card input[type="tel"],
.banner-form-card input[type="text"],
.banner-form-card input[type="date"],
.banner-form-card select {
    width: 100%;
    border: 1px solid #999;
    border-radius: 3px;
    padding: 9px 10px;
    min-height: 40px;
    height: 40px;
    font-size: 15px;
    line-height: 1.25;
    margin-bottom: 10px;
    color: #333;
    background: #fff;
    font-family: var(--font-body);
    -webkit-appearance: none;
    appearance: none;
}
.banner-form-card select { padding-right: 28px; }
.banner-form-card .phone-row,
.banner-form-card .phone-field-wrap {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.banner-form-card .phone-row select,
.banner-form-card .phone-field-wrap select { flex: 0 0 115px; min-width: 0; font-size: 14px; padding: 0 24px 0 8px; min-height: 40px; height: 40px; }
.banner-form-card .phone-row input,
.banner-form-card .phone-field-wrap input { flex: 1; min-width: 0; min-height: 40px; height: 40px; font-size: 15px; }
.banner-form-card .phone-field-wrap .country-code-trigger {
    min-height: 40px;
    height: 40px;
    padding: 0 8px;
    font-size: 14px;
}
.banner-form-card .phone-field-wrap { margin-bottom: 0; }
.banner-form-card .phone-row + .field-error { margin-bottom: 8px; }
.banner-form-card .country-code-picker { flex: 0 0 108px; }
.banner-form-card .form-row-2 {
    display: flex;
    gap: 8px;
}
.banner-form-card .form-row-2 select { flex: 1; min-width: 0; }
.banner-form-card .words-deadline {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}
.banner-form-card .words-block { flex: 1; }
.banner-form-card .word-counter-box {
    display: flex;
    align-items: center;
    border: 1px solid #999;
    border-radius: 3px;
    overflow: hidden;
    height: 40px;
}
.banner-form-card .word-counter-box button {
    border: none;
    background: #f3f4f6;
    width: 32px;
    height: 100%;
    font-size: 1rem;
    cursor: pointer;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-form-card .word-counter-box button:hover { background: #e5e7eb; }
.banner-form-card .word-counter-box input {
    border: none;
    text-align: center;
    flex: 1;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    height: 100%;
    background: #fff;
    font-weight: 600;
}
.banner-form-card .page-label {
    font-size: 0.7rem;
    color: #888;
    text-align: center;
    margin-top: 2px;
}
.banner-form-card .words-deadline > div > input[type="text"] {
    flex: 1;
    margin-bottom: 0;
    align-self: flex-start;
}
.banner-form-card .price_discount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(119, 119, 119, 0.17);
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 0.875rem;
}
.banner-form-card .price_discount .dis_label {
    font-size: 14px;
    color: rgba(17, 17, 17, 0.73);
}
.banner-form-card .price_discount .dis_label b {
    font-size: 16px;
    color: #000;
}
.banner-form-card .price_discount .dis_price {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

/* Tablet+ – left-aligned copy like reference */
@media (min-width: 768px) {
    .banner-left {
        text-align: left;
        margin: 0 0 20px;
        padding-left: 0;
    }
    .home-heading { font-size: 32px; padding-top: 10px; }
    .home-banner .sub-heading {
        font-size: 16px;
        font-weight: 500;
        line-height: 25px;
    }
    .banner-features {
        justify-content: flex-start;
        margin: 10px 0;
    }
    .banner-features li {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 0 0 0 40px;
        margin: 15px 15px 15px 0;
        font-size: 0.8125rem;
        min-width: 0;
    }
    .banner-features li::before {
        left: 0;
        top: 2px;
        transform: none;
    }
    .banner-features li span { display: inline; }
    .banner-features li strong {
        display: inline;
        font-size: 20px;
    }
    .review-strip { justify-content: flex-start; }
    .review-strip .review-box {
        width: auto;
        padding: 5px 10px 10px;
    }
}

/* Desktop – background image on right, flex layout (reference @960px+) */
@media (min-width: 960px) {
    .home-banner {
        background: #f4f2f0 url("../images/home/banner-bg.webp") no-repeat right center;
        background-size: auto 100%;
        padding: 10px 0 20px;
    }
    .home-banner .container {
        display: flex;
        align-items: center;
        max-width: var(--site-max, 1320px);
        padding-left: var(--site-gutter, 24px);
        padding-right: var(--site-gutter, 24px);
    }
    .banner-grid {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 0;
    }
    .banner-left {
        width: 50%;
        flex: 0 0 50%;
        margin: 0 0 20px;
        padding-left: 0;
        padding-right: 16px;
        min-width: 0;
    }
    .banner-right {
        flex: 0 0 var(--banner-form-width, 380px);
        max-width: var(--banner-form-width, 380px);
        width: var(--banner-form-width, 380px);
        margin: 10px;
    }
    .banner-form-card {
        max-width: var(--banner-form-width, 380px);
    }
}

@media (max-width: 959px) {
    .banner-left { text-align: center; margin-bottom: 20px; }
    .banner-features { justify-content: center; }
    .review-strip { justify-content: center; }
}

@media (max-width: 767px) {
    .banner-left { text-align: center; }
    .banner-features { justify-content: center; }
    .review-strip { justify-content: center; }
}

@media (max-width: 575px) {
    .review-strip { justify-content: stretch; }
    .review-strip .review-box { flex: 1 1 100%; }
}

/* ── University Marquee (reference sprite logos) ── */
.banner-bottom-logo {
    background: #fff;
    padding: 0 0 10px;
    margin: 20px 0 0;
    overflow: hidden;
    width: 100%;
    max-width: none;
}
.banner-bottom-logo > p {
    text-align: center;
    font-weight: 700;
    color: #111;
    margin: 0 auto 12px;
    font-size: 18px;
    line-height: 1.3;
    padding: 0 15px;
}
.logoMarqueeSection {
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.marquee-outer {
    overflow: hidden;
    width: 100%;
}
.marquee-wrapper {
    display: inline-block;
    white-space: nowrap;
    font-size: 0;
}
.banner-bottom-logo-inner.marquee {
    display: inline-block;
    white-space: nowrap;
    list-style: none;
    padding: 0;
    margin: 0;
    vertical-align: top;
    animation: uniMarquee 57s linear infinite;
}
.banner-bottom-logo-inner.marquee:hover {
    animation-play-state: paused;
}
@keyframes uniMarquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}
.banner-bottom-logo-inner li {
    display: inline-block;
    white-space: nowrap;
    padding-right: 10px;
    vertical-align: middle;
}
.banner-bottom-logo-inner i {
    font-size: 0;
    font-style: normal;
    background: url('../images/home/university-sprite.png') no-repeat -9px -18px;
    height: 60px;
    width: 160px;
    display: block;
}
.banner-bottom-logo-inner i.lo-2  { background-position: -182px -20px;  width: 155px; }
.banner-bottom-logo-inner i.lo-3  { background-position: -350px -20px;  width: 200px; }
.banner-bottom-logo-inner i.lo-4  { background-position: -572px -18px;  width: 155px; }
.banner-bottom-logo-inner i.lo-5  { background-position: -738px -20px;  width: 170px; }
.banner-bottom-logo-inner i.lo-6  { background-position: -930px -21px;  width: 155px; }
.banner-bottom-logo-inner i.lo-7  { background-position: -1105px -21px; width: 163px; }
.banner-bottom-logo-inner i.lo-8  { background-position: -1285px -21px; width: 159px; }
.banner-bottom-logo-inner i.lo-9  { background-position: -1451px -21px; width: 145px; }
.banner-bottom-logo-inner i.lo-10 { background-position: -1607px -21px; width: 155px; }
.banner-bottom-logo-inner i.lo-11 { background-position: -1779px -21px; width: 155px; }
.banner-bottom-logo-inner i.lo-12 { background-position: -1954px -21px; width: 205px; }
.banner-bottom-logo-inner i.lo-13 { background-position: -2182px -21px; width: 130px; }
.banner-bottom-logo-inner i.lo-14 { background-position: -2328px -21px; width: 135px; }
.banner-bottom-logo-inner i.lo-15 { background-position: -2473px -21px; width: 120px; }

/* ── Top Content ── */
.top-content.container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0 auto;
    font-weight: 400;
    box-sizing: border-box;
}
.top-content .left { flex: 1 1 55%; min-width: 280px; }
.top-content .right { flex: 1 1 38%; min-width: 260px; }
.top-content h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 12px;
}
.top-content .left-inner {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 12px;
    line-height: 22px;
    color: #333;
    font-size: 15px;
    text-align: justify;
}
.top-content .left-inner p { margin-bottom: 10px; padding-top: 0; }
.top-content .left > ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
}
.top-content .left > ul li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    color: #333;
    font-size: 0.75rem;
    line-height: 18px;
}
.top-content .left > ul li i {
    width: 18px;
    height: 18px;
    background: url("../images/common/sprite.svg") no-repeat -400px -117px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    border-radius: 0;
    position: relative;
}
.top-content .left > ul li i::after { display: none; }
.top-content .right {
    flex: 1 1 38%;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    visibility: visible;
    opacity: 1;
}
.top-media-card {
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #fff7f0;
    display: block;
    width: 100%;
    min-height: 120px;
}
.top-media-card img {
    width: 100%;
    aspect-ratio: 5 / 2;
    height: auto;
    object-fit: cover;
    object-position: top center;
    display: block;
    cursor: pointer;
}

@media (min-width: 768px) {
    .top-content.container {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: flex-start;
    }
    .top-content h2 { font-size: 1.125rem; text-align: left; }
    .top-content .left {
        width: 50%;
        flex: 0 0 50%;
        margin-bottom: 0;
    }
    .top-content .left-inner {
        height: 350px;
        max-height: 350px;
    }
    .top-content .left > ul li { font-size: 0.6875rem; line-height: 16px; }
    .top-content .right {
        width: 45%;
        flex: 0 0 45%;
        display: flex;
    }
}

@media (min-width: 1200px) {
    .top-content h2 { font-size: 25px; }
    .top-content .left > ul li { font-size: 14px; line-height: 25px; }
    .top-content .left-inner { font-size: 16px; }
}

/* ── Benefit Box (reference: reviews | lady image | free benefits card) ── */
.benefit-box {
    background: var(--bg-light);
    padding: 30px 0;
    color: #333;
}
.benefit-box .container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
}
.benefit-box .left {
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.benefit-box .cust-review {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}
.benefit-box .benefit-center {
    display: none;
    margin: 0;
    padding: 0;
    line-height: 0;
}
.benefit-box .benefit-lady-img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    object-position: bottom center;
    margin: 0 auto;
}
.benefit-box .right {
    background: #fff;
    border-radius: 10px;
    padding: 20px 0;
    text-align: center;
    margin-top: 0;
    width: 100%;
}
.benefit-box .left .review-top-img {
    background: url("../images/home/home-sprite.png") no-repeat -297px -100px;
    display: block;
    height: 72px;
    width: 283px;
    max-width: 100%;
    margin: 0 0 10px;
}
.benefit-box .cust-review p {
    color: #000;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 10px 0 10px;
    line-height: 1.4;
}
.benefit-box .cust-review p a {
    font-size: 16px;
    color: var(--primary);
    text-transform: capitalize;
    text-decoration: underline;
    margin-left: 12px;
    font-weight: 500;
}
.benefit-box .cust-review span {
    font-size: 90px;
    font-weight: 600;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin: 0 0 6px;
}
@media (max-width: 767px) {
    .benefit-box .cust-review span { font-size: 56px; }
    .benefit-box .left .review-top-img { width: 240px; height: 60px; background-size: contain; }
}
.benefit-box .benefit-stars {
    display: block;
    margin: 0 0 14px;
}
.benefit-box .left .des {
    font-size: 16px;
    line-height: 24px;
    text-align: justify;
    margin: 0;
    color: #333;
}
.benefit-box .heading-inner {
    background: var(--primary-dark);
    font-weight: 500;
    color: #fff;
    display: inline-block;
    padding: 5px 12px;
    margin-bottom: 15px;
    font-size: 18px;
    border-radius: 2px;
}
.benefit-box .right ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}
.benefit-box .right ul li {
    padding: 5px 10px;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}
.benefit-box .right ul li.gray { background: #f0f0f0; }
.benefit-box .right ul li span {
    color: var(--primary);
    text-transform: uppercase;
    font-style: italic;
    font-weight: 600;
    white-space: nowrap;
}
.benefit-box .right del { font-weight: 500; color: #64748b; }
.benefit-box .right > strong {
    display: block;
    margin: 10px 0 14px;
    font-size: 20px;
    color: #111;
    font-weight: 700;
}
.benefit-box .right > strong del { margin-right: 6px; font-weight: 500; }
.benefit-box .order-button {
    display: inline-block;
    background: #f6a720;
    color: #000;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
}
.benefit-box .order-button:hover { background: #e09510; color: #000; }

@media (min-width: 768px) {
    .benefit-box { padding: 30px 0; }
    .benefit-box .container {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }
    .benefit-box .left {
        flex: 0 0 38%;
        width: 38%;
        max-width: 38%;
        margin-bottom: 0;
        min-width: 0;
        padding-right: 8px;
    }
    .benefit-box .benefit-center {
        display: flex;
        flex: 0 0 30%;
        width: 30%;
        max-width: 30%;
        align-items: flex-end;
        justify-content: center;
        align-self: flex-end;
        padding: 0 4px;
    }
    .benefit-box .benefit-lady-img {
        width: auto;
        max-width: 100%;
        max-height: 400px;
        object-fit: contain;
        object-position: bottom center;
        margin: 0 auto;
    }
    .benefit-box .right {
        flex: 0 0 28%;
        width: 28%;
        max-width: 28%;
        margin-top: 0;
        box-shadow: 0 0 7px rgba(0, 0, 0, 0.35);
        align-self: center;
    }
}

@media (min-width: 992px) {
    .benefit-box .left { flex: 0 0 37%; width: 37%; max-width: 37%; }
    .benefit-box .benefit-center { flex: 0 0 31%; width: 31%; max-width: 31%; }
    .benefit-box .right { flex: 0 0 28%; width: 28%; max-width: 28%; }
}

@media (min-width: 1200px) {
    .benefit-box .left {
        flex: 0 0 36%;
        width: 36%;
        max-width: 36%;
        padding-right: 12px;
    }
    .benefit-box .benefit-center {
        flex: 0 0 32%;
        width: 32%;
        max-width: 32%;
    }
    .benefit-box .right {
        flex: 0 0 28%;
        width: 28%;
        max-width: 28%;
    }
}

/* ── How It Works ── */
.how-it-work {
    padding: 20px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
    color: #fff;
    text-align: center;
    line-height: normal;
}
.how-it-work .heading {
    font-size: 1.375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
}
.process-slider {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}
.process-slider li {
    flex: 0 0 180px;
    scroll-snap-align: start;
    background: transparent;
    border-radius: 0;
    padding: 16px 10px;
    text-align: center;
    border-top: none;
    line-height: 25px;
    margin-bottom: 20px;
}
@media (min-width: 992px) {
    .process-slider {
        flex-wrap: nowrap;
        justify-content: space-between;
        overflow-x: visible;
    }
    .process-slider li {
        flex: 1 1 18%;
        max-width: 20%;
    }
}
.process-slider li > i {
    display: block;
    width: 70px;
    height: 60px;
    margin: 0 auto 14px;
    border-radius: 0;
    background: url("../images/common/sprite.svg") no-repeat -4px -366px;
    position: relative;
}
.process-slider li > i::after { display: none; }
.process-slider li > i.icon2 { background-position: -86px -366px; }
.process-slider li > i.icon3 { background-position: -164px -366px; }
.process-slider li > i.icon4 { background-position: -243px -365px; }
.process-slider li > i.icon5 { background-position: -328px -366px; }
.process-slider li span {
    display: block;
    font-weight: 700;
    color: var(--accent-light);
    margin: 10px 0;
    font-size: 1.125rem;
}
.process-slider li p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    line-height: 25px;
}
.how-it-work .order-button {
    display: inline-block;
    background: #f6a720;
    color: #000;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
}
.how-it-work .order-button:hover { background: var(--accent-hover); color: #fff; }

/* ── Writing Services ── */
.writing-services {
    padding: 30px 0;
    background: #faf7f7;
    text-align: center;
}
.writing-services .heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}
.writing-services > .container > p {
    color: #333;
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 22px;
    font-size: 15px;
    text-align: center;
}
.writing-services-slider {
    list-style: none;
    padding: 0;
    margin: 30px 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    overflow-x: visible;
    text-align: left;
    justify-content: space-between;
}
.writing-services-cards {
    flex: 0 0 100%;
    background: #fff;
    border-radius: 4px;
    padding: 30px 10px;
    box-shadow: none;
    border-bottom: none;
    margin: 0 0 5px;
}
@media (min-width: 768px) {
    .writing-services-cards {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}
@media (min-width: 992px) {
    .writing-services-cards {
        flex: 0 0 calc(46% - 10px);
        max-width: calc(46% - 10px);
    }
}
.writing-services-cards figure {
    width: 82px;
    height: 82px;
    background: url("../images/home/home-sprite.svg") no-repeat -3px -5px;
    border-radius: 0;
    margin: 0 auto 14px;
    position: relative;
}
.writing-services-cards figure::after { display: none; }
.writing-services-cards:nth-child(1) figure { background-position: -3px -5px; }
.writing-services-cards:nth-child(2) figure { background-position: -86px -5px; }
.writing-services-cards:nth-child(3) figure { background-position: -172px -5px; }
.writing-services-cards:nth-child(4) figure { background-position: -257px -5px; }
.writing-services-cards a {
    text-decoration: none;
}
.writing-services-cards a span {
    font-weight: 600;
    color: #000;
    font-size: 18px;
    display: block;
    margin: 10px 0 5px;
}
.writing-services-cards a:hover span { color: var(--primary); }
.writing-services-cards p {
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 22px;
}
.writing-services .order-button {
    display: inline-block;
    background: #f6a720;
    color: #000;
    padding: 10px 20px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    text-decoration: none;
}
.writing-services .order-button:hover { background: var(--primary-dark); color: #fff; }

/* ── Expert Section ── */
.expert-section {
    padding: 15px 0 20px;
    background: #fff;
}
.expert-section .heading {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: center;
    text-transform: capitalize;
    margin-bottom: 10px;
}
.expert-slider_arrow {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}
.expert-section .slide-in {
    flex: 0 0 50%;
    scroll-snap-align: start;
}
@media (min-width: 960px) {
    .expert-section .slide-in { flex: 0 0 33.333%; }
}
@media (min-width: 1200px) {
    .expert-section .slide-in { flex: 0 0 25%; }
}
.writer-card {
    border: none;
    border-radius: 5px;
    padding: 20px 0;
    height: 100%;
    background: #fff;
    box-shadow: 0 1px 13px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}
.writer-card .about {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding: 0 20px;
}
.writer-card .profile-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    object-fit: cover;
}
.writer-card .writer-title {
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
    display: block;
}
.writer-card .ratings { color: #f59e0b; font-size: 14px; }
.writer-card .completed-order { font-size: 14px; color: #333; font-weight: 500; }
.writer-card .writer-detials {
    font-size: 14px;
    color: #666;
    display: block;
    margin-top: 4px;
}
.writer-card .writer-desc {
    font-size: 14px;
    color: #333;
    line-height: 22px;
    max-height: 90px;
    overflow-y: auto;
    margin-bottom: 0;
    padding: 10px 20px 20px;
}
.writer-card .buttons {
    display: flex;
    gap: 10px;
    border: none;
    background: none;
    padding: 20px 20px 0;
    width: 100%;
    justify-content: space-between;
}
.writer-card .about-btn,
.writer-card .hire-btn {
    flex: 1;
    text-align: center;
    padding: 10px 20px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
}
.writer-card .hire-btn {
    background: #333;
    color: #fff;
}
.writer-card .about-btn {
    border: 1px solid #ccc;
    color: #333;
    background: #fff;
}
.writer-card .about-btn:hover { background: #f5f5f5; color: #000; }
.writer-card .verified {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 4px;
}
.expert-section .all-expert {
    text-align: center;
    margin-top: 30px;
}
.expert-section .all-expert a {
    background: #f6a720;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    text-transform: uppercase;
    display: inline-block;
    font-size: 0.875rem;
}
.expert-section .all-expert a:hover { background: var(--accent-hover); color: #000; }

/* Experts listing page – same cards as home */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px 0 20px;
}
.experts-grid .expert-grid-item {
    min-width: 0;
}
.experts-grid .writer-card {
    margin-bottom: 0;
    height: 100%;
}

/* ── Order Strip ── */
.order-strip {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}
.order-strip .heading {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    line-height: 25px;
}
.order-strip p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
}
.order-strip .callBtn {
    display: inline-block;
    background: #f6a720;
    color: #000;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .order-strip .heading { font-size: 22px; }
}
.order-strip .callBtn:hover { background: var(--accent-hover); color: #fff; }

/* ── Help Services ── */
.help-services {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 15px 0;
    align-items: flex-start;
}
.help-services .left { flex: 1 1 60%; min-width: 280px; }
.help-services .left .heading {
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 20px;
}
@media (min-width: 960px) {
    .help-services .left .heading {
        font-size: 25px;
        text-align: left;
        margin-bottom: 10px;
    }
    .help-services .left {
        padding: 20px;
        max-height: 650px;
        overflow: auto;
        box-shadow: rgba(100, 100, 111, 0.2) 0 0 10px;
        border-radius: 5px;
    }
}
.help-services .content {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
    color: #333;
    line-height: 22px;
    font-size: 15px;
    text-align: justify;
    margin-bottom: 20px;
}
.help-services .content h2.heading { font-size: 1.2rem; margin-top: 20px; }
.help-services .content h3.heading { font-size: 1.05rem; margin-top: 16px; }
.help-services .content ul { padding-left: 20px; }
.help-services .content ul li { margin-bottom: 6px; }
.help-services .content table.table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.85rem;
}
.help-services .content table.table td {
    border: 1px solid #e2e8f0;
    padding: 10px;
}
.help-services .content table.table tr:first-child td {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}
.help-services > .wa-offer-figure {
    flex: 0 1 260px;
    margin: 0;
    align-self: center;
}
.wa-offer-card {
    display: block;
    background: #f5f6f7;
    border: 2px solid #25d366;
    border-radius: 12px;
    padding: 22px 18px 18px;
    text-align: center;
    text-decoration: none;
    color: #1a1a1a;
    transition: box-shadow 0.2s, transform 0.2s;
}
.wa-offer-card:hover {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.22);
    transform: translateY(-2px);
    color: #1a1a1a;
}
.wa-offer-label {
    margin: 0 0 4px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
}
.wa-offer-percent {
    margin: 0 0 10px;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    color: #25d366;
    letter-spacing: -0.02em;
}
.wa-offer-visual {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 18px;
}
.wa-offer-arrow {
    position: absolute;
    top: 0;
    left: 50%;
    width: 70px;
    height: 52px;
    transform: translateX(-50%);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 52'%3E%3Cpath d='M35 4 C20 18 12 28 8 38' fill='none' stroke='%23b0b8c0' stroke-width='1.5' stroke-dasharray='4 4'/%3E%3Cpath d='M8 38 L4 34 M8 38 L12 34' fill='none' stroke='%23b0b8c0' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wa-offer-icon {
    position: absolute;
    top: 44px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
    z-index: 2;
}
.wa-offer-icon svg { width: 18px; height: 18px; }
.wa-phone-hand {
    position: relative;
    width: 150px;
    padding: 0 0 8px 18px;
}
.wa-phone-hand::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 88px;
    height: 110px;
    background: linear-gradient(145deg, #f0c9a8 0%, #e8b896 55%, #d4a574 100%);
    border-radius: 40px 20px 18px 50px;
    transform: rotate(-8deg);
    box-shadow: inset -4px -6px 12px rgba(0,0,0,0.08);
}
.wa-phone {
    position: relative;
    z-index: 1;
    width: 118px;
    margin-left: auto;
    padding: 8px 6px;
    background: #fff;
    border-radius: 18px;
    border: 2px solid #ddd;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transform: rotate(6deg);
}
.wa-phone-screen {
    background: #ece5dd;
    border-radius: 12px;
    overflow: hidden;
    min-height: 190px;
    display: flex;
    flex-direction: column;
}
.wa-chat-header {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #075e54;
    color: #fff;
    padding: 8px 8px 7px;
    font-size: 0.58rem;
    font-weight: 600;
}
.wa-chat-back {
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 6px solid #fff;
    opacity: 0.9;
}
.wa-chat-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #128c7e;
    flex-shrink: 0;
}
.wa-chat-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wa-chat-body {
    flex: 1;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    text-align: left;
}
.wa-bubble {
    max-width: 92%;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 0.52rem;
    line-height: 1.35;
    color: #111;
    box-shadow: 0 1px 1px rgba(0,0,0,0.06);
}
.wa-bubble-in {
    align-self: flex-start;
    background: #fff;
    border-top-left-radius: 2px;
}
.wa-bubble-out {
    align-self: flex-end;
    background: #dcf8c6;
    border-top-right-radius: 2px;
}
.wa-chat-input {
    background: #f0f0f0;
    border-top: 1px solid #ddd;
    padding: 7px 8px;
    font-size: 0.48rem;
    color: #888;
    text-align: left;
}
.wa-offer-cta {
    margin: 14px 0 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: #075e54;
}

/* ── Assignment Help ── */
.assignment-help {
    background: var(--bg-light);
    padding: 45px 0;
}
.assignment-help .heading {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 28px;
}
.assignment-help .inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.assignment-help .inner p {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin: 0;
    line-height: 1.6;
    font-size: 0.9rem;
    color: #475569;
    border-left: 4px solid var(--accent);
}

/* ── Subject Section ── */
.subject-section {
    padding: 30px 20px;
    background: #fff;
    text-align: center;
}
.subject-section .heading {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
    display: inline-block;
    position: relative;
}
.subject-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}
.subject-list a { text-decoration: none; }
.subject-item {
    background: #fff;
    border: 2px solid #f6a720;
    border-radius: 24px;
    padding: 12px 24px;
    font-weight: 600;
    color: #000;
    font-size: 15px;
    transition: transform 0.3s ease;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
}
.subject-item:hover {
    transform: scale(1.05);
    background: #fff;
    color: #000;
    border-color: #f6a720;
    cursor: pointer;
}

/* ── City Help ── */
.city-help-section {
    padding: 30px 20px;
    background-color: #fff;
    text-align: center;
}
.city-help-section .heading-wrapper {
    text-align: center;
    margin-bottom: 40px;
}
.city-help-section .heading {
    font-size: 1.5625rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}
.city-help-section .subheading {
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 0.9375rem;
}
.city-cards {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}
.city-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0 0 10px;
    border-bottom: 4px solid #fba707;
    padding: 10px;
    transition: transform 0.3s ease;
}
.city-card:hover { transform: translateY(-8px); }
.city-box img.city-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    background: var(--bg-light);
}
.city-name {
    display: block;
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}
.city-name:hover { background: var(--primary-dark); color: #fff; }

.writer-card .ratings-img { display: block; margin-bottom: 2px; }

/* ── FAQs ── */
.faqs {
    padding: 30px 0;
    background: #f6f6f6;
}
.faqs .title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5625rem;
    font-weight: 700;
    line-height: 30px;
    display: block;
}
.faqs .title span {
    display: block;
    font-size: 1.5625rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    line-height: 30px;
}
.faqs .title p {
    color: #333;
    max-width: 100%;
    margin: 10px auto 0;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center !important;
    width: 100%;
}
.faqs .acc_inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.faqs .acc_inner > .acc { flex: 0 0 48%; min-width: 280px; max-width: 48%; }
.faqs .acc__card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}
.faqs .acc__title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary);
    padding: 14px 40px 14px 16px;
    margin: 0;
    cursor: pointer;
    position: relative;
    background: #f8fafc;
    transition: background 0.2s;
}
.faqs .acc__title::after {
    content: '+';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--accent);
}
.faqs .acc__title.active {
    background: var(--primary);
    color: #fff;
}
.faqs .acc__title.active::after { content: '−'; color: #fff; }
.faqs .acc__panel {
    display: none;
    padding: 14px 16px;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    border-top: 1px solid #e2e8f0;
}
.faqs .acc__panel.open { display: block; }

/* ── Testimonials ── */
.testimonials {
    padding: 30px 10px;
    background: #faf7f7;
    color: #333;
    scroll-margin-top: 90px;
}
.testimonials .heading {
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    margin-bottom: 10px;
    color: #000;
}
.testimonials .footer-testimonials {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
}
@media (min-width: 768px) {
    .testimonials .footer-testimonials {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        overflow-x: visible;
    }
    .testimonials .box {
        flex: unset;
        max-width: none;
        width: auto;
        margin: 0;
    }
}
@media (min-width: 992px) {
    .testimonials .footer-testimonials {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.testimonials .box {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 0;
    padding: 15px;
    margin: 0 8px 16px;
    border: none;
    box-shadow: none;
    position: relative;
}
.testimonials .box figure {
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.testimonials .box figcaption {
    font-size: 0.75rem;
    color: #666;
}
.testimonials .box .stars { color: #f59e0b; }
.testimonials .box > span {
    display: block;
    font-weight: 700;
    padding: 15px 0 10px;
    font-size: 15px;
    color: #111;
}
.testimonials .newTag {
    font-size: 12px;
    background: #f6a720;
    color: #000;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.testimonials .testimonail-contant {
    font-size: 14px;
    line-height: 22px;
    color: #333;
    margin: 0;
    height: 130px;
    max-height: 130px;
    overflow: auto;
    position: relative;
}
.testimonials .review-all {
    text-align: center;
    padding: 30px 0 20px;
    margin-top: 0;
}
.testimonials .review-all a {
    color: #000;
    font-weight: 700;
    text-decoration: none;
    background: #f6a720;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 0.875rem;
    display: inline-block;
}
.testimonials .review-all a:hover { background: var(--accent-hover); color: #000; }

/* ── CTA Inline ── */
.cta-inline {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 40px 0;
}
.cta-container { margin: 0 auto; padding: 0 24px; }
.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.cta-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.cta-content p { color: rgba(255,255,255,0.88); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}
.cta-btn.primary { background: var(--accent); color: #fff; }
.cta-btn.primary:hover { background: var(--accent-hover); color: #fff; }
.cta-btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.cta-btn.secondary:hover { background: #fff; color: var(--primary); }

/* ── Desktop scale-up (reference: newassignmenthelp.co.uk) ── */
@media (min-width: 1200px) {
    .writing-services .heading,
    .expert-section .heading,
    .how-it-work .heading {
        font-size: 26px;
    }
    .subject-section .heading,
    .city-help-section .heading,
    .faqs .title span {
        font-size: 25px;
    }
    .city-help-section .subheading {
        font-size: 16px;
    }
    .banner-bottom-logo > p {
        font-size: 18px;
    }
}
