* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black-color: #000000;
    --white-color: #ffffff;
    --green-color: #666634;
}

body {
    font-family: "Poppins", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Josefin Sans", sans-serif;
}

a {
    font-family: "Josefin Sans", sans-serif;
    text-decoration: none;
}

.theme-btn {
    background-color: var(--green-color);
    color: var(--white-color);
    font-size: 16px;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 100px;
    box-shadow: 0px 2px 10px 0px #0000004D;
    text-transform: capitalize;
    transition: all ease 0.3s;
}

.theme-btn:hover {
    background-color: var(--black-color);
    color: var(--white-color);
}

.black-btn {
    background-color: var(--black-color);
    color: var(--white-color);
    font-size: 16px;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 100px;
    box-shadow: 0px 2px 10px 0px #0000004D;
    text-transform: capitalize;
    transition: all ease 0.3s;
}

.black-btn:hover {
    background-color: var(--white-color);
    color: var(--green-color);
}

.para {
    color: #505050;
    font-size: 16px;
    font-weight: 400;
    line-height: 26.08px;
}

.small-heading {
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    color: var(--black-color);
    text-transform: capitalize;
}

.main-heading {
    color: var(--green-color);
    font-weight: 700;
    font-size: 50px;
}

/* header start */
.header {
    background-color: var(--black-color);
}

.header .navbar-nav {
    gap: 40px;
}

.header .nav-item .nav-link {
    color: var(--white-color);
    padding: 0;
    font-size: 16px;
    font-weight: 400;
}

.header .nav-item .nav-link.active {
    border-bottom: 2px solid var(--green-color);
}

.header-right a {
    background-color: var(--green-color);
    color: var(--white-color);
    font-size: 16px;
    font-weight: 700;
    padding: 20px 50px;
    border-radius: 100px;
    box-shadow: 0px 2px 10px 0px #0000004D;
    text-transform: capitalize;
    transition: all ease 0.3s;
}

.header-right a:hover {
    background-color: var(--white-color);
    color: var(--black-color);
}

/* header end */

/* banner start */
.banner-sec {
    background-image: url("../images/banner-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 136px 0px;
}

.banner-content h1 {
    font-weight: 700;
    font-size: 64px;
    text-transform: capitalize;
    color: var(--white-color);
    margin-bottom: 10px;
}

.banner-content p {
    font-weight: 400;
    font-size: 16px;
    color: var(--white-color);
}

.banner-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 20px;
}

.banner-book-right {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.banner-book-right::before {
    content: "";
    position: absolute;
    background-image: url("../images/banner-book-before.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    right: -150px;
    top: -20px;
    width: 128px;
    height: 128px;
    z-index: -1;
    animation: 0.9s alternate infinite vectorAnimate;
}

.banner-book2 {
    position: absolute;
    right: -100px;
    z-index: -1;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-content::before {
    content: "";
    position: absolute;
    background-image: url("../images/banner-content-before.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    right: 150px;
    top: -85px;
    width: 87px;
    height: 37px;
    z-index: 0;
    animation: 0.9s alternate infinite vectorAnimate;
}

.banner-content::after {
    content: "";
    position: absolute;
    background-image: url("../images/banner-content-after.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    right: 80px;
    bottom: -10rem;
    width: 40px;
    height: 39px;
    z-index: 0;
    animation: 0.9s alternate infinite vectorAnimate;
}

.banner-book-right {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.banner-book1 {
    position: relative;
    z-index: 2;
    animation: 6s ease-in-out infinite bookSwap1;
}

.banner-book2 {
    position: absolute;
    right: -100px;
    top: 0;
    transform: scale(0.8);
    animation: 6s ease-in-out infinite bookSwap2;
}

@keyframes bookSwap1 {
    0% {
        transform: translateX(0) scale(1);
        z-index: 2;
    }

    50% {
        transform: translateX(120px) scale(0.8);
        z-index: 1;
    }

    100% {
        transform: translateX(0) scale(1);
        z-index: 2;
    }
}

@keyframes bookSwap2 {
    0% {
        transform: translateX(0) scale(0.8);
        z-index: 1;
    }

    50% {
        transform: translateX(-120px) scale(1);
        z-index: 2;
    }

    100% {
        transform: translateX(0) scale(0.8);
        z-index: 1;
    }
}

/* banner end */

/* about author start */
.about-author-sec {
    background-image: url("../images/about-author-bg.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 0px;
}

.about-author-content h4 {
    margin-bottom: 20px;
}

.about-author-content h2 {
    margin-bottom: 20px;
}

.about-author-content p {
    margin-bottom: 20px;
}

.about-author-btn {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.about-author-image {
    position: relative;
    z-index: 1;
}

.about-author-image::before {
    content: "";
    position: absolute;
    background-image: url("../images/author-image-before.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    right: 130px;
    bottom: -50px;
    width: 192px;
    height: 192px;
    z-index: 0;
}

/* about author end */

/* about book start */
.about-book-sec {
    background-image: url("../images/about-book-1.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0px;
}

.about-book-content h4 {
    margin-bottom: 20px;
    color: var(--white-color);
}

.about-book-content h2 {
    margin-bottom: 20px;
    color: var(--black-color);
}

.about-book-content p {
    margin-bottom: 20px;
    color: var(--white-color);
}

.about-book-btn {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.about-book-sec2 {
    background-image: url("../images/banner-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0px;
}

/* about book end */

/* marquee start */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background-color: #000000;
    padding: 14px 0;
    box-sizing: border-box;
    user-select: none;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee-scroll 20s linear infinite;
    will-change: transform;
}

.marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.marquee-group span {
    color: #ffffff;
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: "Josefin Sans", sans-serif;
}

.marquee-group .diamond {
    margin: 0 45px;
    font-size: 2rem;
    color: #ffffff;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* marquee end */

/* blog start */
.blogs-sec {
    padding: 100px 0px;
}

.blog-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 45px;
}

.blog-content h2 {
    margin-bottom: 0;
}

.blog-box-content {
    background-color: var(--black-color);
    padding: 40px 40px;
    border-bottom: 3px solid var(--green-color);
}

.blog-box img {
    width: 100%;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

.blog-box .blog-box-content {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.blog-box-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 50px;
}

.blog-box-content h4 {
    color: var(--white-color);
    font-size: 24px;
    font-weight: 700;
}

/* blog end */

/* footer start */
.footer {
    background-color: var(--black-color);
    padding: 100px 0px;
}

.footer-center {
    text-align: center;
}

.footer-center ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style-type: none;
    gap: 10px;
    margin-top: 40px;
    margin-bottom: 0;
}

.footer-center ul li a {
    color: var(--white-color);
    background-color: var(--green-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 100px;
}

.footer-nav h3 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.footer-nav ul {
    padding-left: 0;
    margin: 0;
    list-style-type: none;
}

.footer-nav ul li a {
    color: var(--white-color);
    font-size: 16px;
    font-weight: 400;
    font-family: "Poppins", sans-serif;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-right h3 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.footer-right p {
    color: var(--white-color);
    font-size: 16px;
    font-weight: 400;
}

/* footer end */

/* copyright start */
.copyright {
    padding: 24px 0px;
    background-color: var(--green-color);
}

.copyright p {
    margin-bottom: 0;
    color: var(--white-color);
    text-align: center;
    font-family: "Josefin Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.copyright p span {
    color: var(--black-color);
    font-size: 16px;
    font-weight: 600;
}

/* copyright end */

/* help form section start */
.help-form-left h2 {
    font-size: 40px;
    font-weight: 800;
    color: #000;
    margin-bottom: 40px;
}

.help-form-left form input {
    width: 100%;
    padding: 22px 30px;
    margin-bottom: 20px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 20px;
    font-size: 16px;
    border: none;
    outline: none;
}

.help-form-left form textarea {
    width: 100%;
    padding: 22px 30px;
    margin-bottom: 20px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 20px;
    height: 150px;
    font-size: 16px;
    border: none;
    resize: none;
    outline: none;
}

.help-form-left form button {
    width: 100%;
    background-color: var(--green-color);
    color: #fff;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 100px;
    padding: 20px 0px;
}

.help-form-sec {
    padding: 100px 0px;
    background-color: var(--white-color);
}

.help-form-right {
    text-align: center;
    position: relative;
    z-index: 1;
}

.help-form-right::before {
    content: "";
    position: absolute;
    background-image: url("../images/contact-before.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    right: 0px;
    top: -50px;
    width: 241px;
    height: 248px;
    z-index: -1;
}

/* help form section end */

/* blog detail start */
.blog-detail-right {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.blog-details-sec {
    padding: 100px 0px;
}

.blog-content-box {
    margin-bottom: 60px;
}

.blog-detail-main {
    margin-bottom: 50px;
}

.blog-detail-left img {
    width: 100%;
}

.related-posts {
    background-color: #F6F6F4;
    border-radius: 20px;
    padding: 40px 30px;
}

.related-post-box a {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.related-posts h4 {
    color: var(--green-color);
    font-weight: 700;
    margin-bottom: 60px;
}

.related-post-box-content h4 {
    font-size: 20px;
}

.related-post-box-content p {
    font-size: 13px;
    font-weight: 500;
}

.related-post-box img {
    width: 100px;
    height: 100px;
    border-radius: 20px;
}

.related-post-box-content h4 {
    margin-bottom: 10px;
}

.related-post-box:last-child {
    margin-bottom: 0;
}

.blog-cta img {
    width: 100%;
}

.blog-cta {
    margin: 50px 0px;
}

.blog-newsletter {
    background-color: var(--green-color);
    padding: 50px 30px;
    border-radius: 20px;
}

.blog-newsletter-content {
    text-align: center;
}

.blog-newsletter-content form input {
    width: 100%;
    height: 52px;
    border-radius: 20px;
    border: none;
    outline: none;
    padding-left: 20px;
}

.blog-newsletter-content form button {
    color: var(--white-color);
    background-color: #282A13;
    width: 100%;
    height: 60px;
    margin-top: 15px;
    border-radius: 20px;
    outline: none;
    border: none;
}

.blog-newsletter-content h5 {
    font-size: 30px;
    font-weight: 600;
    color: var(--white-color);
}

.blog-newsletter-content p {
    color: var(--white-color);
}

.blog-content-box ul li {
    color: #505050;
    font-size: 16px;
    font-weight: 400;
}

.blog-content-box h2 {
    font-size: 40px;
}

/* blog detail end */

@keyframes vectorAnimate {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-10px);
    }
}