﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Calibri, 'Poppins',sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #F5F0E8;
    overflow-x: hidden;
}

/* HEADER */

header {
    height: 100vh;
    background: linear-gradient(rgba(35,35,35,.55), rgba(35,35,35,.55)), url("https://images.unsplash.com/photo-1521587760476-6c12a4b040da?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
}

/* NAVIGATION */

.navbar {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    position: fixed;
    padding: 5px 8%;
    align-items: center;
    backdrop-filter: blur(12px);
    justify-content: space-between;
    background: #444;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

    .logo i {
        font-size: 42px;
        color: tomato;
    }

    .logo h2 {
        font-size: 20px;
    }

    .logo span {
        font-size: 13px;
        opacity: .9;
    }

.navbar ul {
    display: flex;
    list-style: none;
}

    .navbar ul li {
        position: relative;
    }

        .navbar ul li a {
            display: block;
            padding: 18px 22px;
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            transition: .35s;
        }

            .navbar ul li a:hover {
                background: tomato;
                color: #fff;
            }

/* Dropdown */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #F5F0E8;
    width: 220px;
    display: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

    .dropdown-menu li {
        width: 100%;
    }

        .dropdown-menu li a {
            color: #444;
            padding: 15px 20px;
        }

            .dropdown-menu li a:hover {
                background: tomato;
                color: #fff;
            }

.dropdown:hover .dropdown-menu {
    display: block;
}

/* HERO */

.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    color: #fff;
}

    .hero h1 {
        font-size: 65px;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 20px;
        max-width: 750px;
        line-height: 1.8;
        margin-bottom: 35px;
    }

.btn {
    padding: 16px 42px;
    background: tomato;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: .35s;
}

    .btn:hover {
        background: #fff;
        color: tomato;
        transform: translateY(-4px);
    }

/* MOBILE MENU */

#menu {
    display: none;
}

.menu-btn {
    display: none;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}


/*----------------------------------------------Book Search Result ---------------------------------------------*/
/* =========================================
   MAIN SECTION
========================================= */

.book-search-section {
    width: 100%;
    margin: 0;
    padding: 150px 8%;
}


/* =========================================
   SEARCH AREA
========================================= */

.book-search-container {
    width: 100%;
    padding: 55px 7%;
    background: #FF6347;
    position: relative;
    overflow: hidden;
}


    /* Decorative circles */

.book-search-container::before,
.book-search-container::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.18);
}

    .book-search-container::before {
        width: 250px;
        height: 250px;
        right: -80px;
        top: -100px;
    }

    .book-search-container::after {
        width: 160px;
        height: 160px;
        left: -70px;
        bottom: -90px;
    }


/* =========================================
   HEADING
========================================= */

.book-search-section-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #FFFFFF;
    position: relative;
    z-index: 2;
}

.book-search-heading-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: #FF6347;
    border-radius: 18px;
    font-size: 30px;
    box-shadow: 0 12px 30px rgba(80,20,10,0.20);
    transform: rotate(-4deg);
}

.book-search-small-title {
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 600;
}

.book-search-section-heading h2 {
    font-size: clamp(28px, 4vw, 45px);
    line-height: 1.2;
    margin: 4px 0;
}

.book-search-section-heading p {
    font-size: 14px;
    opacity: 0.9;
}


/* =========================================
   SEARCH BOX
========================================= */

.book-search-search-box {
    max-width: 1000px;
    margin: 35px auto 0;
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.book-search-search-input {
    flex: 1;
    position: relative;
}

    .book-search-search-input i {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #FF6347;
        font-size: 18px;
    }

    .book-search-input input {
        width: 100%;
        height: 58px;
        border: 3px solid transparent;
        border-radius: 12px;
        background: #FFFFFF;
        color: #3D2925;
        padding: 0 20px 0 52px;
        outline: none;
        font-family: inherit;
        font-size: 14px;
        transition: 0.3s ease;
    }

.book-search-input input:focus {
    border-color: #F5E6D3;
    box-shadow: 0 0 0 5px rgba(255,255,255,0.15);
}


/* Search Button */

.book-search-btn {
    height: 58px;
    padding: 0 28px;
    border: 0;
    border-radius: 12px;
    background: #3D2925;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(60,30,20,0.25);
}

    .book-search-btn i {
        margin-right: 7px;
    }

    .book-search-btn:hover {
        background: #FFFFFF;
        color: #FF6347;
        transform: translateY(-3px);
    }


/* =========================================
   RESULTS CONTAINER
========================================= */

.book-search-results-container {
    width: 100%;
    padding: 50px 7%;
    /*background: #F5E6D3;*/
}


/* =========================================
   RESULT HEADER
========================================= */

.book-search-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

    .book-search-result-header span {
        color: #FF6347;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .book-search-result-header h3 {
        color: #3D2925;
        font-size: 30px;
        margin-top: 4px;
    }

.book-search-result-count {
    padding: 12px 20px;
    background: #FFFFFF;
    color: #3D2925;
    border-left: 5px solid #FF6347;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(80,40,20,0.08);
}

    .book-search-result-count i {
        color: #FF6347;
        margin-right: 7px;
    }


/* =========================================
   BOOK GRID
========================================= */

.book-search-book-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}


/* =========================================
   BOOK CARD
========================================= */

.book-search-book-card {
    background: #FFFFFF;
    /*border-radius: 16px;*/
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(80,40,20,0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    animation: cardAppear 0.6s ease both;
}

    .book-search-book-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 45px rgba(255,99,71,0.22);
    }


/* =========================================
   BOOK IMAGE
========================================= */

.book-search-book-image {
    height: 270px;
    background: #ead6c0;
    position: relative;
    overflow: hidden;
}

    .book-search-book-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: 0.5s ease;
    }

.book-search-book-card:hover .book-image img {
    transform: scale(1.08);
}


/* Image overlay */

.book-search-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,99,71,0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 38px;
    opacity: 0;
    transition: 0.35s ease;
}

.book-search--book-card:hover .image-overlay {
    opacity: 1;
}


/* =========================================
   BOOK BADGE
========================================= */

.book-search--book-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    background: #FFFFFF;
    color: #FF6347;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}


/* =========================================
   BOOK DETAILS
========================================= */

.book-search-book-details {
    padding: 23px;
}

.book-search-book-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #FF6347;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.book-search-book-details h4 {
    color: #3D2925;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 16px;
}


/* Book Information */

.book-search-book-info {
    color: #715A51;
    color: #000000;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 9px 0;
}

    .book-search-book-info i {
        width: 20px;
        color: #FF6347;
    }

.sbook-search-book-info strong {
    color: #3D2925;
}


/* =========================================
   VIEW BOOK BUTTON
========================================= */

.book-search-view-book {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: #FF6347;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

    .book-search-view-book i {
        transition: 0.3s ease;
    }

    .book-search-view-book:hover {
        color: #3D2925;
    }

        .book-search-view-book:hover i {
            transform: translateX(6px);
        }


/* =========================================
   NO RESULT
========================================= */

.book-search-no-result {
    display: none;
    text-align: center;
    padding: 70px 20px;
    background: #FFFFFF;
    border-radius: 15px;
}

    .book-search-no-result i {
        font-size: 55px;
        color: #FF6347;
        margin-bottom: 15px;
    }

    .book-search-no-result h3 {
        font-size: 24px;
        color: #3D2925;
    }

    .book-search-no-result p {
        margin-top: 7px;
        color: #715A51;
    }


/* =========================================
   ANIMATION
========================================= */

@keyframes cardAppear {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .book-search-book-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .book-search-container,
    .results-container {
        padding-left: 5%;
        padding-right: 5%;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .book-search-container {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .book-search-heading {
        align-items: flex-start;
    }

    .book-search-heading-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
        font-size: 23px;
    }

    .book-search-section-heading h2 {
        font-size: 27px;
    }

    .book-search-section-heading p {
        font-size: 12px;
    }

    .book-search-box {
        flex-direction: column;
    }

    .book-search-btn {
        width: 100%;
    }

    .book-search-results-container {
        padding-top: 35px;
    }

    .book-search-result-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

        .book-search-result-header h3 {
            font-size: 25px;
        }

    .book-search-result-count {
        width: 100%;
    }

    .book-search-book-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .book-search-book-image {
        height: 300px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .book-search-section-heading {
        gap: 12px;
    }

    .book-search-heading-icon {
        display: none;
    }

    .book-search-section-heading h2 {
        font-size: 24px;
    }

    .book-search-book-image {
        height: 260px;
    }
}
/*----------------------------------------------Book Search Result ---------------------------------------------*/

:root {
    --tomato: #ff6347;
    --dark-tomato: #e5533d;
    --light-tomato: #fff1ee;
    --white: #ffffff;
    --text: #303030;
    --muted: #777777;
    --border: #eeeeee;
    --green: #198754;
    --red: #dc3545;
}
/*--------------------------------------------------------------------------Book Lis--------------------------------------------------------------------------*/
/* ================================
   BOOKLIST - MAIN SECTION
================================ */

.bl-book-section {
    width: 100%;
    padding: 150px 8%;
}


/* ================================
   SECTION HEADER
================================ */

.bl-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    margin-bottom: 15px;
    color: var(--white);
    background: linear-gradient( 135deg, var(--tomato), var(--dark-tomato) );
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(255, 99, 71, 0.20);
}

.bl-small-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.85;
    margin-bottom: 4px;
}

.bl-section-header h2 {
    font-size: 25px;
}

    .bl-section-header h2 i {
        margin-right: 8px;
    }


/* ================================
   BOOK COUNTER
================================ */

.bl-book-total {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 30px;
}

    .bl-book-total i {
        font-size: 18px;
    }

    .bl-book-total strong {
        font-size: 22px;
    }

    .bl-book-total span {
        font-size: 13px;
    }

/* ================================
   MAIN SECTION
================================ */

.bl-section {
    width: 100%;
    padding: 25px;
}


/* ================================
   SECTION HEADER
================================ */

.bl-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    margin-bottom: 15px;
    color: var(--white);
    background: linear-gradient( 135deg, var(--tomato), var(--dark-tomato) );
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(255, 99, 71, 0.20);
}

.bl-small-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.85;
    margin-bottom: 4px;
}

.bl-section-header h2 {
    font-size: 25px;
}

    .bl-section-header h2 i {
        margin-right: 8px;
    }


/* ================================
   BOOK COUNTER
================================ */

.bl-book-total {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 30px;
}

    .bl-book-total i {
        font-size: 18px;
    }

    .bl-book-total strong {
        font-size: 22px;
    }

    .bl-book-total span {
        font-size: 13px;
    }


/* ================================
   BOOK LIST
================================ */

.bl-book-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* ================================
   BOOK CARD
================================ */

.bl-book-card {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: var(--white);
    border-left: 5px solid var(--tomato);
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .bl-book-card:hover {
        /*transform: translateY(-4px);*/
        border-left-color: var(--dark-tomato);
        box-shadow: 0 10px 25px rgba(255, 99, 71, 0.16);
    }


/* ================================
   BOOK IMAGE
================================ */

.bl-book-image {
    width: 90px;
    height: 115px;
    overflow: hidden;
    border-radius: 7px;
    background: var(--light-tomato);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

    .bl-book-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.bl-book-card:hover .book-image img {
    transform: scale(1.08);
}


/* ================================
   BOOK INFORMATION
================================ */

.bl-book-info {
    min-width: 0;
}

.bl-book-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 13px;
}

    .bl-book-title h3 {
        color: #333;
        font-size: 18px;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


/* ================================
   BADGES
================================ */

.bl-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

    .bl-badge.available {
        color: var(--green);
        background: #e9f8ef;
    }

    .bl-badge.issued {
        color: var(--red);
        background: #fdebec;
    }


/* ================================
   DETAILS
================================ */

.bl-book-details {
    display: grid;
    grid-template-columns: repeat(5, minmax(100px, 1fr));
    gap: 10px;
}

.bl-detail {
    min-width: 0;
    padding: 9px 10px;
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.bl-book-card:hover .detail {
    background: var(--light-tomato);
    border-color: #ffd4cb;
}

.bl-detail span {
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

    .bl-detail span i {
        color: var(--tomato);
        margin-right: 3px;
    }

.bl-detail strong {
    display: block;
    color: #333;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ================================
   ACTION BUTTON
================================ */

.bl-book-action button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 85px;
    padding: 10px 14px;
    border: none;
    border-radius: 7px;
    color: var(--white);
    background: var(--tomato);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255,99,71,0.20);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

    .bl-book-action button:hover {
        background: var(--dark-tomato);
        transform: translateY(-2px);
        box-shadow: 0 7px 16px rgba(255,99,71,0.30);
    }


/* ================================
   TABLET
================================ */

@media (max-width: 1000px) {

    .bl-book-card {
        grid-template-columns: 80px minmax(0, 1fr) auto;
    }

    .bl-book-image {
        width: 80px;
        height: 105px;
    }

    .bl-book-details {
        grid-template-columns: repeat(3, minmax(100px, 1fr));
    }
}


/* ================================
   MOBILE
================================ */

@media (max-width: 700px) {

    .bl-book-section {
        padding: 12px;
    }

    .bl-section-header {
        padding: 17px;
        align-items: flex-start;
        flex-direction: column;
    }

        .bl-section-header h2 {
            font-size: 21px;
        }

    .bl-book-total {
        align-self: stretch;
        justify-content: center;
    }

    .bl-book-card {
        display: grid;
        grid-template-columns: 75px 1fr;
        gap: 13px;
        padding: 13px;
    }

    .bl-book-image {
        width: 75px;
        height: 100px;
    }

    .bl-book-title {
        display: block;
        margin-bottom: 10px;
    }

        .bl-book-title h3 {
            white-space: normal;
            font-size: 16px;
            margin-bottom: 7px;
        }

    .bl-badge {
        font-size: 10px;
    }

    .bl-book-details {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .bl-book-action {
        grid-column: 1 / -1;
    }

        .bl-book-action button {
            width: 100%;
        }
}


/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 420px) {

    .bl-book-section {
        padding: 8px;
    }

    .bl-book-card {
        grid-template-columns: 65px 1fr;
        gap: 10px;
    }

    .bl-book-image {
        width: 65px;
        height: 88px;
    }

    .bl-book-title h3 {
        font-size: 14px;
    }

    .bl-book-details {
        grid-template-columns: 1fr;
    }

    .bl-detail {
        padding: 8px;
    }

        .bl-detail strong {
            font-size: 11px;
        }
}
/*--------------------------------------------------------------------------Book Lis--------------------------------------------------------------------------*/


/*----------------------------------------------Library Timings-------------------------------------------------*/
/* TIMINGS */

.timings {
    /*background: #E94F37;*/
    text-align: center;
    color: #E94F37;
    margin-bottom: 30px;
}

    .timings h2 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .timings .line {
        background: #fff;
        margin: auto;
        margin-bottom: 50px;
    }

.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    color: #333;
    padding: 40px;
    width: 300px;
    border-radius: 15px;
    transition: .4s;
    box-shadow: 0 15px 30px rgba(0,0,0,.2);
}

    /*.card:hover {
        transform: translateY(-10px);
    }*/

    .card i {
        font-size: 55px;
        color: #E94F37;
        margin-bottom: 20px;
    }

    .card h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .card p {
        font-size: 18px;
        font-weight: 500;
    }
/*----------------------------------------------Library Timings-------------------------------------------------*/
/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .book-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-container,
    .results-container {
        padding-left: 5%;
        padding-right: 5%;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .search-container {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .heading-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
        font-size: 23px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .section-heading p {
        font-size: 12px;
    }

    .search-box {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
    }

    .results-container {
        padding-top: 35px;
    }

    .result-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

        .result-header h3 {
            font-size: 25px;
        }

    .result-count {
        width: 100%;
    }

    .book-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .book-image {
        height: 300px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .section-heading {
        gap: 12px;
    }

    .heading-icon {
        display: none;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .book-image {
        height: 260px;
    }
}
/*          Book Search Result          */

/* ---------------------------------------------------------------------------------------------------------------------------------------------*/
/* You need to add every style class below you add above [Device compatibility]*/

/* RESPONSIVE */

@media(max-width:900px) {

    .menu-btn {
        display: block;
    }

    .navbar {
        flex-wrap: wrap;
    }

        .navbar ul {
            width: 100%;
            display: none;
            flex-direction: column;
            background: #FAEBD7;
            margin-top: 20px;
        }

            .navbar ul li {
                width: 100%;
            }

                .navbar ul li a {
                    color: #444;
                }

    .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        box-shadow: none;
        background: #fff;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    #menu:checked ~ ul {
        display: flex;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }
}

/*-------------------------------------------Search Section [Start]-----------------------------------------------------*/

/* ========================= */

.search-section {
    width: 100%;
    /*background: #F4E5D4;*/
    padding: 70px 8%;
}

.search-content {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

    .search-content h2 {
        color: #E94F37;
        font-size: 42px;
        margin-bottom: 18px;
    }

    .search-content p {
        color: #555;
        font-size: 18px;
        margin-bottom: 40px;
        line-height: 1.8;
    }

/* ========================= */

.search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
    transition: .4s;
}

    .search-box:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 35px rgba(0,0,0,.20);
    }

    /* ========================= */

    .search-box input {
        width: 100%;
        border: none;
        outline: none;
        padding: 22px 30px;
        font-size: 18px;
        background: white;
        color: #444;
    }

        .search-box input::placeholder {
            color: #999;
        }

        .search-box input:focus {
            background: #FFF9F3;
        }

    /* ========================= */

    .search-box button {
        border: none;
        background: #E94F37;
        color: white;
        padding: 22px 38px;
        font-size: 18px;
        cursor: pointer;
        transition: .4s;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .search-box button:hover {
            background: #c93a22;
            letter-spacing: 1px;
        }

        .search-box button:active {
            transform: scale(.96);
        }

/* ========================= */

@media(max-width:768px) {

    .search-box {
        flex-direction: column;
        border-radius: 20px;
    }

        .search-box input {
            width: 100%;
            border-bottom: 1px solid #eee;
            text-align: center;
        }

        .search-box button {
            width: 100%;
            justify-content: center;
        }

    .search-content h2 {
        font-size: 32px;
    }
}

/* No white space between sections */

section {
    margin: 0;
}
/*-------------------------------------------Search Section [End]-------------------------------------------------------*/

/*-------------------------------------------Text Area - About Us Page -------------------------------------------------*/
/* Text Section */
.text-section {
    width: 100%;
    padding: 150px 8%;
}

/* Content Container */
.text-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

    /* Section Heading */
    .text-container h2 {
        margin-bottom: 20px;
        text-align: center;
        font-size: clamp(24px, 4vw, 36px);
        color: #800020;
        color: tomato;
    }

    /* Paragraph */
    .text-container p {
        margin-bottom: 18px;
        font-size: clamp(15px, 1.5vw, 18px);
        line-height: 1.8;
        text-align: justify;
        text-justify: inter-word;
    }

    .text-container ul li {
        font-size: clamp(15px, 1.5vw, 18px);
        line-height: 1.8;
        text-align: justify;
        text-justify: inter-word;
    }

    /* Tablet */
    @media (max-width: 768px) {

        .text-section {
            padding: 150px 18px;
        }

        .text-container h2 {
            margin-bottom: 16px;
        }

        .text-container p {
            line-height: 1.7;
        }
    }
    /* Mobile */
    @media (max-width: 480px) {

        .text-section {
            padding: 150px 15px;
        }

        .text-container h2 {
            font-size: 24px;
            margin-bottom: 15px;
        }

        .text-container p {
            font-size: 15px;
            line-height: 1.65;
            text-align: justify;
        }
    }
    
    /*-------------------------------------------Text Area - About Us Page -------------------------------------------------*/
    
    /*-------------------------------------------Categorywise books---------------------------------------------------------*/

/* Main Section */
.book-category-section {
    width: 100%;
    padding: 150px 8%;
}

/* Heading */
.section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.heading-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: tomato;
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(255, 99, 71, 0.30);
}

.section-heading h2 {
    color: tomato;
    font-size: clamp(25px, 4vw, 38px);
    margin-bottom: 8px;
}

.section-heading p {
    color: #777;
    font-size: 15px;
}

/* Responsive Grid */
.book-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1300px;
    margin: auto;
}



    /* Card */
    .book-card {
    position: relative;
    min-height: 170px;
    padding: 25px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    background: #fff;
    border: 2px solid tomato;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
}

    /* Decorative graphic */
        .book-card::before {
            content: "";
            position: absolute;
            width: 120px;
            height: 120px;
            right: -45px;
            top: -45px;
            border-radius: 50%;
            background: rgba(255, 99, 71, 0.10);
            transition: 0.4s ease;
        }

        .book-card::after {
            content: "";
            position: absolute;
            width: 80px;
            height: 80px;
            left: -35px;
            bottom: -35px;
            border-radius: 50%;
            border: 12px solid rgba(255, 99, 71, 0.08);
        }

    /* Hover */
        .book-card:hover {
            transform: translateY(-8px);
            background: tomato;
            border-color: tomato;
            color: #fff;
            box-shadow: 0 18px 35px rgba(255, 99, 71, 0.30);
        }

            .book-card:hover::before {
                transform: scale(1.8);
                background: rgba(255, 255, 255, 0.10);
            }

/* Icon */
.book-icon {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: tomato;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 8px 18px rgba(255, 99, 71, 0.25);
    transition: 0.35s ease;
}

.book-card:hover .book-icon {
    background: #fff;
    color: tomato;
    /*transform: rotate(-6deg) scale(1.08);*/
}

/* Content */
.book-content {
    position: relative;
    z-index: 2;
    flex: 1;
    margin-left: 10px;
}

    .book-content h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .book-content strong {
        display: block;
        color: tomato;
        font-size: 30px;
        line-height: 1;
        margin-bottom: 5px;
    }

.book-card:hover .book-content strong {
    color: #fff;
}

.book-content span {
    display: block;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-card:hover .book-content span {
    color: #fff;
    color: yellow;
}

/* Arrow */
.card-arrow {
    position: relative;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: tomato;
    font-size: 14px;
    transition: 0.35s ease;
}

.book-card:hover .book--arrow {
    transform: translateX(5px);
    background: tomato;
    color: #fff;
    border: 1px solid #fff;
}

/* Tablet */
@media (max-width: 900px) {
    .book-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .book-category-section {
        padding: 35px 4%;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .book-category-section {
        padding: 30px 15px;
    }

    .book-category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .book-card {
        min-height: 145px;
        padding: 20px;
    }

    .book-icon {
        width: 60px;
        height: 60px;
        font-size: 25px;
    }

    .book-content h3 {
        font-size: 18px;
    }

    .book-content strong {
        font-size: 26px;
    }

    .card-arrow {
        width: 34px;
        height: 34px;
    }
}

/* Very Small Devices */
@media (max-width: 380px) {
    .book-card {
        padding: 15px;
        gap: 12px;
    }

    .book-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .book-content strong {
        font-size: 23px;
    }

    .book-content span {
        font-size: 10px;
    }

    .card-arrow {
        display: none;
    }
}
    /*-------------------------------------------Categorywise books---------------------------------------------------------*/

    
    /*-------------------------------------------Footer Section [Start]-----------------------------------------------------*/
    /* Footer */

    footer {
    background: #ff6347;
    color: white;
    width: 100%;
    margin: 0;
    padding: 70px 7%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 45px;
}

.footer-box h2 {
    margin-bottom: 20px;
    font-size: 25px;
    font-weight: bold;
}

.footer-box p {
    line-height: 28px;
    font-size: 15px;
}

.footer-box p a{
    color: white;
    text-decoration: none;
}
    .footer-box p a:hover {
        color: white;
        text-decoration: underline;
    }

.footer-box ul {
    list-style: none;
}

    .footer-box ul li {
        margin: 15px 0;
    }

        .footer-box ul li a {
            text-decoration: none;
            color: white;
            font-size: 16px;
            transition: .4s;
        }

            .footer-box ul li a:hover {
                padding-left: 10px;
                color: #F5F0E6;
            }

.timing li {
    color: white;
}

.social-icons {
    margin-top: 30px;
}

    .social-icons a {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 48px;
        height: 48px;
        background: white;
        border-radius: 50%;
        margin-right: 10px;
        text-decoration: none;
        transition: .4s;
    }

    .social-icons i {
        color: #ff6347;
        font-size: 22px;
    }

    .social-icons a:hover {
        background: #F5F0E6;
        transform: translateY(-8px) rotate(360deg);
    }


.copyright {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,.4);
    text-align: center;
    font-size: 15px;
    letter-spacing: 1px;
}
    .copyright a {
        color: white;
        text-decoration: none;
    }
    .copyright a:hover {
        color: white;
        text-decoration: underline;
    }

    @media(max-width:768px) {

        footer {
            padding: 50px 25px;
        }

        .footer-container {
            gap: 35px;
        }
    }
    /*-------------------------------------------Footer Section [End]-------------------------------------------------------*/