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

body {
  font-family: "Nunito", sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Added container-fluid class for full-width responsive containers */
.container-fluid {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (max-width: 768px) {
  .container-fluid {
    padding: 0 15px;
  }
}

/* Header Styles */
.header {
  background: rgba(76, 175, 80, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  padding: 1rem 0;
}

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

.logo h1 {
  font-family: "Fredoka One", cursive;
  color: white;
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.logo span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
}

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

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link::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;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(135deg, #87ceeb 0%, #98fb98 30%, #ffe082 70%, #ffb347 100%);
}

/* Replaced particle background with camping-themed animated scene */
.camping-scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.animated-clouds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  opacity: 0.7;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
}

.cloud-1 {
  width: 80px;
  height: 30px;
  top: 15%;
  left: 20%;
  animation: cloudFloat 20s linear infinite;
}

.cloud-1::before {
  width: 50px;
  height: 50px;
  top: -25px;
  left: 10px;
}

.cloud-1::after {
  width: 60px;
  height: 40px;
  top: -15px;
  right: 10px;
}

.cloud-2 {
  width: 100px;
  height: 40px;
  top: 25%;
  right: 15%;
  animation: cloudFloat 25s linear infinite reverse;
}

.cloud-2::before {
  width: 60px;
  height: 60px;
  top: -30px;
  left: 15px;
}

.cloud-2::after {
  width: 70px;
  height: 50px;
  top: -20px;
  right: 15px;
}

.cloud-3 {
  width: 60px;
  height: 25px;
  top: 10%;
  left: 60%;
  animation: cloudFloat 30s linear infinite;
}

.cloud-3::before {
  width: 40px;
  height: 40px;
  top: -20px;
  left: 8px;
}

.cloud-3::after {
  width: 50px;
  height: 35px;
  top: -12px;
  right: 8px;
}

@keyframes cloudFloat {
  0% {
    transform: translateX(-100px);
  }
  100% {
    transform: translateX(calc(100vw + 100px));
  }
}

.animated-trees {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tree {
  position: absolute;
  bottom: 20%;
}

.tree::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 40px;
  background: #8b4513;
  border-radius: 4px;
}

.tree::after {
  content: "";
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 50px solid #228b22;
}

.tree-1 {
  left: 5%;
  animation: treeWave 4s ease-in-out infinite;
}

.tree-2 {
  left: 85%;
  animation: treeWave 5s ease-in-out infinite reverse;
}

.tree-3 {
  left: 92%;
  animation: treeWave 3s ease-in-out infinite;
}

.tree-3::after {
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 40px solid #32cd32;
}

@keyframes treeWave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

.animated-tent {
  position: absolute;
  bottom: 25%;
  left: 10%;
  z-index: 2;
}

.tent-body {
  width: 60px;
  height: 40px;
  background: linear-gradient(135deg, #ff6347, #ff4500);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  position: relative;
  animation: tentGlow 3s ease-in-out infinite alternate;
}

.tent-flag {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 15px;
  background: #8b4513;
}

.tent-flag::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 8px;
  background: #ffd700;
  clip-path: polygon(0% 0%, 100% 0%, 80% 50%, 100% 100%, 0% 100%);
  animation: flagWave 2s ease-in-out infinite;
}

@keyframes tentGlow {
  0% {
    filter: brightness(1);
  }
  100% {
    filter: brightness(1.2);
  }
}

@keyframes flagWave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

.animated-water {
  position: absolute;
  bottom: 15%;
  right: 20%;
  width: 100px;
  height: 20px;
}

.water-ripple {
  position: absolute;
  border: 2px solid rgba(30, 144, 255, 0.6);
  border-radius: 50%;
  animation: ripple 3s ease-out infinite;
}

.ripple-1 {
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.ripple-2 {
  width: 30px;
  height: 30px;
  top: -5px;
  left: 30px;
  animation-delay: 1s;
}

.ripple-3 {
  width: 25px;
  height: 25px;
  top: -2px;
  left: 60px;
  animation-delay: 2s;
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.floating-leaves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.leaf {
  position: absolute;
  font-size: 1.5rem;
  animation: leafFall 8s linear infinite;
  opacity: 0.7;
}

.leaf-1 {
  left: 15%;
  animation-delay: 0s;
  animation-duration: 8s;
}

.leaf-2 {
  left: 35%;
  animation-delay: 2s;
  animation-duration: 10s;
}

.leaf-3 {
  left: 65%;
  animation-delay: 4s;
  animation-duration: 9s;
}

.leaf-4 {
  left: 85%;
  animation-delay: 6s;
  animation-duration: 7s;
}

@keyframes leafFall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  z-index: 2;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.hero-title {
  font-family: "Fredoka One", cursive;
  font-size: 4rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #34495e;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  /* transition: all 0.3s ease; */
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  /* transform: translate(-50%, -50%); */
  /* transition: width 0.6s, height 0.6s; */
}

.btn:active .btn-ripple {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
}

.btn-primary:hover {
  /* transform: translateY(-3px); */
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: white;
}

.btn-secondary:hover {
  /* transform: translateY(-3px); */
  box-shadow: 0 12px 35px rgba(78, 205, 196, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #4ecdc4;
  color: #4ecdc4;
}

.btn-outline:hover {
  background: #4ecdc4;
  color: white;
}

.btn-white {
  background: white;
  color: #2c3e50;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

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

.stat-number {
  font-family: "Fredoka One", cursive;
  font-size: 2.5rem;
  color: #ff6b6b;
  display: block;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.Neech{
  margin-top: 80px !important;
}
.stat-label {
  font-size: 0.9rem;
  color: #7f8c8d;
  font-weight: 600;
  margin-top: 0.5rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.book-showcase {
  position: relative;
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

.book-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.3) 0%, transparent 70%);
  border-radius: 20px;
  z-index: -1;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    opacity: 0.5;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.05);
  }
}

.featured-book {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.featured-book:hover {
  transform: scale(1.05) rotate(-2deg);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  font-size: 2rem;
  animation: floatElement 4s ease-in-out infinite;
}

.element-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.element-2 {
  top: 20%;
  right: -15%;
  animation-delay: 1s;
}

.element-3 {
  bottom: 30%;
  left: -5%;
  animation-delay: 2s;
}

.element-4 {
  bottom: 10%;
  right: -10%;
  animation-delay: 3s;
}

.element-5 {
  top: 50%;
  left: -20%;
  animation-delay: 1.5s;
}

@keyframes floatElement {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) translateX(10px) rotate(180deg);
    opacity: 1;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #2c3e50;
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid #2c3e50;
  border-radius: 12px;
  position: relative;
  margin: 0 auto 10px;
}

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

@keyframes scroll {
  0% {
    top: 8px;
    opacity: 1;
  }
  100% {
    top: 24px;
    opacity: 0;
  }
}

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

/* Section Styles */
.Authr img{
    width: 500px !important;
    height: 500px !important;
}
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-family: "Fredoka One", cursive;
  font-size: 3rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.title-decoration {
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  margin: 0 auto 2rem;
  border-radius: 2px;
  position: relative;
}

.title-decoration::before,
.title-decoration::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  border-radius: 50%;
  top: -8px;
}

.title-decoration::before {
  left: -10px;
}

.title-decoration::after {
  right: -10px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #7f8c8d;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* About Section */
.about {
  /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
  position: relative;
}

.about::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='%234ecdc4' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    repeat;
  z-index: 1;
}

.about .container-fluid {
  position: relative;
  z-index: 2;
}

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

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

.author-photo {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.author-photo:hover {
  transform: rotate(0deg) scale(1.05);
}

.photo-decoration {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border: 3px solid #4ecdc4;
  border-radius: 30px;
  z-index: -1;
  animation: photoFloat 4s ease-in-out infinite;
}

@keyframes photoFloat {
  0%,
  100% {
    transform: rotate(2deg);
  }
  50% {
    transform: rotate(-2deg);
  }
}

.author-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text h3 {
  font-family: "Fredoka One", cursive;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.about-text p {
  font-size: 1.2rem;
  color: #34495e;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.book-purchase-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
  align-items: center;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  flex-wrap: nowrap;
}

.book-purchase-buttons .btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 220px;
  max-width: 280px;
  justify-content: center;
  white-space: nowrap;
  padding: 15px 30px;
}

.book-purchase-buttons .btn-primary {
  order: 1;
}

.book-purchase-buttons .btn-secondary {
  order: 2;
}

@media (max-width: 768px) {
  .book-purchase-buttons {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .book-purchase-buttons .btn {
    flex: 1 1 auto;
    min-width: 180px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .book-purchase-buttons {
    flex-direction: column;
  }
  
  .book-purchase-buttons .btn {
    width: 100%;
    min-width: auto;
    max-width: 100%;
  }
}

.author-features {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-content h4 {
  font-family: "Fredoka One", cursive;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.feature-content p {
  color: #7f8c8d;
  margin: 0;
  font-size: 1rem;
}

/* Books Section */
.books {
  background: white;
  position: relative;
}

.books-showcase {
  display: grid;
  gap: 3rem;
}

.featured-book {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, #ffe082 0%, #ffcc02 100%);
  padding: 3rem;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.book-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  /* transition: all 0.4s ease; */
  position: relative;
}

.book-card:hover {
  /* transform: translateY(-10px); */
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.book-cover {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.book-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.book-card:hover .book-shine {
  opacity: 1;
  animation: shine 0.6s ease-in-out;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.book-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.9), rgba(78, 205, 196, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  /* transition: opacity 0.4s ease; */
}

.book-card:hover .book-overlay {
  opacity: 1;
}

.book-card:hover .book-cover img {
  transform: scale(1.1);
}

.overlay-content {
  text-align: center;
  color: white;
}

.overlay-content h4 {
  font-family: "Fredoka One", cursive;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.overlay-content p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.book-info {
  padding: 2rem;
}

.book-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.book-info h3 {
  font-family: "Fredoka One", cursive;
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.book-info p {
  color: #34495e;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.book-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.stars {
  display: flex;
  gap: 2px;
}

.star {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.star:hover {
  transform: scale(1.2);
}

.star.active {
  color: #ffd700;
}

.rating-text {
  background: #4ecdc4;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.book-actions {
  display: flex;
  gap: 0.5rem;
}

/* Activities Section */
.activities {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
}

.activities::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20c0 11.046-8.954 20-20 20v-40c11.046 0 20 8.954 20 20z'/%3E%3C/g%3E%3C/svg%3E")
    repeat;
  z-index: 1;
}

.activities .container-fluid {
  position: relative;
  z-index: 2;
}

.activities .section-title,
.activities .section-subtitle {
  color: white;
}

.activities .section-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.activity-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.activity-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.activity-card:hover .activity-background {
  opacity: 1;
}

.activity-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.activity-icon {
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: transform 0.4s ease;
}

.activity-card:hover .activity-icon {
  transform: scale(1.1) rotate(5deg);
}

.activity-content h3 {
  font-family: "Fredoka One", cursive;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.activity-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.activity-features {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.activity-hover {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.activity-card:hover .activity-hover {
  opacity: 1;
  transform: translateX(-5px);
}

/* Video Section */
.video-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  padding: 100px 0;
}

.video-section::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='%234caf50' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    repeat;
  z-index: 1;
}

.video-section .container-fluid {
  position: relative;
  z-index: 2;
}

.video-container {
  max-width: 900px;
  margin: 3rem auto 0;
  position: relative;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 40px rgba(76, 175, 80, 0.2);
  border: 4px solid rgba(76, 175, 80, 0.2);
  background: #000;
  transition: all 0.4s ease;
}

.video-wrapper::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(90deg, #87ceeb 0%, #98fb98 25%, #ffe082 50%, #ffb347 75%, #ff6b6b 100%);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.video-wrapper:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2), 0 0 60px rgba(76, 175, 80, 0.3);
  border-color: rgba(76, 175, 80, 0.4);
}

.video-wrapper:hover::before {
  opacity: 1;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .video-section {
    padding: 60px 0;
  }
  
  .video-container {
    margin: 2rem auto 0;
    padding: 0 1rem;
  }
  
  .video-wrapper {
    border-radius: 15px;
  }
  
  .video-wrapper iframe {
    border-radius: 11px;
  }
}

@media (max-width: 480px) {
  .video-section {
    padding: 50px 0;
  }
  
  .video-container {
    margin: 1.5rem auto 0;
  }
}

/* Newsletter Section */
.newsletter {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: white;
  padding: 80px 0;
  position: relative;
}

.newsletter::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='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M30 30c0-16.569 13.431-30 30-30v60c-16.569 0-30-13.431-30-30z'/%3E%3C/g%3E%3C/svg%3E")
    repeat;
  z-index: 1;
}

.newsletter .container-fluid {
  position: relative;
  z-index: 2;
}

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

.newsletter-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  animation: newsletterFloat 3s ease-in-out infinite;
}

@keyframes newsletterFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.newsletter-text h2 {
  font-family: "Fredoka One", cursive;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.newsletter-text p {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.newsletter-benefits {
  display: grid;
  gap: 1rem;
}

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

.benefit-item i {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.newsletter-form .form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 25px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  outline: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.newsletter-form input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-note {
  font-size: 0.9rem;
  opacity: 0.8;
  text-align: center;
}

/* Contact Section */
.contact {
  background: white;
  position: relative;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-details h3 {
  font-family: "Fredoka One", cursive;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.contact-details p {
  color: #34495e;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-note {
  color: #7f8c8d;
  font-size: 0.9rem;
  font-style: italic;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  color: white;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-form {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 3rem;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #4ecdc4;
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 60px 0 20px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20c0 11.046-8.954 20-20 20v-40c11.046 0 20 8.954 20 20z'/%3E%3C/g%3E%3C/svg%3E")
    repeat;
  z-index: 1;
}

.footer .container-fluid {
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
  font-family: "Fredoka One", cursive;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-section h3 {
  font-size: 1.8rem;
}

.footer-section h4 {
  font-size: 1.2rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #4ecdc4;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.footer-social .social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

.footer-newsletter input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 25px;
  outline: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #4ecdc4;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 25px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: flex-end;
}

.close {
  color: #aaa;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ff6b6b;
}

#modal-body {
  padding: 2rem;
}

#modal-body h2 {
  font-family: "Fredoka One", cursive;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-content {
    gap: 3rem;
  }

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

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

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(76, 175, 80, 0.95);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 1rem;
  }

  .nav-menu.active {
    left: 0;
  }

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

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

  .hero-stats {
    justify-content: center;
  }

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

  .featured-book {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .newsletter-form .form-group {
    flex-direction: column;
  }

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

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

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container-fluid {
    padding: 0 10px;
  }

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

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

  .books-grid {
    grid-template-columns: 1fr;
  }

  .activities-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
    padding: 1.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-link:focus,
.social-link:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid #4ecdc4;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero {
    background: #ffffff;
    color: #000000;
  }

  .activities {
    background: #000000;
    color: #ffffff;
  }
}

/* Print styles */
@media print {
  .header,
  .footer,
  .modal,
  .floating-elements,
  .particles-background {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
}
