/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
}
#home {
  padding-top: 0 !important;
}
.font-pacifico {
  font-family: 'Pacifico', cursive !important;
}



body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  line-height: 1.5;
  color: #374151;
  background-color: #ffffff;
  min-height: 100vh;
  padding-top: 80px; /* Prevents content hiding under fixed navbar */
}

/* Custom Pacifico Font Alternative */
.font-pacifico {
  font-family: cursive, fantasy, serif;
  font-weight: 400;
  font-style: normal;
}
/* Primary CTA (Explore Our Books) */
.cta-primary {
  background: linear-gradient(to right, #ff7b00, #ff3d00);
  color: #fff;
  padding: 1.25rem 2.5rem;
  font-size: 1.4rem;
  font-weight: 800;
  border-radius: 1rem;
  animation: bounce 2s infinite;
  box-shadow: 0 8px 20px rgba(255, 61, 0, 0.6);
}
.cta-secondary {
  background: rgba(255, 255, 255, 0.2); /* semi-transparent */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f97316; /* orange text */
  font-weight: 700;
  padding: 1.3rem 2.8rem;
  border-radius: 1.3rem;
  font-size: 1.25rem;
  border: 2px solid #f97316;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.25);
}

.cta-secondary:hover {
  background: #f97316;
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.8);
}

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

/* Layout Utilities */
.container { width: 100%; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Display Utilities */
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.inline-flex { display: inline-flex; }


/* Flexbox Utilities */
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* Grid Utilities */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-10 { bottom: 2.5rem; }
.right-10 { right: 2.5rem; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Mobile Menu overlay (sits under the fixed navbar) */
#mobileMenu {
  position: absolute;
  top: 80px; /* height of navbar (h-20) */
  left: 0;
  right: 0;
  width: 100%;
  z-index: 40;
}

/* Sizing */
.w-3 { width: 0.75rem; }
.w-6 { width: 1.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.w-full { width: 100%; }
.h-3 { height: 0.75rem; }
.h-6 { height: 1.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.min-h-screen { min-height: 100vh; }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }

/* Spacing - Margin */
.m-0 { margin: 0; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.ml-10 { margin-left: 2.5rem; }

/* Spacing - Padding */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pt-20 { padding-top: 5rem; }
.pb-3 { padding-bottom: 0.75rem; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.whitespace-nowrap { white-space: nowrap; }

/* Colors - Text */
.text-white { color: #ffffff; }
.text-white\/95 { color: rgba(255, 255, 255, 0.95); }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-orange-400 { color: #fb923c; }
.text-orange-500 { color: #f97316; }
.text-orange-600 { color: #ea580c; }
.text-blue-400 { color: #60a5fa; }
.text-blue-600 { color: #2563eb; }
.text-green-400 { color: #4ade80; }
.text-green-600 { color: #16a34a; }
.text-purple-500 { color: #a855f7; }
.text-purple-600 { color: #9333ea; }
.text-yellow-300 { color: #fde047; }
.text-red-500 { color: #ef4444; }
.text-pink-500 { color: #ec4899; }
.text-black\/95 { color: rgba(0, 0, 0, 0.95); }

/* Colors - Background */
.bg-white { background-color: #ffffff; }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-transparent { background-color: transparent; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-700 { background-color: #374151; }
.bg-gray-800 { background-color: #1f2937; }
.bg-gray-900 { background-color: #111827; }
.bg-orange-50 { background-color: #fff7ed; }
.bg-orange-400 { background-color: #fb923c; }
.bg-orange-500 { background-color: #f97316; }
.bg-orange-600 { background-color: #ea580c; }
.bg-orange-700 { background-color: #c2410c; }
.bg-orange-800 { background-color: #9a3412; }
.bg-yellow-50 { background-color: #fefce8; }
.bg-yellow-100 { background-color: #fef3c7; }
.bg-yellow-300 { background-color: #fde047; }
.bg-yellow-400 { background-color: #facc15; }
.bg-yellow-600 { background-color: #ca8a04; }
.bg-red-400 { background-color: #f87171; }
.bg-red-500 { background-color: #ef4444; }
.bg-red-600 { background-color: #dc2626; }
.bg-red-700 { background-color: #b91c1c; }
.bg-blue-400 { background-color: #60a5fa; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-700 { background-color: #1d4ed8; }
.bg-blue-800 { background-color: #1e40af; }
.bg-blue-900 { background-color: #1e3a8a; }
.bg-green-500 { background-color: #22c55e; }
.bg-green-600 { background-color: #16a34a; }
.bg-green-700 { background-color: #15803d; }
.bg-purple-300 { background-color: #c084fc; }
.bg-purple-500 { background-color: #a855f7; }
.bg-purple-600 { background-color: #9333ea; }
.bg-purple-700 { background-color: #7c3aed; }
.bg-pink-400 { background-color: #f472b6; }
.bg-pink-500 { background-color: #ec4899; }
.bg-pink-600 { background-color: #db2777; }
.bg-teal-400 { background-color: #2dd4bf; }
.bg-teal-500 { background-color: #14b8a6; }
.bg-teal-600 { background-color: #0d9488; }
.bg-teal-700 { background-color: #0f766e; }
.bg-teal-800 { background-color: #115e59; }
.bg-cyan-100 { background-color: #cffafe; }
.bg-cyan-400 { background-color: #22d3ee; }
.bg-cyan-600 { background-color: #0891b2; }
.bg-indigo-400 { background-color: #818cf8; }
.bg-indigo-600 { background-color: #4f46e5; }

/* Background Effects */
.backdrop-blur-md { 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.backdrop-blur-sm { 
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
/* Gradient Colors for Book Boxes */
.from-pink-400 { --tw-gradient-from: #f472b6; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(244, 114, 182, 0)); }
.to-pink-600 { --tw-gradient-to: #db2777; }

.from-purple-400 { --tw-gradient-from: #c084fc; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(192, 132, 252, 0)); }
.to-purple-600 { --tw-gradient-to: #9333ea; }

.from-blue-400 { --tw-gradient-from: #60a5fa; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(96, 165, 250, 0)); }
.to-blue-600 { --tw-gradient-to: #2563eb; }

.from-green-400 { --tw-gradient-from: #4ade80; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(74, 222, 128, 0)); }
.to-green-600 { --tw-gradient-to: #16a34a; }

.from-yellow-400 { --tw-gradient-from: #facc15; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(250, 204, 21, 0)); }
.to-yellow-600 { --tw-gradient-to: #ca8a04; }

.from-orange-400 { --tw-gradient-from: #fb923c; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(251, 146, 60, 0)); }
.to-orange-600 { --tw-gradient-to: #ea580c; }

.from-red-400 { --tw-gradient-from: #f87171; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(248, 113, 113, 0)); }
.to-red-600 { --tw-gradient-to: #dc2626; }

.from-teal-400 { --tw-gradient-from: #2dd4bf; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(45, 212, 191, 0)); }
.to-teal-600 { --tw-gradient-to: #0d9488; }

.from-indigo-400 { --tw-gradient-from: #818cf8; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(129, 140, 248, 0)); }
.to-indigo-600 { --tw-gradient-to: #4f46e5; }

.from-cyan-400 { --tw-gradient-from: #22d3ee; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(34, 211, 238, 0)); }
.to-cyan-600 { --tw-gradient-to: #0891b2; }


/* Gradients */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }

.from-orange-50 { --tw-gradient-from: #fff7ed; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 247, 237, 0)); }
.to-yellow-50 { --tw-gradient-to: #fefce8; }
.from-cyan-100 { --tw-gradient-from: #cffafe; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(207, 250, 254, 0)); }
.to-blue-200 { --tw-gradient-to: #bfdbfe; }

.from-orange-500 { --tw-gradient-from: #f97316; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(249, 115, 22, 0)); }
.via-red-500 { --tw-gradient-stops: var(--tw-gradient-from), #ef4444, var(--tw-gradient-to, rgba(239, 68, 68, 0)); }
.to-pink-500 { --tw-gradient-to: #ec4899; }

.from-yellow-100 { --tw-gradient-from: #fef3c7; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(254, 243, 199, 0)); }
.via-orange-100 { --tw-gradient-stops: var(--tw-gradient-from), #ffedd5, var(--tw-gradient-to, rgba(255, 237, 213, 0)); }
.to-red-100 { --tw-gradient-to: #fee2e2; }

.from-purple-100 { --tw-gradient-from: #f3e8ff; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(243, 232, 255, 0)); }
.via-pink-100 { --tw-gradient-stops: var(--tw-gradient-from), #fce7f3, var(--tw-gradient-to, rgba(252, 231, 243, 0)); }
.to-yellow-100 { --tw-gradient-to: #fef3c7; }

.from-gray-900 { --tw-gradient-from: #111827; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(17, 24, 39, 0)); }
.to-blue-900 { --tw-gradient-to: #1e3a8a; }

.from-yellow-400 { --tw-gradient-from: #facc15; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(250, 204, 21, 0)); }
.via-orange-400 { --tw-gradient-stops: var(--tw-gradient-from), #fb923c, var(--tw-gradient-to, rgba(251, 146, 60, 0)); }
.to-red-400 { --tw-gradient-to: #f87171; }

.from-teal-400 { --tw-gradient-from: #2dd4bf; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(45, 212, 191, 0)); }
.to-teal-600 { --tw-gradient-to: #0d9488; }

.from-orange-400 { --tw-gradient-from: #fb923c; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(251, 146, 60, 0)); }
.to-orange-600 { --tw-gradient-to: #ea580c; }

.from-teal-500 { --tw-gradient-from: #14b8a6; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(20, 184, 166, 0)); }
.to-teal-700 { --tw-gradient-to: #0f766e; }

.from-blue-700 { --tw-gradient-from: #1d4ed8; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(29, 78, 216, 0)); }
.to-blue-900 { --tw-gradient-to: #1e3a8a; }

.from-blue-500 { --tw-gradient-from: #3b82f6; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0)); }
.to-blue-700 { --tw-gradient-to: #1d4ed8; }

.from-red-400 { --tw-gradient-from: #f87171; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(248, 113, 113, 0)); }
.to-red-600 { --tw-gradient-to: #dc2626; }

.from-purple-300 { --tw-gradient-from: #c084fc; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(192, 132, 252, 0)); }
.to-purple-500 { --tw-gradient-to: #a855f7; }

.from-pink-400 { --tw-gradient-from: #f472b6; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(244, 114, 182, 0)); }
.to-pink-600 { --tw-gradient-to: #db2777; }

.from-blue-800 { --tw-gradient-from: #1e40af; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(30, 64, 175, 0)); }

/* (Duplicates from the original kept for compatibility) */
.from-orange-600 { --tw-gradient-from: #ea580c; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(234, 88, 12, 0)); }
.via-red-600 { --tw-gradient-stops: var(--tw-gradient-from), #dc2626, var(--tw-gradient-to, rgba(220, 38, 38, 0)); }
.to-pink-600 { --tw-gradient-to: #db2777; }

/* Border */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-white { border-color: #ffffff; }
.border-orange-500 { border-color: #f97316; }
.border-gray-700 { border-color: #374151; }

/* Border Radius */
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.drop-shadow-sm { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05)); }

/* Effects */
.mix-blend-soft-light { mix-blend-mode: soft-light; }
.opacity-30 { opacity: 0.3; }
.overflow-hidden { overflow: hidden; }

/* Background image helpers */
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }
.bg-no-repeat { background-repeat: no-repeat; }

/* Transitions */
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

/* Transform */
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }

/* Focus */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }

/* Hover States */
.hover\:text-orange-600:hover { color: #ea580c; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:bg-orange-600:hover { background-color: #ea580c; }
.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.hover\:bg-white:hover { background-color: #ffffff; }
.hover\:bg-blue-500:hover { background-color: #3b82f6; }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.hover\:bg-red-700:hover { background-color: #b91c1c; }
.hover\:bg-green-700:hover { background-color: #15803d; }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.hover\:scale-105:hover { --tw-scale-x: 1.05; --tw-scale-y: 1.05; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.hover\:from-orange-600:hover { --tw-gradient-from: #ea580c; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(234, 88, 12, 0)); }
.hover\:via-red-600:hover { --tw-gradient-stops: var(--tw-gradient-from), #dc2626, var(--tw-gradient-to, rgba(220, 38, 38, 0)); }
.hover\:to-pink-600:hover { --tw-gradient-to: #db2777; }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Icon Replacements using Unicode symbols */
.icon {
  font-style: normal;
  display: inline-block;
  font-size: inherit;
  line-height: 1;
}
/* .ri-menu-line::before { content: "☰"; }
.ri-close-line::before { content: "✕"; }
.ri-book-line::before { content: "📚"; }
.ri-palette-line::before { content: "🎨"; }
.ri-computer-line::before { content: "💻"; }
.ri-customer-service-2-line::before { content: "🎧"; }
.ri-play-circle-fill::before { content: "▶️"; }
.ri-book-open-fill::before { content: "📖"; }
.ri-file-edit-fill::before { content: "📝"; }
.ri-translate-2::before { content: "🌐"; }
.ri-settings-3-fill::before { content: "⚙️"; }
.ri-edit-fill::before { content: "✏️"; }
.ri-file-list-3-fill::before { content: "📋"; }
.ri-qr-code-line::before { content: "⊞"; }
.ri-phone-line::before { content: "📞"; }
.ri-whatsapp-line::before { content: "💬"; }
.ri-mail-line::before { content: "✉️"; }
.ri-facebook-fill::before { content: "f"; }
.ri-twitter-fill::before { content: "t"; }
.ri-youtube-fill::before { content: "▶"; }
.ri-whatsapp-fill::before { content: "💬"; }
.ri-map-pin-line::before { content: "📍"; } */

/* Button & Link base */
button { border: none; cursor: pointer; font-family: inherit; font-size: inherit; line-height: inherit; }
a { color: inherit; text-decoration: none; }

/* Section scroll offsets (for fixed navbar) */
#home { scroll-margin-top: 88px; }
#abouteducateindia, #offerings, #books, #features, #contact { scroll-margin-top: 88px; }

/* ------- RESPONSIVE FIXES ------- */

/* Scale down huge headings & paddings on small phones */
@media (max-width: 640px) {
  .text-7xl { font-size: 2.5rem; line-height: 1.2; }
  .text-6xl { font-size: 2rem; line-height: 1.2; }
  .text-5xl { font-size: 1.75rem; line-height: 1.3; }
  .px-12 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .py-6 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .whitespace-nowrap { white-space: normal; } /* allow wrapping on tiny screens */
}

/* Make dense grids stack on very small devices; wrap long contact lines */
@media (max-width: 480px) {
  .grid-cols-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  #contact .flex-wrap { word-break: break-word; flex-wrap: wrap; }
}

/* Breakpoints */
@media (min-width: 640px) {
  .sm\:px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:text-right { text-align: right; }
}
@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .md\:text-right { text-align: right; }
}
@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* --- Tighten hero spacing --- */
#home { padding-top: 0 !important; }                 /* remove section top pad */
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  min-height: calc(100vh - 80px);
}

/* Desktop Layout: side by side */
@media (min-width: 1024px) {
  .hero-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .hero-text {
    flex: 1;
    max-width: 50%;
  }
  .hero-video {
    flex: 1;
    max-width: 45%;
    aspect-ratio: 16 / 9;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 1rem;
    overflow: hidden;
  }
}

/* Mobile video smaller */
.hero-video {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
}

#home h1{ margin-top: 0 !important; padding-top: 0 !important; }

/* Preloader Background */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff; /* or #f97316 for orange background */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Spinner Animation */
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #f3f3f3;
  border-top: 6px solid #f97316; /* brand orange */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
.hero-heading {
  font-size: 4rem;          /* bigger */
  font-weight: 900;         /* extra bold */
  text-align: left;         /* force left alignment */
  color: #111827;           /* dark gray/black */
  border-left: 10px solid #f97316; /* orange highlight bar */
  padding-left: 1rem;       /* spacing after bar */
  line-height: 1.2;
}
/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  line-height: 60px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 15px rgba(0,0,0,0.4);
}



