@media (max-width: 1536px) {
  .hero-vector2 img {
    width: 14rem;
  }

  .hero-vector1 img {
    width: 10rem;
  }

  .about-us::before {
    left: 7rem;
  }

  .about-us-right2 img {
    width: 10rem;
  }

  .about-us-right2 {
    bottom: 14rem;
  }

  .our-books-grid-content-main::before {
    width: 206px;
    height: 90px;
    bottom: 200px;
    right: -6rem;
  }

  .gallery-sec::before {
    width: 200px;
    height: 300px;
  }

  .testi-content {
    padding: 80px 90px;
  }

  .hero-sec::after {
    height: 162px;
  }

  .about-us-image2 {
    transform: translate(100%, -30%);
  }
}

@media (max-width: 1440px) {
  .about-us-right1 {
    right: 50px;
  }

  .about-us::before {
    left: 4rem;
  }

  .our-books-grid-content-main::before {
    bottom: 18rem;
    right: -3rem;
  }

  .testi-content {
    padding: 62px 90px;
  }

  .testi-content::before {
    width: 150px;
    height: 108px;
  }
}

@media (max-width: 1366px) {
  .hero-vector2 {
    right: 50px;
  }

  .hero-sec::after {
    height: 140px;
  }

  .about-us::before {
    left: 7rem;
  }

  .our-books-grid-content-main::before {
    right: -6rem;
    width: 182px;
    height: 85px;
  }

  .testi-content h2 {
    font-size: 40px;
    line-height: 40px;
  }

  .testi-content {
    padding: 60px 85px;
  }

  .blog-box-content h3 {
    font-size: 22px;
  }

  .hero-content h1 {
    font-size: 74px;
  }
}

@media (max-width: 1330px) {
  .testi-content {
    padding: 42px 85px;
  }

  .about-us-right1 {
    top: 0;
  }

  .our-books-grid-content-main::before {
    right: -4rem;
  }
}

@media (max-width: 1199px) {
  .hero-content h1 {
    font-size: 58px;
  }

  .hero-content h2 {
    font-size: 45px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-sec::after {
    height: 126px;
  }

  .about-us-image img {
    width: 100%;
  }

  .about-us-content h2 {
    font-size: 48px;
  }

  .about-us-right2 {
    right: 50px;
  }

  .our-books-image img {
    width: 100%;
  }

  .our-books-grid-content h2 {
    font-size: 42px;
  }

  .our-books-grid-content p {
    margin: 10px 0px;
  }

  .our-book-boxes-content span {
    font-size: 12px;
  }

  .genre-box h3 {
    font-size: 44px;
  }

  .our-books-grid-content-main::before {
    right: -6rem;
    bottom: 0;
  }

  .genre-box ul {
    flex-wrap: wrap;
    gap: 8px;
  }

  .testi-image {
    height: 100%;
  }

  .testi-image img {
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
  }

  .testi-content {
    padding: 42px 47px;
  }
}

@media (max-width: 992px) {
  .hero-sec::after {
    height: 100px;
  }

  .hero-vector2 {
    bottom: 5rem;
  }

  .hero-vector2 img {
    width: 12rem;
  }

  .hero-vector1 {
    top: 50px;
    right: 50px;
  }

  .about-us-right2 {
    display: none;
  }

  .our-books-grid-content-main::before {
    display: none;
  }

  .gallery-sec::before {
    display: none;
  }

  .video-sec {
    padding: 200px 0px;
  }
}

@media (max-width: 768px) {
  .help-form-right {
    margin-top: 40px;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 40px;
  }

  .hero-content h3 {
    justify-content: center;
  }

  .hero-btn {
    justify-content: center;
  }

  .hero-image-box img {
    width: unset;
  }

  .hero-image-box {
    text-align: center;
  }

  .about-us::before {
    display: none;
  }

  .about-us-right1 {
    display: none;
  }

  .hero-sec::after {
    height: 80px;
  }

  .about-us-image2 {
    display: none;
  }

  .about-us-content h3 {
    text-align: center;
  }

  .about-us-content h2 {
    text-align: center;
  }

  .about-us-content p {
    text-align: center;
  }

  .about-us-content {
    margin-top: 30px;
  }

  .about-us-content-box p {
    text-align: start;
  }

  .our-books-content::before {
    width: 80px;
    height: 80px;
  }

  .our-books-content::after {
    width: 80px;
    height: 70px;
  }

  .our-books-grid-content-main {
    margin-top: 40px;
  }

  .our-books-grid-content {
    text-align: center;
  }

  .our-book-boxes-main {
    justify-content: center;
  }

  .genre-box {
    text-align: center;
  }

  .our-books-btn {
    justify-content: center;
  }

  .book-options {
    justify-content: center;
  }

  .book-option-group {
    align-items: center;
  }

  .video-sec {
    padding: 100px 0px;
  }

  .blog-box {
    margin-bottom: 30px;
  }

  .header .nav-item .nav-link.active::before {
    left: 4%;
  }

  .header .navbar-nav {
    gap: 10px;
  }

  .header .header-right ul {
    margin: 20px 0px;
  }

  .header .navbar-toggler {
    background-color: var(--yellow-color);
  }

  .header .nav-item .nav-link.active::before {
    display: none;
  }

  .header .nav-item .nav-link.active {
    color: var(--black-color);
  }
}

@media (max-width: 575px) {
  .related-post-box a {
    flex-wrap: wrap;
  }

  .blog-detail-main h2 {
    font-size: 26px;
    line-height: 26px;
  }

  .blog-content-box h2 {
    font-size: 26px;
    line-height: 26px;
  }

  .hero-image-box img {
    width: 20rem;
  }

  .hero-vector2 img {
    width: 9rem;
  }

  .hero-sec::after {
    height: 60px;
  }

  .our-books-content::before {
    width: 40px;
    height: 40px;
  }

  .our-books-content::after {
    width: 40px;
    height: 34px;
  }
}

@media (max-width: 490px) {
  .our-books-btn.our-books-btnXtra {
    flex-wrap: wrap;
  }

  .our-books-content::before {
    display: none;
  }

  .our-books-content::after {
    display: none;
  }

  .about-us {
    padding: 50px 0px;
  }

  .our-books {
    padding: 50px 0px;
  }

  .blog-sec::before {
    display: none;
  }

  .main-heading {
    font-size: 40px;
  }

  .genre-box h3 {
    font-size: 40px;
  }

  .about-us-content h2 {
    font-size: 40px;
  }

  .testi-slide-box {
    flex-wrap: wrap;
  }

  .blog-sec {
    padding: 50px 0px;
  }

  .footer {
    padding: 40px 0px;
  }

  .copyright-sec {
    padding: 15px 0px;
  }

  .copyright-sec p {
    font-size: 14px;
  }

  .hero-sec {
    padding: 100px 0px 200px;
  }
}

@media (max-width: 425px) {
  .header .navbar-brand {
    font-size: 38px;
  }

  .hero-content h1 {
    font-size: 50px;
  }

  .about-us-client {
    flex-wrap: wrap;
  }

  .our-book-boxes-main {
    gap: 50px;
  }

  .gallery-sec {
    padding: 50px 0px;
  }

  .testi-content {
    padding: 42px 44px;
  }

  .testi-content h2 {
    font-size: 30px;
  }

  .main-heading {
    font-size: 30px;
  }
}

@media (max-width: 414px) {
  .our-books-grid-content h2 {
    font-size: 34px;
  }

  .video-sec {
    padding: 70px 0px;
  }

  .testimonial-sec {
    margin-bottom: 0;
  }
}

@media (max-width: 400px) {
  .help-form-left h2 {
    font-size: 36px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content h2 {
    font-size: 38px;
  }

  .hero-sec::after {
    height: 43px;
  }
}

@media (max-width: 390px) {
  .cart-head h3 {
    font-size: 24px;
  }

  .cart-head,
  .cart-body,
  .cart-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-cart-btn {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .format-card {
    min-width: 100px;
    padding: 10px 12px;
  }

  .our-books-btnXtra .red-theme-btn::before {
    width: 12rem;
    height: 3rem;
  }

  .theme-btn {
    padding: 14px 20px;
  }

  .theme-btn::before {
    width: 7.8rem;
  }

  .red-theme-btn {
    padding: 14px 20px;
  }

  .red-theme-btn::before {
    width: 7.2rem;
  }
}

@media (max-width: 375px) {
  .help-form-left h2 {
    font-size: 30px;
  }

  .hero-vector1 img {
    width: 6rem;
  }

  .hero-vector1 {
    top: 10px;
  }

  .testi-content h2 {
    font-size: 26px;
  }

  .testi-slide-box {
    margin-top: 20px;
  }

  .header .navbar-brand {
    font-size: 32px;
  }
}

@media (max-width: 360px) {
  .about-us-content h2 {
    font-size: 35px;
  }

  .testi-content::before {
    width: 120px;
    height: 80px;
  }
}
