/* Book Page Styles */
:root {
  --green: #17826d;
  --gold: #e6c77b;
  --blue: #1e3a5c;
  --white: #fff;
  --gray: #f6f7fa;
  --sand: #f9f6f1;
  --shadow: rgba(30,58,92,0.08);
  --serif: 'Inter', sans-serif;
  --sans: 'Inter', sans-serif;
}
body {
  background: var(--gray);
  color: var(--blue);
  font-family: var(--sans);
  margin: 0;
  padding: 0;
}
.book-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 24px var(--shadow);
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0 0 1.5rem 1.5rem;
  width:100%;
}
.book-navbar .back-home {
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  background: var(--gray);
  transition: background 0.2s, color 0.2s;
  margin-left: 1.5rem;
}
.book-navbar .back-home:hover {
  background: var(--green);
  color: var(--white);
}
.book-navbar .lang-switcher {
  margin-right: 1.5rem;
}
/* Islamic Hero Section Redesign */
.islamic-hero {
  width: 100vw;
  min-width: 100vw;
  background: linear-gradient(90deg, #17826d 0%, #fbbf24 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  box-shadow: 0 4px 24px var(--shadow);
  border-radius: 0 0 2rem 2rem;
  overflow: hidden;
}
.hero-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  height: 100%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
  align-items: center;
  gap: 0;
}
.hero-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.hero-col-left {
  align-items: flex-start;
  padding-right: 32px;
  background: none;
  z-index: 2;
  padding-top: 32px;
  padding-bottom: 32px;
  width: 100%;
  text-align: left;
}
.hero-col-left > * {
  margin-bottom: 24px;
}
.hero-col-left > *:last-child {
  margin-bottom: 0;
}
.hero-title, .hero-subtitle, .hero-badge, .hero-author, .hero-cta-btn {
  color: #fff !important;
  z-index: 3;
  text-align: left;
}
.hero-col-right {
  align-items: center;
  justify-content: center;
  padding-left: 32px;
  width: 100%;
}
.hero-badge {
  background: rgba(255,255,255,0.13);
  color: #fff;
  border-radius: 1.2rem;
  padding: 0.3rem 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(30,58,92,0.08);
  letter-spacing: 0.02em;
}
.hero-title {
  font-family: var(--serif);
  font-size: 2.7rem;
  color: #fff;
  line-height: 1.1;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(30,58,92,0.18);
}
.hero-subtitle {
  font-size: 1.25rem;
  color: #f9f6f1;
  font-family: var(--sans);
  max-width: 420px;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(30,58,92,0.10);
}
.hero-author {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 32px;
  font-style: italic;
  letter-spacing: 0.01em;
}
.hero-author-name {
  color: #FBBF24;
  font-weight: 700;
  font-style: italic;
}
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem; /* spacing between icon and text */
  text-decoration: none;
  width: 200px;
  height: 48px;
  background: #FBBF24;
  color: #1e3a5c;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 0;
  box-shadow: 0 4px 16px rgba(30,58,92,0.13), 0 2px 8px var(--shadow);
  transition: background 0.2s, color 0.2s, transform 0.1s;
  letter-spacing: 0.01em;
  outline: none;
  padding-left: 12px;
}
.hero-cta-btn:hover {
  background: #f59e0b;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.hero-book-cover {
  width: 300px;
  height: 450px;
  background: rgba(255,255,255,0.95);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(30,58,92,0.18), 0 2px 8px var(--shadow);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(30,58,92,0.08);
  background: #fff;
}
.hero-share-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.hero-share-label {
  font-size: 1rem;
  color: #fff;
  opacity: 0.8;
  margin-right: 8px;
}
.hero-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: #17826d;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background 0.18s, color 0.18s, transform 0.1s;
  font-size: 1.1rem;
  margin-right: 2px;
  border: none;
  outline: none;
}
.hero-share-btn:hover {
  background: #e6c77b;
  color: #1e3a5c;
  transform: translateY(-2px) scale(1.08);
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
  }
  .hero-col-left, .hero-col-right {
    padding: 0;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .hero-title, .hero-subtitle, .hero-badge, .hero-author, .hero-cta-btn {
    text-align: center;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-book-cover {
    width: 220px;
    height: 320px;
  }
  .hero-subtitle {
    max-width: 100%;
  }
  .islamic-hero {
    min-height: 700px;
    height: auto;
    padding: 32px 0;
    border-radius: 0 0 1.2rem 1.2rem;
  }
}
/* About Section */
.about-section {
  background: var(--sand);
  border-radius: 1.5rem;
  margin: 2.5rem auto;
  max-width: 1200px;
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  box-shadow: 0 4px 24px var(--shadow);
  font-family: var(--sans);
  animation: fadeIn 1s;
  text-align: center;
}
.about-title {
  font-family: 'Inter', var(--sans);
  font-size: 24pt;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--green);
  letter-spacing: 0.01em;
}
.about-body {
  font-family: 'Inter', var(--sans);
  font-size: 16pt;
  font-weight: 400;
  color: var(--blue);
  line-height: 1.7;
  margin: 0 auto;
  text-align: justify;
}
.about-section .about-quote {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--green);
  margin: 1.2rem 0 0.7rem 0;
  padding-left: 1.2rem;
  border-left: 4px solid var(--gold);
}
/* Author Section */
.author-section {
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px var(--shadow);
  padding: 64px 32px;
  margin: 2.5rem auto;
  max-width: 900px;
  animation: fadeIn 1s;
}
.author-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 32px;
}
.author-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.author-col-left {
  align-items: center;
  justify-content: center;
}
.author-image-placeholder {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: linear-gradient(135deg, #17826d 60%, #e6c77b 100%);
  box-shadow: 0 8px 32px rgba(30,58,92,0.18), 0 2px 8px var(--shadow);
  margin: 0 auto;
}
.author-col-right {
  align-items: flex-start;
  justify-content: center;
}
.author-title-placeholder {
  width: 200px;
  height: 40px;
  background: #fbbf24;
  border-radius: 8px;
  margin-bottom: 24px;
}
.author-body-placeholder {
  width: 500px;
  min-height: 100px;
  background: rgba(23,130,109,0.07);
  border-radius: 8px;
  padding: 24px;
  font-family: 'Inter', var(--sans);
  font-size: 1.1rem;
  color: var(--blue);
  line-height: 1.7;
  margin-bottom: 0;
  text-align: left;
}
.author-portrait {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 2px 8px var(--shadow);
  background: var(--sand);
}
.author-info {
  flex: 1;
}
.author-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.author-bio {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}
.author-quote {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
  border-left: 4px solid var(--green);
  padding-left: 1rem;
  margin-top: 0.5rem;
}
@media (max-width: 900px) {
  .author-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .author-body-placeholder, .author-title-placeholder {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    text-align: center;
  }
  .author-col-right {
    align-items: center;
    text-align: center;
  }
  .author-section {
    padding: 32px 8px;
  }
}
@media (max-width: 700px) {
  .author-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.2rem 0.7rem;
  }
  .author-info {
    text-align: left;
  }
}
/* Highlights Section */
.highlights-section {
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 48px 0;
  animation: fadeIn 1s;
  border-radius: 1.5rem;
}
.highlights-title {
  text-align: center;
  font-size: 28pt;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #17826d;
  margin-bottom: 2rem;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.highlight-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 2rem 1.3rem 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  transition: transform 0.18s, box-shadow 0.18s;
  min-height: 180px;
  cursor: pointer;
  text-align: center;
}
.highlight-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px var(--shadow);
}
.highlight-icon {
  width: 36px;
  height: 36px;
  color: #17826d;
  margin-bottom: 0.2rem;
  flex-shrink: 0;
}
.highlight-title {
  font-weight: 700;
  color: #17826d;
  font-size: 18pt;
  margin-bottom: 0.2rem;
  font-family: 'Inter', var(--sans);
}
.highlight-desc {
  font-size: 14pt;
  color: #1e3a5c;
  font-family: 'Inter', var(--sans);
  opacity: 0.92;
}
@media (max-width: 1100px) {
  .highlights-section {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .highlights-section {
    grid-template-columns: 1fr;
    padding: 24px 0;
    gap: 20px;
  }
  .highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .highlight-card {
    padding: 1.2rem 0.7rem;
    min-height: 120px;
  }
}
/* Bonuses Section */
.bonuses-section {
  max-width: 700px;
  margin: 2.5rem auto;
  background: var(--sand);
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 40px 24px;
  animation: fadeIn 1s;
  text-align: center;
}
.bonuses-title {
  font-family: 'Inter', var(--sans);
  font-size: 22pt;
  font-weight: 700;
  color: #17826d;
  margin-bottom: 2rem;
  text-align: center;
}
.bonus-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.bonus-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.1rem;
  color: #17826d;
  font-weight: 600;
  background: #fff;
  border-radius: 2rem;
  padding: 0.7rem 1.5rem;
  box-shadow: 0 2px 8px var(--shadow);
  min-width: 320px;
  max-width: 100%;
  justify-content: flex-start;
}
.bonus-icon {
  width: 28px;
  height: 28px;
  color: #e6c77b;
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .bonuses-section {
    padding: 24px 4px;
  }
  .bonus-item {
    min-width: 0;
    width: 100%;
    font-size: 1rem;
    padding: 0.7rem 0.7rem;
  }
}
/* Gallery Section */
.gallery-section {
  max-width: 900px;
  margin: 2.5rem auto;
  background: var(--white);
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 2rem 1.5rem;
  animation: fadeIn 1s;
}
.gallery-carousel {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}
.gallery-item {
  min-width: 260px;
  max-width: 320px;
  background: var(--sand);
  border-radius: 1rem;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 1rem;
  margin-right: 1.2rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.18s;
}
.gallery-item img, .gallery-item video {
  width: 100%;
  border-radius: 0.7rem;
  margin-bottom: 0.7rem;
  object-fit: cover;
  max-height: 180px;
}
.gallery-item:last-child {
  margin-right: 0;
}
.gallery-caption {
  font-size: 0.98rem;
  color: var(--blue);
  text-align: center;
}
/* Testimonials Section */
.testimonials-section {
  max-width: 800px;
  margin: 2.5rem auto;
  background: #f6f7fa;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px var(--shadow);
  padding: 2rem 1.5rem;
  animation: fadeIn 1s;
}
.testimonial-block {
  margin-bottom: 32px;
  text-align: center;
  position: relative;
}
.testimonial-quote-mark {
  font-size: 48pt;
  color: #e6c77b;
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  opacity: 0.18;
  pointer-events: none;
  font-family: serif;
}
.testimonial {
  font-style: italic;
  color: #17826d;
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  margin-top: 0.5rem;
  line-height: 1.6;
  background: none;
  border: none;
  box-shadow: none;
}
.testimonial.visible {
  opacity: 1;
  transform: none;
}
.testimonial-author {
  color: #1e3a5c;
  font-weight: 600;
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
  margin-top: 0.2rem;
}
.testimonial-author.visible {
  opacity: 1;
  transform: none;
}
/* Pre-order Section */
.preorder-section {
  max-width: 800px;
  margin: 2.5rem auto;
  background: var(--white);
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 2.5rem;
  animation: fadeIn 1s;
}
.preorder-cover-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
.preorder-cover {
  width: 180px;
  height: 260px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 16px var(--shadow);
  border: 2px solid var(--gold);
  background: var(--sand);
}
.preorder-details-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.1rem;
}
.preorder-title {
  font-size: 1.7rem;
  color: var(--green);
  font-family: 'Inter', var(--sans);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.preorder-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.7rem;
}
.preorder-ctas {
  width: 100%;
  margin: 1.1rem 0 0.5rem 0;
}
.preorder-assurance {
  font-size: 1rem;
  color: #17826d;
  margin-top: 0.7rem;
  opacity: 0.85;
}
@media (max-width: 900px) {
  .preorder-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0.7rem;
  }
  .preorder-cover {
    width: 120px;
    height: 170px;
  }
  .preorder-details-col {
    align-items: center;
    text-align: center;
  }
  .preorder-title, .preorder-price, .preorder-assurance {
    text-align: center;
    width: 100%;
  }
}
/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 2.5rem auto;
  background: var(--sand);
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 2rem 1.5rem;
  animation: fadeIn 1s;
}
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.faq-item {
  margin-bottom: 1.2rem;
}
.faq-question {
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
  margin-bottom: 0.3rem;
  font-size: 1.07rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.faq-answer {
  font-size: 0.98rem;
  color: #444;
  display: none;
  margin-left: 1.2rem;
  margin-top: 0.2rem;
}
.faq-item.open .faq-answer {
  display: block;
}
/* Contact/Share Section */
.contact-section {
  max-width: 800px;
  margin: 2.5rem auto 2rem auto;
  background: var(--white);
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 2rem 1.5rem;
  animation: fadeIn 1s;
}
.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.contact-form input, .contact-form textarea {
  flex: 1 1 180px;
  padding: 0.7rem 1rem;
  border-radius: 0.7rem;
  border: 1px solid #e6c77b;
  font-size: 1rem;
  font-family: var(--sans);
  margin-bottom: 0.5rem;
  background: var(--sand);
  color: var(--blue);
  outline: none;
  transition: border 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border: 1.5px solid var(--green);
}
.contact-form textarea {
  min-height: 60px;
  resize: vertical;
}
.contact-form .btn {
  flex: 0 0 auto;
  margin-top: 0.2rem;
}
.share-buttons {
  display: flex;
  gap: 1.1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: var(--white);
  border-radius: 2rem;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.share-btn:hover {
  background: var(--gold);
  color: var(--green);
}
.newsletter-form {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  flex: 1 1 180px;
  padding: 0.7rem 1rem;
  border-radius: 0.7rem;
  border: 1px solid #e6c77b;
  font-size: 1rem;
  font-family: var(--sans);
  background: var(--sand);
  color: var(--blue);
  outline: none;
  transition: border 0.2s;
}
.newsletter-form input[type="email"]:focus {
  border: 1.5px solid var(--green);
}
.newsletter-form .btn {
  flex: 0 0 auto;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
} 
.buy-section {
  background: var(--sand);
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px var(--shadow);
  max-width: 600px;
  margin: 3rem auto 2.5rem auto;
  padding: 48px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.buy-title {
  font-family: 'Inter', var(--sans);
  font-size: 24pt;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 20px;
}
.buy-body {
  font-family: 'Inter', var(--sans);
  font-size: 16pt;
  color: var(--blue);
  margin-bottom: 32px;
  line-height: 1.6;
}
.buy-ctas {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.buy-btn {
  width: 80%;
  max-width: 400px;
  height: 48px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-family: 'Inter', var(--sans);
  font-weight: 700;
  border: none;
  cursor: pointer;
  margin: 0 auto;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  box-shadow: 0 2px 8px var(--shadow);
  outline: none;
  display: block;
}
.buy-btn-primary {
  background: #3B82F6;
  color: #fff;
}
.buy-btn-primary:hover {
  background: #2563eb;
}
.buy-btn-secondary {
  background: #1F2937;
  color: #fff;
}
.buy-btn-secondary:hover {
  background: #111827;
}
.buy-btn-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  margin-bottom: 2px;
}
@media (max-width: 600px) {
  .buy-section {
    padding: 32px 4px;
  }
  .buy-btn {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
} 

.hero-video-wrapper {
  margin-top: 20px;
  margin-bottom: 20px;
  max-width: 480px;
  width: 100%;
}

.hero-video-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #444;
  display: flex;
  align-items: center;
}

.hero-video {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  object-fit: cover;
  background-color: #000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}