@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&family=Quicksand:wght@300;400;500;600;700&family=Caveat:wght@400;700&display=swap');

:root {
  /* Rich Earthy Organic Color Palette */
  --color-terracotta: hsl(14, 75%, 53%);
  --color-terracotta-light: hsl(14, 90%, 96%);
  --color-terracotta-hover: hsl(14, 85%, 45%);
  
  --color-mustard: hsl(38, 85%, 52%);
  --color-mustard-light: hsl(38, 90%, 95%);
  --color-mustard-dark: hsl(38, 80%, 40%);
  
  --color-eucalyptus: hsl(182, 60%, 25%);
  --color-eucalyptus-light: hsl(182, 40%, 94%);
  --color-eucalyptus-hover: hsl(182, 70%, 18%);
  
  --color-sage: hsl(100, 35%, 45%);
  --color-sage-light: hsl(100, 45%, 94%);
  
  --color-sky: hsl(198, 75%, 42%);
  --color-sky-light: hsl(198, 80%, 94%);
  
  --color-lavender: hsl(272, 45%, 50%);
  --color-lavender-light: hsl(272, 60%, 95%);
  
  --bg-linen: hsl(43, 60%, 97%);
  
  --font-heading: 'Fredoka', sans-serif;
  --font-body: 'Quicksand', sans-serif;
  --font-handwritten: 'Caveat', cursive;
  
  /* Organic & Sketched Borders */
  --border-organic-1: 30px 15px 30px 15px / 15px 30px 15px 30px;
  --border-organic-2: 15px 30px 15px 30px / 30px 15px 30px 15px;
  --border-sketch-thick: 3px solid var(--color-eucalyptus);
  --border-sketch-thin: 2px solid rgba(18, 67, 70, 0.2);
  
  /* Physical Block Shadows (Tactile) */
  --shadow-block-sm: 3px 3px 0px var(--color-eucalyptus);
  --shadow-block-md: 5px 5px 0px var(--color-eucalyptus);
  --shadow-block-lg: 8px 8px 0px var(--color-eucalyptus);
  --shadow-polaroid: 0 10px 25px rgba(18, 67, 70, 0.08);
}

/* Base Stylings */
body {
  font-family: var(--font-body);
  background-color: var(--bg-linen);
  color: hsl(210, 15%, 25%);
  overflow-x: hidden;
  font-size: 1.1rem;
  line-height: 1.8;
  position: relative;
}

/* Subtle hand-made paper grid */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(18, 67, 70, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 67, 70, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-eucalyptus);
  font-weight: 600;
  margin-bottom: 0.5em;
}

h1 {
  font-weight: 700;
}

/* Custom Highlight Curve under words */
.highlight-line {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.highlight-line::after {
  content: '';
  position: absolute;
  left: -2px;
  bottom: 4px;
  width: calc(100% + 4px);
  height: 12px;
  background-color: var(--color-mustard-light);
  border-radius: 10px;
  z-index: -1;
  transform: rotate(-1deg);
  border-bottom: 2px solid rgba(234, 168, 58, 0.4);
}

/* Hand-drawn badges & notes */
.handwritten-annotation {
  font-family: var(--font-handwritten);
  color: var(--color-terracotta);
  font-size: 1.8rem;
  line-height: 1.2;
  transform: rotate(-2deg);
  display: inline-block;
}

.handwritten-badge {
  background-color: var(--color-terracotta-light);
  color: var(--color-terracotta);
  border: 2px dashed var(--color-terracotta);
  padding: 6px 16px;
  border-radius: 12px;
  font-family: var(--font-handwritten);
  font-size: 1.5rem;
  transform: rotate(1deg);
  display: inline-block;
}

/* Tactile/Physical Buttons */
.btn-premium {
  background-color: var(--color-terracotta);
  color: #fff !important;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 18px 8px 18px 8px;
  padding: 12px 28px;
  border: var(--border-sketch-thick);
  box-shadow: var(--shadow-block-sm);
  transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.btn-premium:hover {
  background-color: var(--color-mustard-light);
  color: var(--color-eucalyptus) !important;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-block-md);
  text-decoration: none !important;
}

.btn-premium:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px var(--color-eucalyptus);
  text-decoration: none !important;
}

.btn-premium-teal {
  background-color: var(--color-eucalyptus);
  color: #fff !important;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 8px 18px 8px 18px;
  padding: 12px 28px;
  border: 3px solid var(--color-mustard);
  box-shadow: 4px 4px 0px var(--color-mustard);
  transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.btn-premium-teal:hover {
  background-color: var(--color-mustard-light);
  color: var(--color-eucalyptus) !important;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--color-mustard);
  text-decoration: none !important;
}

.btn-premium-teal:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--color-mustard);
  text-decoration: none !important;
}

/* Washi Tape Strip */
.washi-tape-container {
  position: relative;
}

.washi-tape {
  position: absolute;
  width: 100px;
  height: 28px;
  background-color: hsla(14, 75%, 53%, 0.25);
  backdrop-filter: blur(1px);
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border-left: 2px dashed rgba(255, 255, 255, 0.5);
  border-right: 2px dashed rgba(255, 255, 255, 0.5);
  clip-path: polygon(0% 0%, 100% 0%, 97% 25%, 100% 50%, 97% 75%, 100% 100%, 0% 100%, 3% 75%, 0% 50%, 3% 25%);
  transform: rotate(-4deg);
}

.washi-tape-coral {
  background-color: hsla(14, 75%, 53%, 0.3);
}

.washi-tape-yellow {
  background-color: hsla(38, 85%, 52%, 0.35);
  transform: rotate(3deg);
}

.washi-tape-sage {
  background-color: hsla(100, 35%, 45%, 0.3);
  transform: rotate(-2deg);
}

.washi-tape-sky {
  background-color: hsla(198, 75%, 42%, 0.3);
  transform: rotate(2deg);
}

/* Washi tape layouts */
.washi-top-center {
  top: -15px;
  left: 50%;
  margin-left: -50px;
}

.washi-top-left {
  top: -12px;
  left: 10px;
}

.washi-top-right {
  top: -12px;
  right: 10px;
}

/* Floating Navigation Bar (Corkboard layout) */
.navbar-custom {
  background-color: hsla(43, 60%, 97%, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 3px dashed var(--color-eucalyptus);
  padding: 15px 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1050;
}

.navbar-custom.shrunk {
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(18, 67, 70, 0.08);
  border-bottom-style: solid;
}

.nav-link-custom {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-eucalyptus);
  padding: 8px 18px !important;
  margin: 0 4px;
  border-radius: 15px;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.25);
  border: 2px solid transparent;
}

.nav-link-custom:hover {
  background-color: var(--color-mustard-light);
  color: var(--color-terracotta) !important;
  transform: scale(1.05);
}

.nav-link-custom.active {
  background-color: var(--color-eucalyptus-light);
  color: var(--color-eucalyptus) !important;
  border: var(--border-sketch-thin);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 180px 0 100px 0;
  z-index: 10;
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-eucalyptus);
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 60px 0;
  }
  .hero-title {
    font-size: 2.6rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: hsl(210, 10%, 35%);
  margin-bottom: 40px;
}

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

/* Meaning of Kalika Section */
.kalika-meaning-card {
  background: #fff;
  border-radius: var(--border-organic-1);
  border: var(--border-sketch-thick);
  padding: 45px;
  box-shadow: var(--shadow-block-md);
  position: relative;
  transition: all 0.3s ease;
}

.kalika-meaning-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-block-lg);
}

.lotus-img-frame {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--color-eucalyptus);
  box-shadow: var(--shadow-block-sm);
  padding: 15px;
  background-color: var(--color-terracotta-light);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.sanskrit-word {
  font-family: var(--font-heading);
  color: var(--color-terracotta);
  font-weight: 700;
}

/* Focus Pillars Card (Handmade Paper look) */
.pillar-card {
  border-radius: var(--border-organic-1);
  padding: 40px 30px;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.2);
  border: var(--border-sketch-thick);
  height: 100%;
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-10px) rotate(1deg);
}

.pillar-1 {
  background-color: var(--color-sage-light);
  box-shadow: 5px 5px 0px var(--color-sage);
  color: hsl(100, 50%, 20%);
}
.pillar-1:hover { box-shadow: 8px 8px 0px var(--color-sage); }
.pillar-1 .pillar-icon { background-color: #cce3cc; color: var(--color-sage); border: 2px solid var(--color-sage); }

.pillar-2 {
  background-color: var(--color-terracotta-light);
  box-shadow: 5px 5px 0px var(--color-terracotta);
  color: hsl(14, 60%, 25%);
}
.pillar-2:hover { box-shadow: 8px 8px 0px var(--color-terracotta); }
.pillar-2 .pillar-icon { background-color: #ffdcd1; color: var(--color-terracotta); border: 2px solid var(--color-terracotta); }

.pillar-3 {
  background-color: var(--color-sky-light);
  box-shadow: 5px 5px 0px var(--color-sky);
  color: hsl(198, 60%, 22%);
}
.pillar-3:hover { box-shadow: 8px 8px 0px var(--color-sky); }
.pillar-3 .pillar-icon { background-color: #cceeff; color: var(--color-sky); border: 2px solid var(--color-sky); }

.pillar-4 {
  background-color: var(--color-mustard-light);
  box-shadow: 5px 5px 0px var(--color-mustard);
  color: hsl(38, 70%, 25%);
}
.pillar-4:hover { box-shadow: 8px 8px 0px var(--color-mustard); }
.pillar-4 .pillar-icon { background-color: #ffeeb3; color: var(--color-mustard-dark); border: 2px solid var(--color-mustard); }

.pillar-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.pillar-title {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

/* Polaroid Card & Grid Styles (Handmade Scrapbook) */
.polaroid-grid .col {
  perspective: 1000px;
}

.polaroid-card {
  background: #fff;
  padding: 18px 18px 45px 18px;
  border-radius: 2px;
  box-shadow: var(--shadow-polaroid);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1.15);
  border: 1px solid rgba(18, 67, 70, 0.08);
  text-align: center;
  margin-bottom: 25px;
  backface-visibility: hidden;
  position: relative;
}

.polaroid-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.02);
  pointer-events: none;
}

.polaroid-img-frame {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 18px;
  border: 2px solid var(--color-eucalyptus-light);
}

.polaroid-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.polaroid-caption {
  font-family: var(--font-handwritten);
  font-size: 1.8rem;
  color: var(--color-eucalyptus);
  margin-top: 15px;
  line-height: 1;
}

.polaroid-card:hover {
  transform: translateY(-12px) scale(1.03) rotate(0deg) !important;
  box-shadow: 0 25px 50px rgba(18, 67, 70, 0.15);
  z-index: 5;
}

.polaroid-card:hover .polaroid-img-frame img {
  transform: scale(1.08);
}

/* Custom Polaroid paper taped captions */
.polaroid-card .polaroid-caption {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
}

/* Dynamic Rotations for Polaroid Grid */
/* Removed rotation */
/* Removed rotation */
/* Removed rotation */

/* Sticky Note (Post-it style) Testimonials */
.sticky-note {
  background-color: var(--color-mustard-light);
  border: 2px solid rgba(18, 67, 70, 0.1);
  padding: 40px;
  border-radius: 2px;
  box-shadow: 
    0 15px 30px rgba(18, 67, 70, 0.05),
    0 1px 3px rgba(18, 67, 70, 0.08),
    inset 0 -10px 30px rgba(234, 168, 58, 0.06);
  position: relative;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
}

.sticky-note::before {
  content: '“';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: rgba(18, 67, 70, 0.06);
  font-family: var(--font-heading);
  line-height: 1;
}

.sticky-note-green {
  background-color: var(--color-sage-light);
  box-shadow: 
    0 15px 30px rgba(18, 67, 70, 0.05),
    0 1px 3px rgba(18, 67, 70, 0.08),
    inset 0 -10px 30px rgba(76, 175, 80, 0.06);
}

.sticky-note-sky {
  background-color: var(--color-sky-light);
  box-shadow: 
    0 15px 30px rgba(18, 67, 70, 0.05),
    0 1px 3px rgba(18, 67, 70, 0.08),
    inset 0 -10px 30px rgba(2, 136, 209, 0.06);
}

.sticky-note:hover {
  transform: scale(1.03) rotate(0deg) translateY(-5px) !important;
  box-shadow: 
    0 25px 45px rgba(18, 67, 70, 0.1),
    0 4px 10px rgba(18, 67, 70, 0.06);
  z-index: 5;
}

.testimonial-quote {
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-eucalyptus);
}

/* Dynamic Rotations for Sticky Notes */
.row .col-lg-4:nth-child(3n+1) .sticky-note {
  transform: rotate(-1.5deg);
}
.row .col-lg-4:nth-child(3n+2) .sticky-note {
  transform: rotate(2deg);
}
.row .col-lg-4:nth-child(3n+3) .sticky-note {
  transform: rotate(-2.5deg);
}

/* Custom Notebook Paper sheet styling */
.notebook-paper {
  background: #fff;
  background-image: linear-gradient(rgba(18, 67, 70, 0.06) 1px, transparent 1px);
  background-size: 100% 32px;
  line-height: 32px;
  padding: 40px 40px 40px 65px;
  border-left: 3px double rgba(244, 81, 30, 0.35); /* double notebook red margin lines */
  border-radius: var(--border-organic-1);
  box-shadow: var(--shadow-block-md);
  border: var(--border-sketch-thick);
  position: relative;
}

.notebook-paper:hover {
  box-shadow: var(--shadow-block-lg);
}

.notebook-title {
  margin-top: -10px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Playful Lined School Notes for Program Details */
.program-page-card {
  background-color: #fff;
  border-radius: var(--border-organic-1);
  border: var(--border-sketch-thick);
  padding: 45px;
  box-shadow: var(--shadow-block-md);
  margin-bottom: 40px;
  position: relative;
  transition: all 0.3s ease;
}

.program-page-card:hover {
  box-shadow: var(--shadow-block-lg);
  transform: translateY(-2px);
}

/* Stitched Felt Sticker Badges */
.sticker-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 18px;
  border-radius: 12px;
  border: 2px dashed rgba(255,255,255,0.6);
  box-shadow: 2px 2px 0px rgba(18, 67, 70, 0.15);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: rotate(-1deg);
}

.sticker-badge-sage {
  background-color: var(--color-sage);
  color: #fff;
}

.sticker-badge-coral {
  background-color: var(--color-terracotta);
  color: #fff;
  transform: rotate(2deg);
}

.sticker-badge-sky {
  background-color: var(--color-sky);
  color: #fff;
}

.sticker-badge-yellow {
  background-color: var(--color-mustard);
  color: var(--color-eucalyptus);
  transform: rotate(-2deg);
}

/* Interactive Age Finder Board */
.interactive-widget-box {
  background: #fff;
  border-radius: var(--border-organic-1);
  padding: 45px;
  box-shadow: var(--shadow-block-lg);
  border: var(--border-sketch-thick);
  position: relative;
  overflow: hidden;
}

.interactive-widget-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-mustard), var(--color-sage), var(--color-sky));
}

.calculator-results {
  background-color: var(--color-eucalyptus-light);
  border-radius: 20px;
  padding: 30px;
  border: 3px dashed var(--color-eucalyptus);
  display: none;
  animation: fadeInUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.25) forwards;
}

/* Interactive Timeline "Game board path" style */
.scrapbook-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 0;
}

.scrapbook-timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: var(--color-eucalyptus-light);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 3px;
  border: 1px dashed var(--color-eucalyptus);
}

@media (max-width: 768px) {
  .scrapbook-timeline::after {
    left: 31px;
  }
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

@media (max-width: 768px) {
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
}

.timeline-item::after {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  content: '\f06c';
  position: absolute;
  width: 34px;
  height: 34px;
  right: -17px;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border: 2px solid var(--color-eucalyptus);
  box-shadow: 2px 2px 0px rgba(18, 67, 70, 0.15);
}

@media (max-width: 768px) {
  .timeline-item::after {
    left: 14px;
    right: auto;
  }
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

@media (max-width: 768px) {
  .timeline-item.right {
    left: 0;
  }
}

.timeline-item.right::after {
  left: -17px;
}

@media (max-width: 768px) {
  .timeline-item.right::after {
    left: 14px;
  }
}

/* Varied timeline points symbols */
.timeline-item:nth-child(6n+1)::after { content: '\f185'; color: var(--color-mustard-dark); }
.timeline-item:nth-child(6n+2)::after { content: '\f53f'; color: var(--color-terracotta); }
.timeline-item:nth-child(6n+3)::after { content: '\f5d1'; color: var(--color-terracotta); }
.timeline-item:nth-child(6n+4)::after { content: '\f12e'; color: var(--color-sky); }
.timeline-item:nth-child(6n+5)::after { content: '\f06c'; color: var(--color-sage); }
.timeline-item:nth-child(6n+6)::after { content: '\f015'; color: var(--color-eucalyptus); }

.timeline-content {
  padding: 30px;
  background-color: white;
  position: relative;
  border-radius: var(--border-organic-1);
  box-shadow: var(--shadow-block-sm);
  border: var(--border-sketch-thick);
}

.timeline-time {
  font-family: var(--font-heading);
  color: var(--color-terracotta);
  font-weight: 700;
  margin-bottom: 8px;
}

/* Lightbox Modal */
.custom-lightbox {
  display: none;
  position: fixed;
  z-index: 1500;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(18, 67, 70, 0.96);
  backdrop-filter: blur(8px);
}

.custom-lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 800px;
  border-radius: 8px;
  border: 12px solid #fff;
  box-shadow: 0 15px 50px rgba(0,0,0,0.5);
  animation: zoomIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.25);
}

.custom-lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 800px;
  text-align: center;
  color: #fff;
  padding: 15px 0;
  font-family: var(--font-handwritten);
  font-size: 2.2rem;
}

.custom-lightbox-close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: #fff;
  font-size: 48px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.custom-lightbox-close:hover {
  color: var(--color-terracotta);
}

/* Wooden Picture Frames */
.wooden-frame {
  border: 15px solid hsl(24, 30%, 40%);
  border-radius: 8px;
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.2), 
    inset 0 0 10px rgba(0,0,0,0.4),
    3px 10px 0px rgba(18, 67, 70, 0.15);
  background-color: #fff;
  padding: 4px;
}

/* Chalkboard style block */
.chalkboard-box {
  background-color: #2F3E33;
  color: #F8F9FA;
  border: 15px solid hsl(24, 30%, 35%);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-block-lg);
  font-family: var(--font-handwritten);
  font-size: 1.8rem;
  line-height: 1.5;
  border-style: solid;
}

.chalkboard-box h2, .chalkboard-box h3, .chalkboard-box h4 {
  color: #FBC02D;
  font-family: var(--font-handwritten);
  font-size: 2.4rem;
  border-bottom: 2px dashed rgba(251, 192, 45, 0.3);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Felt buttons for filters */
.filter-btn-group .btn-filter {
  background-color: #fff;
  color: var(--color-eucalyptus);
  border: 3px solid var(--color-eucalyptus);
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 15px;
  padding: 8px 22px;
  margin: 6px;
  box-shadow: var(--shadow-block-sm);
  transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.25);
}

.filter-btn-group .btn-filter:hover, .filter-btn-group .btn-filter.active {
  background-color: var(--color-eucalyptus);
  color: #fff;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px var(--color-eucalyptus);
}

/* Custom form fields with hand-drawn feel */
.form-control-custom {
  border-radius: 15px;
  border: 3px solid var(--color-eucalyptus);
  padding: 14px 20px;
  font-family: var(--font-body);
  transition: all 0.3s ease;
  background-color: #fff;
  box-shadow: inset 0 2px 4px rgba(18, 67, 70, 0.05);
}

.form-control-custom:focus {
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 4px var(--color-terracotta-light);
  outline: none;
}

.form-label-custom {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-eucalyptus);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

/* Footer Custom styling */
.footer-custom {
  background-color: var(--color-eucalyptus);
  color: var(--color-eucalyptus-light);
  padding: 90px 0 40px 0;
  position: relative;
  border-top: 12px solid var(--color-mustard);
}

.footer-custom::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 8px;
  background-image: radial-gradient(circle at 10px 0, var(--color-mustard) 10px, transparent 11px);
  background-size: 20px 20px;
}

.footer-custom h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 25px;
}

.footer-links a {
  color: hsl(182, 35%, 75%);
  transition: all 0.25s ease;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--color-mustard);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  margin-top: 50px;
  font-size: 0.95rem;
}

/* Parent Scrapbook pinned layout */
.scrapbook-board {
  background: hsla(24, 20%, 90%, 0.4);
  border: 4px solid hsl(24, 15%, 75%);
  border-radius: 12px;
  padding: 40px;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.05), var(--shadow-block-lg);
  position: relative;
}

/* Keyframes Animations */
@keyframes zoomIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.floating-butterfly {
  position: absolute;
  animation: butterfly-hover 5s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 12;
}

@keyframes butterfly-hover {
  0% { transform: translateY(0) rotate(5deg) scale(1); }
  100% { transform: translateY(-20px) rotate(-6deg) scale(1.1); }
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.section-tag {
  display: inline-block;
  background-color: var(--color-eucalyptus-light);
  color: var(--color-eucalyptus);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 20px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 2px dashed rgba(18, 67, 70, 0.2);
  transform: rotate(-1.5deg);
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--color-eucalyptus);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }
}

.section-desc {
  font-size: 1.25rem;
  color: hsl(210, 10%, 35%);
  max-width: 750px;
  margin: 0 auto 55px auto;
}

/* Paper clip overlay styles */
.paper-clip {
  position: absolute;
  top: -15px;
  left: 20px;
  width: 25px;
  height: 45px;
  background: transparent;
  border: 3px solid #90A4AE;
  border-radius: 12px;
  transform: rotate(-15deg);
  z-index: 20;
}

.paper-clip::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 3px;
  width: 13px;
  height: 30px;
  border: 2px solid #B0BEC5;
  border-radius: 8px;
}

/* Force WordPress page wrapper to be 100% full-width (edge-to-edge banner layouts) */
html, body {
  width: 100% !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

#primary, 
.site-main, 
.entry-content,
.elementor,
.elementor-inner,
.elementor-section-wrap,
.elementor-section {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Reset default WordPress block layout width restrictions inside entry-content */
.entry-content > *,
.entry-content .alignfull {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Center and constrain Elementor's boxed sections inside the 100% wide section */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1320px !important; /* Matches standard Bootstrap 5 container width */
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  display: flex !important;
}


/* Special diary/conversational styling inside admissions */
.conversational-diary-form {
  font-size: 1.25rem;
  line-height: 2.2;
  color: var(--color-eucalyptus);
  font-family: var(--font-body);
  font-weight: 500;
}
.diary-input {
  border: none;
  border-bottom: 2px dashed var(--color-terracotta);
  background-color: transparent;
  color: var(--color-terracotta);
  font-family: var(--font-handwritten);
  font-size: 1.8rem;
  padding: 0 10px;
  font-weight: bold;
  outline: none;
  transition: all 0.3s ease;
  display: inline-block;
  max-width: 100%;
}
.diary-input:focus {
  border-bottom-color: var(--color-eucalyptus);
  background-color: rgba(26, 94, 99, 0.03);
}
.diary-select {
  border: none;
  border-bottom: 2px dashed var(--color-terracotta);
  background-color: transparent;
  color: var(--color-terracotta);
  font-family: var(--font-handwritten);
  font-size: 1.7rem;
  padding: 0 10px;
  font-weight: bold;
  outline: none;
  cursor: pointer;
}
.diary-select:focus {
  border-bottom-color: var(--color-eucalyptus);
}
.diary-textarea {
  width: 100%;
  border: 3px dashed var(--color-eucalyptus);
  background-color: #fff;
  border-radius: 15px;
  padding: 15px;
  font-family: var(--font-handwritten);
  font-size: 1.6rem;
  color: var(--color-terracotta);
  outline: none;
  line-height: 1.5;
}
.diary-textarea:focus {
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 4px var(--color-terracotta-light);
}

/* Clear fixed top navbar reliably for the first section/content element on all pages */
main > .elementor > .elementor-section:first-child,
main > .site-main > .elementor-section:first-child,
.site-main > .elementor > .elementor-section:first-child,
.site-main > .elementor-section:first-child,
body > section:first-of-type,
main > section:first-of-type,
#primary > section:first-of-type,
.site-main > section:first-of-type {
  margin-top: 110px !important;
}


#page,
.site,
.site-main,
#primary,
.entry-content,
.elementor-section-wrap {
  overflow-x: hidden !important;
  width: 100% !important;
}


/* Force gallery cards to be a normal straight grid */
.polaroid-grid .polaroid-card {
  transform: none !important;
}
