/*------------------------
Author       : pxelcode
Template Name: Treaser - Book landing template
Author URI : https://pxelcode.com/
Description: Treaser,book,author,it, onepage,clean,bootstrap5, ebook,marketing,promotion,product
Version      : 1.1
-------------------------------------------------*/

/*------------------------------------------------------------------
[Table of contents]

1. Common
2. Typography
3. Navigation / #navbar
4. Dropdown Menu -  Line#390
5. Banner
6. About
7. Chapter
8. Testimonials
9. Author
10. Contact
11. Footer / #footer
-------------------------------------------------------------------*/

@import url("https://fonts.googleapis.com/css2?family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root{
  --primary-font: 'Philosopher', sans-serif;         /* Use Philosopher for headings */
  --secondary-font: 'Poppins', sans-serif;           /* Use Poppins for body/other */
  --third-font:'DM Sans', sans-serif;
  --heading-color:#27272f;
  --primary-color:#e8c525 ;
  --body-color: #6a7695;
  --common-black: #000;
  --common-white: #fff;
}

.img-fluid {
    height: 100% !important;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  overflow-x: hidden;
}

body {
  font-family: var(--secondary-font); /* Use Poppins for everything else */
  font-size: 16px;
  line-height: 30px;
  margin: 0;
  text-align: left;
  background-color: #fff;
  font-weight: 400;
  color: #6a7695;
}

.text-primary {
  color: var(--primary-color) !important;
}

body, html {
  width: 100%;
  height: 100%;
}

/*--------------------
 TYPOGRAPHY
-----------------*/
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--primary-font) !important; /* Philosopher for all headings */
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: .5rem;
  color: var(--heading-color);
  text-transform: capitalize;
}

.h1,
h1 {
  font-size: 2.125rem;
  line-height: 40px;
}

.h2,
h2 {
  font-size: 1.625rem;
}

.h3,
h3 {
  font-size: 28px;
}

.h4,
h4 {
  font-size: 24px;
}

.h5,
h5 {
  font-size: 22px;
}

.h6,
h6 {
  font-size: 16px;
}

.h1 a,
.h2 a,
.h3 a,
.h4 a,
.h5 a,
.h6 a,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: var(--heading-color);
}

.h1 a:hover,
.h2 a:hover,
.h3 a:hover,
.h4 a:hover,
.h5 a:hover,
.h6 a:hover,
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  color: var(--primary-color);
}

/* Ensure everything else uses Poppins */
a,
button,
input,
textarea,
select,
label,
.form-control,
.section-heading p,
.section-heading,
.text-lg,
.text-md,
.text-sm,
.lead,
ul,
ol,
li,
span,
p,
blockquote,
small,
strong,
cite,
address,
.navbar,
.nav-link,
.dropdown-item,
.menu-close,
.footer,
.feature-block,
.service-block,
.about-item2,
.counter-item,
.chapter-item,
.book-info,
.book-item,
.testimonial-item-content,
.testimonial2,
.contact-info-block,
.subscribe-form {
  font-family: var(--secondary-font) !important;
}

a{
  text-decoration: none;
  transition: all .4s ease;
}

textarea.form-control{
  height:auto;
}

.text-sm {
  font-size: 14px;
}

.nav-item.active a {
  color: var(--primary-color) !important;
}

.subheading{
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 600;
  font-family: var(--secondary-font) !important;
}

/*--------------------
Common Styles
-----------------*/
.section-heading {
  margin-bottom: 80px;
}

.section-heading h2 {
  color:  var(--heading-color);
  font-family: var(--primary-font) !important;
}

.section-heading p{
  font-size: 18px;
  font-family: var(--secondary-font) !important;
}

.section-heading.text-center p{
  max-width:70%;
  margin-left:auto;
  margin-right:auto;
}
.section {
  position: relative;
  padding: 7.5rem 0;
}


.section-top {
  padding-top: 8.125rem;
}

.section-bottom {
  padding-bottom: 8.125rem;
}


.bg-grey {
  background: #F4F7FC;
}

.text-color {
  color: var(--primary-color);
}

/*-------------------
  BUTTONS STYLE
----------------=----*/
.btn {
  font-weight: 500;
  position: relative;
  text-transform: uppercase;
  padding: 15px 40px;
  border-radius: 35px;
  font-size: 14px;
  font-family: var(--secondary-font); /* Poppins for buttons */
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
  transition: all 0.3s ease-in-out !important;
}

.btn:focus {
  box-shadow: none !important;
}

.btn-main {
  border-color: #385777;
  color: #fff;
  background: #385777;
}

.btn-main:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.btn-main-2 {
  background: var(--primary-color);
  color: #000;
  border-color: var(--primary-color);
}

.btn-main-2:hover {
  background: #385777;
  color: #fff;
  border-color: #385777;
}

.btn-white {
  background: #fff !important;
  color: var(--primary-color);
  border-color: #fff;
}

.btn-border-tp {
  border-color: #385777;
  background: transparent;
  color: #385777;
}

.btn-border-tp:hover {
  background: #385777;
  color: #fff !important;
}

.btn-small {
  padding: 12px 22px;
  font-size: 13px;
}

button{
  border: 0px;

}

/*------------------------
 Utilities
----------------------------*/
a {
  color: #222;
  transition: all 0.3s ease-in-out;
}

a:hover, a:focus {
  outline: none;
  text-decoration: none;
  color: var(--primary-color);
}

.border-top {
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.border-bottom {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.text-color-2 {
  color: #385777;
}

.text-lg {
  font-size: 40px;
  line-height: 1.2em;
  font-family: var(--secondary-font) !important;
}

.text-md {
  font-size: 32px;
  line-height: 1.2em;
  font-family: var(--secondary-font) !important;
}

.letter-spacing {
  letter-spacing: 2px;
}

.text-sm {
  font-size: 14px;
  color: var(--primary-color);
  font-family: var(--secondary-font) !important;
}

.bg-gray {
  background: #f5f5f5;
}

.lead {
  line-height: 40px;
  font-family: var(--secondary-font) !important;
}

.mb-40 {
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 1rem;
}

.mb-50{
  margin-bottom: 50px;
}
ul{
  padding-left: 0px;
}

/*-------------------
   MENU
----------------------*/
.main-navigation {
  z-index: 9;
}

.navbar-nav .nav-link {
  padding-right: 1rem !important;
  padding-left: 1rem !important;
  color: #051441 ;
  text-transform: capitalize;
  font-family: var(--secondary-font) !important;
}

.navbar-nav .nav-link:focus {
  color: var(--primary-color) ;
}
.navbar {
  position: relative;
  padding: 1rem 1rem;
  font-family: var(--secondary-font) !important;
}

.navbar-brand img{
  max-width: 150px;
  width: 140px;
}

.fixed-top {
  position: fixed;
  z-index: 99;
  right: 0;
  left: 0;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  content: "";
  vertical-align: middle;
  background: no-repeat 50%;
  background-size: 100% 100%;
}

.navbar-toggler{
  background:  var(--heading-color);
  border-radius: 0px;
  padding: 10px 15px;
}

.header-white {
  background: #fff;
  transition: .0s all ease;
}

.top-socials a {
  font-size: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 100%;
  display: inline-block;
  text-align: center;
  line-height: 40px;
  font-family: var(--secondary-font) !important;
}

.top-socials a:hover {
  background: #385777;
  border-color: #385777;
}


/* Drowdown Menu */

.navbar-nav li{
  position: relative;
  list-style: none;
}


.main-menu ul > li .sub-menu{
  position: absolute;
  top: 105%;
  width: 213px;
  left: 0;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  box-shadow: 0px 20px 30px rgba(1, 15, 28, 0.1);
}

.navbar-nav  li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  top: 100%;
  z-index: 3;
}

.sub-menu li{
  border-bottom: 1px solid #eee;
}
.sub-menu li a{
  color: #222!important;
  font-family: var(--secondary-font) !important;
}


.navbar-nav li:hover > a{
  color: var(--primary-color)!important;
}



/*----------------------------------------*/
/*  3.2 Mobile Menu
/*----------------------------------------*/


.offcanvas-menu ul {
  list-style: none;
}
.offcanvas-menu ul li {
  position: relative;
}
.offcanvas-menu ul li > a {
  padding: 8px 0;
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #000!important;
  font-family: var(--secondary-font) !important;
}
.offcanvas-menu ul li > a:hover {
  color: var(--primary-color);
}
.offcanvas-menu ul li:not(:last-child) > a {
  border-bottom: 1px solid rgba(1, 15, 28, 0.1);
}
.offcanvas-menu ul li.active > a {
  color: var(--primary-color);
}
.offcanvas-menu ul li.active > .menu-close {
  border-color: var(--primary-color);
  color: #fff;
  background-color: var(--primary-color);
}
.offcanvas-menu ul li.active > .menu-close i {
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.offcanvas-menu ul li .sub-menu {
  display: none;
  padding-left: 20px;
}

.menu-close {
  position: absolute;
  right: 0;
  top: 7.5px;
  border: 1px solid rgba(1, 15, 28, 0.12);
  height: 30px;
  width: 30px;
  text-align: center;
  font-size: 12px;
  line-height: 29px;
  font-family: var(--secondary-font) !important;
}
.menu-close:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: #ddd;
}
.menu-close i {
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.header-offcanvas-toogle{
  font-size: 0;
  width: 60px;
  height: 60px;
  /* background: #bd9c03; */
  background: none;
  color: #face07;
  border: 0px;
  font-family: var(--secondary-font) !important;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  border-radius: 8px;
}

.header-offcanvas-toogle::before,
.header-offcanvas-toogle::after,
.header-offcanvas-toogle span {
  content: '';
  position: absolute;
  width: 30px;
  height: 3px;
  background: #face07;
  border-radius: 2px;
  transition: all 0.3s ease;
  left: 50%;
  transform: translateX(-50%);
}

.header-offcanvas-toogle::before {
  top: 18px;
}

.header-offcanvas-toogle span {
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.header-offcanvas-toogle::after {
  bottom: 18px;
}

.header-offcanvas-toogle:hover{
  background: #fff23e;
  transform: scale(1.05);
}

.header-offcanvas-toogle:hover::before,
.header-offcanvas-toogle:hover::after,
.header-offcanvas-toogle:hover span {
  background: #2f4858;
}

/* 3D Box Shadow for Banner Image */
.banner-img {
  position: relative;
  display: inline-block;
}

.banner-img img {
  border-radius: 15px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.2),
    0 5px 10px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.banner-img img:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) translateY(-10px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 15px 30px rgba(0, 0, 0, 0.3),
    0 8px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Premium Service Cards Animation & Styling */
.service-block {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.1),
    0 5px 15px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-block:nth-child(1) {
  animation-delay: 0.2s;
}

.service-block:nth-child(2) {
  animation-delay: 0.4s;
}

.service-block:nth-child(3) {
  animation-delay: 0.6s;
}

.service-block:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 10px 25px rgba(0, 0, 0, 0.1),
    0 5px 15px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.service-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(189, 156, 3, 0.05) 0%, rgba(255, 242, 62, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
  z-index: 1;
}

.service-block:hover::before {
  opacity: 1;
}

.service-block > * {
  position: relative;
  z-index: 2;
}

.service-block img {
  transition: all 0.4s ease;
  border-radius: 12px;
}

.service-block:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-block h4 {
  color: #2f4858;
  font-weight: 600;
  margin-top: 1rem;
  transition: color 0.3s ease;
}

.service-block:hover h4 {
  color: var(--primary-color);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animation for multiple cards */
.service-block:nth-child(1) { animation-delay: 0.1s; }
.service-block:nth-child(2) { animation-delay: 0.3s; }
.service-block:nth-child(3) { animation-delay: 0.5s; }
.service-block:nth-child(4) { animation-delay: 0.7s; }
.service-block:nth-child(5) { animation-delay: 0.9s; }
.service-block:nth-child(6) { animation-delay: 1.1s; }

/* Modern Chapter Items Design */
.chapter-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.15),
    0 3px 10px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.chapter-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(189, 156, 3, 0.1) 0%, rgba(255, 242, 62, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 15px;
  z-index: 1;
}

.chapter-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.2),
    0 5px 15px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.chapter-item:hover::before {
  opacity: 1;
}

.chapter-item > * {
  position: relative;
  z-index: 2;
}

.chapter-item i {
  background: linear-gradient(135deg, #bd9c03 0%, #fff23e 100%);
  color: #2f4858;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(189, 156, 3, 0.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.chapter-item:hover i {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(189, 156, 3, 0.4);
}

.chapter-item .content {
  padding-left: 1.5rem;
}

.chapter-item h4 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  transition: color 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.chapter-item:hover h4 {
  color: #fff23e;
}

.chapter-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Add subtle border accent */
.chapter-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #bd9c03 0%, #fff23e 100%);
  border-radius: 15px 0 0 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.chapter-item:hover::after {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .chapter-item {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .chapter-item i {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .chapter-item .content {
    padding-left: 1.25rem;
  }

  .chapter-item h4 {
    font-size: 1.2rem;
  }
}

.offcanvas-menu-wrapper{
  position: fixed;
  z-index: 999;
  background: #fff;
  width: 400px;
  right: 0;
  top: 0;
  padding: 50px 40px;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  -moz-transform: translateX(100%);
  -o-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  overflow-y: scroll;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
  font-family: var(--secondary-font) !important;
}


.header-offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  transition: 0.45s ease-in-out;
  background: rgba(24, 24, 24, 0.4);
}

.header-offcanvas-overlay-open {
  opacity: 0.7;
  visibility: visible;
}

.header-offcanvas-open {
  opacity: 1;
  visibility: visible;
  -moz-transform: translateX(0);
  -o-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.offcanvas-sm-title {
  font-size: 25px;
  margin-bottom: 15px;
  font-family: var(--primary-font) !important;
}
.offcanvas-info span {
  color: #222;
  display: block;
  margin-bottom: 5px;
  font-family: var(--secondary-font) !important;
}

.offcanvas-social a {
  display: inline-block;
  text-align: center;
  width: 40px;
  height: 40px;
  line-height: 39px;
  border-radius: 40px;
  color: var(--heading-color);
  border: 1px solid rgba(2, 11, 24, 0.1);
  font-size: 14px;
  font-family: var(--secondary-font) !important;
}

.offcanvas-close-toggle{
  background:transparent;
  margin-bottom: 20px;
  font-family: var(--secondary-font) !important;
}

/*----------------------
 BANNER STYLE
-----------------------*/
.py-7 {
  padding: 7.5rem 0;
}

.banner-main-content h1 {
  font-size: 70px;
  line-height: 1em;
  color:  var(--heading-color);
  font-family: var(--primary-font) !important;
}

.banner-main-content {
  padding: 60px 0px 90px;
}

.banner-main-content p {
  padding-right: 100px;
  font-family: var(--secondary-font) !important;
}

.main-banner h1{
  font-size: 60px;
  line-height: 1em;
  font-family: var(--primary-font) !important;
}


/*  CTA  */


.cta-2 {
  padding: 0px 0px 4.5rem 0px;
}

.about {
  position: relative;
}

.about .about-img img {
  box-shadow: 0px 20px 40px 0px rgba(38, 59, 94, 0.1);
}

/* CTA 2 */

.cta-home {
  background: #F4F7FC;
}

.cta-home .form-control{
  background: #fff;
  font-family: var(--secondary-font) !important;
}

.featured-client img {
  margin: 0px 15px;
}

/*  Chapters Item */

.chapter-item {
  margin-bottom: 30px;
  transition: all .4s ease;
  padding-right: 60px;
  font-family: var(--secondary-font) !important;
}

.chapter-item h4 {
  margin-bottom: 10px;
  text-transform: capitalize;
  font-family: var(--primary-font) !important;
}

.chapter-item:hover h4{
  color: var(--primary-color);
}
.chapter-item i {
  font-size: 20px;
}

/*  Preview  */

.book-preview {
  display: inline-block;
  max-width: 400px;
  width: 100%;
  position: relative;
}

.book-preview .background-device {
  width: 100%;
  position: absolute;
}

.about-item h5{
  margin-bottom: 15px;
  font-family: var(--primary-font) !important;
}

/* Owl Slider */
.owl-book {
  width: 80%;
  display: inline-block;
  margin: 0 auto;
}

.owl-book .book-item {
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);
  margin-top: 12%;
  margin-bottom: 15%;
  position: relative;
}

.owl-book .book-item .overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.7);
}

.owl-book .book-item:hover .overlay {
  opacity: 1;
}

.owl-book .book-item img {
  width: 100%;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.owl-book .book-item .overlay > a {
  position: absolute;
  display: inline-block;
  left: calc(50% - 30px);
  top: calc(50% - 25px);
  font-size: 24px;
  line-height: 50px;
  width: 50px;
  height: 50px;
  text-align: center;
  background: white;
  border-radius: 50%;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
  color: #385777;
  font-family: var(--secondary-font) !important;
}

.owl-book .book-item .overlay > a:hover {
  color: white;
  background: var(--primary-color);
}

.owl-reviews .book-item {
  padding: 0 15px;
}

.owl-reviews .owl-controls {
  position: absolute;
  width: 100%;
  top: calc(50% - 30px);
}

.owl-reviews .owl-controls .owl-prev,
.owl-reviews .owl-controls .owl-next {
  position: absolute;
  font-size: 36px;
  color: #bbb;
  transition: all 0.3s ease;
}

.owl-reviews .owl-controls .owl-prev:hover,
.owl-reviews .owl-controls .owl-next:hover {
  color: #484d53;
}

.owl-reviews .owl-controls .owl-prev {
  left: -40px;
}

.owl-reviews .owl-controls .owl-next {
  right: -40px;
}

.book-info ul li {
  padding: 8px 30px;
  margin-bottom: 5px;
  font-weight: 700;
  font-family: var(--secondary-font) !important;
}

.book-info ul li i {
  color: var(--primary-color);
}

.book-item {
  position: relative;
  font-family: var(--secondary-font) !important;
}

.book-item:hover .hover-item {
  opacity: 1;
  visibility: visible;
}

.book-item .hover-item {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  left: 0px;
  top: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all .35s ease;
}

.book-item .hover-item i {
  width: 60px;
  height: 60px;
  background: #fff;
  color: #222;
  text-align: center;
  display: inline-block;
  border-radius: 100%;
  padding-top: 20px;
  transition: all .35s ease;
}

.book-item .hover-item i:hover {
  background: var(--primary-color);
  color: #fff;
}

/*  FAQ */

.faq .accordion-item {
  border-radius: 0;
  box-shadow: none;
  border:0px;
  border-bottom: 1px solid #ebebeb;
}

.faq .accordion-header {
  padding: 10px 0px;
}

.faq .panel-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 0px;
  text-transform: normal;
  font-family: var(--primary-font) !important;
}

.faq .panel-title > a {
  display: block;
  padding: 15px;
  padding-left: 0px;
  text-decoration: none;
  font-weight: 600;
  text-transform: normal;
  font-family: var(--primary-font) !important;
}

.more-less {
  float: right;
  color: #212121;
}

.panel-default > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #ddd;
}

.faq .accordion-body{
  padding: 20px;
  padding-left: 0px;
  font-family: var(--secondary-font) !important;
}

/*  Counter Section  */

.counter-item .content h2 {
  font-size: 40px;
  font-family: var(--primary-font) !important;
}

.counter-item i {
  width: 70px;
  height: 70px;
  border: 1px solid #ddd;
  display: inline-block;
  border-radius: 100%;
  text-align: center;
  padding-top: 22px;
  color: var(--primary-color);
  font-size: 22px;
}

/* Keep everything else Poppins (unless heading, .h1-.h6) */

.service-block {
  padding: 30px 40px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  font-family: var(--secondary-font) !important;
}

.service-block:hover {
  background: #fff;
  cursor: pointer;
  box-shadow: 0px 0px 15px 0 rgba(65, 63, 49, 0 .493);
}

.service-block {
  position: relative;
  overflow: hidden;
}

.service-block img {
  transition: transform 0.4s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.service-block:hover img {
  transform: scale(1.08);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.service-block::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0; /* start transparent */
  transition: background 0.3s ease-in;
  z-index: 2;
  pointer-events: none;
}


.service-block i {
  font-size: 60px;
}

.feature-block {
  padding: 60px 40px;
  text-align: center;
  box-shadow: 12px 7px 90px 0 rgba(110, 123, 131, 0.1);
  background: #fff;
  font-family: var(--secondary-font) !important;
}

.feature-block i {
  font-size: 60px;
}

.feature {
  margin-top: -80px;
}

/*------------------------------------
SECTION TESTIMONIAL
-------------------------------------*/
.testimonial {
  position: relative;
  background: #F4F7FC;
}

.testimonial-item-content {
  text-align: center;
  transition: all .7s ease;
  position: relative;
  padding: 40px  30px;
  font-family: var(--secondary-font) !important;
}

.testimonial-item-content:hover {
  cursor: pointer;
}

.testimonial-item-content .desc{
  font-size: 20px;
  font-family: var(--secondary-font) !important;
  line-height: 1.8em;
  color: #030507;
  padding: 0px 40px;
}

.test-author-thumb img {
  margin: 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 100%;
}

.rating a {
  color: var(--primary-color);
  font-family: var(--secondary-font) !important;
}

/*  Testimonial 2 */

.testimonial2 p {
  font-size: 26px;
  color: #000;
  line-height:1.8em;
  font-family: var(--secondary-font) !important;
}

.testimonial2 .author {
  text-align: center;
}

.testimonial2 .author img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonial2 .author .author-info {
  margin-top: 20px;
}

.testimonial2 .author h4 {
  font-size: 20px;
  margin-bottom: 0;
  font-family: var(--primary-font) !important;
}

.testimonial2 .author p {
  font-size: 14px;
  font-family: var(--secondary-font) !important;
}

/*---------------------------
CONTACT PAGE
-----------------------------*/
.contact-info-block{
  padding-left: 60px;
  font-family: var(--secondary-font) !important;
}
.contact-info-block h4 {
  margin-bottom: 0px;
  font-family: var(--primary-font) !important;
}

.contact-info-block i {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
  color: var(--primary-color);
}

.form-control {
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: #F4F7FC;
  height: 60px;
  padding-left: 15px;
  font-family: var(--secondary-font) !important;
}

.form-control:focus, .form-control:hover {
  border-color: var(--primary-color);
  box-shadow: none;
}

/*----------------------
 FOOTER
-----------------------*/
.footer {
  padding: 20px 0px;
  font-family: var(--secondary-font) !important;
}

.footer-copy {
  font-size: 16px;
  font-family: var(--secondary-font) !important;
}

.current-year {
  color: var(--primary-color) !important;
}

.text-black {
  color: #222;
  font-family: var(--secondary-font) !important;
}

/* Banner 4 */
.container-padding{
  padding:0px 100px;
  background:#F4F7FC;
  font-family: var(--secondary-font) !important;
}

.banner-img4{
  margin-bottom:-90px;
}

.featured-text{
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 600;
  font-size: 13px;
  color:var(--primary-color);
  font-family: var(--secondary-font) !important;
}

/*  About Section 4 */
.about-item2{
  position: relative;
  padding-left: 100px;
  font-family: var(--secondary-font) !important;
}

.about-icon{
  position: absolute;
  content:"";
  left:0px;
  top:0px;
  width:70px;
  height:70px;
  text-align: center;
  border:5px solid #ddd;
  font-size: 25px;
  padding-top: 18px;
  border-radius: 100%;
  margin-top: -5px;
  transition: all .4s ease;
}

.about-item2 h5{
  transition: all .4s ease;
  margin-bottom: 15px;
  font-family: var(--primary-font) !important;
}

.about-item2:hover h5{
  color: var(--primary-color);
}

.about-item2:hover .about-icon{
  background:var(--primary-color);
  border-color: var(--primary-color);
  color:#fff;
}

/*  Feature 4 */

.feature-two{
  box-shadow: none;
  padding:40px 40px;
  text-align: left;
  position: relative;
  transition: all .4s linear 0s;
  font-family: var(--secondary-font) !important;
}

.feature-two:hover{
  box-shadow: 12px 7px 90px 0 rgba(110, 123, 131, 0.1);
}

.feature-two:after{
  position: absolute;
  content:"";
  left:40px;
  width:50px;
  height:2px;
  background:var(--primary-color);
  bottom:0px;
  right:0px;
  transition: all .4s linear 0s;
  opacity: 0;
}
.feature-two:hover:after{
  width:80%;
  opacity: 1;
}

.pt-80{
  padding-top:80px
}
.pb-80{
  padding-bottom:80px
}

/* Tetsimonial 4  */

.testimonial-item2{
  padding:40px;
  opacity: .2;
  transform: scale3d(0.9, 0.9, 1);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  border:1px solid transparent;
  font-family: var(--secondary-font) !important;
}

.testimonial-slider .center .testimonial-item2{
  opacity: 1;
  transform: scale3d(1, 1, 1);
  background:#fff;
  border-radius: 5px;
  border:1px solid #ddd;
}

.testimonial-item2 p {
  font-size: 18px;
  color: #000;
  line-height: 38px;
  margin-bottom: 30px;
  font-family: var(--secondary-font) !important;
}

.testimonial-item2 .author {
  text-align: center;
}

.testimonial-item2 .author-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto;
  overflow: hidden;
  margin-bottom:30px;
}

.testimonial-item2 .author .author-info {
  margin-top: 20px;
}

.testimonial-item2 .author h4 {
  font-size: 16px;
  margin-bottom: 0;
  font-family: var(--primary-font) !important;
}

.testimonial-item2 .author p {
  font-size: 13px;
  margin-bottom: 0px;
  font-family: var(--secondary-font) !important;
}

.testimonial-slider .owl-dots .owl-dot{
  outline: none;
}
.testimonial-slider .owl-dots {
  margin-top:40px!important;
}
.testimonial-slider .owl-dots .owl-dot.active span{
  background: var(--primary-color);
}

/*  Subscribe Form */
.subscribe-form .form-control{
  background: #fff;
  font-family: var(--secondary-font) !important;
}

/*  Dark Home style */

.dark-home .main-navigation.header-white{
  background: #01325f;
}
.dark-home .main-navigation{
  border-bottom: 1px solid rgba(255,255,255,.03)!important;
}

.dark-home .main-navigation .navbar-brand h2{
  color: #fff;
  font-family: var(--primary-font) !important;
}

.dark-home .navbar-nav .nav-link{
  color: #fff;
}

.dark-bg-1{
  background:  #01325f !important;
}

.dark-bg-1 h1, .dark-bg-1 h2, .dark-bg-1 h3,.dark-bg-1 h4,.dark-bg-1 h5,.dark-bg-1 span,.dark-bg-1 p{
  color: #fff;
}


.dark-bg-1.banner-main {
  padding-top: 180px;
}

.dark-bg-2{
  background: #008acf !important;
}

.dark-bg-2 h1,.dark-bg-2 h2, .dark-bg-2 h3 ,.dark-bg-2 h4 ,.dark-bg-2 h5,.dark-bg-2 p, .dark-bg-2 span{
  color: #fff;
}

.dark-bg-1 p,.dark-bg-2 p{
  opacity: .9;
}

.dark-bg-2 .border,
.dark-bg-1 .border{
  border-color: rgba(255,255,255,.06)!important;
}

/* .dark-bg-2 .service-block h5{
  color: #000;
} */

.dark-bg-2 .service-block p{
  color: #eee;
}


.dark-bg-2 .panel-title > a{
  color: #fff;
}

.dark-bg-2 .panel-group .panel{
  border-color: rgba(255,255,255,.08);
}

.dark-bg-2 .more-less{
  color: #fff;
}

.dark-bg-2 .panel-body{
  color: #fff;
  opacity: .8;
}

.dark-bg-2 .follow a{
  color: #fff;
}

.dark-bg-1 .counter-item i{
  border-color: rgba(255,255,255,.08);
}

.dark-home .top-socials a{
  border-color: rgba(255,255,255,.1);
  background: #17212E;
  color: #fff!important;
}

/*----------------------------------------*/
/*  2.2 Back to Top
/*----------------------------------------*/

#progress {
  position: fixed;
  bottom: 30px;
  right: 30px;
  height: 50px;
  width: 50px;
  display: none;
  place-items: center;
  box-shadow: 0 0 10px rgb(131 131 131 / 12%);
  cursor: pointer;
  z-index: 9;
  line-height: 50px;
  border-radius: 100%;
  transition: 0.3s;
  transform: scale(1);
}

#progress-value {
  height: calc(100% - 5px);
  width: calc(100% - 5px);
  background: #fff;
  color: var(--primary-color);
  border-radius: 100%;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-family: var(--secondary-font) !important;
}

/* Contact Form Success/Error Messages */
.contact__msg {
  margin-bottom: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 500;
  animation: slideDown 0.3s ease-out;
  font-family: var(--secondary-font) !important;
}

/* ==============================
   Blog Detail styles (migrated from assets_old)
   ============================== */
/* Utility colors */
.color-yellow {
  color: var(--primary-color) !important;
}

/* Section helpers */
.section-padding {
  padding: 80px 0;
}

/* Background gradient wrapper used across blog pages */
.bg-one {
  background: linear-gradient(to right, #01325f, #008acf);
}

/* Hero spacing used on blog header */
.hero__padding {
  padding-top: 150px;
  padding-bottom: 100px;
}

/* Generic CTA button styles used in blog detail */
.button {
  pointer-events: auto;
  cursor: pointer;
  background: var(--primary-color) !important;
  color: #ffffff;
  border: none;
  text-align: center;
  padding: 10px 30px;
  line-height: 30px;
  margin: 0;
  position: relative;
  display: inline-block;
}
.button:hover {
  color: #ffffff;
}
.button::before,
.button::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.button__primary {
  border-radius: 3px;
  overflow: hidden;
  color: #ffffff;
  background: #fff23e;
}
.button__primary::before {
  content: "";
  background: var(--primary-color) !important;
  width: 125%;
  left: -12%;
  transform: skew(30deg);
  transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
}
.button__primary span {
  position: relative;
}
.button__primary:hover::before {
  transform: translate3d(100%, 0, 0);
}

/* Social icon list used in share section */
.social-icon {
  padding-left: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.social-icon li { list-style: none; }
.social-icon li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 5px;
  background-color: #003f74 !important;
  color: #ffffff;
  transition: all 0.5s;
  box-shadow: 3px 3px var(--primary-color);
}
.social-icon li a:hover {
  background-color: var(--primary-color);
  box-shadow: none;
}

/* Blog header/breadcrumb */
.blog-title { text-align: center; }
.blog-title ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-title ul li {
  list-style: none;
  font-weight: 500;
}
.blog-title ul li:not(:last-child) { margin-right: 15px; }
.blog-title ul li a { color: var(--primary-color) !important; }
.blog-title ul li a:hover { color: var(--primary-color); }

/* Single blog content */
.single-blog__metainfo {
  margin: 0;
  padding: 20px 0;
  display: flex;
  align-items: center;
}
.single-blog__metainfo li {
  list-style: none;
  display: flex;
  align-items: center;
}
.single-blog__metainfo li:not(:last-child) { margin-right: 15px; }
.single-blog__metainfo li i {
  margin-right: 5px;
  font-size: 16px;
  color: var(--primary-color) !important;
}
.single-blog__metainfo li a { color: #2f4858; }
.single-blog__metainfo li a:hover { color: var(--primary-color) !important; }

.single-blog__title { margin-bottom: 13px; }
.single-blog__para { margin-bottom: 25px; }

.single-blog__para p {
  font-weight: 500;
}

.single-blog__para__quote {
  position: relative;
  padding: 35px;
  text-align: left;
  margin: 30px 0;
  background-color: #e6e7f5;
  display: flex;
  align-items: center;
}
.single-blog__para__quote__icon { width: 70px; height: 100px; }
.single-blog__para__quote__icon i {
  color: var(--primary-color) !important;
  font-size: 68px;
  line-height: 0.8;
  opacity: 0.7;
}
.single-blog__para__quote__text {
  width: calc(100% - 100px);
  margin-left: 30px;
  text-align: center;
}
.single-blog__para ol { padding: 20px; }
.single-blog__para ol li { padding-left: 3px; margin-bottom: 15px; }
.single-blog__para .content-feature-list { margin: 15px 0 25px; padding: 0; }
.single-blog__para .content-feature-list li { list-style: none; margin: 0 0 18px; position: relative; }
.single-blog__para .content-feature-list li i { color: var(--primary-color) !important; margin-right: 10px; }

.single-blog__share { display: flex; align-items: center; gap: 16px; border-radius: 12px; }

.single-blog__comment { margin-top: 30px; }
.single-blog__comment__title { margin-bottom: 30px; }
.single-blog__comment__title h4 { margin: 0; }
.single-blog__comment__item {
  padding: 25px;
  margin-bottom: 25px;
  display: flex;
  border-radius: 5px;
  box-shadow: 0px 1px 15px 0px rgba(1, 6, 33, 0.06);
}
.single-blog__comment__item__content { margin-left: 20px; }
.single-blog__comment .comment-text p { margin: 0; }
.single-blog__comment__form { margin-top: 30px; padding: 25px; }
.single-blog__comment__form form input,
.single-blog__comment__form form textarea {
  width: 100%;
  border: none;
  padding: 10px;
  margin-bottom: 15px;
  background-color: #ffffff;
  border-bottom: 2px solid transparent;
}
.single-blog__comment__form form input:focus,
.single-blog__comment__form form textarea:focus {
  outline: none;
  border: none;
  border-bottom: 2px solid var(--primary-color) !important;
}
.single-blog__comment__form form textarea { min-height: 120px; transition: all 0.3s ease-in-out; }

.single-blog__category {
  justify-content: space-between;
  margin-bottom: 30px;
  padding: 20px;
  background: linear-gradient(to right, #01325f, #008acf);
  gap: 10px;
}
.single-blog__category ul { padding: 0; margin-bottom: 0; display: flex; gap: 8px; align-items: center; }
.single-blog__category ul li { list-style-type: none; }
.single-blog__category ul li a {
  background-color: var(--primary-color) !important;
  padding: 3px 10px;
  border-radius: 30px;
  color: #ffffff;
}

/* Light cards inside gradient wrapper */
.bg-one .single-blog__para__quote,
.bg-one .single-blog__share,
.bg-one .single-blog__comment__item,
.bg-one .single-blog__comment__form {
  background-color: #ffffff;
}
.bg-one .single-blog__para__quote input,
.bg-one .single-blog__para__quote textarea,
.bg-one .single-blog__share input,
.bg-one .single-blog__share textarea,
.bg-one .single-blog__comment__item input,
.bg-one .single-blog__comment__item textarea,
.bg-one .single-blog__comment__form input,
.bg-one .single-blog__comment__form textarea {
  background: linear-gradient(to right, #013464, #0080c0);
}

.contact__msg.alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.contact__msg.alert-danger {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.contact__msg ul {
  margin: 0;
  padding-left: 20px;
  font-family: var(--secondary-font) !important;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Books Section 3D Effects */
.books-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #01325f 0%, #008acf 100%);
}

.book-card-3d {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.book-card-3d:hover {
  transform: translateY(-10px) rotateX(5deg);
  background: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.3),
    0 15px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.book-image-container {
  position: relative;
  margin-bottom: 20px;
  border-radius: 15px;
  overflow: hidden;
}

.book-image-3d {
  width: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: all 0.4s ease;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.2),
    0 8px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.book-card-3d:hover .book-image-3d {
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) translateY(-5px);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.3),
    0 15px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.book-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.book-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.book-card-3d:hover .book-overlay {
  transform: translateY(0);
}

.book-title {
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  font-family: "Philosopher", sans-serif;
}

.book-author {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.book-price {
  color: #bd9c03;
  font-size: 1.3rem;
  font-weight: 700;
}

.book-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.book-actions .btn {
  border-radius: 25px;
  padding: 8px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.book-actions .btn-primary {
  background: linear-gradient(135deg, #01325f 0%, #008acf 100%);
  border: none;
}

.book-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(1, 50, 95, 0.3);
}

.book-actions .btn-warning {
  background: linear-gradient(135deg, #bd9c03 0%, #fff23e 100%);
  border: none;
  color: #2f4858;
}

.book-actions .btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(189, 156, 3, 0.3);
  color: #2f4858;
}

.section-title {
  font-family: "Philosopher", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .book-image-3d {
    height: 250px;
    transform: none;
  }

  .book-card-3d:hover .book-image-3d {
    transform: translateY(-5px);
  }

  .book-card-3d:hover {
    transform: translateY(-5px);
  }

  .book-actions {
    flex-direction: column;
  }

  .book-actions .btn {
    width: 100%;
  }
}

