/* =========================================================
   SPIN & WIN — PROFESSIONAL THEME
   Palette: #e8780a + White + Black
   ========================================================= */

:root {
    --sw-purple: #e8780a;
    --sw-purple-dark: #14305c;
    --sw-purple-soft: #fff3e2;
    --sw-white: #ffffff;
    --sw-black: #0b1f3d;
    --sw-muted: #686674;
    --sw-border: #fde2bd;
    --sw-shadow: 0 28px 80px rgba(0, 0, 0, .22);
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, "Segoe UI",
        Arial, sans-serif;

    color: var(--sw-black);
    background: #fffaf2;
}

body.sw-modal-open {
    overflow: hidden;
}


/* =========================================================
   DEMO PAGE
   ========================================================= */

.sw-demo-header {
    background: #fff;
    border-bottom: 1px solid var(--sw-border);
}

.sw-demo-container {
    width: min(1180px, calc(100% - 40px));
    min-height: 76px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.sw-demo-logo {
    color: var(--sw-purple);

    font-size: 18px;
    font-weight: 800;
    letter-spacing: .04em;
}

.sw-demo-header nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.sw-demo-header nav a {
    color: var(--sw-black);

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;
}

.sw-demo-main {
    min-height: calc(100vh - 140px);
}

.sw-demo-hero {
    min-height: 620px;

    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    display: flex;
    align-items: center;
}

.sw-demo-eyebrow {
    display: inline-block;

    margin-bottom: 16px;
    padding: 8px 13px;

    border-radius: 999px;

    background: var(--sw-purple-soft);
    color: var(--sw-purple);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.sw-demo-hero h1 {
    max-width: 720px;

    margin: 0 0 18px;

    font-size: clamp(42px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -.055em;
}

.sw-demo-hero p {
    max-width: 550px;

    margin: 0 0 28px;

    color: var(--sw-muted);

    line-height: 1.7;
}

.sw-demo-hero button {
    border: 0;

    padding: 14px 23px;

    border-radius: 9px;

    background: var(--sw-purple);
    color: #fff;

    font-weight: 700;
}

.sw-demo-footer {
    padding: 28px 20px;

    text-align: center;

    background: #fff;
    border-top: 1px solid var(--sw-border);
}

.sw-demo-footer p {
    margin: 0;

    color: var(--sw-muted);

    font-size: 13px;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.sw-overlay {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 22px;

    background: rgba(23, 22, 28, .72);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.sw-overlay.sw-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =========================================================
   MODALS
   ========================================================= */

.sw-modal {
    position: relative;

    width: 100%;

    background: #fff;

    border-radius: 24px;

    box-shadow: var(--sw-shadow);

    overflow: hidden;

    animation: swModalIn .4s cubic-bezier(.22, 1, .36, 1);
}

.sw-modal[hidden] {
    display: none !important;
}

@keyframes swModalIn {

    from {
        opacity: 0;
        transform: translateY(20px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.sw-close {
    position: absolute;

    top: 50px;
    right: 14px;

    z-index: 100;

    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    border: 2px solid rgba(0, 0, 0, .12);
    border-radius: 50%;

    background: #fff;
    color: var(--sw-black);

    font-family: Arial, sans-serif;
    font-size: 32px;
    line-height: 1;
    font-weight: 400;

    cursor: pointer;

    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.sw-close:hover {
    background: var(--sw-purple);
    color: #fff;
    border-color: var(--sw-purple);

    transform: rotate(90deg) scale(1.05);
}


/* =========================================================
   WHEEL MODAL
   ========================================================= */

.sw-wheel-modal {
    max-width: 940px;
}

.sw-modal-content {
    min-height: 570px;

    display: grid;

    grid-template-columns: .88fr 1.12fr;
}


/* =========================================================
   LEFT HEADING
   ========================================================= */

.sw-heading {
    position: relative;

    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px 42px 55px 52px;

    background: #fff;
}

.sw-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    width: fit-content;

    margin-bottom: 17px;
    padding: 7px 12px;

    border-radius: 999px;

    background: var(--sw-purple-soft);
    color: var(--sw-purple);

    font-size: 10px;
    line-height: 1;
    font-weight: 800;

    letter-spacing: .13em;
}

.sw-eyebrow::before {
    content: "";

    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    border-radius: 50%;

    background: var(--sw-purple);
}

.sw-heading h2 {
    margin: 0 0 15px;

    color: var(--sw-black);

    font-size: clamp(42px, 5vw, 62px);
    line-height: .98;

    letter-spacing: -.055em;
}

.sw-heading p {
    max-width: 360px;

    margin: 0;

    color: var(--sw-muted);

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   WHEEL SIDE
   ========================================================= */

.sw-wheel-wrapper {
    position: relative;

    min-height: 570px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--sw-purple);

    overflow: hidden;
}


/* Decorative circles */

.sw-wheel-wrapper::before,
.sw-wheel-wrapper::after {
    content: "";

    position: absolute;

    border: 1px solid rgba(255, 255, 255, .13);

    border-radius: 50%;

    pointer-events: none;
}

.sw-wheel-wrapper::before {
    width: 470px;
    height: 470px;
}

.sw-wheel-wrapper::after {
    width: 570px;
    height: 570px;
}


/* =========================================================
   POINTER
   ========================================================= */

.sw-pointer {
    position: absolute;

    top: 47px;
    left: 50%;

    z-index: 10;

    width: 0;
    height: 0;

    transform: translateX(-50%);

    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 30px solid #fff;

    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .25));
}

.sw-pointer span {
    position: absolute;

    top: -34px;
    left: -7px;

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background: #fff;
}


/* =========================================================
   WHEEL
   ========================================================= */

.sw-wheel {
    position: relative;

    z-index: 5;

    width: min(410px, 68vw);

    aspect-ratio: 1;

    border-radius: 50%;

    overflow: hidden;

    background: #fff;

    border: 10px solid #fff;

    box-shadow:
        0 20px 45px rgba(0, 0, 0, .24),
        0 0 0 2px rgba(255, 255, 255, .25);

    transform: rotate(0deg);

    transform-origin: center;
}


/* =========================================================
   WHEEL SEGMENTS
   ========================================================= */

.sw-segment {
    position: absolute;

    top: 0;
    left: 0;

    width: 50%;
    height: 50%;

    transform-origin: 100% 100%;

    display: block;

    clip-path: polygon(
        100% 100%,
        0 0,
        100% 0
    );
}


/* =========================================================
   PRIZE LABELS
   ========================================================= */

/*
   IMPORTANT:

   Each segment is a triangle with these points:

   (0%,0%) ───────── (100%,0%)
                    │
                    │
                    │
                    ● (100%,100%)

   Its geometric center is:

   X = 66.6667%
   Y = 33.3333%

   Therefore every prize starts from the exact
   same relative point in its own slice.
*/

.sw-segment span {
    position: absolute;

    left: 72%;
    top: 33.3333%;

    width: 115px;

    margin: 0;
    padding: 0;

    color: var(--sw-black);

    text-align: center;

    white-space: nowrap;

    font-size: 18px;
    line-height: 1;

    font-weight: 900;

    letter-spacing: -.025em;

    transform:
        translate(-50%, -50%)
        rotate(-30deg);

    transform-origin: center center;
}


/* =========================================================
   SEGMENT COLORS
   ========================================================= */

.sw-segment-1,
.sw-segment-3,
.sw-segment-5 {
    background: #fff;
}

.sw-segment-2,
.sw-segment-4,
.sw-segment-6 {
    background: #fff3e2;
}


/* =========================================================
   SEGMENT ROTATIONS
   ========================================================= */

.sw-segment-1 {
    transform: rotate(0deg);
}

.sw-segment-2 {
    transform: rotate(60deg);
}

.sw-segment-3 {
    transform: rotate(120deg);
}

.sw-segment-4 {
    transform: rotate(180deg);
}

.sw-segment-5 {
    transform: rotate(240deg);
}

.sw-segment-6 {
    transform: rotate(300deg);
}


/* =========================================================
   PURPLE TEXT
   ========================================================= */

.sw-segment-2 span,
.sw-segment-4 span,
.sw-segment-6 span {
    color: var(--sw-purple);
}


/* =========================================================
   CENTER SPIN BUTTON
   ========================================================= */

.sw-spin-button {
    position: absolute;

    top: 50%;
    left: 50%;

    z-index: 12;

    width: 94px;
    height: 94px;

    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 8px solid #fff;
    border-radius: 50%;

    background: var(--sw-purple);
    color: #fff;

    cursor: pointer;

    box-shadow: 0 10px 28px rgba(0, 0, 0, .23);

    transition:
        background .25s ease,
        transform .25s ease;
}

.sw-spin-button:hover {
    background: var(--sw-purple-dark);

    transform:
        translate(-50%, -50%)
        scale(1.06);
}

.sw-spin-button:active {
    transform:
        translate(-50%, -50%)
        scale(.98);
}

.sw-spin-button:disabled {
    cursor: not-allowed;
    opacity: .8;
}

.sw-spin-button span {
    font-size: 15px;
    line-height: 1;

    font-weight: 900;

    letter-spacing: .08em;
}

.sw-spin-button small {
    margin-top: 4px;

    font-size: 8px;
    line-height: 1;

    font-weight: 700;

    letter-spacing: .12em;

    opacity: .8;
}


/* =========================================================
   WHEEL FOOTER
   ========================================================= */

.sw-wheel-footer {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 19px;

    z-index: 10;

    text-align: center;
}

.sw-wheel-note {
    color: rgba(255, 255, 255, .78);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: .04em;
}


/* =========================================================
   RESULT MODAL
   ========================================================= */

.sw-result-modal {
    max-width: 510px;
}

.sw-result-content {
    padding: 44px 44px 40px;

    text-align: center;
}


/* =========================================================
   RESULT ICON
   ========================================================= */

.sw-result-icon {
    width: 62px;
    height: 62px;

    margin: 0 auto 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--sw-purple);
    color: #fff;

    font-size: 25px;
    font-weight: 800;
}

.sw-result-content > .sw-eyebrow {
    margin-bottom: 13px;
}


/* =========================================================
   RESULT TITLE
   ========================================================= */

.sw-result-content h2 {
    margin: 0 0 13px;

    color: var(--sw-black);

    font-size: 34px;
    line-height: 1;

    letter-spacing: -.04em;
}


/* =========================================================
   WINNING DISCOUNT
   ========================================================= */

.sw-winning-discount {
    display: flex;

    align-items: center;
    justify-content: center;

    width: fit-content;
    min-width: 150px;

    margin: 0 auto 16px;

    padding: 13px 24px;

    border-radius: 10px;

    background: var(--sw-purple);
    color: #fff;

    font-size: 27px;
    line-height: 1;

    font-weight: 900;

    letter-spacing: -.03em;

    text-align: center;
}


/* =========================================================
   RESULT DESCRIPTION
   ========================================================= */

.sw-result-description {
    max-width: 390px;

    margin: 0 auto 27px;

    color: var(--sw-muted);

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   FORM
   ========================================================= */

.sw-form {
    display: flex;
    flex-direction: column;

    gap: 14px;

    text-align: left;
}

.sw-field {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.sw-field label {
    color: var(--sw-black);

    font-size: 12px;
    font-weight: 750;
}

.sw-field input {
    width: 100%;
    height: 48px;

    padding: 0 14px;

    border: 1px solid var(--sw-border);
    border-radius: 9px;

    background: #fff;
    color: var(--sw-black);

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.sw-field input::placeholder {
    color: #a3a1aa;
}

.sw-field input:focus {
    border-color: var(--sw-purple);

    box-shadow:
        0 0 0 3px rgba(232, 120, 10, .12);
}

.sw-field.sw-invalid input {
    border-color: #d65f6b;
}

.sw-error {
    min-height: 0;

    color: #c94c59;

    font-size: 11px;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.sw-submit {
    position: relative;

    width: 100%;

    min-height: 51px;

    margin-top: 4px;

    border: 0;
    border-radius: 9px;

    background: var(--sw-purple);
    color: #fff;

    font-family: inherit;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.sw-submit:hover {
    background: var(--sw-purple-dark);

    transform: translateY(-1px);

    box-shadow:
        0 9px 22px rgba(232, 120, 10, .28);
}

.sw-submit:disabled {
    cursor: not-allowed;
    opacity: .75;
}


/* =========================================================
   SUBMIT LOADER
   ========================================================= */

.sw-submit-loader {
    display: none;

    width: 16px;
    height: 16px;

    margin: 0 auto;

    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;

    border-radius: 50%;

    animation: swSpin .7s linear infinite;
}

.sw-submit.sw-loading .sw-submit-text {
    display: none;
}

.sw-submit.sw-loading .sw-submit-loader {
    display: block;
}

@keyframes swSpin {

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   FORM NOTE
   ========================================================= */

.sw-form-note {
    margin: 1px 0 0;

    color: #9997a1;

    font-size: 10.5px;
    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 780px) {

    .sw-overlay {
        padding: 12px;
    }

    .sw-modal-content {
        display: block;

        max-height: 94vh;

        overflow-y: auto;
    }

    .sw-heading {
        min-height: 245px;

        padding: 38px 30px 25px;

        text-align: center;

        align-items: center;
    }

    .sw-heading h2 {
        font-size: 42px;
    }

    .sw-heading p {
        max-width: 420px;

        font-size: 14px;
    }

    .sw-wheel-wrapper {
        min-height: 430px;

        padding: 30px 15px 48px;
    }

    .sw-pointer {
        top: 18px;
    }

    .sw-wheel {
        width: min(330px, 78vw);

        border-width: 8px;
    }

    .sw-wheel-footer {
        bottom: 15px;
    }

    .sw-result-content {
        padding: 38px 27px 32px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .sw-demo-container {
        width: calc(100% - 28px);
    }

    .sw-demo-header nav {
        display: none;
    }

    .sw-demo-hero {
        width: calc(100% - 28px);

        min-height: 500px;
    }

    .sw-demo-hero h1 {
        font-size: 46px;
    }


    /* Heading */

    .sw-heading {
        min-height: 220px;

        padding: 34px 22px 22px;
    }

    .sw-heading h2 {
        font-size: 35px;
    }

    .sw-heading p {
        font-size: 13px;
    }


    /* Wheel */

    .sw-wheel-wrapper {
        min-height: 370px;

        padding-top: 25px;
    }

    .sw-wheel {
        width: min(285px, 79vw);

        border-width: 7px;
    }


    /* Pointer */

    .sw-pointer {
        top: 10px;

        border-left-width: 11px;
        border-right-width: 11px;
        border-top-width: 25px;
    }

    .sw-pointer span {
        width: 11px;
        height: 11px;

        left: -5.5px;
        top: -29px;
    }


    /* =====================================================
       MOBILE WHEEL TEXT
       Same geometric positioning as desktop
       ===================================================== */

    .sw-segment span {
        left: 70%;
        top: 33.3333%;

        width: 82px;

        margin: 0;
        padding: 0;

        font-size: 14px;

        transform:
            translate(-50%, -50%)
            rotate(-30deg);
    }


    /* Spin button */

    .sw-spin-button {
        width: 72px;
        height: 72px;

        border-width: 6px;
    }

    .sw-spin-button span {
        font-size: 11px;
    }

    .sw-spin-button small {
        font-size: 7px;
    }


    /* Result modal */

    .sw-result-modal {
        border-radius: 18px;
    }

    .sw-result-content {
        padding: 34px 20px 28px;
    }

    .sw-result-content h2 {
        font-size: 30px;
    }


    /* Winning discount */

    .sw-winning-discount {
        min-width: 145px;

        padding: 12px 21px;

        font-size: 24px;

        text-align: center;
    }


    /* BIG CLOSE BUTTON */

    .sw-close {
        top: 10px;
        right: 10px;

        width: 42px;
        height: 42px;

        font-size: 29px;
        line-height: 42px;

        border-width: 2px;
    }

}


/* =========================================================
   RESPONSIVE — SMALL PHONES
   ========================================================= */

@media (max-width: 360px) {

    .sw-heading h2 {
        font-size: 31px;
    }

    .sw-wheel-wrapper {
        min-height: 345px;
    }

    .sw-wheel {
        width: 260px;
    }


    /* Small-screen wheel labels */

    .sw-segment span {
        left: 70%;
        top: 33.3333%;

        width: 76px;

        font-size: 12px;

        transform:
            translate(-50%, -50%)
            rotate(-30deg);
    }


    .sw-spin-button {
        width: 66px;
        height: 66px;
    }

}

/* =========================================================
   AUTHORS HUB PUBLISHING — global typography (Figtree)
   ========================================================= */
html, body, h1, h2, h3, h4, h5, h6, p, a, li, span, div, button, input, select, textarea, label {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* ---- Typography refinement ---- */
body { font-size: 17px; line-height: 1.65; font-weight: 400; color: #14233f; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.18; text-transform: none !important; }
p { word-spacing: normal; letter-spacing: 0; }
.text-alignment, p, li { text-align: inherit; }
.text-alignment { text-align: left !important; }
[style*="justify"] { text-align: left !important; }

/* ---- Header refinement (desktop) ---- */
@media (min-width: 1091px) {
    .header-main { height: 88px; box-shadow: 0 2px 18px rgba(15, 42, 82, .08); }
    .nav-area-full { height: 88px; padding: 0 32px; }
    .nav-area-full .container-fluid .row { max-width: 1360px; align-items: center; flex-wrap: nowrap; justify-content: space-between; gap: 28px; }
    .header-main .d-flex.hiddenmob.nopad_left.nopad_right, .main-side-menu { margin-top: 0; }
    .logo-area { flex: 0 0 auto; }
    .logo a img { display: block; height: 46px; width: auto; }
    .header-main .d-flex.hiddenmob { flex: 1 1 auto; justify-content: center; }
    .main-menu { width: auto; }
    .main-menu > ul { width: auto; justify-content: center; gap: 6px; align-items: center; margin: 0; padding: 0; }
    .main-menu > ul > li { padding: 0; float: none; }
    .main-menu > ul > li > a { display: inline-block; font-size: 16px; font-weight: 600; padding: 10px 16px; border-radius: 999px; color: #14305c !important; background: transparent !important; box-shadow: none !important; height: auto; width: auto; transition: .25s; }
    .main-menu > ul > li > a:hover { color: #e8780a !important; background: #fff3e2 !important; }
    .main-menu .btn.btn-secondary { background: transparent; border: 0; }
    .main-side-menu { line-height: normal; }
    .main-side-menu ul.ctop { gap: 12px; min-height: 0; margin: 0; padding: 0; }
    .ctop li { margin: 0; }
    .ctop li * { height: 46px; width: auto; padding: 0 22px; font-size: 16px; font-weight: 700; border-radius: 999px; white-space: nowrap; gap: 8px; }
    .ctop li.num a { background: #fff !important; color: #14305c !important; border: 2px solid #14305c; box-shadow: none; }
    .ctop li.num a:hover { background: #14305c !important; color: #fff !important; }
    .ctop li.num a img { filter: brightness(0) saturate(100%) invert(52%) sepia(95%) saturate(1600%) hue-rotate(4deg) brightness(98%); width: 20px; height: 20px; }
    .ctop li.num a:hover img { filter: brightness(0) invert(1); }
    .ctop li .openChatBtn { color: #fff; box-shadow: 0 6px 16px rgba(232, 120, 10, .35); }
}

/* ---- Form readability + buttons ---- */
.contact-with-bg > div > .row, .form-sec { background: linear-gradient(135deg, #1d4486, #0f2a52) !important; }
.contact-with-bg .form-sec p, .contact-with-bg p, .form-sec p { color: #fff !important; }
.contact-with-bg button, .contact-sec button, .quote-form button, .form-sec button[type="submit"] {
    background: linear-gradient(135deg, #fbb04a, #ee7d0b) !important; color: #fff !important; font-weight: 700;
    border-radius: 999px; padding: 10px 34px; box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}
@media (min-width: 1091px) {
    .ctop li.num a img { height: 20px !important; width: 20px !important; padding: 0 !important; border-radius: 0 !important; background: transparent !important; }
}
@media (min-width: 1091px) {
    .main-menu > ul > li > a { white-space: nowrap; }
    .main-menu > ul > li { flex: 0 0 auto; }
}
@media (min-width: 1091px) and (max-width: 1500px) {
    .nav-area-full { padding: 0 20px; }
    .nav-area-full .container-fluid .row { gap: 16px; }
    .logo a img { height: 42px; }
    .main-menu > ul { gap: 0; }
    .main-menu > ul > li > a { font-size: 15px; padding: 9px 11px; }
    .main-side-menu ul.ctop { gap: 8px; }
    .ctop li * { padding: 0 16px; font-size: 15px; height: 42px; }
}
@media (min-width: 1091px) and (max-width: 1240px) {
    .main-menu > ul > li > a { font-size: 14px; padding: 8px 8px; }
    .ctop li * { padding: 0 12px; font-size: 14px; }
    .logo a img { height: 38px; }
}
@media (min-width: 1091px) {
    .logo-area { flex-shrink: 0; }
    .logo a img { max-width: none !important; }
    .main-menu > ul > li { margin: 0 !important; }
}
@media (min-width: 1091px) and (max-width: 1240px) {
    .ctop li.num { display: none; }
    .main-menu > ul > li > a { font-size: 15px; padding: 8px 10px; }
}
@media (min-width: 1091px) {
    .main-side-menu ul.ctop { gap: 16px; }
    .ctop li * { padding: 0 24px; gap: 10px; }
    .ctop li.num a img { margin-right: 2px; }
}

/* ---- Home contact section ---- */
.hc-section { padding: 90px 20px; background: linear-gradient(180deg, #fffaf2 0%, #fff3e2 100%); }
.hc-wrap { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hc-eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fde2bd; color: #b25400; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.hc-info h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; color: #14305c; margin: 16px 0 14px; line-height: 1.15; text-align: left; }
.hc-info h2 span { color: #e8780a; }
.hc-info > p { color: #4a5a78; font-size: 18px; margin-bottom: 22px; text-align: left; }
.hc-points, .hc-contacts { list-style: none; padding: 0; margin: 0; }
.hc-points { margin-bottom: 28px; }
.hc-points li { position: relative; padding-left: 32px; margin: 10px 0; color: #14305c; font-weight: 600; }
.hc-points li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: #e8780a; color: #fff; font-size: 13px; line-height: 22px; text-align: center; }
.hc-contacts li { display: flex; align-items: center; gap: 16px; margin: 14px 0; }
.hc-ico { flex: 0 0 48px; height: 48px; border-radius: 14px; background: #14305c; color: #fbb04a; display: flex; align-items: center; justify-content: center; }
.hc-contacts small { display: block; color: #7a869c; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.hc-contacts a, .hc-contacts div > span { color: #14305c; font-weight: 700; font-size: 17px; text-decoration: none; }
.hc-contacts a:hover { color: #e8780a; }
.hc-card { background: #fff; border-radius: 24px; padding: 38px; box-shadow: 0 30px 70px rgba(20, 48, 92, .16); border-top: 6px solid #e8780a; }
.hc-card h3 { font-size: 28px; font-weight: 800; color: #14305c; margin: 0 0 4px; }
.hc-sub { color: #7a869c; margin: 0 0 22px; }
.hc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hc-card label { display: block; font-size: 14px; font-weight: 700; color: #14305c; margin-bottom: 16px; }
.hc-card input, .hc-card select, .hc-card textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 15px; border: 1.5px solid #e3e8f2; border-radius: 12px; background: #f8faff; font: inherit; font-weight: 500; color: #14233f; transition: .2s; box-shadow: none; height: auto; }
.hc-card textarea { resize: vertical; min-height: 110px; }
.hc-card input:focus, .hc-card select:focus, .hc-card textarea:focus { outline: 0; border-color: #e8780a; background: #fff; box-shadow: 0 0 0 4px rgba(232, 120, 10, .15); }
.hc-card button { width: 100%; margin: 6px 0 0 !important; padding: 15px 20px !important; font-size: 17px !important; height: auto !important; border-radius: 14px !important; }
.hc-note { font-size: 12.5px; color: #7a869c !important; margin: 14px 0 0; text-align: center; }
@media (max-width: 900px) { .hc-wrap { grid-template-columns: 1fr; gap: 36px; } .hc-section { padding: 60px 16px; } }
@media (max-width: 560px) { .hc-row { grid-template-columns: 1fr; gap: 0; } .hc-card { padding: 26px 20px; } }
.hc-card button[type="submit"] { background: linear-gradient(135deg, #fbb04a, #ee7d0b) !important; color: #fff !important; border: 0 !important; font-weight: 800 !important; box-shadow: 0 12px 24px rgba(232, 120, 10, .32) !important; cursor: pointer; transition: transform .2s; }
.hc-card button[type="submit"]:hover { transform: translateY(-2px); }

/* ---- Service cards ---- */
.published-author:before, .published-author:after { display: none !important; }
.published-author .inner-wrapper { background: #fff; border-radius: 18px; border: 1px solid #f1e3cf; border-left: 5px solid #e8780a; box-shadow: 0 10px 30px rgba(20, 48, 92, .08); transition: transform .25s, box-shadow .25s; }
.published-author .inner-wrapper:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(20, 48, 92, .16); }
.published-author .inner-wrapper h2.p { color: #14305c; font-weight: 800; font-size: 20px; }

/* ---- Why choose us ---- */
.why-section { padding: 84px 20px; background: #fff; }
.why-wrap { max-width: 1180px; margin: 0 auto; text-align: center; }
.why-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: #14305c; margin: 0 0 10px; }
.why-title span { color: #e8780a; }
.why-sub { color: #4a5a78; font-size: 18px; max-width: 640px; margin: 0 auto 44px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { background: #fffaf2; border: 1px solid #f6e4c8; border-radius: 20px; padding: 32px 24px; text-align: center; transition: transform .25s, box-shadow .25s; }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(232, 120, 10, .16); }
.why-ico { width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 18px; background: linear-gradient(135deg, #1d4486, #0f2a52); color: #fbb04a; display: flex; align-items: center; justify-content: center; }
.why-card h3 { font-size: 20px; font-weight: 800; color: #14305c; margin: 0 0 8px; }
.why-card p { color: #4a5a78; font-size: 15.5px; margin: 0; text-align: center; }
@media (max-width: 991px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } .why-section { padding: 56px 16px; } }

/* ---- Process visual ---- */
.process-visual { width: 100%; display: flex; justify-content: center; }
.pv-card { width: 100%; max-width: 460px; background: linear-gradient(135deg, #1d4486, #0f2a52); color: #fff; border-radius: 26px; padding: 38px 34px; box-shadow: 0 26px 60px rgba(15, 42, 82, .3); text-align: left; }
.pv-card h3 { color: #fff; font-size: 24px; font-weight: 800; margin: 0 0 24px; }
.pv-card ol { list-style: none; margin: 0; padding: 0; position: relative; }
.pv-card li { display: flex; align-items: center; gap: 16px; padding: 14px 0; font-size: 18px; font-weight: 600; }
.pv-card li + li { border-top: 1px dashed rgba(255, 255, 255, .22); }
.pv-card li b { flex: 0 0 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #fbb04a, #ee7d0b); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.question-mark { animation: none !important; }
.pv-card li span { flex: 1; text-align: left; }

/* ---- Banner + hero form ---- */
.banner { background-image: linear-gradient(105deg, rgba(10, 28, 56, .95) 0%, rgba(15, 42, 82, .86) 55%, rgba(15, 42, 82, .72) 100%), url('../img/cover-photo-new.webp') !important; background-size: cover !important; background-position: center !important; }
.banner .content-box h2, .banner h2.h4 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; color: #fff; }
.banner h2.h4 span { color: #fbb04a; }
.banner .content-box p { font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .88); max-width: 600px; text-align: left; }
.banner-points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.banner-points li { position: relative; padding-left: 28px; color: #fff; font-weight: 600; font-size: 15.5px; }
.banner-points li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #e8780a; color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.banner .button-sec { gap: 14px; margin-top: 26px; }
.banner .button-sec a:last-child { background: transparent !important; border: 2px solid rgba(255, 255, 255, .85); box-shadow: none !important; }
.banner .button-sec a:last-child:hover { background: #fff !important; color: #14305c !important; }

.banner .content-wrp { background: #fff !important; border-radius: 24px !important; padding: 34px 32px 30px !important; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); border-top: 6px solid #e8780a; max-width: 460px; margin-left: auto; }
.banner .content-wrp .cont-bx h2, .banner .content-wrp .cont-bx h2 span { color: #14305c !important; font-size: 26px; font-weight: 800; letter-spacing: -0.01em; text-transform: none; }
.banner .content-wrp .cont-bx p, .banner .content-wrp .cont-bx small { color: #5b6785 !important; font-size: 14.5px; text-align: center; }
.banner .content-wrp .l-field { margin-bottom: 14px; }
.banner .content-wrp .l-field input { width: 100%; height: 52px; padding: 0 18px; border: 1.5px solid #e3e8f2; border-radius: 12px; background: #f8faff; color: #14233f; font-size: 15.5px; box-shadow: none; transition: .2s; }
.banner .content-wrp .l-field input:focus { outline: 0; border-color: #e8780a; background: #fff; box-shadow: 0 0 0 4px rgba(232, 120, 10, .15); }
.banner .content-wrp .l-field p { color: #7a869c !important; font-size: 12px; line-height: 1.5; margin: 2px 0 0; }
.banner .content-wrp .l-field button { width: 100%; height: 54px; border-radius: 14px; font-size: 17px; font-weight: 800; letter-spacing: .02em; color: #fff !important; background: linear-gradient(135deg, #fbb04a, #ee7d0b) !important; box-shadow: 0 12px 24px rgba(232, 120, 10, .35); border: 0; }
.banner .content-wrp .l-field button:hover { transform: translateY(-2px); }
@media (max-width: 767px) { .banner .content-wrp { margin: 30px auto 0; } .banner { min-height: auto; } }
.banner .content-wrp :is(input, textarea) { margin-bottom: 0 !important; min-height: 52px; }
.banner .content-wrp .l-field button[type="submit"] { margin: 8px 0 0 !important; width: 100% !important; text-transform: none; }
.banner .content-wrp .cont-bx h2 { margin: 0 0 6px; }
.banner .content-wrp .cont-bx > p { margin: 0 0 18px; }
.banner .content-wrp { padding-top: 32px !important; }

/* ---- Option cards ---- */
.service_sec .row.mt-5 { counter-reset: opt; }
.service_sec .row.mt-5 > [class*="col-"] { display: flex; margin-bottom: 24px; }
.service_sec .service_box { position: relative; width: 100%; min-height: 0 !important; background: #fff; border: 1px solid #f1e3cf; border-top: 5px solid #e8780a; border-radius: 20px; padding: 48px 28px 30px !important; box-shadow: 0 12px 34px rgba(20, 48, 92, .09) !important; transition: transform .25s, box-shadow .25s; }
.service_sec .service_box:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(20, 48, 92, .16) !important; }
.service_sec .service_box::before { counter-increment: opt; content: "0" counter(opt); position: absolute; top: -22px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #1d4486, #0f2a52); color: #fbb04a; font-weight: 800; font-size: 16px; line-height: 44px; text-align: center; box-shadow: 0 8px 18px rgba(15, 42, 82, .3); }
.service_sec .service_box .border_left { display: none; }
.service_sec .service_box h2 { color: #14305c; font-weight: 800; font-size: 22px; margin-bottom: 12px; }
.service_sec .service_box h2 span { color: #14305c !important; }
.service_sec .service_box p { color: #4a5a78; font-size: 15.5px; text-align: center !important; }
.service_sec .row.mt-5 { margin-top: 3.2rem !important; }

/* ---- Process accordion ---- */
.faq-content { background: #fff; border: 1px solid #f1e3cf !important; border-left: 5px solid #f1c88d !important; border-radius: 14px !important; padding: 16px 52px 16px 20px !important; box-shadow: 0 6px 18px rgba(20, 48, 92, .06); transition: .25s; }
.faq-content:hover { border-left-color: #e8780a !important; }
.faq-content.active-faq { border-left-color: #e8780a !important; box-shadow: 0 14px 30px rgba(232, 120, 10, .16); }
.faq-content:before { border-top-color: #e8780a !important; top: 18px; }
.faq-content.active-faq:before { transform: rotate(180deg); }
.faq-heading { color: #14305c; font-weight: 800 !important; font-size: 18px !important; }
.faq-content p { color: #4a5a78; margin: 10px 0 0 !important; font-size: 16px; line-height: 1.6; text-align: left !important; }
.faq-content * { font-size: inherit; }

/* ---- Feature image ---- */
.sec_4 .content_img img, .sec_4 img.img-fluid { filter: hue-rotate(38deg) saturate(.9); }

/* ---- Unified buttons: no stray navy borders ---- */
.btn-style-one, .btn-style-two, .btn-style-three {
    border: 0 !important; color: #fff !important; outline: 0;
    background: linear-gradient(135deg, #fbb04a, #ee7d0b) !important;
    box-shadow: 0 8px 20px rgba(232, 120, 10, .3);
}
.btn-style-one:hover, .btn-style-two:hover, .btn-style-three:hover { filter: brightness(1.05); transform: translateY(-2px); }
.btn-style-one:focus, .btn-style-two:focus, .btn-style-three:focus { outline: 0; box-shadow: 0 0 0 4px rgba(232, 120, 10, .25); }

/* ---- Partner logo strip in banners ---- */
.rating { align-items: center; gap: 38px; max-width: 100%; flex-wrap: wrap; margin-top: 30px; }
.rating img { height: 30px; width: auto; max-width: none; margin-top: 0 !important; object-fit: contain; opacity: .92; }
.inner-heading .rating { justify-content: center; margin-left: auto; margin-right: auto; }
.about-banner .inner-heading h1, .about-banner .inner-heading h2 { margin-bottom: 0; }
@media (max-width: 767px) { .rating { gap: 22px; } .rating img { height: 24px; } }
.rating { gap: 44px; }
.rating img { height: 24px; }
.banner .rating { gap: 24px; flex-wrap: nowrap; margin-top: 34px; }
.banner .rating img { height: 20px; }
.banner .button-sec a:last-child { border: 2px solid rgba(255, 255, 255, .85) !important; background: transparent !important; box-shadow: none !important; }
.banner .button-sec a:last-child:hover { background: #fff !important; color: #14305c !important; }
.banner .button-sec a:last-child:hover img { filter: brightness(0) saturate(100%) invert(15%) sepia(40%) saturate(2200%) hue-rotate(195deg); }
@media (max-width: 767px) { .rating, .banner .rating { gap: 18px; flex-wrap: wrap; } .rating img, .banner .rating img { height: 18px; } }

/* ---- Keep every section inside the same container width ---- */
.container-lg { max-width: 1180px !important; padding-left: 20px !important; padding-right: 20px !important; }
.product-photo, .product-photo .darwin-beyond { max-width: 1180px; }
.product-photo .darwin-beyond .row { margin-left: 0; margin-right: 0; }

/* ---- One consistent container: 1180px box, 1140px of content ---- */
.container { max-width: 1180px !important; padding-left: 20px !important; padding-right: 20px !important; }
.hc-wrap, .why-wrap { max-width: 1140px; }
.hc-section, .why-section { padding-left: 20px; padding-right: 20px; }
@media (max-width: 767px) { .container, .container-lg { padding-left: 16px !important; padding-right: 16px !important; } }
.footer-main .footer_inner ul { padding-left: 0; }
.footer-main .footer_inner ul li, .footer-main .footer_inner ul li a { white-space: nowrap; }
.footer-main .footer_inner ul li:has(img) { white-space: normal; }

/* ---- Footer layout ---- */
.footer-main { padding-top: 64px; background: #0f2a52; }
.footer-main > .container-lg > .row { display: grid !important; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; margin: 0; justify-content: stretch; text-align: left; }
.footer-main > .container-lg > .row > [class*="col-"] { width: 100%; max-width: 100%; flex: none; padding: 0; }
.footer-main .abt-txts p { color: rgba(255, 255, 255, .8); font-size: 15.5px; line-height: 1.7; margin-top: 16px; text-align: left; }
.footer-main .footer_inner h2 { font-size: 20px; font-weight: 800; margin: 0 0 20px; position: relative; padding-bottom: 12px; color: #fff; }
.footer-main .footer_inner h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: #f58a0b; }
.footer-main .footer_inner ul { list-style: none; padding: 0; margin: 0; }
.footer-main .footer_inner ul li { margin: 0 0 12px; padding: 0; display: block; }
.footer-main .footer_inner ul li a { color: rgba(255, 255, 255, .85) !important; font-size: 16px; text-decoration: none; transition: .2s; }
.footer-main .footer_inner ul li a:hover { color: #fbb04a !important; padding-left: 4px; }
.footer-main .footer_inner ul li span, .footer-main .footer_inner ul li { color: rgba(255, 255, 255, .85); }
.footer-main .footer_inner li img { vertical-align: middle; margin-right: 6px; }
.footer-main .dis { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 8px; }
.footer-main .dis p, .footer-main .dis a { color: rgba(255, 255, 255, .75) !important; font-size: 14.5px; }
.footer-main .footer_wrap ul { display: flex; gap: 12px; justify-content: flex-end; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .footer-main > .container-lg > .row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main > .container-lg > .row { grid-template-columns: 1fr; gap: 28px; } .footer-main .footer_wrap ul { justify-content: flex-start; } }
.footer-main .footer_inner ul, .footer-main .footer_inner ul li { padding-left: 0 !important; margin-left: 0 !important; }
.footer-main .footer_inner ul li { margin-bottom: 12px !important; }
.footer-main .dis .row { margin: 0; }
.footer-main .dis [class*="col-"] { padding-left: 0; padding-right: 0; margin-top: 0 !important; }
.footer-main .dis .top_line { padding: 20px 0; }
.footer-main .footer_desc p { margin: 0; }
.footer-main .footer_inner li img { margin-right: 10px; margin-left: 0; }
.footer-main .footer_inner ul li > * { padding: 4px 0 !important; }
.footer-main .footer_inner ul li > a:hover { padding-left: 4px !important; }
.footer-main .footer_inner ul.other > li { width: 100%; }
.footer-main .abt-txts, .footer-main .abt-txts a { padding-left: 0; margin-left: 0; }

/* ---- Responsive refinements ---- */
@media (max-width: 1090px) {
    .header-main, .nav-area-full { height: 76px; }
    .nav-area-full { padding: 0 16px; }
    .logo a img { height: 40px; width: auto; max-width: none !important; }
    .logo { margin-top: 0 !important; }
    .mobile-nav-btn { top: 22px !important; right: 16px !important; width: 44px; height: 34px !important; border-radius: 10px !important; background: linear-gradient(135deg, #fbb04a, #ee7d0b) !important; padding: 0 !important; display: flex !important; align-items: center; justify-content: center; }
    .mobile-nav-btn .lines { top: 0 !important; margin: 0 !important; }
    .mobile-nav-btn span, .mobile-nav-btn span:before, .mobile-nav-btn span:after { background: #fff !important; }
    .mobile-nav-btn.click { right: 16px !important; }
    .nav-open .hiddenmob, .header-main.nav-open .hiddenmob { display: block !important; }
    .header-main .main-menu { position: fixed; top: 76px; left: 0; right: 0; background: #fff; box-shadow: 0 20px 30px rgba(15, 42, 82, .18); max-height: calc(100vh - 76px); overflow-y: auto; }
    .header-main .main-menu > ul { background: #fff !important; flex-direction: column; align-items: stretch; padding: 8px 16px 16px !important; }
    .header-main .main-menu > ul > li { padding: 0 !important; border-bottom: 1px solid #f1e3cf; }
    .header-main .main-menu > ul > li > a { display: block; padding: 14px 6px !important; font-size: 17px; color: #14305c !important; background: transparent !important; }
    .header-main .main-menu .m-logo { display: none; }
    .header-main .main-menu ul ul { position: static; box-shadow: none; background: #fff8ee; padding: 0 12px; }
}
@media (max-width: 767px) {
    .published-author .inner-wrapper { flex-direction: column; text-align: center; align-items: center; gap: 12px; padding: 22px 18px !important; }
    .published-author .inner-wrapper img { margin: 0 auto !important; }
    .published-author .inner-wrapper .content-wrapper { padding: 0 !important; }
    .published-author .inner-wrapper p, .published-author .inner-wrapper h2 { text-align: center !important; }
    .hc-info h2 { text-align: left; }
    .banner .content-box h2 { font-size: 34px; }
    .banner { padding-top: 110px !important; padding-bottom: 50px !important; }
    section, .container, .container-lg { max-width: 100%; }
    body { overflow-x: hidden; }
    .pv-card { padding: 28px 22px; }
    h2 { word-wrap: break-word; }
}

@media (max-width: 1090px) {
    .header-main.nav-open .d-flex.hiddenmob { position: fixed; top: 76px; left: 0; right: 0; bottom: 96px; margin: 0 !important; display: block !important; background: #fff; overflow-y: auto; z-index: 100; padding: 0; }
    .header-main.nav-open .d-flex.hiddenmob .main-menu { position: static; width: 100%; max-height: none; box-shadow: none; display: block !important; }
    .header-main.nav-open .hiddenmob:not(.d-flex) { position: fixed; left: 0; right: 0; bottom: 0; height: 96px; display: block !important; background: #fff; border-top: 1px solid #f1e3cf; z-index: 101; padding: 14px 16px; margin: 0; box-shadow: 0 -10px 24px rgba(15, 42, 82, .08); }
    .header-main.nav-open .hiddenmob:not(.d-flex) .main-side-menu { margin: 0; }
    .header-main.nav-open .ctop { display: flex; gap: 10px; margin: 0; padding: 0; justify-content: center; }
    .header-main.nav-open .ctop li { flex: 1; margin: 0; }
    .header-main.nav-open .ctop li * { width: 100%; height: 48px; padding: 0 12px; font-size: 15px; }
    .header-main.nav-open .ctop li.num a { color: #14305c !important; }
}

@media (max-width: 1090px) {
    .header-main.nav-open, .nav-open { transform: none !important; }
    .header-main .main-menu > ul { position: static !important; display: flex; }
    .header-main .main-menu { transition: none; height: auto; z-index: 100 !important; }
    .header-main.nav-open .d-flex.hiddenmob .main-menu { right: auto; left: 0; }
    .header-main .main-menu > ul > li > * { border-top: 0; padding: 14px 6px; width: auto; }
}
@media (max-width: 1090px) {
    .header-main.nav-open .d-flex.hiddenmob { width: 100% !important; max-width: none !important; flex: none; margin: 0 !important; padding: 0 !important; }
    .header-main.nav-open .d-flex.hiddenmob .main-menu { width: 100% !important; }
    .header-main.nav-open .main-menu > ul { width: 100% !important; margin: 0 !important; }
    .header-main.nav-open .main-menu > ul > li { display: block; width: 100%; }
    .header-main.nav-open .main-menu > ul > li > a { display: block; width: 100%; font-size: 17px; padding: 15px 8px; }
    .header-main.nav-open .hiddenmob:not(.d-flex) { width: 100% !important; }
    .header-main.nav-open .ctop li * { white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 8px; }
    .header-main.nav-open .ctop li.num a img { width: 20px !important; height: 20px !important; margin: 0 !important; }
}
@media (max-width: 1090px) {
    .header-main .main-menu > ul > li.m-logo { display: none !important; }
    .logo-area { padding-left: 0 !important; margin: 0 !important; }
    .nav-area-full .container-fluid { padding-left: 0; padding-right: 0; }
    .nav-area-full .container-fluid .row { padding-left: 0 !important; padding-right: 0 !important; }
    .header-main.nav-open .ctop li.num a { background: #fff !important; border: 2px solid #14305c; box-shadow: none !important; color: #14305c !important; font-weight: 700; }
    .header-main.nav-open .ctop li.num a img { filter: brightness(0) saturate(100%) invert(52%) sepia(95%) saturate(1600%) hue-rotate(4deg) brightness(98%); background: transparent !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; height: 20px !important; width: 20px !important; }
    .header-main.nav-open .ctop li .openChatBtn { color: #fff !important; font-weight: 700; font-size: 15px; }
}
.header-main.nav-open .ctop li .openChatBtn { font-size: 15px !important; } .header-main.nav-open .ctop li.num a { font-size: 15px !important; }

@media (max-width: 991px) {
    .carousal-container { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 !important; }
    .carousal-container > [class*="col-"] { width: 100% !important; max-width: 100% !important; flex: none; padding: 0 !important; }
    .carousal-container img { width: 100%; height: auto; margin: 0 !important; border-radius: 14px; }
}
@media (max-width: 575px) { .carousal-container { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---- Mobile menu must stay closed until toggled ---- */
@media (max-width: 1090px) {
    .header-main .d-flex.hiddenmob, .header-main .hiddenmob { display: none !important; }
    .header-main.nav-open .d-flex.hiddenmob, .header-main.nav-open .hiddenmob:not(.d-flex) { display: block !important; }
}

/* ---- Popup: never cut off on short screens ---- */
.sw-overlay { overflow-y: auto; align-items: flex-start; }
.sw-modal { margin: auto; }
.sw-result-content { padding-top: 38px; }
@media (max-height: 800px) {
    .sw-result-content { padding: 30px 38px 26px; }
    .sw-result-content h2 { font-size: 34px; margin-bottom: 8px; }
    .sw-result-content .sw-field { margin-bottom: 10px; }
    .sw-result-content input { height: 46px; }
    .sw-result-content label { margin-bottom: 4px; }
}
@media (max-height: 700px) {
    .sw-overlay { padding: 12px; }
    .sw-result-content { padding: 22px 34px 20px; }
    .sw-result-content h2 { font-size: 30px; }
    .sw-result-content .sw-field { margin-bottom: 4px; }
    .sw-result-content input { height: 42px; }
    .sw-result-content .sw-winning-discount { margin: 8px auto; }
}

/* ---- Banner: mobile & tablet ---- */
@media (max-width: 991px) {
    .banner { min-height: 0 !important; padding: 112px 0 56px !important; align-items: flex-start; }
    .banner .container > .row { flex-direction: column; gap: 32px; }
    .banner .container > .row > [class*="col-"] { width: 100% !important; max-width: 100% !important; flex: none; padding: 0 !important; }
    .banner .content-box { padding: 0 !important; }
    .banner .content-box, .banner .content-box * { text-align: left !important; }
    .banner .content-box h2, .banner .content-box h2.h4 { font-size: clamp(30px, 7.4vw, 44px) !important; line-height: 1.15 !important; margin: 0 0 16px; }
    .banner .content-box .content > div:first-child, .banner .content-box .font-35 { font-size: 20px !important; }
    .banner .content-box p { font-size: 16.5px !important; line-height: 1.65; max-width: none; margin-bottom: 4px; }
    .banner .button-sec { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
    .banner .button-sec a { flex: 1 1 200px; justify-content: center; text-align: center !important; height: 52px; font-size: 16.5px; }
    .banner-points { gap: 10px 18px; margin-top: 22px; }
    .banner-points li { font-size: 15px; }
    .banner .content-wrp { max-width: 100% !important; margin: 0 !important; padding: 26px 22px 24px !important; border-radius: 20px !important; }
    .banner .content-wrp .cont-bx h2, .banner .content-wrp .cont-bx h2 span { font-size: 24px !important; }
}
@media (max-width: 480px) {
    .banner { padding: 100px 0 44px !important; }
    .banner .button-sec a { flex: 1 1 100%; }
    .banner .content-wrp { padding: 22px 16px 20px !important; }
}

/* ---- Portfolio cards on small screens ---- */
@media (max-width: 575px) {
    .book-item .book-title { font-size: 14px; line-height: 1.3; }
    .book-item .book-author { font-size: 12.5px; }
    .book-item .book-cover { width: 100%; height: auto; }
}
@media (max-width: 991px) {
    .banner .button-sec a { white-space: nowrap; padding: 0 14px; }
    .banner .button-sec a img { width: 22px !important; height: 22px !important; margin: 0 6px 0 0 !important; }
    .banner .content-wrp .cont-bx, .banner .content-wrp .cont-bx > p, .banner .content-wrp .l-field p, .banner .content-wrp .cont-bx small { width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; text-align: center !important; display: block; }
    .banner .content-wrp .cont-bx > p { margin-bottom: 18px; }
}
@media (max-width: 991px) {
    .faq-sec .question-mark { margin-top: 34px; position: static; display: flex; justify-content: center; }
    .faq-sec .col-lg-6 + .col-lg-6 { clear: both; }
    .button-sec { gap: 12px; }
}

/* ---- Button groups inside content sections (mobile/tablet) ---- */
@media (max-width: 991px) {
    .button-sec { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; justify-content: stretch; }
    .button-sec a, .button-sec .btn-style-one, .button-sec .btn-style-two, .button-sec .btn-style-three {
        flex: 1 1 220px; width: auto !important; min-width: 0; height: 54px; margin: 0 !important; padding: 0 16px;
        display: flex; align-items: center; justify-content: center; text-align: center !important; font-size: 17px; font-weight: 700; white-space: nowrap; border-radius: 14px;
    }
    .button-sec a img { width: 22px !important; height: 22px !important; margin: 0 8px 0 0 !important; }
}
@media (max-width: 575px) {
    .button-sec { flex-direction: column; }
    .button-sec a { flex: none; width: 100% !important; }
}
@media (max-width: 575px) {
    .button-sec a, .button-sec .btn-style-one, .button-sec .btn-style-two, .button-sec .btn-style-three { flex: 0 0 auto !important; height: 54px !important; min-height: 0; width: 100% !important; }
}

/* ---- Mobile Services submenu ---- */
@media (max-width: 1090px) {
    .header-main .main-menu ul.hello { display: none !important; position: static !important; width: 100% !important; background: #fff8ee !important; margin: 0 0 8px !important; padding: 4px 0 !important; border-radius: 12px; box-shadow: none; }
    .header-main .main-menu ul.hello.toggle { display: block !important; }
    .header-main .main-menu ul.hello li { display: block !important; width: 100%; border: 0; padding: 0 !important; }
    .header-main .main-menu ul.hello li > a { display: block; padding: 11px 18px !important; font-size: 16px; font-weight: 600; color: #14305c !important; background: transparent !important; border: 0 !important; }
    .header-main .main-menu ul.hello li > a:hover { color: #e8780a !important; }
    .header-main .main-menu .toggle_class::after { content: "\25BE"; margin-left: 8px; color: #e8780a; }
}
@media (max-width: 1090px) {
    .header-main .main-menu > ul > li { display: block !important; position: static !important; }
    .header-main .main-menu ul.hello, .header-main .main-menu ul.d-none.hello.toggle { position: static !important; top: auto !important; left: auto !important; height: auto !important; line-height: normal !important; border-radius: 12px !important; background: #fff8ee !important; }
    .header-main .main-menu ul.hello li { line-height: normal !important; border: 0 !important; border-bottom: 1px solid #f6e4c8 !important; padding: 0 !important; margin: 0 !important; }
    .header-main .main-menu ul.hello li:last-child { border-bottom: 0 !important; }
    .header-main .main-menu ul.hello li > a { padding: 12px 18px !important; }
}

/* ---- Chase Publishers logo sizing ---- */
@media (min-width: 1091px) { .logo a img { height: 58px !important; width: auto !important; } }
@media (min-width: 1091px) and (max-width: 1500px) { .logo a img { height: 54px !important; } }
@media (max-width: 1090px) { .logo a img { height: 50px !important; width: auto !important; } }
.footer-main .abt-txts a img { height: 64px !important; width: auto !important; max-width: 100%; }
@media (min-width: 1091px) { .logo a img { height: 66px !important; } }
@media (min-width: 1091px) and (max-width: 1500px) { .logo a img { height: 62px !important; } }
@media (max-width: 1090px) { .logo a img { height: 56px !important; } }
.footer-main .abt-txts a img { height: 78px !important; }
@media (min-width: 1091px) { .logo a img { height: 72px !important; } }
@media (min-width: 1091px) and (max-width: 1500px) { .logo a img { height: 68px !important; } }
@media (max-width: 1090px) { .logo a img { height: 60px !important; } }
@media (min-width: 1091px) { .logo a img { height: 64px !important; } }
@media (min-width: 1091px) and (max-width: 1500px) { .logo a img { height: 60px !important; } }
@media (max-width: 1090px) { .logo a img { height: 54px !important; } }
.footer-main .abt-txts a img { height: 80px !important; }
@media (min-width: 1091px) { .logo a img { height: 68px !important; } }
@media (min-width: 1091px) and (max-width: 1500px) { .logo a img { height: 64px !important; } }
@media (max-width: 1090px) { .logo a img { height: 58px !important; } }
.footer-main .abt-txts a img { height: 84px !important; }

/* ---- Headings: Merriweather ---- */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
.faq-heading, .font-35, .theme-font, .sw-heading h2, .sw-result-content h2, .why-card h3, .hc-card h3, .pv-card h3 {
    font-family: 'Merriweather', Georgia, 'Times New Roman', serif !important;
    letter-spacing: -0.005em !important;
    line-height: 1.3 !important;
    font-weight: 700;
}
.banner .content-box h2, .banner h2.h4 { font-weight: 900; line-height: 1.2 !important; font-size: clamp(28px, 3.6vw, 46px); }
.hc-info h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.25 !important; }
.why-title { font-size: clamp(24px, 2.8vw, 34px); }
.faq-heading { font-size: 16px !important; }
.service_box h2, .published-author h2.p { font-size: 19px !important; }
@media (max-width: 767px) {
    .banner .content-box h2, .banner h2.h4 { font-size: clamp(26px, 6.6vw, 36px) !important; }
}
h1 *, h2 *, h3 *, h4 *, h5 *, h6 *, .h1 *, .h2 *, .h3 *, .h4 *, .h5 *, .h6 *, .faq-heading * { font-family: inherit !important; }
