body {
    font-family: 'Noto Sans Kannada', sans-serif;
}

html {
    scroll-behavior: smooth;
}

h1 {
    line-height: 1.2 !important;
}

body.header-active {
    padding-top: 80px;
}

/* headers */
#siteHeader {

    transition:
        transform .4s ease,
        box-shadow .4s ease;

    z-index: 999;
}

#siteHeader.sticky-header {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    background: rgba(255, 255, 255, .96);

    backdrop-filter: blur(10px);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .08);

    animation:
        dropHeader .4s ease;
}

@keyframes dropHeader {

    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.active-menu {

    color: #dc2626 !important;
    font-weight: 600;
    position: relative;
}

.active-menu::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -10px;

    width: 100%;
    height: 2px;

    background: #dc2626;
}

/* Custom styles for the hero section */
.book-frame {
    position: relative;
    z-index: 5;
}

.hero-book-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    background: radial-gradient(circle,
            rgba(220, 38, 38, 0.12),
            rgba(220, 38, 38, 0));

    border-radius: 50%;
}

.book-base {
    position: absolute;
    width: 520px;
    height: 620px;

    left: 50%;
    top: 55%;

    transform: translate(-50%, -50%);

    background: rgba(220, 38, 38, 0.05);

    border-radius: 999px;

    z-index: 1;
}

.book-card {
    transition: all .3s ease;
}

.book-card:hover {
    transform: translateY(-6px);
}

.hero-content::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(220, 38, 38, 0.03);
    border-radius: 50%;
    top: -60px;
    left: -80px;
}

/* featured section */
.book-card {
    transition: all .3s ease;
}

.book-card:hover {
    transform: translateY(-10px);
}

.book-card img {
    box-shadow: 0 15px 30px rgba(0, 0, 0, .08);
}

/* quote section */
.quote-section {
    background:
        linear-gradient(rgba(255, 255, 255, .3),
            rgba(255, 255, 255, .3)),
        #f8f4ed;
}

/* author section */
.author-bg {
    position: absolute;
    width: 320px;
    height: 320px;

    background: rgba(220, 38, 38, .08);

    border-radius: 50%;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
}

.author-image {
    position: relative;
    z-index: 10;

    width: 300px;
    height: 300px;

    object-fit: cover;

    border-radius: 50%;

    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

/* new arrivals section */
.arrival-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: center;
}

.arrival-cover {
    width: 220px;
    border-radius: 16px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .08);
}

@media (max-width:768px) {

    .arrival-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .arrival-cover {
        margin: auto;
    }
}

/* About section */
.about-card {

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 24px;
}

.stat-item {

    background: #faf8f3;

    padding: 40px;

    border-radius: 24px;

    text-align: center;

    transition: .3s;

    border: #dcdcdc 1px solid;
}

.stat-item:hover {

    transform: translateY(-5px);
}

.stat-item h3 {

    font-size: 3rem;
    font-weight: 700;

    color: #dc2626;
}

.stat-item p {

    margin-top: 10px;

    color: #666;
}

/* category section */
.categories-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 24px;
}

.category-card {

    background: white;

    border-radius: 24px;

    padding: 40px 20px;

    text-align: center;

    transition: all .3s ease;

    text-decoration: none;
}

.category-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .08);
}

.category-card span {

    font-size: 3rem;

    display: block;
}

.category-card h3 {

    margin-top: 20px;

    font-size: 1.25rem;

    font-weight: 600;

    color: #222;
}

/* books page */
.category-btn {

    padding: 10px 18px;

    border-radius: 999px;

    background: #f4f4f4;

    transition: .3s;
}

.category-btn:hover {

    background: #dc2626;
    color: white;
}

/* author page */
.author-card {

    text-align: center;

    transition: .3s;
}

.author-card:hover {

    transform: translateY(-8px);
}

.author-photo {

    width: 220px;
    height: 220px;

    object-fit: cover;

    border-radius: 50%;

    margin: auto;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .08);
}

/* author details page */
.author-detail-photo {

    width: 350px;
    height: 350px;

    object-fit: cover;

    border-radius: 50%;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .10);
}

/* blog details page */
.prose p {

    margin-bottom: 1.5rem;

    line-height: 2;

    color: #444;
}

.prose h2 {

    font-size: 2rem;

    margin-top: 3rem;

    margin-bottom: 1rem;

    font-weight: 700;
}

.prose img {

    border-radius: 20px;

    margin: 2rem 0;
}

/* about us page */
.vision-card {

    background: white;

    padding: 40px;

    border-radius: 24px;

    text-align: center;

    transition: .3s;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .04);
}

.vision-card:hover {

    transform: translateY(-8px);
}

/* Contact page */
.contact-hero {
    position: relative;
    overflow: hidden;
    background-image:
        radial-gradient(rgba(0, 0, 0, .04) 1px,
            transparent 1px);

    background-size: 24px 24px;
    background: #f6f4ef;
}

.contact-hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -200px;
    right: -150px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(220, 38, 38, .04),
            transparent 70%);
}

.contact-hero::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    bottom: -150px;
    left: -100px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(0, 0, 0, .03),
            transparent 70%);
}

.contact-item {

    display: flex;

    gap: 20px;

    align-items: flex-start;
}

.contact-input {

    width: 100%;

    padding: 16px 20px;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    outline: none;

    transition: .3s;
}

.contact-input:focus {

    border-color: #dc2626;
}

.btn-primary {

    background: #dc2626;

    color: white;

    padding: 16px 24px;

    border-radius: 12px;

    transition: .3s;
}

.btn-primary:hover {

    background: #b91c1c;
}

.contact-hero::before {

    content: "ಅ";

    position: absolute;

    right: 5%;

    top: 50%;

    transform: translateY(-50%);

    font-size: 450px;

    color: rgba(0, 0, 0, .03);

    font-weight: 700;
}