* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    /* outline: red 1px solid; */
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #fef6e4, #ffd6a5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    height: 70px;
    /* background-color: #fef6e4; */
    background: none;
}

.logo {
    font-weight: 900;
    font-size: 30px;
}

.LogoMan {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 10px;
    justify-content: flex-start;
}

.LogoMan i {
    font-size: 1.5rem;
    font-weight: 900;
}

.fa-solid {
    font-size: 20px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    font-weight: 700;
    color: black;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #e63946;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #e63946;
    border-bottom: 2px solid #e63946;
}

.nav-link.active::after {
    width: 0;
}

.line {
    margin-top: 0px;
    height: 3px;
    width: 100%;
    background-color: rgb(175, 114, 0);
}

.nav-link:hover {
    color: #e63946;
}

.hero {
    /* background-color: #fef6e4; */
    background: none;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 450px; */
}

.form {
    background-color: white;
    width: 620px;
    height: 500px;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: space-evenly;
    padding-left: 40px;
    padding-right: 80px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(230, 57, 70, 0.1);
    transition: transform 0.3s ease;
    /* gap: 5px; */
}

.form label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* color: #555; */
    margin-bottom: -5px;
}


.form h3 {
    font-size: 30px;
    color: #e63946;
}

.form h3 i {
    font-size: 30px;
}

.form input {
    margin-top: 0px;
    height: 30px;
    border-radius: 5px;
    height: 40px;
    padding-left: 10px;
    border: 1px solid #ccc;
    background-color: #fafafa;
    border: 1.5px solid #eee;
    transition: all 0.3s ease;
    font-size: 14px;
}

.form input:focus {
    outline: none;
    border-color: #e63946;
    background-color: white;
    box-shadow: 0 0 8px rgba(230, 57, 70, 0.2);
    transform: translateY(-2px);
    /* Slight lift */
}

.form input:hover {
    border: 2px solid black;
}

.form button {
    background-color: #e63946;
    color: white;
    height: 40px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
}

.form button:hover {
    background-color: #c72f3a;
    cursor: pointer;
}

.line2 {
    height: 1px;
    background-color: #e63946;
    width: 100%;
}

.line {
    margin-top: 0px;
    height: 3px;
    width: 100%;
    background-color: rgb(175, 114, 0);
}

.bookSummary {
    height: 400px;
    width: 100%;
    /* background-color: #fef6e4; */
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 220px;
}

.summaryText {
    min-height: 150px;
    flex: 1;
    padding-left: 120px;
    line-height: 35px;
    font-size: 20px;
    text-align: center;
}

.sumImg {
    flex: 1;
    /* border: 2px solid black; */
    border-radius: 20px;
    height: 300px;
    width: 120px;
    overflow: hidden;
    text-align: center;
    display: none;
}

.sumImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* image crop hoke perfect fit */
    border-radius: 20px;
}

.jspart {
    color: #e63946;
    font-weight: 700;
}

.toast {
    position: fixed;
    top: 20px;
    right: 30px;
    background-color: #333;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    font-weight: 800;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.loader {
    width: 18px;
    height: 18px;
    border: 3px solid white;
    border-top: 3px solid transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.7s linear infinite;
}

/* .hero,
.bookSummary {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 20px;
} */

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.toast span i {
    font-size: 18px;
}

.toast.show {
    opacity: 1;
    transform: translateY(0px);
}

.toast.success {
    background-color: #2ecc71;
}

.toast.error {
    background-color: #e63946;
}