﻿@font-face {
    font-family: 'lovelace-text-regular-trial';
    src: url('/images/newhomepageimages/fonts/lovelace-text-regular-trial.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #3353D0;
    --secondary-color: #FFFFFF;
    --text-color: #1A1E3E;
    --header-color: #fff;
    --nav-link-color: #1D1D1D;
    --bg-light-gray: #ECEEF2;
    --primary-font: 'lovelace-text-regular-trial';
    --secondary-font: 'Montserrat';
    --color-hr: #d5dbea;
    --white: #fff;
    --slate-grey: #6b7280;
    --electric-blue: #3b5cff;
    --gainsboro: #3b5cff;
}


body {
    background: url("data:image/svg+xml,\
        <svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'>\
        <filter id='n'>\
        <feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/>\
        </filter>\
        <rect width='100%' height='100%' filter='url(%23n)' opacity='0.35'/>\
                </svg>") repeat, #FFFFFF;
    background-size: 200px 200px;
    font-family: var(--secondary-font), 'Poppins', sans-serif;
}

.text-color {
    color: var(--text-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.fs-primary {
    font-family: var(--primary-font) !important;
}

.fs-secondary {
    font-family: var(--secondary-font) !important;
}

.fw-400 {
    font-weight: 400 !important;
}

.fw-500 {
    font-weight: 500 !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.nav-link {
    font-family: var(--secondary-font);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-color);
}

    .nav-link.active {
        color: var(--primary-color) !important;
        font-weight: 700;
    }
/* Submenu dropdown */


.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 10px 0;
    list-style: none;
    z-index: 9999;

    
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
}

    .dropdown-menu li a:hover {
        background: var(--bg-light-gray);
        color: var(--primary-color)
    }


.dropdown-toggle::after {
    display: none !important; /* remove existing dropdown arrow */
}
.custom-arrow {
    transition: transform 0.3s ease;
}

.dropdown.show .custom-arrow {
    transform: rotate(180deg);
}
.custom-arrow {
    font-size: 14px;
    margin-left: 0px;
    transition: transform 0.3s ease;
}

.dropdown.show .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-link:focus, .nav-link:hover {
    color: var(--primary-color);
}
/* Arrow rotation */
.dropdown.active .custom-arrow {
    transform: rotate(180deg);
}

.dropdown.active:hover .custom-arrow {
    transform: rotate(180deg);
}

nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    border-bottom: 1px solid #eee;
}

.nav-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    text-decoration: none;
    color: #333;
    font-family: var(--secondary-font);
    font-weight: 500;
    font-size: 14px;
}

.submenu {
    list-style: none;
    padding-left: 15px;
    margin: 0;
    max-height: 0;
    background: #f9f9f9;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

    .submenu li a {
        padding: 12px 16px;
        font-size: 14px;
    }

.submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    text-decoration: none;
}

.has-submenu.active .submenu {
    display: block;
    max-height: 300px; /* must be larger than content height */
}

.arrow-icon {
    font-size: 18px; /* Increase size safely */
    line-height: 1;
    flex-shrink: 0; /* Prevent layout shift */
    transition: transform 0.3s ease;
}

/* Rotate when active */
.has-submenu.active .arrow-icon {
    transform: rotate(180deg);
}

/* End Submenu dropdown */

.link-body-emphasis {
    color: var(--text-color) !important;
    font-weight: 400;
    font-family: var(--secondary-font);
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    font-family: var(--secondary-font);
    font-weight: 500;
}

.btn-login {
    font-family: var(--secondary-font);
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-color) !important;
}

.wrapper {
    max-width: 1628px;
    margin: 0 auto;
    background-color: var(--bg-light-gray);
}

.offcanvas-title {
    font-family: var(--secondary-font);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color) !important;
}

.offcanvas-end {
    width: 380px;
}

/*.dropdown-item.active, .dropdown-item:active {
    color: var(--bs-dropdown-link-active-color);
    background-color: var(--secondary-color);
    text-decoration: none;
}*/

.logo {
    width: 273.55px;
    height: 30.94px;
    top: 48.99px;
    left: 144px;
}

.text-primary {
    color: var(--primary-color);
}

/* keep header clean */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1020; /* higher than content & carousel */
    background-color: var(--header-color);
}

.search-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
}

.search-box {
    position: relative;
}

    .search-box input {
        padding-left: 38px; /* space for left icon */
    }

.search-icon {
    position: absolute;
    top: 46%;
    left: 10px;
    transform: translateY(-50%);
    pointer-events: none; /* icon clicks focus input */
}


.search-results {
    max-height: 80vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding: 0;
}

.search-result-icon {
    font-size: 18px;
    color: #6c757d;
    width: 22px;
    text-align: center;
}

.search-header {
    padding: 10px 16px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--primary-font)
}

.search-results::-webkit-scrollbar {
    width: 10px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.search-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    text-decoration: none;
    color: #212529;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
}

    .search-item:hover {
        background: #f5f5f5;
        color: #000;
    }


@media (max-width: 576px) {
    .search-results {
        max-height: 70vh;
    }
}

.search-results {
    max-height: 80vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding: 0;
}

.search-result-icon {
    font-size: 18px;
    color: #6c757d;
    width: 22px;
    text-align: center;
}

.search-header {
    padding: 10px 16px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--primary-font)
}

.search-results::-webkit-scrollbar {
    width: 10px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.search-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    text-decoration: none;
    color: #212529;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
}

    .search-item:hover {
        background: #f5f5f5;
        color: #000;
    }

/*Desktop Master Search */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
}


#desktopSearch {
    position: absolute;
    right: 40px;
    width: 0;
    opacity: 0; /* Hidden by default */
    padding: 8px 40px 8px 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fff;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    z-index: 2000;
    pointer-events: none;
}

/* Active state */
.search-wrapper.active #desktopSearch {
    width: 300px;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.search-spinner {
    position: absolute;
    right: 52px; /* adjust based on search icon */
    top: 54%;
    transform: translateY(-50%);
    display: none;
    z-index: 2001;
}
    .search-spinner .spinner-border {
        width: 20px;
        height: 20px;
    }
.search-wrapper.loading .search-spinner {
    display: block;
}


.search-wrapper.loading::after {
    content: "";
    position: absolute;
    right: 40px;
    top: 50%;
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-top: 2px solid #000;
    border-radius: 50%;
    transform: translateY(-50%);
    animation: spin 0.6s linear infinite;
}

.ui-autocomplete {
    max-height: 360px;
    max-width: 460px;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 6px 0;
    background: white;
    width: 500px !important;
    border: 1px solid #eee;
}

.ui-autocomplete {
    position: absolute !important;
    z-index: 9999 !important;
}
/* Better item hover */
.ui-menu-item-wrapper {
    padding: 10px 16px;
}

.ui-state-active {
    background: #f3f6ff !important;
    color: #000 !important;
}

.ui-menu-item-wrapper:has(span.no-result) {
    pointer-events: none;
}

.ui-autocomplete-group {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    color: #3353cf;
    background: rgba(51, 83, 207, 0.08);
    pointer-events: none;
    border-radius: 4px;
    margin: 6px 10px;
}

.ui-menu-item {
    margin: 6px 10px;
    cursor: pointer;
}



.master-auto-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
}

.search-icon {
    font-size: 16px;
    color: #6b7280;
    min-width: 20px;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
    line-height: 1;
}

.search-item span {
    flex: 1;
}

.ui-menu-item-wrapper:hover .search-icon {
    color: #3353cf;
}
/*End Desktop Master Search */

@media (max-width: 576px) {
    .search-results {
        max-height: 70vh;
    }
}
/* Responsive */

/* Desktop */
@media (max-width: 900px) {
    .site-header .nav {
        display: none;
    }

    .offcanvas-body .nav {
        display: block;
    }

    .img {
        text-align: center !important;
    }

    .img-1, .img-3 {
        display: none;
    }
}

/* Large Tablet */
@media (max-width: 768px) {

}

/* Tablet */
@media (max-width: 576px) {
    /* hide desktop menu on mobile/tablet */
    .offcanvas-end {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 480px) {

}
/* Responsive End */

/* -- Footer -- */
.site-footer {
    background-color: transparent;
}

.footer-box {
    background: linear-gradient(14deg, #f4f6fa, #abcdee70);
    border-radius: 28px;
    padding: 50px;
    position: relative;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    border-bottom: 1px solid var(--color-hr);
    font-family: var(--secondary-font) !important;
    font-weight: 500;
}

.footer-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.footer-center p {
    max-width: 520px;
    margin: 0 auto;
    color: #555;
    font-size: 15px;
}

.policy-links a {
    font-size: 14px;
    margin-right: 14px;
    color: var(--primary-color);
}

.footer-office h4 {
    font-family: var(--primary-font);
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-office p {
    font-family: var(--secondary-font);
    font-weight: 500;
    font-size: 16px;
}

.footer-links {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

    .footer-links h5 {
        margin-bottom: 12px;
        font-weight: 600;
        font-size: 18px;
        font-family:var(--primary-font);
    }

    .footer-links ul {
        list-style: none;
        padding: 0;
    }

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        color: var(--primary-color);
        font-size: 14px;
        font-family: var(--secondary-font);
        font-weight: 500;
    }


        .footer-links a:hover {
            text-decoration: underline;
        }

    .footer-links a {
        text-decoration: none;
        color: var(--nav-link-color);
        position: relative;
        display: inline-block;
        font-size: 14px;
        padding-left: 18px; /* space between dash and text */
    }

        /* dash before link */
        .footer-links a::before {
            content: " — ";
            position: absolute;
            left: 0;
            color: var(--primary-color); /* blue dash */
        }

        /* hover effect */
        .footer-links a:hover {
            color: var(--primary-color);
        }

    .footer-links li {
        margin-bottom: 6px;
    }

hr {
    margin: 40px 0 20px;
    border: none;
    border-top: 1px solid var(--color-hr);
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: #666;
    font-family: var(--secondary-font);
}

/* Scroll Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}

    /* show button */
    #scrollTopBtn.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    #scrollTopBtn:hover {
        opacity: 0.9;
    }

/* Responsive */

/* Desktop */
@media (max-width: 900px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-office {
        margin-top: 20px;
    }
}

/* Tablet */
@media (max-width: 576px) {
    #scrollTopBtn {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .footer-box {
        padding: 50px 12px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    
}
/* Responsive End */

/* -- Footer End -- */



/* -- Body -- */
/* -- Home Page -- */

/* -- Hero Section -- */
.hero-section {
    padding: 32px 10px;
}

.hero-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* LEFT SIDE */
.hero-content {
    flex: 2;
    max-width: 72%;
    display: flex;
    flex-direction: column;
}

    .hero-content h1 {
        font-family: var(--primary-font);
        font-weight: 400;
        line-height: 1.05;
        letter-spacing: -1px;
        margin-bottom: 20px;
    }

.hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    font-family: var(--secondary-font);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-buttons {
    font-family: var(--secondary-font);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.hero-btn {
    text-decoration: none;
    font-weight: 600;
    color: #111;
}

   /* .hero-btn span {
        background: #3b5bdb;
        color: #fff;
        padding: 6px 10px;
        border-radius: 6px;
        margin-left: 8px;
    }*/
.hero-content > .row {
    margin-top: auto;
}

.hero-feature {
    max-width: 520px;
    margin-top: -90px;
    height: 100%;
    justify-content: end;
}

.feature-link {
    text-decoration: underline;
    display: inline-block;
    margin-bottom: 5px;
    font-family: var(--secondary-font);
    font-weight: 600;
    font-size: 20px;
    color: var(--primary-color) !important;
}

.hero-feature p {
    color: var(--text-color) !important;
    font-size: 16px;
    font-family: var(--secondary-font) !important;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    font-family: var(--secondary-font);
    font-weight: 600;
    font-size: 16px;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 10px;
}


/* RIGHT SIDE IMAGES */
.hero-images {
    flex: 1;
    display: grid;
    grid-template-columns: 16px 300px;
    grid-template-rows: auto auto;
    gap: 30px;
    position: relative;
    max-width: 28%;
}

    .hero-images .img {
        border-radius: 16px;
        overflow: hidden;
    }

    .hero-images img {
        height: 100%;
        object-fit: cover;
    }

/* Image positions */
.img-1 {
    grid-column: 2/2;
    grid-row: 1;
}

    .img-1 img {
        width: 305px;
    }

.img-2 {
    grid-column: 1;
    grid-row: 2;
    margin-top: -40px;
}

    .img-2 img {
        height: 318px;
        width: 229px;
        border-radius: 16px;
        align-items: end;
    }

.img-3 {
    grid-column: 1 / 3;
    grid-row: 2;
    height: 289px;
}

    .img-3 img {
        width: 348px;
        height: 352px;
    }

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 58px;
    }
}

@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-images {
        max-width: 100%;
        margin-top: 60px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-feature {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        letter-spacing: 1px;
        font-size: 14px;
    }

    .hero-buttons {
        font-size: 12px;
    }

    .hero-images {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .img-1,
    .img-2,
    .img-3 {
        grid-column: auto;
        grid-row: auto;
        margin-top: 0;
    }

    .feature-link {
        font-size: 14px;
    }

    .hero-feature p {
        font-size: 14px;
    }

    .read-more {
        font-size: 12px;
    }
}
@media (max-width: 480px) {

}

/* -- End Hero Section -- */

/* Brands Section */
.slider-wrapper {
    width: 100%;
}

.slider-track {
    transition: transform 0.8s ease;
}

.slider-item {
    flex: 0 0 calc(100% / 6);  /* 6 items visible */
    padding: 20px;
    background: transparent;
    text-align: center;
    font-size: 20px;
}

.btn-dc-prev-white {
    border: 1px solid var(--primary-color);
}

    .btn-dc-prev-white:hover {
        opacity: 0.8;
        border: 1px solid var(--primary-color);
    }

.btn-dc-next-primary {
    background-color: var(--primary-color);
}

    .btn-dc-next-primary:hover,
    .btn-dc-next-primary:focus,
    .btn-dc-next-primary:active {
        background-color: var(--primary-color);
    }

/* Responsive */

/* Desktop */
@media (max-width: 900px) {
    
}

/* Tablet */
@media (max-width: 576px) {
    .slider-item {
        flex: 0 0 calc(100% / 2); /* 2 items visible */
    }
}

/* Mobile */
@media (max-width: 480px) {
}
/* Responsive End */
/* End Brands Section */

/* -- Connecting Stories -- */
.connecting-story-section {
    background: linear-gradient(135deg, #eef6ff 0%, #f7fbff 100%);
}
.publiser-market-img {
    height: 387px;
    object-fit: cover;
}

.accordion {
    --bs-accordion-bg: transparent;
    margin-bottom: 8px;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-plus-lg' viewBox='0 0 16 16'%3e>  <path fill-rule='evenodd' d='M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2'/></svg>");
}

/* Active */
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-dash' viewBox='0 0 16 16'><path d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8'/></svg>");
}

.accordion-item {
    background: var(--white);
    border-radius: 8px !important;
    margin-bottom: 8px;
}

button.accordion-button {
    background-color: var(--white);
    font-family: var(--secondary-font);
    border-radius: 8px !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
}

.accordion-item:has(.accordion-button:not(.collapsed)) {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Responsive */

/* Desktop */
@media (max-width: 900px) {

}

/* Tablet */
@media (max-width: 576px) {
    
}

/* Mobile */
@media (max-width: 480px) {

}
/* Responsive End */
/* -- End Connecting Stories Section -- */

/* -- Recently Licensed Section -- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-family: Montserrat !important;
}

.filter-btn {
    border: 1px solid var(--bg-light-gray);
    background-color: var(--white);
    color: var(--text-color);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 14px;
    transition: all 0.2s ease;
}

    /* Hover */
    .filter-btn:hover {
        border-color: var(--primary-color);
    }

    /* Active / Selected */
    .filter-btn.active {
        background-color: var(--primary-color); /* blue from image */
        color: var(--white);
        border-color: var(--primary-color);
    }

.book-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: background-color 0.35s ease, transform 0.3s ease;
}

/* Image stays on top */
.book-3d-image {
    display: flex;
    height: 400px;    /* container height */
    align-items: center;    /* vertical center */
    justify-content: center;    /* horizontal center */
    background-color: #f5faff;    /* keeps clean look on hover */
}

    .book-3d-image img {
        max-width: 350px;
        max-height: 350px;
        object-fit: contain;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        transform: perspective(1000px) rotateY(8deg); /* changed it to reduce floating */
        box-shadow: -8px 10px 20px rgba(0,0,0,0.2);
    }

/* Info always at bottom */
.book-info {
    margin-top: auto;    /* key line */
    padding: 16px;
    transition: color 0.3s ease;
    background-color: var(--bg-light-gray)
}

/* Text styles */
.book-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.book-category {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--slate-grey);
    font-family: var(--secondary-font);
}

/* FULL CARD HOVER */
.book-card:hover {
    background-color: var(--electric-blue) !important;
    transform: translateY(-4px);
}

.book-info:hover {
    background-color: var(--electric-blue) !important;
}

.book-3d-image:hover + .book-info {
    background-color: var(--electric-blue);
}

/* Text color on hover */
.book-card:hover .book-name,
.book-card:hover .book-category {
    color: var(--secondary-color);
    background-color: var(--electric-blue) !important;
}

.book-card {
    cursor: pointer;
    border: 1px solid var(--bg-light-gray);
}

    .book-card:hover {
        transform: translateY(-4px);
    }

.book-link {
    display: block;    /* makes entire card clickable */
    text-decoration: none;    /* remove underline */
    color: inherit;    /* inherit text color */
    height: 100%;
    font-family: Montserrat;
}

    .book-link:hover {
        text-decoration: none;
        color: inherit;
    }
.book-status-message {
    text-align: center;
    padding: 50px 20px;
    color: #6c757d;
}
.state-message {
    min-height: 100px;
    align-items: center;
    display: flex;
}
/* Book Skeleton */
.skeleton-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--white);
    border-radius: 16px;
    padding: 2px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: background-color 0.35s ease, transform 0.3s ease;
}

.skeleton {
    background: linear-gradient( 90deg, #f0f0f0 25%, #e6e6e6 37%, #f0f0f0 63% );
    background-size: 400% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 16px;
}

.skeleton-img {
    height: 400px;
    background-color: #f5faff; /* keeps clean look on hover */
}

.skeleton-text {
    height: 14px;
    margin: 10px 12px;
    padding: 14px;
    width: 80%;
    transition: color 0.3s ease;
    background-color: var(--bg-light-gray)
}

.skeleton-small {
    width: 60%;
}

.lazy-img {
    opacity: 0;
    transition: opacity 0.4s ease;
}

    .lazy-img.loaded {
        opacity: 1;
    }

@keyframes shimmer {
    0% {
        background-position: -400px 0;
    }

    100% {
        background-position: 400px 0;
    }
}

@media (max-width: 768px) {
    .book-card img {
        transform: none; /* Hover doesn’t exist on mobile. */
    }
}
/* End Book Skeleton */
/* -- End Recently Licensed Section -- */

/* -- Global Rights Licensing Section --*/

.global-right-licensing-section {
    background: linear-gradient(135deg, #eef6ff 0%, #f7fbff 100%)
}

.btn-dc-prev-primary {
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
}

    .btn-dc-prev-primary:hover {
        opacity: 0.8;
        background-color: var(--primary-color);
        border: 1px solid var(--primary-color);
    }
#cardCounter {
    transition: opacity 0.3s ease;
}
/* Base card */
.stack-card {
    position: absolute;
    width: 100%;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
}

    /* Active card (front) */
    .stack-card.active {
        background: var(--primary-color);
        color: var(--white);
    }

.card-1 {
    z-index: 4;
    transform: translate(0, 0) scale(1);
}

/* Back cards */
.card-2 {
    z-index: 3;
    transform: translate(18px, -18px) scale(0.96);
    opacity: 0.85;
}

.card-3 {
    z-index: 2;
    transform: translate(36px, -36px) scale(0.92);
    opacity: 0.7;
}

.card-4 {
    z-index: 1;
    transform: translate(54px, -54px) scale(0.88);
    opacity: 0.55;
}

/* Inner content */
.stack-inner {
    padding: 24px;
    min-height: 250px;
    display: flex;
    align-items: center;
}

.stack-img {
    max-width: 100%;
    height: 216px;
    width: 360px;
    object-fit: cover;
    border-radius: 8px;
}

.stack-wrapper {
    position: relative;
    height: 320px;
}

.stack-card {
    position: absolute;
    width: 90%;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

    /* Default states assigned via JS */
    .stack-card:nth-child(1) {
        z-index: 4;
    }

    .stack-card:nth-child(2) {
        z-index: 3;
    }

    .stack-card:nth-child(3) {
        z-index: 2;
    }

    .stack-card:nth-child(4) {
        z-index: 1;
    }

.stack-inner {
    padding: 24px;
    min-height: 250px;
    display: flex;
    align-items: center;
}

/* Controls */
.stack-controls {
    position: absolute;
    top: -40px;
    right: 0;
    display: flex;
    gap: 8px;
}

.stack-card.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
}

/* Desktop */
@media (max-width: 900px) {
}

/* Large Tablet */
@media (max-width: 768px) {
    .stack-wrapper {
        height: 666px; /* increase slightly if needed */
        display: flex;
        justify-content: center;
    }

    .stack-card {
        width: 95% !important;
        left: 0%;
        transform-origin: center;
    }

        .stack-card h6 {
            font-size: 16px; /* adjust if needed */
        }

        .stack-card p {
            font-size: 13px;
            line-height: 1.5;
        }

    .blog-read-more {
        font-size: 13px;
    }

    .stack-inner {
        padding: 16px;
    }
}

/* Tablet */
@media (max-width: 576px) {
}

/* Mobile */
@media (max-width: 480px) {
}
/* -- End Global Rights Licensing Section --*/

/* Publishing News & Insights Section */
.blog-card {
    background: var(--bg-light-gray);
    border-radius: 16px;
    padding: 28px;
    height: 520px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .blog-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    }

        .blog-card:hover .blog-image img {
            transform: scale(1.05);
        }

.blog-meta {
    font-size: 13px;
    color: var(--slate-grey);
    font-family: var(--secondary-font);
    padding-bottom: 10px;
    margin-bottom: 14px;
}

.blog-image {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
}

    .blog-image img {
        width: 100%;
        height: 170px;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

.blog-title {
    font-size: 18px;
    font-weight: 600;
    font-family: var(--primary-font);
    line-height: 1.35;
    color: var(--text-color);
    margin-top: auto;
}

.blog-hr {
    border: none;
    border-top: 1px solid var(--slate-grey);
    margin: 0 0 16px;
}

.blog-card-active {
    font-family: var(--primary-font);
    background: #324bbd;
    color: var(--white);
    border-radius: 18px;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 70px rgba(50, 75, 189, 0.45);
}

/* Title */
.blog-active-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 18px;
}

/* Text */
.blog-active-text {
    font-size: 14px;
    font-family: var(--secondary-font);
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 14px;
}

/* CTA */
.blog-read-more {
    margin-top: auto;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--secondary-font);
    letter-spacing: 0.04em;
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .blog-read-more span {
        width: 22px;
        height: 22px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }

    .blog-read-more:hover span {
        transform: translateX(4px);
    }

@media (max-width: 576px) {
    .blog-image img {
        height: 160px;
    }
}
/* End Publishing News & Insights Section */

/* -- Testimonial Section -- */
.testimonial-text {
    max-width: 820px;
    margin: 0 auto 18px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    font-style: italic;
    font-family: var(--secondary-font) !important;
}

.testimonial-user {
    margin-top: 32px;
}

    .testimonial-user img {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 12px;
    }

    .testimonial-user h6 {
        margin-bottom: 4px;
        font-weight: 500;
        font-family: var(--secondary-font) !important;
    }

    .testimonial-user span {
        font-size: 13px;
        color: #6c757d;
        font-family: var(--secondary-font) !important;
    }

/* Dots */
.carousel-indicators {
    position: static;
    margin-top: 28px;
    gap: 8px;
}


    .carousel-indicators [data-bs-target] {
        background-color: #385683;
    }

    .carousel-indicators button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: var(--primary-color);
        opacity: 1;
        border: none;
        transition: all 0.3s ease;
    }

    .carousel-indicators .active {
        background-color: var(--primary-color);
        transform: scale(1.3);
    }
/* -- End Testimonial Section -- */

/* -- End Home Page -- */





/* -- End Body -- */

