* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
  max-width: 100%;
  display: block;
}

/* =========================
       Notice Bar
    ========================== */

.notice-bar {
  background: linear-gradient(180deg, #5b3517, #3d220e);
  color: #fff;

  border-radius: 12px;

  padding: 14px 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  margin-bottom: 18px;

  font-size: 1rem;
}

.notice-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* =========================
       Book Hero Card
    ========================== */

.book-card {
  background: #fff4f4;
  border: 1px solid #e2ddd5;
  border-radius: 5px;
  padding: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  margin: 0 30px 10px;
}

.book-top {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 10px;
  margin: 0 0 10px 0;
}

.book-top .book-cover {
  background: #fafafa;
  overflow: hidden;
  border: 1px solid #ececec;
}

.book-top .book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
       Detail Box
    ========================== */


.details-box{
  border: 1px solid #e5e5e5;
  border-radius: 8px;
    overflow: hidden;
    background: white;
}
.detail-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  border-bottom: 1px solid #e5e5e5;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-family: var(--font-urdu);
  font-size: var(--font-subheading);
  background: #f8f8f8;
  padding: 0px 10px;
  border-left: 1px solid #ececec;
  color: #0d6a3c;
}

.detail-value {
  font-family: var(--font-urdu);
  font-size: var(--font-subheading);
  padding: 0px 10px;
  color: #002ab3;
}

/* =========================
       Buttons
    ========================== */

.action-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;

  margin-top: 22px;
}

.action-btn {
  background: linear-gradient(180deg, #0f7c46, #0a5e35);
  color: #fff;

  padding: 16px;

  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-size: 1.15rem;
  font-weight: bold;

  transition: 0.3s;
}

.action-btn:hover {
  transform: translateY(-2px);
}

/* =========================
       Content Sections
    ========================== */

.content-box {
  background: #fff;
  border: 1px solid #e2ddd5;
  border-radius: 8px;
  padding: 10px;
  margin: 0 30px 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.content-box {
  font-family: var(--font-Bombay);
  font-size: var(--font-heading);
  color: white;
}

/* .............. Section Header (Professional Setup) .............. */

.section-head {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  padding: 6px 14px;
  border-radius: 5px;
  /* richer green depth */
  background: linear-gradient(145deg, #16a667 0%, #0f7a47 55%, #0c5f38 100%);
  /* multi-layer emboss + lift */
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    /* top highlight */
    inset 0 -6px 10px rgba(0, 0, 0, 0.45),
    /* inner depth */
    0 8px 18px rgba(0, 0, 0, 0.25),
    /* outer lift */
    0 0 0 1px rgba(255, 255, 255, 0.06);
  /* thin edge definition */
}

/* soft glass reflection layer */
.section-head::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.12),
      transparent 40%,
      rgba(0, 0, 0, 0.12));

  pointer-events: none;
}

/* moving shine (premium slow sweep) */
.section-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;

  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.35),
      transparent);

  transform: skewX(-20deg);

  animation: headShine 4.5s ease-in-out infinite;

  pointer-events: none;
}

/* smoother luxury motion */
@keyframes headShine {
  0% {
    left: -70%;
  }

  100% {
    left: 130%;
  }
}

/* Heading (Title Text) */
.details-head {
  margin: 0;              
  padding: 0;
  color: #fff;
  font-family: var(--font-Bombay);
  font-size: var(--font-heading);
  line-height: 1.2;                
}

/* Icon Container (Right Side Box) */
.section-icon {
  width: clamp(32px, 3vw, 42px);  
  height: clamp(32px, 3vw, 42px);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;                
}

/* Icon Image (Inside Container) */
.section-icon img {
  width: clamp(30px, 3vw, 45px); /* controlled icon size */
  height: clamp(30px, 3vw, 45px);

  object-fit: contain;
  display: block;            
}
/* .............. End Section Header .............. */

.intro-text h2 {
  font-family: var(--font-urdu);
  font-size: var(--font-subheading);
  text-align: center;
  color: brown;
}

.intro-text p{
  font-family: var(--font-urdu);
    font-size: var(--font-subheading);
    text-align: justify;
    text-indent: 40px;
  color: rgb(3, 3, 116);
}

/* =========================
       Topics List
    ========================== */

.topics-list {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}

.topic-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px;
  border-bottom: 1px solid #ededed;
  background: #fff;
}

.topic-item:last-child {
  border-bottom: none;
}

.topic-text {
  font-family: var(--font-urdu);
  font-size: clamp(18px, 2.2vw, 28px);
  color: rebeccapurple;
}

.topic-icon {
  color: #006655;
  font-size: 1.8rem;
  flex-shrink: 0;
}

/* =========================
       Footer Strip
    ========================== */

.footer-strip {
  background: #3a220f;
  color: #fff;

  text-align: center;

  padding: 18px;

  border-radius: 14px;

  margin-top: 20px;

  font-size: 1.15rem;
}

/* =========================
       Responsive
    ========================== */

@media (max-width: 768px) {

  .book-top {
    grid-template-columns: 1fr;
  }

  .book-cover {
    max-width: 320px;
    margin: auto;
  }

  .detail-row {
    grid-template-columns: 80px 1fr;
  }

  .action-buttons {
    grid-template-columns: 1fr 1fr;
  }
    .book-card {
      margin: 0 2px 10px;
    }
        .content-box {
          margin: 0 2px 10px;
        }
}

@media (max-width: 450px) {
  .btn-box .btn img {
    width: clamp(18px, 3vw, 45px);
    height: clamp(18px, 3vw, 45px);
  }

  .btn-box {
    gap: 3px;
  }

  .btn-box .btn {
    font-size: clamp(14px, 2vw, 22px);
    gap: 3px;
    padding: 1px;
    border-radius: 2px;
  }
    .books-section h1 {
      font-size: clamp(13px, 1.5vw, 24px);
    }

}