@media (min-width:1920.98px) {
  .custom-container {
    max-width: 1410px !important;
  }
}

@media (min-width: 1400.98px) and (max-width: 1918.98px) {
  .custom-container {
    max-width: 1140px !important;
  }
}

@media (min-width: 1601px) and (max-width: 3000px) {
  .line {
    max-width: 1600px;
  }
}

@media (min-width: 1500px) and (max-width: 1600px) {
  .line {
    max-width: 1500px;
  }

  /* .custom-container {
    max-width: 1440px !important;
  } */
}

@media (min-width: 1199px) and (max-width: 1499px) {
  .line {
    max-width: 1270px;
  }
}

@media (min-width: 1025px) and (max-width: 1198px) {
  .line {
    max-width: 970px;
  }
}

@media (max-width: 1440px) {
  header nav .container-flex {
    padding-left: 10px;
    padding-right: 10px;
  }

  .about-col-left {
    width: 75%;
  }

  .about-col-right {
    width: 25%;
  }

  .about-section-right {
    padding-left: 50px;
  }

  .top-heading h2 {
    font-size: 40px;
    line-height: 1.2;
  }

  .top-heading span {
    font-size: 30px;
  }

  /* .custom-container {
    max-width: 1140px !important;
  } */
  .about-right-content-el a .info h4 {
    font-size: 28px;
  }

  /* .about-right-content-el a {
    height: 120px;
  } */
}

@media (max-width: 1399px) {
  .book-sec-item {
    gap: 0 30px;
  }

  .foundation-sec-left h3 {
    margin-bottom: 20px;
  }
}

@media (max-width: 1199px) {
  .align-items-lg-center {
    align-items: flex-start !important;
  }

  .about-section-left img {
    height: 100%;
    width: 100%;
  }

  .about-pg-main .custom-container {
    padding: 0 20px !important;
  }

  .about-col-left {
    width: 70%;
  }

  .about-col-right {
    width: 30%;
  }

  .about-sec-left-btm .img {
    width: 60%;
    padding-right: 30px;
    padding-bottom: 35px;
  }

  .about-sec-left-btm .info p {
    margin-bottom: 20px;
  }

  .about-sec-left {
    padding: 40px 30px;
  }
}

@media (max-width: 991px) {
  .about-pg-row {
    margin-top: 30px;
    margin-bottom: 50px;
  }

  .about-sec-right {
    padding-left: 0;
  }

  .about-col-left {
    width: 100%;
  }

  .about-col-right {
    width: 100%;
  }

  .foundation-flex {
    flex-wrap: wrap;
    gap: 50px 0;
  }

  .foundation-img {
    width: 50%;
  }

  .foundation-img img {
    max-width: 170px;
  }

  h1 {
    font-size: 45px;
    line-height: 1.2;
  }

  .top-heading h2 {
    font-size: 35px;
    line-height: 1.2;
  }

  .top-heading span {
    font-size: 24px;
  }

  .hero-book-content h4 {
    font-size: 35px;
    line-height: 1.2;
  }

  .about-section-right p {
    font-size: 16px;
  }

  .about-section-right {
    padding-left: 0px;
  }

  .about-section-right .top-heading span {
    margin-bottom: 10px;
  }

  .about-section-right .btnn {
    margin-top: 10px;
  }

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

  .ftr-social a {
    width: 50px;
    height: 50px;
  }

  .ftr-social a svg {
    width: 25px;
  }
}

@media (max-width: 767px) {
  .foundation-pg-content img {
    max-width: 120px;
  }

  .foundation-pg-content {
    padding: 30px 0 !important;
  }

  .foundation-sec-left h3 {
    margin-bottom: 10px;
    font-size: 26px;
  }

  .foundation-pg-content h4 {
    font-size: 30px;
  }

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

  .hero-book-content .img {
    height: auto;
  }

  .error-page-content {
    padding: 20px 0;
  }

  .error-page-content img {
    max-width: 100%;
  }

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

  .single-blog-content img {
    height: 100%;
    object-fit: cover;
  }

  .page-id-158 h2,
  .page-id-160 h2 {
    font-size: 22px;
  }

  .about-right-content-el:last-child {
    margin-bottom: 0;
  }

  .book-sec-item .img {
    text-align: center;
    width: 100%;
  }

  .book-sec-item .info {
    width: 100%;
  }

  .book-sec-item {
    flex-direction: column;
    gap: 20px 0;
  }

  .book-sec-item .info h4 {
    font-size: 22px;
  }

  .book-sec-item .info h3 {
    font-size: 24px;
  }

  .single-blog-content h3 {
    font-size: 26px;
  }

  .single-blog-content h4 {
    font-size: 24px;
  }

  .single-blog-content h5 {
    font-size: 22px;
  }

  .single-blog-content h6 {
    font-size: 20px;
  }

  .blog-content .img {
    height: auto;
  }

  .contact-pg-info-top {
    padding: 30px;
  }

  .contact-pg-form form input.sub-btn {
    height: 45px;
    width: 100%;
    margin-top: 12px;
  }

  .contact-pg-form form .inpt {
    height: 45px;
  }

  .contact-pg-info-top p {
    font-size: 16px;
  }

  .about-right-content-el a .info h4 {
    font-size: 22px;
  }

  .about-sec-left-btm .info p {
    font-size: 16px;
    text-align: center;
  }

  .about-sec-left-top a.talk-to-author {
    margin-top: 25px;
    justify-content: center;
  }

  .about-sec-left-top p:not(:last-child) {
    margin-bottom: 25px;
  }

  .about-sec-left-top h3,
  .about-sec-left h3,
  .about-sec-left h2,
  .foundation-sec-left h3,
  .foundation-pg-content h4 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 25px;
  }

  .about-sec-search h3 {
    font-size: 32px;
    text-align: center;
  }

  .about-sec-search p {
    font-size: 16px;
    text-align: center;
  }

  .about-sec-left-top p {
    text-align: center;
    font-size: 16px;
  }

  .about-sec-left-btm {
    margin-top: 40px;
  }

  .about-sec-left-btm .img {
    width: 100%;
    padding-right: 0;
  }

  .about-sec-left-btm .info p img {
    float: none;
    width: 100%;
    margin: 0 auto 20px;
  }

  .book-sec-item-inner img {
    float: none;
    margin: 0 auto 20px;
  }

  body.page-id-143 .about-sec-left {
    padding: 30px 20px;
  }

  .footer {
    padding: 40px 0;
  }

  .ftr-logo a img {
    max-width: 400px;
  }

  .ftr-menu ul {
    column-count: 2;
    flex-direction: column;
    gap: 12px 0;
  }

  .blog-section {
    padding: 40px 0;
  }

  .newsletter form .inpt::placeholder {
    font-size: 16px;
  }

  .news-btn-wrapper {
    width: 100%;
  }

  .newsletter form .news-btnn {
    min-width: 100%;
  }

  .newsletter form {
    flex-direction: column;
    gap: 10px 0;
  }

  .books-section {
    padding: 40px 0;
  }

  .book-content {
    height: 100%;
  }

  .book-content a {
    padding: 30px;
  }

  .book-content a img {
    height: auto !important;
    transition: all 0.3s ease-in-out;
  }

  .about-section-left {
    text-align: center;
  }

  .foundation-section {
    padding: 40px 0;
  }

  .about-section-right {
    text-align: center;
  }

  .hero {
    padding-bottom: 40px;
  }

  .about-section {
    padding: 40px 0;
  }

  .hero-book-content h4 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-book-content .img {
    margin-bottom: 10px;
  }

  .hero .top-content {
    text-align: center;
    margin-top: 30px;
  }

  .top-heading h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  h1 {
    font-size: 40px;
    line-height: 1.2;
  }

  .nav-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #a90079;
    border: 1px solid #555;
    color: #fff;
    font-size: 30px;
    position: relative;
    cursor: pointer;
  }

  .bars {
    display: block;
  }

  .nav-toggle-icon {
    position: absolute;
  }

  header.show .times {
    display: block;
  }

  header.show .bars {
    display: none;
  }

  header .logo {
    padding: 30px 0px 30px;
    text-align: center;
  }

  header .logo img {
    max-width: 350px;
  }

  header .menu {
    position: absolute;
    top: 144px;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffff;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 9999;
  }

  header .menu ul {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  header nav .menu ul li a {
    color: #000;
    padding: 10px;
  }

  .def-page-content h2 {
    font-family: poorRichardRegular;
    font-style: normal;
    font-weight: 400;
    color: #fff;
    font-size: 30px;
    margin-bottom: 20px;
  }

  .def-page-content h3 {
    font-family: poorRichardRegular;
    font-style: normal;
    font-weight: 400;
    color: #fff;
    font-size: 26px;
    margin-bottom: 20px;
  }

  .def-page-content h4 {
    font-family: poorRichardRegular;
    font-style: normal;
    font-weight: 400;
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
  }

  .def-page-content h5 {
    font-family: poorRichardRegular;
    font-style: normal;
    font-weight: 400;
    color: #fff;
    font-size: 22px;
    margin-bottom: 20px;
  }

  .def-page-content h6 {
    font-family: poorRichardRegular;
    font-style: normal;
    font-weight: 400;
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
  }

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

  .def-page-content {
    padding: 20px 0;
  }
}

@media (max-width: 575px) {
	.newsletter .mc4wp-form-fields {
		flex-direction: column;
		gap: 12px 0;
		width: 100%;
	}
  .contact-pg-info-details-el .info span {
    font-size: 16px;
  }

  .btnn {
    min-width: 150px;
    min-height: 46px;
  }

  /* .btnn {
    font-size: 16px;
  } */

  /* .ftr-menu ul li a {
    font-size: 16px;
  } */

  .foundation-section .top-heading p {
    font-size: 16px;
  }

  .books-section .top-heading p,
  .newsletter .top-heading p {
    font-size: 16px;
  }

  .foundation-flex {
    margin-top: 30px;
  }

  .foundation-img img {
    max-width: 100px;
  }

  .ftr-copy p {
    font-size: 16px;
  }

  .ftr-logo a img {
    max-width: 260px;
  }

  .ftr-logo {
    margin-bottom: 30px;
  }

  .ftr-social {
    margin-top: 20px;
  }
}

@media (max-width: 380px) {
  header .logo img {
    max-width: 290px;
  }
}