@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&display=swap");
a {
  color: inherit;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  html, body {
    width: auto !important;
    max-width: 100% !important;
  }
}
body {
  font-family: Inter, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
}

html, body {
  height: 100%;
  width: 100vw; /* Ensures consistent width */
  overflow-x: hidden; /* Prevents horizontal scroll */
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
  margin: 0 !important;
  padding: 0 !important;
}

.hero {
  border-radius: 0 !important;
  overflow: hidden !important;
}

/* Pre-Order Button */
.btn-light {
  background-color: rgb(84, 221, 251) !important; /* Neon green */
  color: black !important;
  font-weight: bold;
  font-size: 18px;
  padding: 12px 24px;
  min-width: 200px; /* Ensures a good button size */
  border: none;
  border-radius: 5px;
  text-transform: uppercase;
  box-shadow: 0px 0px 10px rgba(84, 221, 251, 0.7);
  transition: all 0.3s ease-in-out;
}

.btn-light:hover {
  background-color: black !important;
  color: rgb(84, 221, 251) !important;
  box-shadow: 0px 0px 15px rgb(84, 221, 251);
  transform: scale(1.05);
}

.btn-cta {
  background-color: rgb(84, 221, 251) !important; /* Neon green */
  color: black !important;
  font-weight: bold;
  font-size: 18px;
  padding: 12px 24px;
  min-width: 200px; /* Ensures a good button size */
  border: none;
  border-radius: 5px;
  text-transform: uppercase;
  box-shadow: 0px 0px 10px rgba(84, 221, 251, 0.7);
  transition: all 0.3s ease-in-out;
}

.btn-cta:hover {
  background-color: black !important;
  color: rgb(84, 221, 251) !important;
  box-shadow: 0px 0px 15px rgb(84, 221, 251);
  transform: scale(1.05);
}

.btn-standard {
  background-color: #1a3a6d !important;
  color: white !important;
  font-weight: bold;
  font-size: 18px;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

.btn-standard:hover {
  background-color: white !important;
  color: #1a3a6d !important;
  transform: scale(1.1);
}

.hero {
  height: 60vh; /* Adjust height if needed */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F8F8F8;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 5px;
  /* Fix the cropping */
  background-image: url("../../assets/img/newborn-hero-2.webp");
  background-position: top center; /* Moves the image up */
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  border-top: none !important;
}

.hero h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 60px;
  color: #dffad4; /* Pure neon blue */
  text-shadow: 0px 0px 12px rgb(84, 221, 251), 0px 0px 22px rgba(84, 221, 251, 0.8), 0px 0px 35px rgba(84, 221, 251, 0.6), 0px 0px 50px rgba(84, 221, 251, 0.4);
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  /* Ensure navbar doesn't overlap the headings */
  main {
    padding-top: 100px; /* Default padding for all pages */
  }
  /* REMOVE padding for index page ONLY */
  .index-page {
    padding-top: 0 !important;
  }
  /* Ensure .hero on index page has space below navbar */
  .index-page .hero {
    padding-top: 100px !important;
    background-attachment: scroll !important;
  }
  /* Keep headings visible on books, contact, and news pages */
  main:not(.index-page) h1 {
    margin-top: 20px; /* Ensures title isn't hidden */
  }
  /* Make Hero Title Bigger */
  .hero h1 {
    font-size: 7vw;
    text-shadow: 0px 0px 10px rgb(0, 204, 255), 0px 0px 20px rgba(0, 204, 255, 0.8);
  }
  /* Increase Subtitle Size */
  .hero p {
    font-size: 4vw;
    text-shadow: 0px 0px 8px rgba(0, 204, 255, 0.6);
  }
  /* Prevent Button from Being Too Big */
  .hero .btn-light {
    font-size: 4vw;
    padding: 8px 16px;
    max-width: 250px;
    margin-top: 15px;
  }
}
@media (max-width: 992px) {
  /* Center all content for medium screens */
  .container,
  .news-heading,
  .featured-title,
  .contact-content,
  .book-grid,
  .hero,
  .book-list,
  .news-container {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  /* Ensure row elements remain centered */
  .row {
    justify-content: center;
  }
  /* Center any flexbox elements */
  .d-flex {
    justify-content: center !important;
    align-items: center !important;
  }
}
.hero, main {
  margin-top: 0;
  padding-top: 80px; /* Adjust based on navbar height */
}

/* Subtitle Glow */
.hero p {
  font-size: 32px;
  color: rgb(184, 255, 234); /* Softer neon blue for readability */
  text-shadow: 0px 0px 10px rgba(84, 221, 251, 0.8), 0px 0px 20px rgba(84, 221, 251, 0.6);
  text-align: center;
  margin-bottom: 20px; /* Increase space between subtitle & button */
}

/* Adjust Button Placement */
.hero .btn-light {
  margin-top: 15px; /* Adds breathing room below subtitle */
}

h1 {
  font-family: "Orbitron", sans-serif;
  margin-bottom: 10px; /* Reduce space between title & subtitle */
}

/* Step 4: Ensure Hero is Directly Below Navbar */
.hero {
  margin-top: 0 !important;
  padding-top: 90px !important; /* Adjust if needed */
  background-color: transparent !important; /* Ensure background consistency */
}

@media (max-width: 768px) {
  main {
    padding-top: 100px; /* Adjust if needed */
  }
  /* Make Title Bigger */
  .hero h1 {
    font-size: 7vw; /* Scales dynamically on smaller screens */
    text-shadow: 0px 0px 10px rgb(84, 221, 251), 0px 0px 20px rgba(84, 221, 251, 0.8);
  }
  /* Increase Subtitle Size */
  .hero p {
    font-size: 4vw;
    text-shadow: 0px 0px 8px rgba(84, 221, 251, 0.6);
  }
  /* Prevent Button from Being Too Big */
  .hero .btn-light {
    font-size: 4vw;
    padding: 8px 16px; /* Reduces button padding */
    max-width: 250px; /* Prevents button from stretching */
    margin-top: 15px;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 8vw; /* Adjusts based on screen size */
  }
  .hero p {
    font-size: 4.5vw;
  }
  .hero .btn-light {
    font-size: 4vw;
    padding: 6px 12px; /* Prevents excessive button size */
  }
}
.section-title {
  margin-bottom: 20px;
  text-align: center;
}

/* 🔹 Featured Section - Ensures Proper Alignment */
.featured-section {
  max-width: 1200px;
  margin: 40px auto;
}

/* 🔹 Ensure Titles Are Centered Properly */
.featured-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

/* 🔹 Featured Book Section - Centers Content */
.featured-text {
  max-width: 500px;
  margin: 0 auto 20px auto;
  text-align: left;
}

.featured-text h1 {
  text-align: center;
}

/* 🔹 Featured Book Image - Positioned Below Text */
.featured-book-img {
  display: block;
  max-width: 50%;
  width: 240px; /* Adjust based on design */
  height: auto;
  margin: 20px auto 0 auto; /* Ensures space between text and image */
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
}

.pop-shadow {
  width: 100%;
  height: auto;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
  display: block;
  overflow: hidden;
}

.pop-shadow:hover {
  transform: scale(1.02); /* Icons grow slightly */
}

a.pop-link {
  position: relative;
  display: inline-block; /* Needed for transform to work cleanly */
  color: #1a3a6d; /* Your base link color */
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

a.pop-link:hover {
  transform: scale(1.1);
  color: #27b7d6;
  text-shadow: 0 0 8px rgba(84, 221, 251, 0.6), 0 0 14px rgba(84, 221, 251, 0.4);
}

/* 🔹 Button Container - Centers Buttons */
.button-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 15px;
}

/* 🔹 Buttons - Standardize Size */
.btn-standard {
  background-color: #1a3a6d !important;
  color: white !important;
  font-weight: bold;
  font-size: 18px;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  /* Ensure the button doesn't stretch */
  display: inline-block; /* Keeps button size proper */
  width: auto; /* Prevents full-width stretching */
  min-width: 150px; /* Ensures a good button size */
}

.button-wrapper {
  text-align: center; /* Ensures content inside is centered */
  margin-top: 15px; /* Adds spacing */
}

.btn-standard:hover {
  background-color: white !important;
  color: #1a3a6d !important;
  transform: scale(1.05);
}

/* 🔹 Ensure Text in Left & Right Columns is Centered */
.col-md-4.text-center {
  text-align: center !important;
}

/* 🔹 Responsive Fixes */
@media (max-width: 992px) {
  .featured-section {
    text-align: center;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 85%; /* Adjust as needed */
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center; /* Ensures text alignment */
  }
  .row {
    display: flex;
    justify-content: center;
  }
}
/* 🔹 Make Buttons Evenly Spaced */
.featured-left .btn,
.featured-right .btn,
.featured-text .btn {
  width: 180px;
  text-align: center;
}

/* 🔹 Responsive Fixes for Mobile */
@media (max-width: 992px) {
  .featured-section {
    flex-direction: column;
    align-items: center;
  }
  .featured-left,
  .featured-right {
    text-align: center;
    align-items: center;
  }
  .featured-text {
    text-align: center;
  }
}
/* Book Grid Section */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.book-item {
  text-align: center;
}

.book-item img {
  width: 250px; /* Fixed width */
  height: auto; /* Fixed height (adjust based on aspect ratio) */
  object-fit: cover; /* Ensures the image fills the space without stretching */
  border-radius: 5px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

/* Book Grid Section */
.bookpage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.bookpage-item {
  text-align: center;
}

.bookpage-item img {
  width: auto; /* Fixed width */
  height: 320px; /* Fixed height (adjust based on aspect ratio) */
  object-fit: cover; /* Ensures the image fills the space without stretching */
  border-radius: 5px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}

.bookpage-item img:hover {
  transform: scale(1.2); /* Icons grow slightly */
}

.bookpage-item p {
  text-align: left;
}

/* Button container */
.button-container {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  align-items: center;
  display: flex;
  justify-content: center;
}

/* Buttons - Smaller size and centered */
.button-standard {
  display: inline-block;
  padding: 8px 16px; /* Reduces button size */
  border-radius: 5px;
  text-align: center;
  width: auto; /* Shrinks button width */
  min-width: 180px; /* Ensures a balanced size */
  font-size: 16px; /* Adjust button text size */
}

.read-more {
  display: inline-block;
  color: #1a3a6d; /* Same as navbar */
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.read-more:hover {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.btn-featured {
  background-color: #1a3a6d !important;
  color: white !important;
  font-weight: bold;
  font-size: 18px;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

.btn-featured:hover {
  background-color: black !important;
  color: #00ccff !important;
  box-shadow: 0px 0px 15px #00ccff;
  transform: scale(1.05);
}

/* Center books & ensure even spacing */
.featured-books {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px; /* Controls spacing between books */
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Individual book container */
.book {
  text-align: center;
  width: 400px;
}

/* Book cover styling */
.book img {
  width: 100%;
  max-width: 160px; /* Ensures books are small & neat */
  height: auto;
  border-radius: 5px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

/* See More button styling (inherits from .button-standard) */
.see-more {
  display: inline-block;
  margin-top: 20px;
}

.newsletter {
  padding: 50px 0;
}

.newsletter input {
  max-width: 300px;
  margin: 0 auto;
}

/* 🔹 About Me Section */
.about-me {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  text-align: left;
}

/* 🔹 About Content Layout */
.about-content {
  display: flex;
  gap: 40px;
  max-width: 900px;
  align-items: center;
}

/* 🔹 Profile Picture Styling */
.profile-pic {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  float: left; /* Aligns image left */
  margin-right: 20px; /* Adds spacing */
}

/* 🔹 About Text Styling */
.about-text {
  max-width: 600px;
}

.about-text h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  text-align: center;
  color: #00ccff; /* Neon blue */
  margin-bottom: 15px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
}

.books {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  text-align: left;
}

/* 🔹 About Text Styling */
.books-text {
  max-width: 600px;
}

.books-text h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  text-align: center;
  color: #00ccff; /* Neon blue */
}

.books-text p {
  font-size: 16px;
  text-align: center;
  line-height: 1.6;
}

/* 🔹 Responsive Design */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  .profile-pic {
    width: 150px;
    height: 150px;
  }
}
/* 🔹 Contact Section */
.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  text-align: left;
}

.contact-text h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  text-align: center;
  color: #000000; /* Neon blue */
  margin-bottom: 15px;
}

/* 🔹 Contact Content Layout */
.contact-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  width: 100%;
  text-align: center;
}

/* 🔹 Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* 🔹 Form Labels */
.contact-form label {
  font-weight: bold;
  text-align: left;
}

/* 🔹 Input & Textarea Styling */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: "Inter", sans-serif;
}

.contact-form .btn-standard {
  box-sizing: border-box;
  display: block;
  margin: 0 auto;
  background-color: #1a3a6d;
  color: white;
  font-weight: bold;
  font-size: 18px;
  padding: 12px;
  border: none;
  border-radius: 5px;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

.contact-form .btn-standard:hover {
  transform: scale(1.05);
}

#tome-list li {
  margin-bottom: 8px;
}

#tome-list a {
  color: #222;
  text-decoration: none;
  font-weight: bold;
}

#tome-list a:hover {
  color: #007bff;
  text-decoration: underline;
}

#story-viewer {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  margin-bottom: 1.4em;
  font-weight: 500;
}

@media (max-width: 768px) {
  #tome-list {
    text-align: left !important;
    padding-left: 1rem;
  }
  .books-text {
    text-align: left !important;
    padding-left: 1rem;
  }
}
.story-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 1.5em;
}

.top-button {
  padding: 6px 12px;
  background: #f0f0f0;
  border: 1px solid #ccc;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.2s ease-in-out;
}

.top-button:hover {
  background: #e0e0e0;
}

.story-body {
  text-align: left;
  line-height: 1.6;
  font-size: 1rem;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .story-body {
    padding: 0 1rem;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  #tome-column {
    order: -1; /* Move to top */
    text-align: left !important;
    padding-left: 1rem;
  }
  #tome-list {
    text-align: left; /* Fix the centering */
    padding-left: 0.5rem; /* Optional visual tweak */
  }
  .books-text {
    text-align: left !important;
    padding-left: 1rem;
  }
}
.card-style {
  background-color: #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 20px;
}

/* 🔹 Responsive Design */
@media (max-width: 768px) {
  main {
    margin-top: 80px; /* Adjust this value based on navbar height */
  }
  .contact-content {
    width: 90%;
  }
}
@media (max-width: 600px) {
  .contact-form input,
  .contact-form textarea {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .featured-section {
    flex-direction: column;
    text-align: center;
  }
  .book-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 15px;
  }
}
/* 🔹 Book Page Layout */
.book-content {
  display: flex;
  align-items: flex-start; /* Aligns image to the top with text */
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 50px auto;
  padding: 20px;
}

/* 🔹 Book Info (Left Side) */
.book-info {
  flex: 1;
  max-width: 500px;
}

.book-title {
  font-size: 32px;
  font-weight: bold;
  color: #1a3a6d;
  margin-bottom: 5px;
}

.book-title-fantasy {
  font-family: "Cinzel Decorative", serif;
  font-size: 32px;
  font-weight: bold;
  color: #1a3a6d;
  margin-bottom: 5px;
}

.book-genre {
  font-size: 18px;
  font-weight: 500;
  color: #555;
  margin-bottom: 15px;
}

.book-description {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .book-content {
    flex-direction: column; /* Stacks content */
    align-items: center; /* Centers everything */
    text-align: center;
  }
  .book-cover {
    order: -1; /* Moves book cover to the top */
    margin-bottom: 20px; /* Adds spacing below the image */
  }
}
/* 🔹 Buy Button - Ensure it's below the book cover */
.button-container {
  display: flex; /* Ensures buttons are side by side */
  justify-content: center; /* Centers them horizontally */
  align-items: center; /* Ensures they are vertically aligned */
  gap: 15px; /* Adds space between buttons */
  flex-wrap: wrap; /* Prevents overflow on smaller screens */
  margin-top: 15px; /* Ensures breathing room */
}

/* 🔹 Buy Button Styling */
.btn-buy {
  background-color: #1a3a6d;
  color: white;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  width: auto; /* Ensures it doesn't stretch */
}

.btn-buy:hover {
  background-color: #0d2450;
  transform: scale(1.05);
}

/* 🔹 Book Cover - Make sure it's not affecting alignment */
.book-cover {
  display: flex;
  flex-direction: column; /* Stack cover & button */
  align-items: center;
  justify-content: center;
  width: 320px; /* Fixed width */
  height: auto;
}

/* 🔹 Book Cover Image */
.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensures entire image fits */
  background: transparent;
  border-radius: 5px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3); /* Adds a soft, modern shadow */
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
  margin-bottom: 20px; /* Adds space below the book cover */
}

/* 🔹 Subtle Hover Effect (Optional) */
.book-cover img:hover {
  box-shadow: 0px 12px 20px rgba(0, 0, 0, 0.4); /* Slightly stronger shadow on hover */
  transform: scale(1.02); /* Small scale effect to give a slight "lift" */
}

/* 🔹 Responsive Design */
@media (max-width: 768px) {
  .book-content {
    flex-direction: column;
    text-align: center;
  }
  .book-cover {
    width: 280px;
    height: auto;
    justify-content: center;
    align-items: center;
  }
  .book-cover img,
  .profile-pic {
    max-width: 100%;
    height: auto;
  }
  .buy-button-container {
    margin-top: 20px;
  }
}
@media (max-width: 768px) {
  .button-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .btn-standard {
    min-width: 140px; /* Prevents oversized buttons */
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .hero {
    padding-bottom: 50px; /* Adds more space for the button */
    height: auto; /* Ensures the hero adapts to content */
    background-attachment: scroll !important;
  }
  .hero .btn-light {
    margin-top: 10px !important; /* Reduces spacing from text */
    font-size: 1rem !important; /* Ensures button isn’t oversized */
    padding: 8px 16px !important; /* Keeps the button at a balanced size */
    max-width: 220px !important; /* Prevents excessive width */
  }
}
@media (max-width: 768px) {
  .reader-signup-page .hero {
    height: auto !important;
    min-height: 110vh !important; /* More than one viewport */
    padding-bottom: 100px !important; /* Breathing space */
    background-attachment: scroll !important;
    background-position: center top !important;
    background-size: cover !important;
  }
}
/* Ensure privacy modal is hidden initially */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

/* Show modal when active */
.modal.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

/* Modal Content */
.modal-content {
  background: #1a3a6d;
  color: white;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
  transform: scale(0.95);
  transition: transform 0.3s ease-in-out;
}

/* Scale-up effect when modal opens */
.modal.active .modal-content {
  transform: scale(1);
}

/* Close button */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

.close:hover {
  color: #ff6666;
}

.footer-socials {
  display: flex;
  justify-content: center; /* Centers the icons horizontally */
  align-items: center; /* Aligns them properly */
  gap: 15px; /* Adjusts spacing between icons */
  flex-wrap: wrap; /* Ensures they wrap if needed */
  margin-top: 10px; /* Adds spacing above */
  margin-bottom: 15px;
}

/* 🔹 Footer Styling - Ensures Links are Visible */
.footer-nav {
  text-align: center;
  margin-top: 10px; /* Adds space above */
}

/* 🔹 Footer Links - Make Them Visible */
.footer-nav a {
  color: white; /* Ensures visibility */
  font-size: 14px;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease-in-out;
}

/* 🔹 Hover Effect */
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px; /* Space between links */
  margin-top: 10px; /* Adjust for better spacing */
}

footer {
  background: #1a3a6d;
  color: white;
  padding: 20px 0;
  text-align: center;
  width: 100%;
}

footer p {
  margin-bottom: 5px; /* Reduces space below copyright */
}

/* Ensure the entire page takes up at least the full height of the viewport */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Main content pushes footer down */
main {
  flex: 1;
}

/* Footer remains at the bottom */
footer {
  width: 100%;
  background: #1a3a6d;
  color: white;
  padding: 20px 0;
  text-align: center;
  position: relative; /* Prevents overlap issues */
  margin-top: auto;
}

.reader-signup-page .hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 100px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../../assets/img/newborn-hero-2.webp");
  background-size: cover;
  background-position: center;
}

.reader-signup-page #signup-form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.reader-signup-page #signup-form input[type=email],
.reader-signup-page #signup-form button {
  height: 50px;
  padding: 0 20px;
  font-size: 1rem;
  border-radius: 5px;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  .reader-signup-page #signup-form {
    flex-direction: column;
  }
  .reader-signup-page #signup-form input,
  .reader-signup-page #signup-form button {
    width: 100%;
    max-width: 300px;
  }
}
@media (max-width: 768px) {
  .featured-book-home {
    order: 0;
  }
  .news-books {
    order: 1;
    margin-top: 30px;
  }
  .sign-up-home {
    order: 2;
    margin-top: 30px;
  }
}
.archive-text {
  text-align: left !important;
}