:root {
  --primary-color: #ff6f61;
  --secondary-color: #ffe66d;
  --accent-pink: #feca57;
  --accent-purple: #a8e6cf;
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --bg-light: #f8fdff;
  --white: #ffffff;
  --shadow-light: 0 4px 20px rgba(78, 205, 196, 0.1);
  --shadow-medium: 0 8px 30px rgba(78, 205, 196, 0.15);
  --shadow-strong: 0 12px 40px rgba(78, 205, 196, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Fredoka", cursive;
  font-weight: 600;
}

/* Floating Elements Animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.floating-element {
  animation: float 3s ease-in-out infinite;
}

.bounce-element {
  animation: bounce 2s infinite;
}

/* Navbar Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.navbar-logo {
  max-height: 60px;
  width: auto;
  margin-right: 1rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-primary) !important;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background: var(--accent-purple);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.btn-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-pink));
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
  color: white;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--bg-light) 0%,
    rgba(255, 111, 97, 0.1) 100%
  );

  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 230, 109, 0.1) 0%,
    transparent 70%
  );
  animation: float 6s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

.tagline {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-pink)
  );
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  box-shadow: var(--shadow-light);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.trust-indicators {
  margin-top: 3rem;
}

.trust-item {
  background: white;
  padding: 1rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.trust-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.hero-image {
  position: relative;
}

/* .hero-book-image {
  max-width: 400px;
  width: 70%;
  height: auto;
} */

.hero-image img {
  max-width: 80%;
  height: auto;
  filter: drop-shadow(var(--shadow-strong));
}

@media (max-width: 991px) {
  .hero-content {
    margin-top: 30px;
  }
}

/* Primary Button Styles */

.btn-primary,
.btn-secondary {
  box-sizing: border-box;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.2;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  min-width: 220px;
  width: 100%;
  max-width: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-pink));
  color: white;
  border: none;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
  background: linear-gradient(135deg, var(--accent-pink), var(--primary-color));
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: none;
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

/* Section Styles */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Books Section */
.books-section {
  background: white;
}

.book-card {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  height: 100%;
}

.book-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.book-card img {
  width: 100%;
  height: auto;
  background: linear-gradient(
    135deg,
    var(--accent-purple),
    var(--secondary-color)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
}

.book-card .card-body {
  padding: 2rem;
}

.book-card .card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.book-card .card-text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Book Cover Container */
.book-cover {
  height: 300px;
  background-color: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Book Image Styling */
.book-image {
  background: linear-gradient(
    135deg,
    var(--accent-purple),
    var(--secondary-color)
  );
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(
    135deg,
    var(--bg-light) 0%,
    rgba(168, 230, 207, 0.1) 100%
  );
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 30px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

/* Decorative quote mark */
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 4rem;
  color: var(--secondary-color);
  font-family: "Fredoka", cursive;
}

/* Optimized blockquote */
.testimonial-card blockquote {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
  border: none;
  padding: 0;
  background: none;
}

/* Author name */
.testimonial-card cite {
  font-weight: 600;
  color: var(--primary-color);
  font-style: normal;
  display: block;
  text-align: right;
}

/* About Section */
.about-section {
  background: white;
}

.about-content {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.8;
  color: var(--text-secondary);
}

.about-quote {
  background: linear-gradient(
    135deg,
    var(--accent-purple),
    var(--secondary-color)
  );
  color: white;
  padding: 2rem;
  border-radius: 25px;
  margin-top: 2rem;
  font-style: italic;
  font-size: 1.2rem;
  text-align: center;
}

/* Subscribe Section */

.subscribe-section {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-pink));
  color: white;
}

.join-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 3rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.join-card h2 {
  color: white;
  margin-bottom: 1rem;
}

.join-card p {
  color: rgba(255, 255, 255, 0.9);
}
.input-group {
  max-width: 100%;
  width: 100%;
  max-width: 700px;
  margin: 2rem auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
/* 
.form-control {
  border-radius: 50px;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  flex: 1 1 300px;
  min-width: 250px;
}

.input-group .btn {
  border-radius: 50px;
  
  background: var(--secondary-color);
  color: var(--text-primary);
  border: none;
  font-weight: 600;
  white-space: nowrap;
}
 */

/* Custom MailerLite Form Styling */

.ml-embedded {
  width: 100%;
}

@media (max-width: 769px) {
  .input-group {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .form-control {
    border-radius: 50px !important;
    width: 100% !important;
  }
  .input-group .btn {
    border-radius: 50px !important;

    min-width: 250px;
  }
}

/* FAQ Section */
.faq-section {
  background: white;
}

.faq-wrapper {
  max-width: 800px;
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.accordion-button {
  background: white;
  border: none;
  padding: 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  border-radius: 20px;
}

.accordion-button:not(.collapsed) {
  background: var(--accent-purple);
  color: white;
}

.accordion-body {
  padding: 1.5rem;
  background: white;
  color: var(--text-secondary);
}

/* CTA Section */
.final-cta {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-pink)
  );
  color: white;
  text-align: center;
}

.final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.final-cta .lead {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.final-cta .btn-cta {
  background: white;
  color: var(--primary-color);
  font-size: 1.2rem;
  padding: 1rem 3rem;
}

.final-cta .btn-cta:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

/* Footer */
.footer-section {
  background: var(--text-primary);
  color: white;
}

.footer-section h2 {
  color: white;
}

.footer-section .text-primary {
  color: var(--secondary-color) !important;
}

.footer-section .form-control {
  border-radius: 10px;
  border: none;
  padding: 1rem;
  margin-bottom: 1rem;
}

.footer-logo {
  max-height: 180px;
  width: auto;
}

.footer-section .btn-primary {
  border-radius: 10px;
  padding: 1rem 2rem;
}

.footer-section .nav-link {
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-section .nav-link:hover {
  color: var(--secondary-color) !important;
}

.footer-section .social-icon {
  color: var(--secondary-color);
  font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

  .join-card {
    padding: 2rem;
  }

  .input-group {
    flex-direction: column;
  }

  .input-group .form-control {
    border-radius: 50px;
    margin-bottom: 1rem;
  }

  .input-group .btn {
    border-radius: 50px;
  }
}

/* Decorative Elements */
.decorative-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-purple),
    var(--secondary-color)
  );
  opacity: 0.1;
  z-index: 1;
}

.decorative-circle-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 10%;
  animation: float 4s ease-in-out infinite;
}

.decorative-circle-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 5%;
  animation: float 5s ease-in-out infinite reverse;
}

.decorative-circle-3 {
  width: 100px;
  height: 100px;
  top: 60%;
  right: 20%;
  animation: float 3s ease-in-out infinite;
}
