/* Tropical Nature Theme - CSS Variables */
:root {
  /* Tropical Nature Color Palette from Banner & Book Cover */
  --primary-color: #2E8B57; /* Sea Green - from tree trunk */
  --secondary-color: #FF6347; /* Tomato - from hibiscus flowers */
  --accent-color: #32CD32; /* Lime Green - from tropical foliage */
  --highlight-color: #FFD700; /* Gold - from rainbow and sunlight */
  --ocean-blue: #87CEEB; /* Sky Blue - from banner sky */
  --nature-brown: #8B4513; /* Saddle Brown - from tree and earth tones */
  --hibiscus-pink: #FF69B4; /* Hot Pink - from hibiscus */
  --lizard-green: #9ACD32; /* Yellow Green - from lizards */
  --rainbow-purple: #9370DB; /* Medium Purple - from rainbow */
  --cream-beige: #F5F5DC; /* Beige - from book pages */

  /* Text Colors */
  --text-dark: #2F4F4F; /* Dark Slate Gray */
  --text-light: #556B2F; /* Dark Olive Green */
  --text-white: #ffffff;
  --text-nature: #228B22; /* Forest Green */

  /* Background Colors */
  --bg-light: #F0FFF0; /* Honeydew - light nature background */
  --bg-white: #ffffff;
  --bg-nature: #E6FFE6; /* Very light green */
  --bg-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--ocean-blue) 100%);
  --bg-tropical: linear-gradient(135deg, #E6FFE6 0%, #F0FFF0 50%, #E0FFFF 100%);

  /* Typography */
  --font-heading: "Playfair Display", serif;
  --font-body: "Source Sans Pro", sans-serif;
  --font-nature: "Georgia", serif;

  /* Shadows with Nature Colors */
  --shadow-light: 0 2px 10px rgba(46, 139, 87, 0.1);
  --shadow-medium: 0 8px 30px rgba(46, 139, 87, 0.15);
  --shadow-heavy: 0 20px 60px rgba(46, 139, 87, 0.2);
  --shadow-tropical: 0 10px 40px rgba(50, 205, 50, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-tropical);
  overflow-x: hidden;
  position: relative;
}

/* Add subtle nature pattern background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(50, 205, 50, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 105, 180, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Container Fluid */
.container-fluid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease;
}
.chng{
  background-color: #228B22 !important;
  
}

.loading-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 30% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 30%),
    radial-gradient(circle at 70% 30%, rgba(255, 105, 180, 0.1) 0%, transparent 30%);
  animation: loadingFloat 3s ease-in-out infinite;
}

@keyframes loadingFloat {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.loading-screen.hidden {
  display: none;
}

.loading-content {
  text-align: center;
  color: var(--text-white);
}

.loading-logo {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.loading-bar {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 0 auto 1rem;
  overflow: hidden;
}

.loading-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-color), var(--highlight-color));
  border-radius: 2px;
}

.loading-text {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(64, 224, 208, 0.1);
  z-index: 1000;
  transition: all var(--transition-medium);
}

.header.scroll-header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-medium);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__logo h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-shadow: 0 2px 4px rgba(64, 224, 208, 0.2);
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: all var(--transition-medium);
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-medium);
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-color);
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav__toggle:hover,
.nav__close:hover {
  color: var(--primary-color);
}

/* Hero Section with Banner Background */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('./Banner_Design.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Parallax effect */
  display: flex;
  align-items: center;
  overflow: hidden;
  animation: heroZoom 20s ease-in-out infinite;
}

/* Decorative border at bottom with tropical colors */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--hibiscus-pink), var(--highlight-color), var(--ocean-blue));
  box-shadow: 0 -2px 20px rgba(46, 139, 87, 0.5);
  z-index: 10;
  animation: borderShimmer 3s ease-in-out infinite;
}

@keyframes borderShimmer {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* Subtle zoom animation for background */
@keyframes heroZoom {
  0%, 100% {
    background-size: 100%;
  }
  50% {
    background-size: 105%;
  }
}

/* Animated overlay for better text readability and visual appeal */
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(46, 139, 87, 0.7) 0%, rgba(50, 205, 50, 0.6) 50%, rgba(135, 206, 235, 0.65) 100%);
  z-index: 1;
  animation: overlayPulse 8s ease-in-out infinite;
}

/* Add animated dots/particles overlay */
.hero__overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}

@keyframes overlayPulse {
  0%, 100% {
    opacity: 0.85;
  }
  50% {
    opacity: 0.75;
  }
}

/* Keep wave animation for potential future use */
@keyframes wave {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 80vh;
}

.hero__text {
  color: var(--text-white);
  position: relative;
  z-index: 15;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.title-line {
  display: block;
}

.highlight {
  color: var(--secondary-color);
  text-shadow: 0 4px 8px rgba(255, 107, 107, 0.4);
}

.hero__description {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero__buttons {
  display: flex !important;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 20;
  visibility: visible !important;
  opacity: 1 !important;
  flex-wrap: wrap;
}

.hero__store-buttons {
  display: flex !important;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 20;
  visibility: visible !important;
  opacity: 1 !important;
}

.store-btn {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(46, 139, 87, 0.2);
  border: 2px solid rgba(46, 139, 87, 0.4);
  border-radius: 50px;
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition-medium);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  z-index: 25;
  visibility: visible !important;
  opacity: 1 !important;
}

.store-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.store-btn:hover::before {
  left: 100%;
}

.store-btn:hover {
  background: rgba(50, 205, 50, 0.3);
  border-color: var(--accent-color);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3);
}

.amazon-btn:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: var(--highlight-color);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.bn-btn:hover {
  background: rgba(135, 206, 235, 0.2);
  border-color: var(--ocean-blue);
  box-shadow: 0 8px 25px rgba(135, 206, 235, 0.3);
}

.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-wrapper {
  position: relative;
  max-width: 450px;
  width: 100%;
}

.hero__img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-slow);
}

.hero__decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--secondary-color), var(--highlight-color));
  border-radius: 50%;
  opacity: 0.7;
  z-index: -1;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

/* Buttons */
.btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  visibility: visible !important;
  opacity: 1 !important;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), var(--hibiscus-pink));
  color: var(--text-white);
  box-shadow: 0 8px 25px rgba(255, 99, 71, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 25;
  visibility: visible !important;
  opacity: 1 !important;
  display: inline-flex !important;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(255, 99, 71, 0.4);
  background: linear-gradient(135deg, var(--hibiscus-pink), var(--secondary-color));
}

.btn-secondary {
  background: rgba(46, 139, 87, 0.2);
  color: var(--text-white);
  border: 2px solid rgba(46, 139, 87, 0.5);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  z-index: 25;
  visibility: visible !important;
  opacity: 1 !important;
  display: inline-flex !important;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(50, 205, 50, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-secondary:hover::before {
  left: 100%;
}

.btn-secondary:hover {
  background: rgba(50, 205, 50, 0.3);
  border-color: var(--accent-color);
  transform: translateY(-3px) scale(1.02);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
}

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
}

.section__title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.section__subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 300;
}

/* About Section */
.about {
  background: var(--bg-nature);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(50, 205, 50, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 105, 180, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__image {
  position: relative;
}

.about__image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
}

.about__img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.about__image-wrapper:hover .about__img {
  transform: scale(1.05);
}

.about__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(64, 224, 208, 0.2), rgba(255, 107, 107, 0.2));
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.about__image-wrapper:hover .about__overlay {
  opacity: 1;
}

.about__quote {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-tropical);
  max-width: 300px;
  border-left: 4px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.about__quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(50, 205, 50, 0.03), rgba(255, 105, 180, 0.03));
  pointer-events: none;
}

.about__quote i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.about__quote p {
  font-style: italic;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

.about__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.about__description {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.about__details {
  margin-bottom: 2.5rem;
}

.detail {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(46, 139, 87, 0.05);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(50, 205, 50, 0.1), transparent);
  transition: left 0.5s ease;
}

.detail:hover::before {
  left: 100%;
}

.detail:hover {
  background: rgba(50, 205, 50, 0.1);
  transform: translateX(10px) scale(1.02);
  box-shadow: var(--shadow-tropical);
}

.detail__icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.detail__content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.detail__content p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Books Section */
.books {
  background: linear-gradient(135deg, rgba(64, 224, 208, 0.05) 0%, rgba(69, 183, 209, 0.05) 100%);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 10;
  min-height: 600px;
}

.books__container {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  visibility: visible !important;
  opacity: 1 !important;
}

.book__card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all var(--transition-medium);
  position: relative;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.book__card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.book__card.featured {
  transform: scale(1.05);
  border: 2px solid var(--primary-color);
}

.book__card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.book__badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--secondary-color), var(--highlight-color));
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 3;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.book__image {
  position: relative;
  height: 350px;
  overflow: hidden;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.book__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  background-size: cover;
  background-position: center;
}

.book__card:hover .book__img {
  transform: scale(1.1);
}

.book__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(64, 224, 208, 0.8), rgba(255, 107, 107, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.book__card:hover .book__overlay {
  opacity: 1;
}

.book__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(64, 224, 208, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: all var(--transition-medium);
  z-index: 1;
}

.book__content {
  padding: 2rem;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.book__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.book__genre {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.book__description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.book__rating {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
}

.stars i {
  color: #ffd700;
  font-size: 1rem;
}

.book__rating span {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232E8B57' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.testimonials::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 105, 180, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(50, 205, 50, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.testimonials__wrapper {
  position: relative;
  z-index: 2;
}

.testimonials__container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  height: 400px;
  overflow: hidden;
}

.testimonial__card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100px);
  transition: all var(--transition-slow);
}

.testimonial__card.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial__content {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-tropical);
  text-align: center;
  border: 1px solid rgba(46, 139, 87, 0.1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.testimonial__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(50, 205, 50, 0.02), rgba(255, 105, 180, 0.02));
  pointer-events: none;
}

.testimonial__quote {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.testimonial__text {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial__img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.testimonial__info {
  text-align: left;
}

.testimonial__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.testimonial__role {
  color: var(--text-light);
  font-size: 0.9rem;
}

.testimonial__controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.testimonial__btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(64, 224, 208, 0.3);
  cursor: pointer;
  transition: all var(--transition-medium);
}

.testimonial__btn.active,
.testimonial__btn:hover {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* Newsletter Section */
.newsletter {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--ocean-blue) 100%);
  color: var(--text-white);
}

.newsletter__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.newsletter__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.newsletter__description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.newsletter__form {
  margin-bottom: 1rem;
}

.form__group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter__input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-medium);
}

.newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter__input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}

.newsletter__privacy {
  font-size: 0.9rem;
  opacity: 0.8;
}

.newsletter__image {
  position: relative;
  display: flex;
  justify-content: center;
}

.newsletter__img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.newsletter__decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--text-dark) 0%, #1a252f 100%);
  color: var(--text-white);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(50, 205, 50, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 105, 180, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__section {
  display: flex;
  flex-direction: column;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer__subtitle {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.footer__description,
.footer__text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.75rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-medium);
}

.footer__link:hover {
  color: var(--primary-color);
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer__form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer__btn {
  padding: 0.75rem 1rem;
  background: var(--primary-color);
  border: none;
  border-radius: 8px;
  color: var(--text-white);
  cursor: pointer;
  transition: background var(--transition-medium);
}

.footer__btn:hover {
  background: var(--accent-color);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border: none;
  border-radius: 50%;
  color: var(--text-white);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
  z-index: 1000;
  box-shadow: var(--shadow-tropical);
  position: relative;
  overflow: hidden;
}

.scroll-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.1));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.scroll-top:hover::before {
  transform: translateX(100%);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 12px 35px rgba(46, 139, 87, 0.4);
}

/* Enhanced contact section styling with proper layout and responsiveness */
.contact {
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(46, 139, 87, 0.05) 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232E8B57' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.contact::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(255, 105, 180, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(50, 205, 50, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact__info {
  padding: 2rem;
}

.contact__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
}

.contact__title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.contact__description {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact__details {
  margin-bottom: 2.5rem;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  border: 1px solid rgba(46, 139, 87, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact__detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(50, 205, 50, 0.1), transparent);
  transition: left 0.5s ease;
}

.contact__detail:hover::before {
  left: 100%;
}

.contact__detail:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--primary-color);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-tropical);
}

.contact__icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact__text h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.contact__text p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact__social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social__link {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social__link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(64, 224, 208, 0.3);
}

.contact__form {
  background: rgba(255, 255, 255, 0.9);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(46, 139, 87, 0.1);
  box-shadow: var(--shadow-tropical);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.contact__form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(50, 205, 50, 0.02), rgba(255, 105, 180, 0.02));
  pointer-events: none;
}

.form__group {
  position: relative;
  margin-bottom: 2rem;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 1rem 0;
  font-size: 1rem;
  color: var(--text-dark);
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(46, 139, 87, 0.2);
  outline: none;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.form__input:focus,
.form__textarea:focus {
  border-bottom-color: var(--primary-color);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-light);
  transition: all 0.3s ease;
}

.form__input:focus::placeholder,
.form__textarea:focus::placeholder {
  opacity: 0.7;
  transform: translateY(-20px);
}

.form__line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--hibiscus-pink));
  transition: width 0.3s ease;
}

.form__input:focus + .form__line,
.form__textarea:focus + .form__line {
  width: 100%;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* Fixed scroll indicator positioning and styling */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 300;
  z-index: 10;
  animation: scrollBounce 2s infinite;
  cursor: pointer;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

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

@keyframes scrollWheel {
  0% {
    opacity: 1;
    top: 8px;
  }
  50% {
    opacity: 0.5;
    top: 16px;
  }
  100% {
    opacity: 1;
    top: 8px;
  }
}

/* Enhanced book cover styling with interactive effects */
.hero__img.book-cover {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.hero__img.book-cover:hover {
  transform: scale(1.05) rotateY(5deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.hero__image-wrapper:hover .hero__glow {
  opacity: 0.3;
  transform: scale(1.1);
}

.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(64, 224, 208, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1;
}

/* Responsive Design */
@media screen and (max-width: 968px) {
  .container-fluid {
    padding: 0 1.5rem;
  }

  /* Adjust banner for tablets */
  .hero {
    background-attachment: scroll; /* Better performance on mobile */
    background-position: center center;
    animation: none; /* Disable zoom animation for better performance */
  }

  .hero__overlay::before {
    animation: none; /* Disable particle animation on tablets */
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero__title {
    font-size: 3rem;
  }

  .hero__buttons {
    justify-content: center;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .hero__store-buttons {
    justify-content: center;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .newsletter__container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .contact__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact__title {
    font-size: 2rem;
  }

  .contact__form {
    padding: 2rem;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right var(--transition-medium);
    z-index: 1001;
  }

  .nav__menu.show-menu {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 3rem;
  }

  .nav__link {
    font-size: 1.5rem;
  }

  .nav__toggle,
  .nav__close {
    display: block;
  }

  .nav__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  /* Mobile banner adjustments */
  .hero {
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
    animation: none; /* Disable zoom for performance */
  }

  .hero__overlay {
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.8) 0%, rgba(50, 205, 50, 0.75) 50%, rgba(135, 206, 235, 0.7) 100%);
  }

  .hero__overlay::before {
    animation: none; /* Disable particle animation on mobile */
  }

  .section__title {
    font-size: 2.5rem;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__description {
    font-size: 1.1rem;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .hero__store-buttons {
    flex-direction: column;
    align-items: center;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .books__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .book__card.featured {
    transform: none;
  }

  .testimonial__content {
    padding: 2rem;
  }

  .testimonial__text {
    font-size: 1.1rem;
  }

  .contact__info {
    padding: 1rem;
  }

  .contact__detail {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .contact__social {
    justify-content: center;
  }

  .contact__form {
    padding: 1.5rem;
    border-radius: 15px;
  }

  .scroll-indicator {
    bottom: 20px;
    font-size: 0.8rem;
  }

  .scroll-mouse {
    width: 20px;
    height: 32px;
  }

  .scroll-wheel {
    width: 3px;
    height: 6px;
  }

  .hero__img.book-cover {
    max-width: 300px;
  }
}

@media screen and (max-width: 480px) {
  .container-fluid {
    padding: 0 1rem;
  }

  /* Extra small screens banner optimization */
  .hero {
    background-attachment: scroll;
    background-position: center;
    animation: none; /* Disable animations for best performance */
  }

  .hero__overlay {
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.85) 0%, rgba(50, 205, 50, 0.8) 50%, rgba(135, 206, 235, 0.75) 100%);
  }

  .hero__overlay::before {
    animation: none; /* Disable particle animation */
  }

  .hero__title {
    font-size: 2rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .about__title {
    font-size: 2rem;
  }

  .newsletter__title {
    font-size: 2rem;
  }

  .form__group {
    flex-direction: column;
  }

  .newsletter__input {
    margin-bottom: 1rem;
  }

  .footer__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .contact__title {
    font-size: 1.8rem;
  }

  .contact__description {
    font-size: 1rem;
  }

  .contact__detail {
    padding: 0.75rem;
  }

  .contact__icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .social__link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .scroll-indicator {
    bottom: 15px;
  }

  .hero__img.book-cover {
    max-width: 250px;
  }
}

/* Tropical Nature Animations */
@keyframes tropicalFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-15px) rotate(2deg);
  }
  66% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

@keyframes naturePulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes hibiscusBloom {
  0% {
    transform: scale(0.8) rotate(-5deg);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1) rotate(2deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.9;
  }
}

/* Add floating nature elements */
.hero__overlay::after {
  content: '🌸 🦎 🌺 🦋 🌿';
  position: absolute;
  top: 10%;
  right: 5%;
  font-size: 2rem;
  animation: tropicalFloat 15s ease-in-out infinite;
  opacity: 0.3;
  z-index: 1;
}

/* Hidden class for loading screen */
.hidden {
  display: none !important;
}
