
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Raleway",sans-serif;
  }
  
  body {
    font-family: "Raleway",sans-serif;
    background-color: #f8f7f4;
  }
  .navbar-cont {
    padding:1rem calc((100vw - 1000px) / 2);
    width: 100%;
    position: fixed;
    z-index: 1111;
    opacity: 0.9;
  }
  
  /*banner*/

  .banner {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('./assets/images/cover.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
    z-index: 1;
}

/* Parallax Effect on Background */
.banner {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Banner Content */
.banner-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 2;
    animation: fade-in-content 1s ease-in-out both;
}

.banner-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fade-in 2s forwards ease-in-out;
}

.banner-content p {
    font-size: 1.5rem;
    opacity: 0;
    animation: slide-in 2s 1s forwards ease-in-out;
}

@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-content p {
        font-size: 1rem;
    }
}

/*particle*/
/* Particle container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Banner content */
.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.fade-in {
    animation: fadeIn 2s ease-in-out;
}

.slide-in {
    animation: slideIn 2s ease-in-out;
}

/* Keyframe animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(100px); }
    to { transform: translateY(0); }
}
/*xxxxxxxxx*/

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-content {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/*about the author*/

.about-author {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
     background-color: #f8f7f4;
}

.container {
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
}

.author-image img {
    width: 70%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.author-image img:hover {
    transform: scale(1.05);
}

.author-info {
    max-width: 600px;
}

.author-info h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    animation: bounceIn 1.5s ease-in-out;
}

.author-info p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
    hyphens: auto;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    .author-image img {
        max-width: 100%;
    }

    .author-info h2 {
        font-size: 28px;
    }

    .author-info p {
        font-size: 16px;
    }
}

/* Animation for the title */
@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
/*books*/

.books-carousel {
    padding: 50px 20px;
    background-color: #f5f5f5;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
}

.book-card {
    background-color: #fff;
    margin: 0rem 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    position: relative;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.book-card img {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 5px;
}

@media (max-width: 768px) {

.carousel-container {
    width: 80%;
    margin: 0 auto;
  } 
}
.book-card a {
    background-color: rgb(0, 162, 255);
    color: #ffffff;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 1rem;
    text-decoration: none;
}

.book-card h3 {
    font-size: 13px;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.book-card p {
    font-size: 18px;
    color: #666;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Hover effects for book cards */
.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.slick-prev {
    left: -35px;
}

.slick-next {
    right: -35px;
}

.slick-arrow:hover {
    background-color: #000;
}

/* Slick Carousel Dots styling */
.slick-dots li button:before {
    font-size: 12px;
    color: #333;
}

.slick-dots li.slick-active button:before {
    color: #000;
}

/* Slick Arrows styling */
.slick-prev, .slick-next {
    background-color: #333;
    border-radius: 50%;
    padding: 10px;
    color: #fff;
}

.slick-prev:hover, .slick-next:hover {
    background-color: #000;
}

/*contact*/

/* Contact Section */
.contact-section {
    position: relative;
    padding: 100px 20px;
    height: 100vh;
    background-image: url('./assets/images/contactcover.jpg'); /* Add your background image URL */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
@media (max-width: 768px) {
    .contact-section {
       height: 100vh;
    }
}

.contact-overlay {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form-container {
    background-color: rgba(255, 255, 255, 0.9); /* Transparent white background */
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.contact-form-container h2 {
    font-size: 30px;
    color: #333;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    text-align: left;
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    background-color: rgba(255, 255, 255, 0.9);
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-form button {
    padding: 15px 30px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 80px 10px;
    }
    
    .contact-form-container {
        width: 90%;
    }

    .contact-form input, .contact-form textarea {
        padding: 12px;
    }

    .contact-form button {
        padding: 12px;
    }
}

/*footer*/

/* Footer Section */
.footer-section {
    background-color: #333;
    padding: 40px 20px;
    color: #fff;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #fff;
}

.footer-social {
    margin-bottom: 20px;
}

.footer-social a {
    color: #fff;
    font-size: 18px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #0f8bf1; /* Highlight on hover */
}

.footer-copyright p {
    font-size: 14px;
    margin-top: 10px;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-logo h2 {
        font-size: 20px;
    }

    .footer-social a {
        font-size: 16px;
    }

    .footer-copyright p {
        font-size: 12px;
    }
}
/*reviews*/
/* Reviews Carousel Section */
.reviews-carousel-section {
    background-color: #f5f5f5;
    padding: 50px 20px;
    text-align: center;
}

.review-title {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
    text-transform: uppercase;
    animation: fadeInDown 1s ease-in-out;
    

}
.reviews-carousel-section p {
    text-align: justify;
    hyphens: auto;
    
}

/* Swiper styles */
.swiper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.swiper-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-slide {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.carousel-left {
    flex: 1;
    text-align: center;
    padding: 3rem;
}

.book-cover {
    max-width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-right {
    flex: 2;
    padding-left: 20px;
    padding-right: 1rem;
}

.review-text {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.review-source {
    font-size: 16px;
    font-style: italic;
    color: #888;
}

/* Swiper Navigation */
.swiper-button-prev, 
.swiper-button-next {
    color: #333;
}

.swiper-button-prev:hover, 
.swiper-button-next:hover {
    color: #000;
}

/* Swiper Pagination */
.swiper-pagination {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .review-slide {
        flex-direction: column;
    }

    .carousel-right {
        padding-left: 0;
        margin-top: 20px;
    }

    .review-title {
        font-size: 28px;
    }

    .review-text {
        font-size: 16px;
    }
}
/*testimonial*/
.testimonial-section {
    width: 100%;
    padding: 50px 0;
    background-color: #f9f9f9;
    position: relative;
}

.swiper-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.testimonial-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #007bff;
}

.testimonial-content {
    max-width: 600px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-name {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #007bff;
}

.testimonial-text {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #555;
    font-style: italic;
}

.testimonial-date {
    font-size: 0.9em;
    color: #888;
}

.swiper-button-next,
.swiper-button-prev {
    color: #007bff;
}

@media (max-width: 768px) {
    .testimonial-content {
        padding: 20px;
    }

    .testimonial-img {
        width: 80px;
        height: 80px;
    }

    .testimonial-name {
        font-size: 1.3em;
    }

    .testimonial-text {
        font-size: 1em;
    }
}
/*testimonial*/

#testimonial-section {
    background-image: url('./assets/images/cover1.jpg');
    background-attachment: fixed;
    background-position: center;
    padding: 50px 0;
    text-align: center;
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .testimonial-card {
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    background-color: rgb(0, 0, 0);
    opacity: 0.8;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .testimonial-card img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
  }
  
  
  .testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: rgb(236, 236, 236);
    font-family: "Raleway", sans-serif;
    text-align: justify;
    hyphens: auto;
  }
  .testimonial-title {
    font-family: "Raleway", sans-serif;
  }
  .testimonial-description {
    font-family: "Raleway", sans-serif;
    font-size: 1rem;
    text-align: justify;
    hyphens: auto;
    color: #363636;
  }
  
  .testimonial-author {
    font-weight: bold;
    color: #ffffff;
    font-family: "Raleway", sans-serif;
  }
  
  /* Responsive styling */
  @media (max-width: 768px) {
    .testimonial-card {
        max-width: 90%;
    }
  }

  /*reviews2*/
    .reviews-section {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 3rem calc((90vw - 1000px) / 2);
    }

    .review {
        display: flex;
        flex-wrap: wrap;
        background-color: #fff;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        gap: 20px;
        align-items: center;
    }

    .review.reverse {
        flex-direction: row-reverse;
    }

.book-image {
    max-width: 150px;
    height: 140px;
    border-radius: 8px;
}

.review-content {
    flex: 1;
}

.review-content h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.review-content p {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
    text-align: justify;
    hyphens: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .review {
        flex-direction: column;
    }
    
    .review.reverse {
        flex-direction: column;
    }
    
    .book-image {
        width: 100%;
    }
    .reviews-section {
        margin: 0rem 0rem;
    }
}

/* Announcement */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* Announcement Section */
  .announcement-section {
    padding: 40px 0;
    background-color: #f8f7f4;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-image: url("./assets/images/piggybackground.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  }
  
  /* Announcement Card */
  .announcement-card {
    display: flex;
    flex-wrap: wrap;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
  }
  
  .announcement-card:hover {
    transform: translateY(-5px);
  }
  
  .book-cover {
    position: relative;
    flex: 1 1 300px;
    max-width: 300px;
  }
  
  .cover-image {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.2));
    transition: filter 0.3s ease;
  }
  
  .book-cover:hover .cover-image {
    filter: drop-shadow(5px 5px 15px rgba(0,0,0,0.3));
  }
  
  .badge {
    position: absolute;
    top: 20px;
    right: -10px;
    background: #ff6b6b;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(255,107,107,0.4);
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  
  .announcement-details {
    flex: 2 1 400px;
    padding: 30px;
  }
  
  .book-title {
    font-size: 2rem;
    color: #3a2a4a;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
  }
  
  .release-date {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
  }
  
  .book-description {
    margin-bottom: 25px;
    font-size: 1.1rem;
  }
  
  /* Buttons */
  .cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  
  .btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
  }
  
  .preorder-btn {
    background: #5d3a7a;
    color: white;
    border: 2px solid #5d3a7a;
  }
  
  .preorder-btn:hover {
    background: #4a2d62;
    transform: translateY(-2px);
  }
  
  .notify-btn {
    background: transparent;
    color: #5d3a7a;
    border: 2px solid #5d3a7a;
  }
  
  .notify-btn:hover {
    background: rgba(93, 58, 122, 0.1);
    transform: translateY(-2px);
  }
  
  /* Exclusive Offer */
  .exclusive-offer {
    background: #fff4e6;
    padding: 12px 15px;
    border-radius: 5px;
    border-left: 4px solid #ffa502;
    font-size: 0.95rem;
  }
  
  .exclusive-offer i {
    color: #ff6b6b;
    margin-right: 5px;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .announcement-card {
      flex-direction: column;
    }
    
    .book-cover {
      max-width: 100%;
    }
    
    .section-title {
      font-size: 2rem;
    }
    
    .book-title {
      font-size: 1.5rem;
    }
  }


  .aboutbody {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background-color: #f8f7f4;
      color: #1e1e1e;
      line-height: 1.5;
      padding: 2rem 1.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .page {
      max-width: 1000px;
      width: 100%;
    }

    /* Author card – about the author, now full focus */
    .author-card {
      background: white;
      border-radius: 32px;
      box-shadow: 0 16px 32px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.02);
      padding: 2.8rem 2.8rem;
      margin-bottom: 2rem;
      display: flex;
      flex-wrap: wrap;
      gap: 2.5rem;
      align-items: center;
      border: 1px solid #f0ebe4;
      transition: all 0.2s ease;
    }

    .author-avatar {
      flex-shrink: 0;
      width: 260px;
      height: 260px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 10px 20px rgba(80, 55, 30, 0.08);
    }

    .author-avatar i {
      font-size: 5.2rem;
      color: #3f3222;
      text-shadow: 0 3px 6px rgba(255,255,240,0.7);
    }

    .author-bio {
      flex: 1;
      min-width: 320px;
    }

    .author-name {
      font-size: 2.4rem;
      font-weight: 600;
      letter-spacing: -0.015em;
      color: #281f17;
      margin-bottom: 0.2rem;
      line-height: 1.1;
    }

    .author-title {
      font-size: 1.2rem;
      font-weight: 500;
      color: #6b4f32;
      margin-bottom: 1.2rem;
      border-bottom: 2px solid #ecd9c2;
      display: inline-block;
      padding-bottom: 0.3rem;
    }

    .author-description {
      color: #3a342e;
      margin-bottom: 1.8rem;
      font-size: 1.08rem;
    }

    .author-description p {
      margin-bottom: 1rem;
    }

    .author-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 1.2rem 2rem;
      margin-top: 0.8rem;
      align-items: center;
    }

    .meta-item {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      color: #4e443b;
      font-size: 1rem;
      background: #f9f6f1;
      padding: 0.5rem 1.2rem 0.5rem 1rem;
      border-radius: 40px;
      border: 1px solid #e8dfd4;
    }

    .meta-item i {
      color: #9b7b5e;
      width: 1.4rem;
      text-align: center;
    }

    .badge {
      background-color: #e5dacf;
      padding: 0.4rem 1.2rem;
      border-radius: 30px;
      font-size: 0.8rem;
      font-weight: 600;
      color: #3f2e1e;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      border: 1px solid #d9caba;
    }

    /* extra detail row for accolades */
    .accolades {
      margin-top: 2rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem 1.5rem;
      border-top: 1px dashed #dccfc2;
      padding-top: 1.6rem;
    }

    .accolade-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.95rem;
      color: #4b3e32;
      background: white;
      padding: 0.25rem 0.8rem 0.25rem 0.4rem;
      border-radius: 30px;
    }

    .accolade-item i {
      color: #b38b63;
    }

    /* simple footer */
    .author-footer-note {
      margin-top: 2.5rem;
      text-align: center;
      color: #917b66;
      font-size: 0.85rem;
      border-top: 1px solid #e3d9cf;
      padding-top: 2rem;
      font-style: italic;
    }

    @media (max-width: 600px) {
      body { padding: 1rem; }
      .author-card { padding: 1.8rem; }
      .author-name { font-size: 2rem; }
      .author-avatar { height: 600px; }
    }