/* Reset and base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 300; /* Softer font weight for body text */
  background: #ffffff;
  color: #333; /* Softer text color */
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo img {
  height: 40px;
}
.navbar-center {
  flex: 1;
  display: flex;
  justify-content: center;
}
.navbar-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.navbar-links li a {
  text-decoration: none;
  color: #222;
  font-weight: 300;
  transition: color 0.2s;
}
.navbar-links li a:hover {
  color: #6a3c87;
}
.navbar-right {
  margin-left: 2rem;
}
.navbar-buy {
  text-decoration: none;
  color: #333;
  font-weight: 400;
  padding: 8px 20px;
  border: 2px solid #ffc53a;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.navbar-buy:hover {
  background: #ffc53a;
  color: #333;
}
.navbar-buy + .navbar-buy {
  margin-left: 0.75rem;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0.5rem;
  margin-left: 1rem;
}
.hamburger-menu span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 4px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
/* .hero {
  position: relative;
  min-height: 100vh;
  padding: 80px 20px;
  background-color: #f8f8f8;
  display: flex;
  align-items: center;
} */

/* .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://res.cloudinary.com/vic-3e/image/upload/v1749397487/VD/rediscoverme_limiting_beliefs_cover-1.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  /* opacity: 0; Adjust this value to control image visibility
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-text {
  max-width: 600px;
  color: #333;
  font-weight: 300; /* Lighter body text
} */

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #333;
  font-weight: 700; /* Keep main title bold but might adjust if too heavy */
}

.hero-title span {
  color: #6a3c87;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #333;
  max-width: 800px;
  font-weight: 300; /* Lighter body text */
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #6a3c87;
  font-weight: 300; /* Softer subtitle */
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.hero-bullets li {
  margin-bottom: 20px;
  padding-left: 40px;
  position: relative;
  color: #333;
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 300; /* Lighter list item text */
}

.hero-bullets li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Custom bullet icons for each list item */
.hero-bullets li:nth-child(1):before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a3c87' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

.hero-bullets li:nth-child(2):before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a3c87' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

.hero-bullets li:nth-child(3):before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a3c87' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

.hero-bullets li:nth-child(4):before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a3c87' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

/* Hover effect for bullet points */
.hero-bullets li {
  transition: all 0.3s ease;
}

.hero-bullets li:hover {
  transform: translateX(5px);
}

.hero-bullets li:before {
  transition: all 0.3s ease;
  opacity: 0.8;
}

.hero-bullets li:hover:before {
  transform: scale(1.1);
  opacity: 1;
}

.hero-ctas {
  display: flex;
  gap: 20px;
}

.cta-button {
  background: #ffc53a;
  color: #333;
  padding: 15px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.cta-button:hover {
  background: #e6b234;
  transform: translateY(-2px);
}

.cta-secondary {
  color: #333;
  padding: 15px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #ffc53a;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.cta-secondary:hover {
  background: #ffc53a;
  color: #333;
  transform: translateY(-2px);
}

/* Section base */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1rem;
}
.section-title {
  font-size: 2.5rem;
  color: #333;
  text-align: center;
  margin-bottom: 40px;
}

/* Section Wrappers */
.book-overview-wrapper {
  background: #ffffff;
  width: 100%;
}

.testimonial-highlight-wrapper {
  background: #f8f8f8;
  width: 100%;
}

.customer-reviews-wrapper {
  background: #ffc53a;
  width: 100%;
}

.author-section-wrapper {
  background: #ffc53a;
  width: 100%;
  /* background-image: url('https://res.cloudinary.com/vic-3e/image/upload/v1750251524/VD/Limiting_Beliefs_RediscoverMe_Coaching_1.webp'); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.author-section-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 197, 58, 0.9);
  z-index: 1;
}

.signup-section-wrapper {
  background: #f8f8f8;
  width: 100%;
  height: auto;
}

.google-reviews-wrapper {
  background: #ffffff;
  width: 100%;
}

/* Section Content */
.book-overview {
  background: transparent;
  padding: 4rem 1rem;
}

.testimonial-highlight {
  background: transparent;
  padding: 4rem 1rem;
}

.customer-reviews {
  background: transparent;
  padding: 4rem 1rem;
}

.author-section {
  background: transparent;
  padding: 4rem 1rem;
  position: relative;
  z-index: 2;

}

.signup-section {
  background: #f8f8f8;
  padding: 4rem 1rem;
}

.google-reviews {
  background: transparent;
  padding: 4rem 1rem;
}

/* Book Overview */
.book-overview-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 0 20px;
  text-align: left;
}

.book-overview-content h3 {
  color: #ffc53a;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.book-overview-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #444;
  font-weight: 300;
  text-align: left;
  margin-bottom: 0;
}

/* Testimonial Highlight */
.testimonial-highlight-content {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.testimonial-highlight-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  /* border: 3px solid #f9c53b; */
}
.testimonial-highlight-quote {
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 0.5rem;
  font-weight: 300; /* Softer testimonial quote */
}
.testimonial-highlight-author {
  font-size: 0.95rem;
  color: #555;
}

/* Customer Reviews */
.customer-reviews {
  background: #ffc53a;
  border-radius: 12px;
}
.reviews-carousel {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0 0 0;
}
.review-item {
  display: none;
  text-align: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 2rem 1rem 1rem 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  margin: 0 auto;
  max-width: 500px;
}
.review-item.active {
  display: block;
}
.review-stars {
  color: #eab308;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.review-text {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-weight: 300; /* Lighter review text */
}
.review-reader {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.review-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.3rem;
}
.review-name {
  font-weight: 600;
  font-size: 1rem;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e0e7ff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-dot.active {
  background: #6a3c87;
}

/* Chapter Overview */
.chapter-overview-wrapper {
  background: #f8f8f8;
  width: 100%;
}

.chapter-overview {
  background: transparent;
  padding: 4rem 1rem;
}

.chapter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 700px) {
  .chapter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.chapter-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chapter-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.chapter-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #6a3c87;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.chapter-card h4 {
  color: #f9c53b;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.3rem;
}

.chapter-card p {
  font-weight: 300;
  color: #666;
  line-height: 1.6;
}

/* Author Section */
.author-section {
  background: transparent;
  padding: 80px 20px;
  text-align: center;
}

.author-content {
  max-width: 1200px;
  margin: 0 auto;
  color: #333;
}

.author-photo {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 40px auto;
  display: block;
}

.author-title {
  font-size: 2.8rem;
  margin-bottom: 0px;
  color: #333;
  font-weight: 700;
}

.author-subtitle {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 15px;
  color: #333;
}

.author-name {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 40px;
  color: #333;
}

.author-bio-text {
  color: #333;
}

.author-bio-link {
  color: #333;
  text-decoration: underline;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.author-bio-link:hover {
  color: #fff;
}

/* Author Section - Square Image and Side-by-Side Layout */
.author-content-square {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}
@media (min-width: 700px) {
  .author-content-square {
    flex-direction: row;
    align-items: flex-start;
  }
}
.author-photo-square {
  width: 360px;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
  border: 4px solid #f9c53b;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  background: #fff;
}

/* Email Signup */
.signup-box {
  max-width: 75%;
  margin: 0 auto;
  text-align: center;
}

.signup-box iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 8px;
}

.signup-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #6a3c87;
  font-weight: 700;
}

.signup-desc {
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

/* Purchase Bar */
.purchase-bar {
  background: #ffc53a;
  color: #222;
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 1rem;
  border-top: 1px solid #eee;
  position: fixed;
  bottom: -100px; /* Start hidden below the viewport */
  left: 0;
  right: 0;
  z-index: 99;
  transition: bottom 0.3s ease-in-out;
}

.purchase-bar.visible {
  bottom: 0;
}

.purchase-btn {
  background: #ffc53a;
  color: #333;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  min-width: 150px;
}
.purchase-btn:hover {
  background: #e6b234;
}
.purchase-bar span {
  font-weight: 300; /* Softer purchase bar text */
}

/* Footer */
.footer {
  background: #ffc53a;
  color: #333;
  padding: 2rem 1rem 1rem 1rem;
  text-align: center;
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.footer-icon {
  width: 28px;
  height: 28px;
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-icon:hover {
  opacity: 1;
}
.footer-copy {
  font-size: 0.95rem;
  color: #333;
  font-weight: 300;
}
.footer-copy a {
  color: #333;
  text-decoration: underline;
}

/* Responsive Styles */

/* Tablet and below */
@media (max-width: 1024px) {
  .navbar-container {
    padding: 0 1rem;
  }
  
  .navbar-links {
    gap: 1rem;
  }
  
  .navbar-right {
    margin-left: 1rem;
  }
  
  .navbar-buy {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  /* Navbar mobile */
  .navbar {
    padding: 0.75rem 0;
  }

  .navbar-container {
    flex-wrap: nowrap;
    padding: 0 1rem;
  }
  
  .navbar-logo img {
    height: 35px;
  }

  .hamburger-menu {
    display: flex;
    order: 2;
  }
  
  .navbar-center {
    order: 3;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #eee;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
  }

  .navbar-center.active {
    max-height: 500px;
  }

  .navbar-links {
    gap: 0;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1rem 0;
  }
  
  .navbar-links li {
    width: 100%;
  }

  .navbar-links li a {
    font-size: 0.95rem;
    display: block;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
  }

  .navbar-links li a:hover {
    background: #f9f9f9;
  }
  
  .navbar-right {
    margin-left: auto;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    max-height: 100%;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .navbar-right.active {
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
  }
  
  .navbar-buy {
    padding: 8px 16px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .navbar-right.active .navbar-buy {
    width: 100%;
    text-align: center;
  }

  .navbar-buy.sa {
    margin-left: 0 !important;
  }

  .navbar-right.active .navbar-buy.sa {
    margin-top: 0 !important;
  }

  /* Hero */
  .hero {
    min-height: auto;
    text-align: center;
  }

  .hero-text {
    margin: 0 auto;
  }

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

  .hero-bullets li {
    text-align: left;
  }

  .hero-ctas {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button,
  .cta-secondary {
    min-width: 100%;
    max-width: 300px;
  }

  /* Sections */
  .section {
    padding: 2rem 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  /* Book Overview */
  .book-overview-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .book-overview-content h3 {
    font-size: 1.3rem;
  }
  
  .book-overview-content p {
    font-size: 1rem;
  }
  
  /* Sample/Flipbook container */
  .sample-container-box {
    height: 400px !important;
    max-width: 100% !important;
    margin: 20px auto !important;
  }
  
  .sample-container {
    min-height: 350px !important;
  }
  
  /* Testimonial highlight */
  .testimonial-highlight-content {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .testimonial-highlight-photo {
    margin: 0 auto;
  }
  
  .testimonial-highlight-quote {
    font-size: 1rem;
  }
  
  .testimonial-highlight-author {
    font-size: 0.85rem;
  }
  
  /* Google reviews */
  .google-reviews-container {
    padding: 1rem;
    margin-bottom: 2rem;
    min-height: 300px;
  }
  
  /* Goodreads reviews */
  .goodreads-reviews-container {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .goodreads-review-card {
    aspect-ratio: auto;
    padding: 1.5rem;
  }
  
  .goodreads-review-content {
    font-size: 1rem;
  }
  
  /* Chapter overview */
  .chapter-grid {
    grid-template-columns: 1fr !important;
  }
  
  .chapter-card {
    padding: 1.5rem 1rem;
  }
  
  /* Author section */
  .author-section {
    padding: 3rem 1rem;
  }
  
  .author-photo {
    width: 150px;
    height: 150px;
    margin-bottom: 1.5rem;
  }
  
  .author-title {
    font-size: 2rem;
  }
  
  .author-subtitle {
    font-size: 1.3rem;
  }
  
  .author-bio-text {
    padding: 0 0.5rem;
  }
  
  /* Signup box */
  .signup-box {
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .signup-box iframe {
    height: 450px;
  }
  
  /* Purchase bar */
  .purchase-bar {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    font-size: 1rem;
  }
  
  .purchase-btn {
    min-width: 200px;
  }
}

p {
  font-family: "Lato", sans-serif;
  color: #757575;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 16px;
  font-weight: 300;
}

.chapter-card .chapter-number {
  font-size: 18px;
  margin-bottom: 3px;
  color: #edb94a;
}

.chapter-card h4 {
  font: 100% "Lato", sans-serif;
  color: #000;
  font-weight: 400;
  line-height: 1.29;
}

.slider-item.active {
  display: block;
  opacity: 1;
}

.slider-item h3 {
  color: #ffc53a;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.slider-item p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 0;
}


/* .slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for contrast
  padding: 10px 15px;
  border-radius: 20px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  /* Ensure dots maintain circular shape
  flex-shrink: 0;
  display: block;
}

.slider-dot.active {
  background-color: #fff;
  transform: scale(1.2);
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .slider-item h3 {
    font-size: 1.5rem;
  }
  
  .slider-item p {
    font-size: 1.1rem;
  }
} */

.google-reviews {
  background: #ffffff;
  padding: 4rem 1rem;
}

.google-reviews-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  min-height: 400px;
  margin-bottom: 4rem;
}

.google-reviews-widget {
  width: 100%;
  min-height: 400px;
}

@media (max-width: 768px) {
  .google-reviews-container {
    padding: 1rem;
  }
}

.goodreads-reviews-wrapper {
  background: #ffffff;
  width: 100%;
}

.goodreads-reviews {
  background: transparent;
  padding: 4rem 1rem;
}

.goodreads-reviews-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 20px;
  position: relative;
}

.goodreads-source {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 2rem;
  font-style: italic;
}

.goodreads-source a {
  color: #6a3c87;
  text-decoration: none;
  transition: color 0.3s ease;
}

.goodreads-source a:hover {
  color: #ffc53a;
}

.goodreads-review-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 2rem;
  transition: transform 0.3s ease;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
}

.goodreads-review-card:hover {
  transform: translateY(-5px);
}

.goodreads-review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.goodreads-reviewer-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-weight: 600;
}

.goodreads-reviewer-info {
  flex: 1;
}

.goodreads-reviewer-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
}

.goodreads-review-date {
  font-size: 0.9rem;
  color: #666;
}

.goodreads-review-content {
  color: #444;
  line-height: 1.6;
  font-size: 1.1rem;
  flex-grow: 1;
  overflow: hidden;
}

.goodreads-review-content.collapsed {
  max-height: 300px;
  overflow: hidden;
  position: relative;
}

.goodreads-review-content.collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(transparent, #ffffff);
}

.read-more-btn {
  background: none;
  border: none;
  color: #ffc53a;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 0;
  margin-top: 1rem;
  display: inline-block;
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.read-more-btn:hover {
  color: #e6b234;
}

.goodreads-review-rating {
  color: #ffc53a;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Override for 3D FlipBook demo message */
.demo-msg {
  color: transparent !important;
  background-color: #fff !important;
  border-radius: 3px !important;
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  padding: 10px !important;
  box-shadow: none !important;
  font-size: 1px !important; /* Make text as small as possible */
  user-select: none !important;
}

/* Buy in ZA styling */
.navbar-buy.sa {
  background: #ffd700;
  color: #222 !important;
  font-weight: 700;
  border-radius: 4px;
  padding: 10px 18px;
  transition: background 0.2s;
}
.navbar-buy.sa:hover {
  background: #ffe066;
  color: #111 !important;
}

/* .hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Adjust height as needed
  overflow: hidden;
} */

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}


.slider-link.active {
  opacity: 1;
  z-index: 5;
}


.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
} */

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.3s;
}

.slider-dot.active {
  background-color: #fff;
}

/* Hero Section with Image Slider */
.hero {
  position: relative;
  width: 100%;
  /* Remove fixed height */
  /* height: 100vh; */
  overflow: hidden;
  background: #f8f8f8;
}

.hero-slider {
  position: relative;
  width: 100%;
  /* Remove fixed height */
  overflow: hidden;
}

.slider-container {
  display: flex;
  width: 100%;
  /* Remove fixed height */
  transition: transform 0.5s ease-in-out;
  gap: 0;
}

.slider-link {
  min-width: 100%;
  width: 100%;
  /* Remove fixed height */
  flex-shrink: 0;
  flex-grow: 0;
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
}

.slider-image {
  width: 100%;
  height: auto; /* Let height be determined by image aspect ratio */
  display: block;
  margin: 0;
  padding: 0;
}

/* Update dots positioning since height is now dynamic */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 15px;
  border-radius: 20px;
}

/* .slider-image { */
  

/* .slider-image {
  width: 100%;
  height: 711px;
  object-fit: contain; /* or cover, depending on preference
  object-position: center;
  display: block;
  margin: 0; /* Ensure no margins
  padding: 0; /* Ensure no padding 
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 15px;
  border-radius: 20px;
} */

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.slider-dot.active {
  background-color: #fff;
  transform: scale(1.2);
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    height: auto;
  }
  
  .slider-image {
    object-fit: contain; /* Ensure full image is visible on mobile */
  }
  
  .slider-dots {
    bottom: 20px;
    padding: 8px 12px;
  }
  
  .slider-dot {
    width: 10px;
    height: 10px;
  }
}

/* Small phone screens */
@media (max-width: 480px) {
  .navbar {
    padding: 0.5rem 0;
  }

  .navbar-container {
    padding: 0.5rem;
  }
  
  .navbar-logo img {
    height: 28px;
  }

  .hamburger-menu span {
    width: 20px;
    height: 2.5px;
    margin: 3px 0;
  }
  
  .navbar-center.active {
    max-height: 400px;
  }

  .navbar-links li a {
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
  }

  .navbar-right.active {
    padding: 0.75rem;
  }

  .navbar-buy {
    padding: 7px 14px;
    font-size: 0.85rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .book-overview-content h3 {
    font-size: 1.2rem;
  }
  
  .sample-container-box {
    height: 300px !important;
  }
  
  .sample-container {
    min-height: 280px !important;
  }
  
  .chapter-card {
    padding: 1.25rem 1rem;
  }
  
  .chapter-number {
    font-size: 1.5rem !important;
  }
  
  .chapter-card h4 {
    font-size: 1.1rem;
  }
  
  .author-photo {
    width: 120px;
    height: 120px;
  }
  
  .author-title {
    font-size: 1.6rem;
  }
  
  .author-subtitle {
    font-size: 1.1rem;
  }
  
  .goodreads-review-card {
    padding: 1.25rem;
  }
  
  .goodreads-reviewer-photo {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .goodreads-review-content {
    font-size: 0.95rem;
  }
  
  /* Contact section responsiveness */
  #contact {
    padding: 3rem 1rem !important;
  }
  
  #contact h2 {
    font-size: 1.8rem !important;
  }
  
  #contact p {
    font-size: 1rem !important;
  }
  
  #contact iframe {
    min-height: 500px !important;
  }
}