*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}


html {
    scroll-behavior: smooth;
   overflow-x:hidden;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: #FAFAF7;
    color: #1C1209;
    overflow-x: hidden
}

/* PROGRESS */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #8B1A1A, #C8922A);
    z-index: 10001;
    transition: width .12s linear;
    width: 0
}

/* NAVBAR */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 247, .92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(28, 18, 9, .06);
    transition: all .35s ease
}

#navbar.scrolled {
    background: rgba(250, 250, 247, .98);
    box-shadow: 0 1px 32px rgba(28, 18, 9, .1)
}

.nav-link {
    position: relative;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.09rem;
    font-weight: 500;
    color: #4A3F35;
    letter-spacing: .01em;
    transition: color .2s;
    padding-bottom: 2px
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8B1A1A;
    border-radius: 1px;
    transition: width .25s ease
}

.nav-link:hover {
    color: #1C1209
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%
}

.nav-link.active {
    color: #8B1A1A;
    font-weight: 600
}

/* BUTTONS */
.btn-crimson {
    background: #8B1A1A;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    border-radius: 9999px;
    transition: all .28s ease;
    border: 2px solid #8B1A1A
}

.btn-crimson:hover {
    background: #6B1212;
    border-color: #6B1212;
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(139, 26, 26, .3)
}

.btn-outline-ink {
    background: transparent;
    color: #1C1209;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    border: 2px solid rgba(28, 18, 9, .25);
    border-radius: 9999px;
    transition: all .28s ease
}

.btn-outline-ink:hover {
    border-color: #1C1209;
    background: rgba(28, 18, 9, .04);
    transform: translateY(-1px)
}

/* HERO */
.hero-section {
    min-height: 100vh;
    padding-top: 80px;
    background: radial-gradient(ellipse at 0% 50%, rgba(200, 146, 42, .07) 0%, transparent 55%), radial-gradient(ellipse at 100% 0%, rgba(139, 26, 26, .04) 0%, transparent 50%), #F5F0E8;
    position: relative;
    overflow: hidden
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23C8922A' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none
}
.hero-section {
    background-image:url('../img/hero-bg.webp');
    background-size:108% 100%;
}

@media (max-width:768px) {
   .hero-section {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23C8922A' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 100% 10%;
} 
}




@keyframes floatUp {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg)
    }

    50% {
        transform: translateY(-14px) rotate(-2deg)
    }
}

@keyframes floatUp2 {

    0%,
    100% {
        transform: translateY(0) rotate(3deg)
    }

    50% {
        transform: translateY(-10px) rotate(3deg)
    }
}

.book-float-1 {
    animation: floatUp 7s ease-in-out infinite
}

.book-float-2 {
    animation: floatUp2 9s ease-in-out 1.5s infinite
}

/* FORM */
.form-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(28, 18, 9, .14), 0 2px 8px rgba(28, 18, 9, .06);
    position: relative;
    overflow: hidden
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8B1A1A, #C8922A, #8B1A1A)
}

.form-input {
    width: 100%;
    border: 1.5px solid #E0D9CE;
    border-radius: 100px;
    padding: 14px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: .9rem;
    color: #1C1209;
    background: #FAFAF7;
    transition: all .25s ease;
    outline: none
}

.form-input:focus {
    border-color: #C8922A;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(200, 146, 42, .12)
}

.form-input::placeholder {
    color: #B0A899
}

.form-select {
    width: 100%;
    border: 1.5px solid #E0D9CE;
    border-radius: 100px;
    padding: 14px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: .9rem;
    color: #1C1209;
    background: #FAFAF7;
    transition: all .25s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' viewBox='0 0 24 24' stroke='%238B1A1A' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 44px
}

.form-select:focus {
    border-color: #C8922A;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(200, 146, 42, .12)
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1)
}

.reveal.on {
    opacity: 1;
    transform: none
}

.reveal-l {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1)
}

.reveal-l.on {
    opacity: 1;
    transform: none
}

.reveal-r {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1)
}

.reveal-r.on {
    opacity: 1;
    transform: none
}

.d1 {
    transition-delay: .1s
}

.d2 {
    transition-delay: .2s
}

.d3 {
    transition-delay: .3s
}

.d4 {
    transition-delay: .4s
}

.d5 {
    transition-delay: .5s
}

.d6 {
    transition-delay: .6s
}

/* SECTION */
.gold-line {
    width: 48px;
    height: 2.5px;
    background: linear-gradient(90deg, #8B1A1A, #C8922A);
    border-radius: 2px
}

.section-label {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: #8B1A1A;
    font-size: 1.1rem
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.1;
    color: #1C1209
}

/* SERVICE CARD */
.service-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(28, 18, 9, .06);
    transition: all .3s ease;
    border-bottom: 3px solid transparent
}

.service-card:hover {
    transform: translateY(-6px);
    border-bottom-color: #8B1A1A;
    box-shadow: 0 20px 60px rgba(139, 26, 26, .1)
}

/* PARTNER */
/* .partner-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border-radius: 100px;
    border: 1.5px solid rgba(139, 26, 26, .2);
    background: #fff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: .875rem;
    color: #1C1209;
    transition: all .25s ease;
    cursor: default;
}

.partner-pill:hover {
    background: #8B1A1A;
    color: #fff;
    border-color: #8B1A1A;
    transform: scale(1.04)
} */
/* =========================================
PARTNER MARQUEE
========================================= */

.marquee-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.marquee-track {

    display: flex;
    align-items: center;
    gap: 18px;

    width: max-content;

    animation: marqueeMove 28s linear infinite;
}

.marquee-wrap:hover .marquee-track {
    animation-play-state: paused;
}

/* =========================================
PARTNER PILL
========================================= */

.partner-pill {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-width: 220px;
    height: 72px;

    padding: 14px 28px;

    border-radius: 999px;

    background: #fff;

    border: 1.5px solid rgba(139, 26, 26, .12);

    box-shadow:
        0 4px 18px rgba(0,0,0,.04);

    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: .95rem;

    color: #1C1209;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

    flex-shrink: 0;

    cursor: default;
}


/* HOVER */

.partner-pill:hover {

    transform: rotate(0deg) translateY(-4px);

    border-color: rgba(200, 146, 42, .35);

    box-shadow:
        0 12px 30px rgba(0,0,0,.08);
}

/* LOGO */

.partner-pill img {

    height: 28px;
    width: auto;

    object-fit: contain;

    /* filter: grayscale(100%); */

    transition:
        filter .35s ease,
        transform .35s ease;
}

.partner-pill:hover img {

    filter: grayscale(0%);

    transform: scale(1.05);
}

/* TEXT */

.partner-pill span {

    white-space: nowrap;

    line-height: 1;
}

/* =========================================
MARQUEE ANIMATION
========================================= */

@keyframes marqueeMove {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================================
MOBILE
========================================= */

@media (max-width: 768px) {

    .partner-pill {

        min-width: 180px;

        height: 64px;

        padding: 12px 20px;

        font-size: .85rem;
    }

    .partner-pill img {
        height: 22px;
    }

    .marquee-track {
        gap: 14px;
    }
    .social-container{
        display: none;
    }
}




/* TESTIMONIAL SLIDER */
.testi-slider {
    overflow: hidden;
    position: relative
}

.testi-track {
    display: flex;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1)
}

.testi-slide {
    min-width: 100%;
    padding: 0 4px
}

.testi-card {
    background: #202020;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .1);
    padding: 36px;
    position: relative
}

.testi-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    left: 28px;
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    line-height: 1;
    color: rgba(139, 26, 26, .12);
    pointer-events: none
}

@media(min-width:768px) {
    .testi-slide {
        min-width: 50%
    }
}

@media(min-width:1024px) {
    .testi-slide {
        min-width: 33.333%
    }
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
    cursor: pointer;
    flex-shrink: 0
}

.slider-btn:hover {
    transform: scale(1.08)
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transition: all .3s ease;
    cursor: pointer
}

/* MEDIA SLIDER */
.media-track {
    display: flex;
    align-items: center;
    gap: 48px;
    animation: mediaScroll 50s linear infinite;
    width: max-content
}

.media-track-wrap {
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent)
}

@keyframes mediaScroll {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.media-track-wrap:hover .media-track {
    animation-play-state: paused
}

.media-logo {
    font-family: 'Georgia', serif;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: .65;
    transition: opacity .25s ease;
    cursor: default
}

.media-logo:hover {
    opacity: 1
}

/* BOOK SHOWCASE */
.cat-btn {
    padding: 10px 22px;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: .875rem;
    font-weight: 600;
    border: 2px solid rgba(28, 18, 9, .12);
    background: #fff;
    color: #4A3F35;
    cursor: pointer;
    transition: all .25s ease
}

.cat-btn.active,
.cat-btn:hover {
    background: #1C1209;
    color: #fff;
    border-color: #1C1209
}

.cat-btn.active {
    background: #1C1209
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px
}

@media(min-width:640px) {
    .book-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr))
    }
}

@media(min-width:1024px) {
    .book-grid {
        grid-template-columns: repeat(5, 1fr)
    }
}

.book-item {
    border-radius: 12px;
    overflow: hidden;
    background: #E8E0D4;
    aspect-ratio: 2/3;
    position: relative;
    transition: all .3s ease;
    cursor: pointer
}

.book-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 50px rgba(28, 18, 9, .2)
}

.book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.book-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    background: linear-gradient(160deg, var(--c1, #2D1B00), var(--c2, #8B1A1A))
}

.book-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 18, 9, .85) 0%, transparent 50%);
    opacity: 0;
    transition: opacity .3s ease;
    display: flex;
    align-items: flex-end;
    padding: 16px
}

.book-item:hover .book-overlay {
    opacity: 1
}

.book-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(139, 26, 26, .9);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: .05em
}

/* WHY CARD */
.why-card {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    transition: all .3s ease
}

.why-card:hover {
    border-color: rgba(200, 146, 42, .4);
    background: rgba(255, 255, 255, .06);
    transform: translateY(-4px)
}

/* PRICING */
.pricing-card {
    background: #fff;
    border-radius: 24px;
    border: 2px solid rgba(28, 18, 9, .06);
    transition: all .3s ease;
    position: relative;
    overflow: hidden
}

.pricing-card:hover {
    box-shadow: 0 24px 64px rgba(28, 18, 9, .12);
    transform: translateY(-4px)
}

.pricing-card.popular {
    border-color: #8B1A1A
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(28, 18, 9, .05);
    font-family: 'DM Sans', sans-serif;
    font-size: .875rem;
    color: #4A3F35
}

.pricing-feature:last-child {
    border-bottom: none
}

.pricing-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px
}

.check-yes {
    background: rgba(139, 26, 26, .1)
}

.check-no {
    background: rgba(28, 18, 9, .06)
}

/* MOBILE MENU */
#mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 100vw);
    background: #fff;
    z-index: 999;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -20px 0 60px rgba(28, 18, 9, .15);
    padding: 80px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px
}

#mobile-menu.open {
    transform: translateX(0)
}

#overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 18, 9, .4);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s
}

#overlay.on {
    opacity: 1;
    pointer-events: all
}

/* LOGO */
@keyframes logoGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 0px rgba(139, 26, 26, 0))
    }

    50% {
        filter: drop-shadow(0 0 12px rgba(139, 26, 26, .35))
    }
}

.logo-img {
    animation: logoGlow 5s ease-in-out infinite;
    border-radius: 50%;
    background: #fff
}

/* MARQUEE */
/* @keyframes marquee {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.marquee-track {
    animation: marquee 24s linear infinite;
    display: flex;
    gap: 12px
} */

.marquee-wrap:hover .marquee-track {
    animation-play-state: paused
}

.hero-deco-book {
    position: absolute;
    filter: drop-shadow(0 16px 48px rgba(28, 18, 9, .18))
}