* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

header {
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    align-items: center;
}
nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
}
.logo {
    font-size: 1.5em;
    font-weight: bold;
}
.content {
    position: relative;
    z-index: 1;
    overflow-y: auto; /* Change from overflow-y-scroll to overflow-y-auto */
    overflow-x: hidden;
}
.content h1 {
    font-size: 3em;
    font-weight: bold;
}
.content p {
    font-size: 1.2em;
    margin: 10px 0;
}
.btn {
    background: #20a4a4;
    padding: 10px 20px;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
}
.underline{
    width:100px;
    height: 4px;
    background-color: rgb(235, 123, 123);
}
.footer {
    padding: 40px;
background-color: #0b1121;
    color: #ffffff;
}
.footer h5 {
    font-weight: bold;
}
.footer a {
    color: #b0b3b8;
    text-decoration: none;
}
.footer a:hover {
    color: #ffffff;
}
.footer .social-icons a {
    color: #ffffff;
    margin-right: 10px;
}
.footer .btn-buy {
    background-color: #ff8c00;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    text-align: center;
    display: inline-block;
    margin-top: 10px;
}
.footer .btn-buy:hover {
    background-color: #e07b00;
}
.contact-header {
    text-align: center;
    margin-top: 50px;
}
.contact-header h1 {
    font-weight: 700;
    margin-bottom: 10px;
}
.contact-header p {
    font-weight: 400;
    letter-spacing: 2px;
}
.contact-header hr {
    width: 50px;
    border: 1px solid #00a99d;
    margin: 20px auto;
}
.form-group {
    margin-bottom: 30px;
}
.form-control {
    border: none;
    border-bottom: 1px solid #333;
    border-radius: 0;
    box-shadow: none;
}
.btn-custom {
    background-color: #00a99d;
    color: #fff;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-custom:hover {
    background-color: #008f8a;
}
.testimonial-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
}
.testimonial-card .quote {
    font-size: 2rem;
    color: #002855;
}
.testimonial-card .text {
    color: #6c757d;
    margin: 20px 0;
}
.testimonial-card .stars {
    color: #ffc107;
}
.testimonial-card .client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.testimonial-card .client-info img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-right: 10px;
}
.testimonial-card .client-info .name {
    font-weight: bold;
    color: #002855;
}
.hrline{
    width: 99%;
    height: 1px;
    background-color: #ffffff;
}
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: ' / ';
}
.product-title {
    font-size: 2rem;
    font-weight: bold;
}
.product-price {
    font-size: 1.5rem;
    color: #333;
}
.product-price span {
    color: #28a745;
}
.product-description {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.add-to-cart-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}
.add-to-cart-btn:hover {
    background-color: #0056b3;
}
.category {
    margin-top: 1rem;
}
.reduce-image{
    width:70%;
    aspect-ratio: 9/16;
}
.na-bar{
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    align-items: center;
}
.nav-tabs .nav-link.active {
    font-weight: bold;
    border: none;
    border-bottom: 2px solid black;
}
.nav-tabs .nav-link {
    color: #6c757d;
}
.nav-tabs .nav-link:hover {
    color: #000;
}
.content {
    margin-top: 20px;
}
.content h2 {
    font-size: 24px;
    font-weight: bold;
}
.content p {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}
.rating-stars {
    color: #ccc;
    font-size: 1.5rem;
}
.rating-stars .fa-star:hover,
.rating-stars .fa-star:hover ~ .fa-star {
    color: #ffcc00;
}
.product-card {
    border: none;
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 20px;
}
.product-card img {
    width: 100%;
    height: auto;
}
.card-body {
    overflow: hidden; /* Ensure no unnecessary overflow */
}
.product-card .card-body {
    padding: 10px 0;
}
.product-card .card-title {
    font-size: 1.25rem;
    font-weight: bold;
}
.product-card .card-text {
    color: #6c757d;
}
.product-card .price {
    font-size: 1.25rem;
    font-weight: bold;
}
.product-card .old-price {
    text-decoration: line-through;
    color:#dd2424;
}
.product-card .sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.875rem;
    font-weight: bold;
}
.product-card .cart-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 50%;
    font-size: 1.25rem;
}
.underline-animation {
    display: inline-block;
    position: relative;
}

.underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: red;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.nav-bar a {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}
.nav-bar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: red;
    transition: width 0.4s ease;
    -webkit-transition: width 0.4s ease;
}
.nav-bar a:hover::after {
    width: 100%;
    left: 0;
    background: red;
}
        .card .icon {
            font-size: 50px;
            color: #4FC3F7;
            margin-bottom: 20px;
        }
        .home-button {
            display: block;
            margin-top: 20px;
            text-align: center;
            color: #0288D1;
            text-decoration: none;
        }
        .icon {
            font-size: 80px;
            color: #F4A623;
            margin-bottom: 20px;
        }
        .card h1 {
            font-size: 24px;
            font-weight: bold;
            color: #1A202C;
            margin-bottom: 20px;
        }
        .card p {
            font-size: 16px;
            color: #4A5568;
            margin-bottom: 30px;
        }
/* General comment container */
.comment {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

/* Profile picture or initial */
.comment-image {
    width: 40px;
    height: 40px;
    background: #007bff; /* Blue background */
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 10px;
}

/* Comment content */
.comment-content {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* Author name */
.comment-text strong {
    font-size: 14px;
    color: #333;
}

/* Comment text */
.comment-text p {
    margin: 3px 0;
    color: #555;
    font-size: 14px;
}

/* Star rating */
.comment-text em {
    font-style: normal;
}

.comment-text i {
    color: #ddd; /* Default star color */
    font-size: 14px;
}

.comment-text .selected {
    color: #ffc107; /* Yellow stars */
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
  .new-release {
            color: #6c63ff;
            font-size: 0.875rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        .book-title {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        .book-description {
            color: #6c757d;
            font-size: 1rem;
            margin-bottom: 2rem;
        }
        .btn-custom {
            border-radius: 0;
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
        }
        .btn-buy {
            background-color: #6c63ff;
            color: #fff;
            border: none;
        }
        .btn-sample {
            background-color: transparent;
            color: #6c63ff;
            border: 1px solid #6c63ff;
        }
        .book-cover {
            max-width: 100%;
            height: auto;
        }
 .image-container {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .lightSpeedIn {
    -webkit-animation-name: lightSpeedIn;
    animation-name: lightSpeedIn;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    }
    @-webkit-keyframes lightSpeedIn {
    0% {
    -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
    transform: translate3d(100%, 0, 0) skewX(-30deg);
    opacity: 0;
    }
    60% {
    -webkit-transform: skewX(20deg);
    transform: skewX(20deg);
    opacity: 1;
    }
    80% {
    -webkit-transform: skewX(-5deg);
    transform: skewX(-5deg);
    opacity: 1;
    }
    100% {
    -webkit-transform: none;
    transform: none;
    opacity: 1;
    }
    }
    @keyframes lightSpeedIn {
    0% {
    -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
    transform: translate3d(100%, 0, 0) skewX(-30deg);
    opacity: 0;
    }
    60% {
    -webkit-transform: skewX(20deg);
    transform: skewX(20deg);
    opacity: 1;
    }
    80% {
    -webkit-transform: skewX(-5deg);
    transform: skewX(-5deg);
    opacity: 1;
    }
    100% {
    -webkit-transform: none;
    transform: none;
    opacity: 1;
    }
    } 
.Sb-letter::first-letter {
      font-size: 5em;        /* Makes the first letter larger */
      font-weight: bold;     /* Optional: makes it bold */
      float: left;           /* Floats the letter to the left */
      margin-right: 0.3em;   /* Adds some space after the letter */
      line-height: 1;        /* Adjust line height if needed */
    }
    .nav-item a {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    color: #333; /* Adjust the text color if needed */
    text-decoration: none;
}

.nav-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    display: block;
    margin-top: 5px;
    left: 0;
    background: goldenrod; /* Golden color */
    transition: width 0.4s ease;
}

.nav-item a:hover::after {
    width: 100%;
}
.readmorelink{
    font-weight: 400;
    color: #2A4B7C;
    text-decoration: none;
}
.Xbtn{
    display: inline-block;
    font-weight: 400;
    color: #666666;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.Xbtn:hover{
    color: #666666;
    text-decoration:underline;
}
.color-socialIcon{
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
border:solid blue 2px;
}
