.book-details.comtitle.fontspringdemo h3 {
  font-size: 4.4rem;
  letter-spacing: 0px;
  margin-bottom: 0px;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
}

#book-body .inpageBannerSec:before{
  display: none !important;
}

.section-header.comtitle.fontspringdemo h4 {
  font-size: 4rem !important;
  font-weight: 400;
}

.book-details p.parabtn {
  display: flex;
  justify-content: start;
  margin-top: 80px;
}

.book-details.comtitle p {
  font-size: 16px;
}

.book-details p.parabtn a:hover {
  color: var(--book-primary);
}

.book-details p.parabtn a:hover:before {
  background: #ffffff;
}

.book-details p.parabtn a {
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 400;
  padding: 10px 30px;
  position: relative;
  display: block;
  letter-spacing: 0.5px;
}

.book-description {
  margin-bottom: 40px;
}

.divider-book {
  height: 1px;
  width: 80%;
  /* background: linear-gradient(to right, transparent, #000, transparent); */
  /* margin: 60px 0; */
  background-color: #cfcfcf;
  position: absolute;
  bottom: 100px;
  left: 0;
}

.book-container-2 .divider-book {
  width: 100%;
  right: 0;
}

.book-container-2 .book-details {
  padding-right: 80px;
  padding-left: 0px;
}

.bg-container {
  width: 100%;
  height: 100%;
  background-image: url("../images/book-bg-2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: auto;
  position: relative;
}

.book-container {
  width: 100%;
  height: 100%;
  /* background-image: url("../images/book-bg-1.jpg"); */
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  height: auto;
  position: relative;
}

/* .book-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0));
          width: 100%;
    height: 200px;
    top: 0;
    left: 0;
} */
/* .inpageBannerSec .inpagecont::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -180px;         
  width: 100%;
  height: 200px;      

  pointer-events: none;

  background: linear-gradient(
    to bottom,
    #F3F2F2 0%,                
    rgba(243, 242, 242, 0) 100% 
  );
} */
.marquee-box {
  display: flex;
  align-items: center;
  gap: 40px;
}

.book-container-2 {
  width: 100%;
  height: 100%;
  /* background-image: url("../images/book-bg-2.png"); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: auto;
  position: relative;
}

.book-container-3 {
  width: 100%;
  height: 100%;
  /* background-image: url("../images/book-bg-2.png"); */
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  height: auto;
  position: relative;
}

.book-container-2 .decoration-pencils {
  position: absolute;
  bottom: -200px;
  right: 0px !important;
  width: 350px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
}

.section-header .main-title {
  color: var(--book-primary) !important;
  font-size: 10rem;
  font-weight: 400;
}

.book-details p.parabtn a:before {
  background: var(--book-primary);
  border: 2px solid var(--book-primary);
}

.creative-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  /* position: relative; */
}

/* --- Header Section --- */

.section-header {
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

/* .top-label {font-family: var(--font-serif); font-size: 1.5rem; color: var(--text-dark); text-transform: uppercase; letter-spacing: 2px;    margin-bottom: 5px;} */
.main-title {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  color: var(--primary-orange);
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1;
}

.intro-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 14px !important;
  line-height: 1.6;
  color: var(--text-grey);
}

/* --- Content Card (The Book Section) --- */

.book-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 60px; */
  background: transparent;
  position: relative;
  z-index: 2;
  margin-top: 40px;
}

.image-frame {
  transition: all 0.3s ease;
  flex: 1;
  max-width: 450px;
  max-height: 450px;
  /* background-color: #2c2c2c;  padding: 15px;  box-shadow: 0 10px 30px rgba(0,0,0,0.15); transform: rotate(-1deg);  */
}

.image-frame:hover {
  transform: rotate(-5deg) scale(0.95);
  transition: transform 0.3s ease;
  transition: all 0.3s ease;
}

.image-frame-2:hover {
  transform: rotate(5deg) scale(0.95);
  transition: transform 0.3s ease;
  transition: all 0.3s ease;
}

.image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  /* display: block; background-color: white;  padding: 10px; */
}

/* Right Side: Text Content */

.book-details {
  flex: 1;
  max-width: 500px;
  text-align: left;
  padding-left: 80px;
  position: relative;
}

.book-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--text-dark);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 20px;
}

.book-description {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--text-grey);
}

/* Button Styling */

.explore-btn {
  display: inline-block;
  background-color: var(--primary-orange);
  color: white;
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 35px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  /* Creating the slanted/trapezoid shape */
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  cursor: pointer;
  border: none;
}

.explore-btn:hover {
  background-color: #a85e0a;
  transform: translateY(-2px);
}

/* --- Background Decorations --- */
/* Bottom Left Notebooks */

.decoration-notebooks {
  position: absolute;
  bottom: -200px;
  left: -20px;
  width: 250px;
  z-index: 1;
  pointer-events: none;
}

.decoration-left-pencils {
  position: absolute;
  bottom: 0px;
  left: -20px;
  width: 300px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
}

/* Right Side Pen */

.decoration-pen {
  position: absolute;
  top: 0;
  right: 0;
  width: 350px;
  z-index: 1;
  pointer-events: none;
  /* transform: rotate(15deg); */
}

.decoration-pen::before {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  width: 100%;
  height: 100%;
  background-color: #a85e0a;
  z-index: 2;
}

.watermark {
  position: absolute;
  bottom: -100px;
  /* left: 50%; */
  left: 0;
  /* transform: translateX(-50%); */
  font-family: "SilkSerif", serif;
  font-size: 10vw;
  color: rgba(200, 117, 13, 0.05);
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 5px;
}
/* .mainfooter {
  background-image: url("../images/footer-new-bg-1.png") !important;
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
} */
.mainfooter .tmonySec .comtitle h2{
  padding-top: 220px;
}
.mainfooter  .tmonySec{
padding-block: 0;
}
/* ============== animation ============= */
  /* .book-container-2 [data-aos^=fade][data-aos^=fade].aos-animate{
  opacity: 0.4 !important;
}
  .book-container-3 [data-aos^=fade][data-aos^=fade].aos-animate{
    opacity: 0.4 !important;
  } */

@media (max-width: 1420px) {
  .decoration-pen {
    width: 250px;
  }
}

@media (max-width: 1200px) {

  .decoration-notebooks,
  .decoration-pen,
  .decoration-pencils,
  .decoration-pencils {
    width: 150px;
    height: auto;
  }

  .book-container-2 .decoration-pencils {
    width: 240px;
  }
}

@media (max-width: 900px) {
  .decoration-pen {
    top: -84px;
    width: 100px;
  }

  .watermark {
    bottom: -70px;
  }
 .book-container-2 .decoration-pencils {
    width: 150px;
    bottom: -100px;
  }
  /* .book-showcase { gap: 30px; } */
  .book-details.comtitle.fontspringdemo h3 {
    font-size: 2.9rem !important;
  }

  .section-header.comtitle.fontspringdemo h4 {
    font-size: 3rem !important;
  }

  .book-details.comtitle p {
    font-size: 16px;
  }

  .main-title {
    font-size: 46px !important;
  }

  .book-details p.parabtn a span {
    font-size: 14px;
  }

  .decoration-notebooks {
    bottom: -120px;
  }
}

@media (max-width: 768px) {
  .book-container-2 .book-details {
    padding-right: 0px;
    padding-left: 0px;
}
 .book-details p.parabtn {
  justify-content: center !important;

}
  .divider-book{bottom: 93px;}
  .book-details p.parabtn{margin-top: 60px;}

  .decoration-left-pencils {
    width: 150px;
  }

  .book-container-2 .decoration-pencils {
    width: 150px;
    bottom: -100px;
  }

  .watermark {
    bottom: -40px;
  }

  .creative-section {
    padding: 40px 20px;
  }

  /* Stack layout vertically */
  .book-showcase {
    flex-direction: column;
    /* gap: 40px; */
    align-items: center;
  }

  .book-container-2 .book-showcase {
    flex-direction: column-reverse;
    gap: 0px;
  }

  .book-container-3 .book-showcase {
    flex-direction: column;
    gap: 0px;
  }

  .book-details {
    padding-right: 0;
    padding-left: 0;
  }

  .image-frame {
    max-width: 450px;
    max-height: 450px;
    transform: rotate(0);
    /* Remove tilt on mobile for stability */
    /* margin: 0 auto;      */
  }

  .book-details {
    text-align: center;
    padding-left: 0;
    border-left: none;
    /* border-top: 1px solid #e0e0e0; */
    padding-top: 30px;
  }

  .book-title {
    font-size: 2rem;
  }

  /* Hide heavy decorations on mobile to save space */
  /* .decoration-notebooks, .decoration-pen { display: none; } */
  .decoration-notebooks,
  .decoration-pen,
  .decoration-pencils,
  .decoration-pencils {
    width: 100px;
    height: auto;
  }

  .watermark {
    font-size: 6rem;
  }
}