@font-face {
    font-family: "Kenyan Coffee";
    src: url("/assets/webfonts/Kenyan Coffee Rg.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Kenyan Coffee";
    src: url("/assets/webfonts/Kenyan Coffee Bd.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: "Brittany Signature";
    src: url("/assets/webfonts/BrittanySignature.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

body {
    overflow-x: hidden;
    color: #333;
}

:root {
    --primary-red: #811518;
    --light-gray: #f2f2f2;
    --box-gray: #eaeaeb;
}

/* --- Global Helpers --- */

.btn-pill-red {
    background-color: var(--primary-red);
    color: white;
    border-radius: 30px;
    padding: 12px 45px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.btn-pill-red:hover {
    background-color: #6a1114;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(129, 21, 24, 0.35);
}
.section-padding {
    padding: 90px 0;
}

/* --- 1. Header --- */
.navbar {
    padding: 15px 0;
    background: #bcbcbc59;
    border-bottom: 1px solid #eee;
    backdrop-filter: blur(15px);
    box-shadow: 0px 0px 80px 0px #ffffff inset;
    border: 1px solid #aeaeae80;
    border-radius: 50px;
}
.navbar-brand h4 {
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

.nav-link {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    color: #000000 !important;
    margin: 0 20px;
    transition: all 0.3s ease;
}
.nav-link:hover {
    color: var(--primary-red) !important;
}

.btn-contact {
    background-color: var(--primary-red);
    color: white !important;
    border-radius: 25px;
    padding: 8px 25px;
    height: 50px;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-contact:hover {
    background-color: #6a1114;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(129, 21, 24, 0.35);
}
.navbar-brand img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.navbar-brand:hover img {
    transform: scale(1.04);
    opacity: 0.9;
}
.navbar-toggler {
    border: none;
    padding: 6px 8px;
}
.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* --- 2. Hero Section --- */
header {
    position: absolute;
    width: 100%;
    top: 4%;
}
.container-fluid {
    padding: 0 140px;
}
.logo-img {
    margin-left: 30px;
}
.hero-section {
    background-image: url("../images/banner.png");
    background-size: cover;
    padding: 260px 0 208px;
    position: relative;
}
.hero-subtitle {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #000000;
    font-family: "Open Sans", sans-serif;
}
.hero-book-img-container {
    position: absolute;
    top: -96px;
}
.hero-title {
    font-family: "Kenyan Coffee", sans-serif;
    font-weight: bold;
    font-size: 75px;
    line-height: 105px;
    text-transform: uppercase;
    background: linear-gradient(100.27deg, #000000 55.57%, #80161d 102.39%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}
.hero-title span {
    color: var(--primary-red);
}
.hero-book-img {
    filter: drop-shadow(20px 20px 30px rgba(0, 0, 0, 0.2));
    max-width: 100%;
    height: auto;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.hero-book-img:hover {
    transform: translateY(-8px) scale(1.03);
    filter: drop-shadow(24px 28px 36px rgba(0, 0, 0, 0.28));
}
.red-divider {
    height: 70px;
    background-color: var(--primary-red);
    margin-top: -30px;
    position: relative;
    z-index: -1;
}

/* --- 3. About Section --- */
.about-img-container {
}
.about-book-img {
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.3));
    max-width: 100%;
    height: auto;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.about-book-img:hover {
    transform: translateY(-8px) scale(1.03);
    filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.35));
}
.about-title {
    font-family: Kenyan Coffee;
    font-weight: 400;
    font-size: 75px;
    line-height: 102px;
    text-transform: uppercase;
    background: linear-gradient(100.27deg, #000000 55.57%, #80161d 102.39%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}
.about-title span {
    color: var(--primary-red);
}

/* --- 4. Meet The Author --- */
.author-section {
    background-color: var(--primary-red);
    color: white;
    padding: 60px 0px !important;
}
.author-title {
    font-family: Kenyan Coffee;
    font-weight: 400;
    font-size: 75px;
    line-height: 102px;
    text-transform: uppercase;
    background: linear-gradient(100.27deg, #ffffff 55.57%, #80161d 102.39%);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}
.author-img-container {
    margin-top: -150px;
}
.author-img {
    max-width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}
.author-img:hover {
    transform: scale(1.03);
}
.author-section p {
    font-family: Nunito;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
}

.signature {
    font-family: "Brittany Signature", cursive;
    font-weight: 400;
    color: white;
    margin-top: 15px;
    font-size: 40px;
    line-height: 45px;
    text-align: center;
}
.btn-author {
    background-color: white;
    color: black;
    border-radius: 25px;
    padding: 10px 45px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-author:hover {
    background-color: #111;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

/* --- 5. Table of Content --- */
.toc-section {
    background-color: #f3f3f3;
}
.toc-header {
    margin-bottom: 48px;
}
.toc-title {
    font-family: "Kenyan Coffee", sans-serif;
    font-weight: 700;
    font-size: 75px;
    line-height: 0.95;
    text-transform: uppercase;
    background: linear-gradient(100.27deg, #000000 55.57%, #80161d 102.39%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    margin: 0;
}
.toc-desc {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #4a4a4a;
    margin: 0;
    max-width: 520px;
}
.toc-grid > [class*="col-"] {
    margin-bottom: 24px;
    display: flex;
}
.toc-box {
    background-color: #e8e8e8;
    padding: 22px 28px;
    border-radius: 10px;
    font-family: "Open Sans", sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: #4a4a4a;
    width: 100%;
    min-height: 72px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 0 0 var(--primary-red);
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease;
}
.toc-box:hover {
    background-color: #dedede;
    color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 6px 0 0 var(--primary-red);
}
.toc-cta {
    margin-top: 28px;
}

/* --- 6. Buy Book Section --- */
.buy-section {
    background-color: var(--light-gray);
}
.buy-img-box {
    display: flex;
    align-items: center;
    justify-content: center;
}
.buy-img-box img {
    width: 80%;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(15px 15px 30px rgba(0, 0, 0, 0.25));
    transition: transform 0.4s ease, filter 0.4s ease;
}
.buy-img-box img:hover {
    transform: translateY(-8px) scale(1.03);
    filter: drop-shadow(18px 22px 34px rgba(0, 0, 0, 0.3));
}
.buy-title {
    font-family: "Kenyan Coffee", sans-serif;
    font-weight: 400;
    font-size: 75px;
    line-height: 102px;
    text-transform: uppercase;
    background: linear-gradient(100.27deg, #000000 55.57%, #80161d 102.39%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}
.buy-title span {
    color: var(--primary-red);
}
.buy-tabs {
    display: flex;
    margin: 35px 0 20px 0;
    border-bottom: 1px solid #ccc;
}
.tab-link {
    padding: 12px 30px;
    color: #666;
    font-weight: 700;
    text-decoration: none !important;
    border-bottom: 4px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}
.tab-link:hover {
    color: var(--primary-red);
}
.tab-link.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}
.format-selector {
    background-color: var(--primary-red);
    color: white;
    padding: 18px 25px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.format-selector:hover {
    background-color: #6a1114;
    transform: translateY(-1px);
}
.btn-black {
    background-color: #000;
    color: white;
    border-radius: 35px;
    padding: 14px 45px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-black:hover {
    background-color: #222;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}
.btn-outline-red {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    border-radius: 35px;
    padding: 12px 45px;
    font-weight: 700;
    margin-left: 0;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-outline-red:hover {
    background-color: var(--primary-red);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(129, 21, 24, 0.3);
}
.buy-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* --- 7. Full Width CTA Section --- */
.skip-section {
    background:
        linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
        url("../images/skip.png");
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.skip-text {
    font-family: "Brittany Signature", cursive;
    font-weight: 400;
    font-size: 67px;
    line-height: 1.2;
    text-shadow: 3px 3px 20px rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}
.skip-section:hover .skip-text {
    transform: scale(1.03);
    text-shadow: 4px 6px 24px rgba(0, 0, 0, 0.7);
}

/* --- NEW: 8. Testimonials (What Do You Think Of Us) --- */
.testimonial-section {
    padding-top: 80px;
    position: relative;
    overflow: visible;
}
.testimonial-bg-split {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background-color: var(--primary-red);
    z-index: 1;
}
.testimonial-container {
    position: relative;
    z-index: 2;
}
.testi-title {
    font-family: "Kenyan Coffee", sans-serif;
    font-weight: 400;
    font-size: 75px;
    line-height: 102px;
    background: linear-gradient(100.27deg, #000000 55.57%, #80161d 102.39%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    margin-bottom: 80px;
}

.testimonial-card {
    background-color: #000;
    color: white;
    padding: 60px 30px 40px 30px;
    border-radius: 15px;
    border-top: 10px solid var(--primary-red);
    position: relative;
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}
.avatar-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 6px solid #fff;
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    object-fit: cover;
    background-color: #8ac6d1;
}
.testi-name {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.testi-para {
    font-size: 0.85rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* --- NEW: 9. Contact Us Section --- */
.contact-section {
    background-color: var(--primary-red);
    color: white;
    padding: 80px 0;
}
.contact-title {
    font-weight: 800;
    font-size: 4rem;
    text-transform: uppercase;
    line-height: 1;
}
.contact-title span {
    opacity: 0.5;
}
.form-control {
    border-radius: 30px;
    padding: 25px 30px;
    border: none;
    margin-bottom: 20px;
    font-size: 0.9rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.form-control:hover {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}
.form-control:focus {
    box-shadow: 0 0 0 3px rgba(4, 13, 18, 0.25);
    border-color: transparent;
}
textarea.form-control {
    border-radius: 20px;
    height: 180px;
}
.btn-submit {
    background-color: #040d12;
    color: white;
    border-radius: 30px;
    padding: 12px 60px;
    font-weight: 700;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-submit:hover {
    background-color: #1a1a1a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

/* --- NEW: 10. Footer --- */
.footer {
    background-color: #f5f5f5;
    border-top: 2px solid var(--primary-red);
    padding: 70px 0 80px;
    position: relative;
}
.footer::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 16px;
    background-color: var(--primary-red);
    border-top-left-radius: 20px;
}
.footer-logo {
    display: inline-block;
}
.footer-logo img {
    max-height: 78px;
    width: auto;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.footer-logo:hover img {
    transform: scale(1.04);
    opacity: 0.9;
}
.footer h5 {
    font-family: "Kenyan Coffee", sans-serif;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    margin-bottom: 22px;
    font-size: 1.35rem;
    letter-spacing: 0.4px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links li a {
    color: #333;
    text-decoration: none;
    font-family: "Open Sans", sans-serif;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.footer-links li a:hover {
    color: var(--primary-red);
}
.social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 16px;
    margin-right: 0;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}
.social-icons a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
.social-facebook {
    background-color: #1877f2;
}
.social-instagram {
    background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}
.social-twitter {
    background-color: #1da1f2;
}
.social-tiktok {
    background-color: #000;
}
.copyright {
    font-family: "Open Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a4a4a;
    margin: 0;
}
