@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ==========================================================================
   Avon Book Publisher — main stylesheet
   ========================================================================== */

:root {
    --primary-col: #f9ba0d;
    --primary-dark: #e8a900;
    --hero-col: #f3b60b;
    --dark: #0c0c0c;
    --body-col: #4f4f4f;
    --muted: #6d6d6d;
    --light: #f1f1f1;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 24px;
    --head-font: 'Plus Jakarta Sans', sans-serif;
}

* {
    box-sizing: border-box;
}

/* Both html and body: AOS parks fade-left elements at translateX(100px) until
   they scroll into view, which would otherwise create a horizontal scrollbar. */
html,
body {
    overflow-x: hidden;
}

body {
    font-family: var(--head-font);
    color: var(--body-col);
    font-size: 16px;
    line-height: 1.6;
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    transition: all .3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

section {
    padding: 50px 0;
    position: relative;
}

/* The design lays content out on a 1270px grid. */
@media (min-width: 1400px) {
    .container {
        max-width: 1270px;
    }
}

/* Header sits on a wider, near-full-bleed grid. */
.nav-shell {
    width: 100%;
    padding-left: 45px;
    padding-right: 45px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--head-font);
    color: var(--dark);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 16px;
}

h1 {
    font-size: 42px;
    line-height: 1.14;
    letter-spacing: -.025em;
}

h2 {
    font-size: 37px;
    line-height: 1.18;
    letter-spacing: -.025em;
}

h3 {
    font-size: 22px;
    line-height: 1.3;
}

h4 {
    font-size: 19px;
    line-height: 1.35;
}

p {
    margin: 0 0 16px;
}

p:last-child {
    margin-bottom: 0;
}

/* In-copy links inherit the brand palette instead of the browser default blue. */
section p a,
section li a,
footer p a {
    color: var(--dark);
    font-weight: 600;
}

section p a:hover,
section li a:hover {
    color: var(--primary-dark);
}

/* Shared title helpers ---------------------------------------------------- */
.sec-title {
    margin-bottom: 14px;
}

.sec-title .dot {
    color: var(--primary-col);
}

.sec-title .accent {
    color: var(--primary-col);
}

.sec-head {
    text-align: center;
    max-width: 920px;
    margin: 0 auto 40px;
}

.sec-head p {
    color: var(--body-col);
}

.title-rule {
    width: 100px;
    height: 2px;
    background: rgba(12, 12, 12, .35);
    margin: 18px 0 22px;
}

/* Buttons ----------------------------------------------------------------- */
.btn-group-pair {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 26px;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 50px;
    border: 2px solid transparent;
    line-height: 1;
    cursor: pointer;
    transition: all .3s ease;
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.btn-dark:hover {
    background: var(--primary-col);
    border-color: var(--dark);
    color: var(--dark);
}

.btn-yellow {
    background: var(--primary-col);
    color: var(--dark);
    border-color: var(--primary-col);
}

.btn-yellow:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.btn-outline-dark-pill {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn-outline-dark-pill:hover {
    background: var(--dark);
    color: var(--white);
}

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
    background: var(--primary-dark);
    padding: 8px 0;
    font-size: 15px;
}

.topbar ul {
    display: flex;
    justify-content: flex-end;
    gap: 26px;
    flex-wrap: wrap;
}

.topbar a {
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.topbar a:hover {
    color: var(--white);
}

.main-nav {
    background: var(--hero-col);
    padding: 14px 0;
    transition: all .35s ease;
}

.main-nav .navbar-brand img {
    width: 220px;
}

.main-nav .nav-link {
    color: var(--dark);
    font-size: 16px;
    font-weight: 500;
    padding: 6px 0 !important;
    margin: 0 16px;
    position: relative;
}

/* Underline uses ::before so Bootstrap's dropdown caret (::after) survives. */
.main-nav .nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s ease;
}

.main-nav .nav-link:hover::before,
.main-nav .nav-item.active>.nav-link::before {
    transform: scaleX(1);
}

.main-nav .nav-item.active>.nav-link {
    color: var(--white);
}

.main-nav .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: 1px;
}

.main-nav .dropdown-menu {
    border: none;
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
    margin-top: 14px;
}

.main-nav .dropdown-item {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    border-radius: 8px;
    padding: 9px 14px;
}

.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus {
    background: var(--primary-col);
    color: var(--dark);
}

.nav-cta {
    background: var(--dark);
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: 50px;
    margin-left: 18px;
}

.nav-cta:hover {
    background: var(--white);
    color: var(--dark);
}

.main-nav.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background: var(--hero-col);
    padding: 8px 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}

/* Mobile offcanvas (the panel chrome only applies below lg — see responsive.css) */
.offcanvas-nav.offcanvas {
    background: var(--hero-col);
}

.navbar-toggler {
    border: none;
    font-size: 26px;
    color: var(--dark);
    padding: 0;
    box-shadow: none !important;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    background: var(--hero-col);
    padding: 38px 0 95px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(118deg, transparent 40%, rgba(255, 255, 255, .032) 40%, rgba(255, 255, 255, .032) 55%, transparent 55%),
        linear-gradient(200deg, transparent 58%, rgba(0, 0, 0, .014) 58%, rgba(0, 0, 0, .014) 80%, transparent 80%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.hero h1 {
    margin-bottom: 0;
}

.hero p {
    color: var(--dark);
}

.hero .title-rule {
    background: rgba(12, 12, 12, .3);
}

.hero-list {
    margin: 18px 0 0;
}

.hero-list li {
    position: relative;
    padding-left: 22px;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 16px;
}

.hero-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dark);
}

.trust-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
}

.trust-strip img {
    width: 360px;
    max-width: 100%;
}

/* Hero form card */
.hero-form-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .22) 62%, rgba(255, 255, 255, .92) 100%);
    border-radius: var(--radius);
    padding: 34px 30px 40px;
}

.hero-form-card .form-heading {
    text-align: center;
    margin-bottom: 26px;
}

.hero-form-card .form-heading span {
    display: block;
    font-size: 27px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.hero-form-card .form-heading strong {
    display: block;
    font-size: 27px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
}

.leadform .form-group {
    margin-bottom: 16px;
}

.leadform .form-control {
    background: var(--white);
    border: none;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--dark);
    box-shadow: none;
}

.leadform .form-control::placeholder {
    color: #9a9a9a;
}

.leadform .form-control:focus {
    box-shadow: 0 0 0 3px rgba(12, 12, 12, .12);
    background: var(--white);
}

.leadform textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

/* Validation feedback. The message alone reads weakly against the yellow card,
   so the invalid field also gets a red ring (box-shadow, so nothing reflows). */
.leadform label.error {
    color: #8c1007;
    font-size: 13.5px;
    font-weight: 700;
    margin-top: 6px;
    display: block;
}

.leadform .form-control.error,
.leadform .form-select.error {
    box-shadow: 0 0 0 2px #c62828;
}

.leadform .form-control.error:focus,
.leadform .form-select.error:focus {
    box-shadow: 0 0 0 3px rgba(198, 40, 40, .55);
}

.leadform .success {
    color: #0d6832;
    font-weight: 600;
}

.leadform .error {
    font-size: 14px;
}

.leadform .loader {
    width: 26px;
    height: 26px;
    margin: 6px auto;
    border: 3px solid rgba(12, 12, 12, .2);
    border-top-color: var(--dark);
    border-radius: 50%;
    animation: leadspin .8s linear infinite;
}

@keyframes leadspin {
    to {
        transform: rotate(360deg);
    }
}

.form-btn {
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    padding: 15px 34px;
    margin-top: 10px;
}

.form-btn:hover {
    background: var(--white);
    color: var(--dark);
}

/* ==========================================================================
   Award logos strip
   ========================================================================== */
.awards-strip {
    padding: 46px 0 20px;
}

.awards-strip .award-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
}

.awards-strip img {
    max-height: 150px;
    width: auto;
}

/* ==========================================================================
   Royalty slider
   ========================================================================== */
.royalty-sec {
    padding-top: 30px;
}

.royaltySwiper {
    padding-bottom: 46px;
}

.royaltySwiper .royalty-card {
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    overflow: hidden;
    background: var(--white);
}

.royaltySwiper .swiper-slide-active .royalty-card {
    border-color: var(--primary-col);
}

.royaltySwiper img {
    width: 100%;
    display: block;
}

.swiper-pagination-bullet {
    background: #cfcfcf;
    opacity: 1;
    width: 9px;
    height: 9px;
}

.swiper-pagination-bullet-active {
    background: var(--primary-col);
}

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why-list {
    margin-top: 26px;
}

.why-list h4 {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
}

.why-list h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-col);
}

.why-list p {
    font-size: 15px;
    color: var(--muted);
}

/* ==========================================================================
   Services card grid (scrollable)
   ========================================================================== */
.svc-scroll {
    max-height: 470px;
    overflow-y: auto;
    padding-right: 18px;
}

.svc-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 26px 24px;
    height: 100%;
}

.svc-card h4 {
    margin-bottom: 12px;
    padding-bottom: 12px;
    position: relative;
}

.svc-card h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 88px;
    height: 2px;
    background: var(--dark);
}

.svc-card p {
    font-size: 15px;
    color: var(--body-col);
    margin: 0;
}

/* Custom scrollbars */
.svc-scroll::-webkit-scrollbar,
.review-scroll::-webkit-scrollbar {
    width: 4px;
}

.svc-scroll::-webkit-scrollbar-track,
.review-scroll::-webkit-scrollbar-track {
    background: #d9d9d9;
    border-radius: 4px;
}

.svc-scroll::-webkit-scrollbar-thumb,
.review-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-col);
    border-radius: 4px;
}

.svc-scroll,
.review-scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-col) #d9d9d9;
}

/* ==========================================================================
   Connect band
   ========================================================================== */
.connect-band {
    background: var(--primary-col);
    border-radius: var(--radius-lg);
    padding: 0 56px;
    overflow: hidden;
    min-height: 432px;
    display: flex;
    align-items: center;
}

.connect-band>.row {
    width: 100%;
    margin: 0;
}

.connect-band h2 {
    margin-bottom: 0;
}

.connect-band .copy-col {
    padding: 54px 0;
}

.connect-band .connect-img {
    text-align: right;
    margin-right: -56px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    height: 432px;
}

.connect-band .connect-img img {
    max-height: 429px;
    width: auto;
}

/* ==========================================================================
   Audiobook
   ========================================================================== */
.dot-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: var(--body-col);
}

.dot-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-col);
}

.dot-list li strong {
    color: var(--dark);
}

/* Retailer logos */
.retail-sec {
    padding: 30px 0 40px;
}

.retailSwiper {
    padding-bottom: 40px;
}

.retailSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
}

.retailSwiper img {
    max-height: 70px;
    width: auto;
}

/* ==========================================================================
   Service tabs
   ========================================================================== */
.tab-list-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .09);
    padding: 16px;
}

.tab-list-card .nav-link {
    width: 100%;
    text-align: left;
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
    padding: 13px 18px;
    border-radius: 6px;
    background: transparent;
    border: none;
}

.tab-list-card .nav-link.active {
    background: var(--primary-col);
    color: var(--dark);
}

.tab-pane-img {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 22px;
}

.tab-pane-img img {
    width: 100%;
    display: block;
}

.tab-body h3 {
    margin-bottom: 12px;
}

.tab-body h3 .dot {
    color: var(--primary-col);
}

/* ==========================================================================
   Key features
   ========================================================================== */
.feature-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 30px 18px;
    text-align: center;
    height: 100%;
}

.feature-card img {
    height: 62px;
    width: auto;
    margin-bottom: 18px;
}

.feature-card h4 {
    font-size: 17px;
    margin: 0;
}

/* ==========================================================================
   Portfolio
   ========================================================================== */
.portfolio-item {
    text-align: center;
}

.portfolio-item img {
    max-height: 480px;
    width: auto;
    transition: transform .4s ease;
}

.portfolio-item:hover img {
    transform: translateY(-10px);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.review-scroll {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 18px;
}

.review-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 24px 22px;
    height: 100%;
}

.review-card .quote-mark {
    color: var(--primary-col);
    font-size: 26px;
    line-height: 1;
    float: left;
    margin: 4px 12px 0 0;
}

.review-card h4 {
    margin-bottom: 2px;
    font-size: 20px;
}

.review-card .stars {
    color: var(--primary-col);
    font-size: 14px;
    letter-spacing: 2px;
}

.review-card p {
    font-size: 15px;
    margin: 12px 0 0;
    clear: both;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-sec .accordion-item {
    border: none;
    border-radius: var(--radius) !important;
    margin-bottom: 14px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .07);
    overflow: hidden;
}

.faq-sec .accordion-button {
    font-weight: 500;
    font-size: 16px;
    color: var(--dark);
    background: var(--white);
    padding: 20px 24px;
    box-shadow: none;
}

.faq-sec .accordion-button:not(.collapsed) {
    color: var(--dark);
    background: var(--white);
}

.faq-sec .accordion-button::after {
    content: "\f4fe";
    font-family: "bootstrap-icons";
    background: none;
    color: var(--primary-col);
    font-size: 18px;
    transform: none;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
}

.faq-sec .accordion-button:not(.collapsed)::after {
    content: "\f2ea";
}

.faq-sec .accordion-body {
    padding: 0 24px 22px;
    font-size: 15px;
}

/* ==========================================================================
   Bottom CTA band
   ========================================================================== */
.cta-band {
    background: var(--primary-col);
    border-radius: var(--radius-lg);
    padding: 54px 60px 58px;
    text-align: center;
}

.cta-band h2 {
    margin-bottom: 14px;
}

.cta-band>.container-inner>p {
    color: var(--dark);
    max-width: 720px;
    margin: 0 auto 28px;
}

.cta-band .form-control,
.cta-band .form-select {
    background: transparent;
    border: 1px solid var(--dark);
    border-radius: 6px;
    color: var(--dark);
    padding: 13px 18px;
    font-size: 15px;
}

.cta-band .form-control::placeholder {
    color: rgba(12, 12, 12, .62);
}

.cta-band .form-control:focus,
.cta-band .form-select:focus {
    background: transparent;
    border-color: var(--dark);
    box-shadow: 0 0 0 3px rgba(12, 12, 12, .12);
}

.cta-band .form-btn {
    margin-top: 6px;
}

.cta-band label.error {
    text-align: left;
}

/* ==========================================================================
   Award badges row
   ========================================================================== */
.badges-sec {
    padding-top: 20px;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid #e3e3e3;
    border-right: none;
}

.badge-cell {
    border-right: 1px solid #e3e3e3;
    padding: 26px 16px 30px;
    text-align: center;
}

.badge-cell img {
    height: 100px;
    width: auto;
    margin-bottom: 14px;
}

.badge-cell h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.badge-cell p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .8);
    padding: 60px 0 0;
}

footer .footer-logo {
    width: 245px;
    margin-bottom: 22px;
}

.footer-logo {
    filter: invert(1);
}

footer p {
    font-size: 15px;
}

footer h4 {
    color: var(--white);
    font-size: 21px;
    margin-bottom: 20px;
}

footer .footer-links li {
    margin-bottom: 12px;
}

footer .footer-links a {
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
}

footer .footer-links a:hover {
    color: var(--primary-col);
}

footer .contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    color: rgba(255, 255, 255, .82);
}

footer .contact-list i {
    color: var(--white);
    margin-top: 4px;
}

footer .contact-list a {
    color: rgba(255, 255, 255, .82);
}

footer .contact-list a:hover {
    color: var(--primary-col);
}

footer .socials {
    display: flex;
    gap: 22px;
    margin-top: 22px;
}

footer .socials a {
    color: var(--white);
    font-size: 16px;
}

footer .socials a:hover {
    color: var(--primary-col);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 46px;
    padding: 22px 0;
    font-size: 14px;
}

.footer-bottom a {
    color: var(--white);
    font-weight: 600;
}

.footer-bottom a:hover {
    color: var(--primary-col);
}

/* ==========================================================================
   Floating helpers
   ========================================================================== */
.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 26px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary-col);
    color: var(--dark);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    border: none;
}

.scroll-top.show {
    display: flex;
}

.scroll-top:hover {
    background: var(--dark);
    color: var(--primary-col);
}

.float-bar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
}

.float-bar a {
    width: 42px;
    height: 42px;
    background: var(--dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.float-bar a:hover {
    background: var(--primary-col);
    color: var(--dark);
}

/* ==========================================================================
   Breadcrumb + inner page bits
   ========================================================================== */
#breadcrumb {
    font-size: 14px;
    color: rgba(12, 12, 12, .7);
    margin-bottom: 14px;
}

#breadcrumb a {
    color: var(--dark);
    font-weight: 600;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 42px rgba(0, 0, 0, .09);
    padding: 40px 38px;
}

.rounded-img {
    border-radius: var(--radius);
    overflow: hidden;
}

.rounded-img img {
    width: 100%;
    display: block;
}

.eyebrow {
    font-size: 17px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 6px;
}

/* Modal popup */
.generic-modal {
    max-width: 520px;
    background: var(--hero-col);
    padding: 10px;
}

.generic-modal .hero-form-card {
    background: transparent;
}

/* Thank you page */
.thankyou-sec {
    padding: 120px 0;
    text-align: center;
}

.thankyou-sec i {
    font-size: 74px;
    color: var(--primary-col);
}

/* Legal pages */
.legal-body h3 {
    margin-top: 32px;
}

.legal-body ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-body li {
    margin-bottom: 8px;
}