/* Design Tokens - Colors from Banner and Book Cover */
:root {
  --cream: #f0f8f4;
  --teal: #5fb3b5;
  --deep-teal: #2d7a7d;
  --cherry: #c41a22;
  --sunflower: #ffd700;

  --sky-blue: #b8e0f0;
  --forest-green: #4a7c59;
  --light-green: #a8d5ba;
  --mud-brown: #8b6f47;

  --text: #2c3e2d;
  --muted: #5a6b5c;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(45, 122, 125, 0.15);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Book Antiqua", "Palatino Linotype", Palatino, Georgia, serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbf9 0%, var(--cream) 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-family: "Book Antiqua", "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.2;
  color: var(--forest-green);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0 0 .5rem;
}

h2.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  margin: 0 0 1.2rem;
  position: relative;
  display: inline-block;
}

/* music start */
/* Floating music toggle (minimal, modern glass button) */
#music-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: 0 8px 24px rgba(30, 45, 40, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  z-index: 9999;
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 180ms ease;
}

#music-toggle:focus {
  outline: none;
  box-shadow: 0 6px 18px rgba(30, 45, 40, 0.18);
  transform: translateY(-2px);
}

#music-toggle:hover {
  transform: translateY(-4px);
}

#music-toggle .icon {
  color: #2d7a7d;
  display: block;
}

#music-toggle .icon.off {
  display: none;
}

#music-toggle.muted .icon.on {
  display: none;
}

#music-toggle.muted .icon.off {
  display: block;
  color: #5a6b5c;
}

@media (prefers-reduced-motion: reduce) {
  #music-toggle {
    transition: none;
  }
}

/* smaller on mobile */
@media (max-width: 480px) {
  #music-toggle {
    width: 48px;
    height: 48px;
    right: 12px;
    bottom: 12px;
    border-radius: 12px;
  }
}

/* Entry overlay for explicit user gesture to start music */
#music-entry-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(18, 20, 18, 0.35), rgba(18, 20, 18, 0.6));
  z-index: 10000;
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  backdrop-filter: blur(6px) saturate(120%);
}

#music-entry-overlay .overlay-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 36px 46px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(6, 8, 7, 0.45);
  color: #fff;
  cursor: pointer;
  text-align: center;
  user-select: none;
}

#music-entry-overlay .overlay-icon {
  color: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

#music-entry-overlay .overlay-text {
  font-family: "Book Antiqua", Georgia, serif;
  font-size: 20px;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.95);
}

/* overlay fade-out */
#music-entry-overlay.overlay-hide {
  opacity: 0;
  transition: opacity 420ms ease;
  pointer-events: none;
}

@media (max-width: 480px) {
  #music-entry-overlay .overlay-inner {
    padding: 22px 26px;
    border-radius: 12px;
  }

  #music-entry-overlay .overlay-text {
    font-size: 16px;
  }
}

/* Demo page styling (not required for music functionality) */


.demo-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.code-section {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 5px;
  margin: 20px 0;
  border-left: 4px solid #2d7a7d;
}

h1 {
  color: #2d7a7d;
}

h2 {
  color: #5a6b5c;
  margin-top: 30px;
}

pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
  font-size: 14px;
}

/* music end */
h2.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 54px;
  height: 6px;
  background: linear-gradient(90deg, var(--sunflower), var(--teal));
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(45, 122, 125, 0.2);
}

h3 {
  font-size: 1.25rem;
  margin: .25rem 0 .5rem;
}

p {
  margin: .5rem 0 1rem;
}

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

.text-balance {
  text-wrap: balance;
  margin-top: 20px !important;
  font-size: 60px !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Layout */
.container-fluid {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 72px 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1.1fr .9fr;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.1rem;
  border-radius: calc(var(--radius) - 4px);
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cherry) 0%, #a31218 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(196, 26, 34, 0.3);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #a31218 0%, #8a0f14 100%);
  box-shadow: 0 6px 20px rgba(196, 26, 34, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--forest-green);
  border-color: var(--forest-green);
}

.btn-outline:hover {
  background: var(--forest-green);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--forest-green);
  border: 2px solid rgba(74, 124, 89, 0.25);
}

.btn-ghost:hover {
  background: rgba(74, 124, 89, 0.12);
  border-color: var(--forest-green);
  box-shadow: 0 4px 12px rgba(74, 124, 89, 0.2);
}

/* Dropdown Styles */
.dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.order-btn {
  position: relative;
  padding-top: .8rem;
  padding-bottom: .8rem;
  padding-right: 2.5rem;
  padding-left: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  line-height: inherit;
  box-sizing: border-box;
}

.order-icon {
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  margin-right: 0.1rem;
  vertical-align: middle;
  flex-shrink: 0;
}

.dropdown-arrow {
  position: absolute;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  transition: transform 0.3s ease;
  pointer-events: none;
  display: inline-block;
  line-height: 1;
}

.order-btn[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 100%;
  background: #fff;
  border: 2px solid var(--deep-teal);
  border-radius: calc(var(--radius) - 4px);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 100;
  padding: 0.6rem 1rem;
  white-space: nowrap;
}

.dropdown-wrapper.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  font-size: 0.85rem;
  color: var(--deep-teal);
  font-weight: 500;
  text-align: center;
  padding: 0.3rem 0;
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: var(--forest-green);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.dropdown-link:hover {
  background: linear-gradient(135deg, rgba(74, 124, 89, 0.1) 0%, rgba(95, 179, 181, 0.1) 100%);
  color: var(--cherry);
  transform: translateX(2px);
}

.amazon-icon {
  font-size: 20px;
  color: #ff9900;
  flex-shrink: 0;
}

.external-link-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.dropdown-link:hover .external-link-icon {
  opacity: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 248, 244, 0.9);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(74, 124, 89, 0.15);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}

.brand-text {
  color: var(--forest-green);
  font-weight: 700;
  letter-spacing: .2px;
}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--forest-green);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--deep-teal);
  display: block;
  border-radius: 2px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: rgba(246, 237, 220, 0.98);
    border-bottom: 1px solid rgba(31, 109, 115, 0.12);
    padding: 16px 24px;
    display: grid;
    gap: 12px;
    transform: translateY(-120%);
    transition: transform .25s ease;
  }

  .main-nav.open {
    transform: translateY(0);
  }
}

/* Progress bar */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 80;
  background: transparent;
}

#progress span {
  display: block;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--sunflower), var(--cherry));
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 64px;
  min-height: clamp(560px, 82vh, 880px);
  background: linear-gradient(135deg,
      var(--cream) 0%,
      rgba(184, 224, 240, 0.3) 50%,
      rgba(168, 213, 186, 0.2) 100%);
}

.hero-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  animation: bannerFadeIn 1.5s ease-out;
  filter: brightness(0.95) contrast(1.05);
  transition: filter 0.5s ease;
}

.hero:hover .banner-image {
  filter: brightness(1) contrast(1.08);
}

@keyframes bannerFadeIn {
  from {
    opacity: 0;
    transform: scale(1.05);
  }

  to {
    opacity: 0.9;
    transform: scale(1);
  }
}

/* Overlay to ensure content readability */
.hero-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(246, 237, 220, 0.3) 0%,
      rgba(246, 237, 220, 0.1) 50%,
      transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(95, 179, 181, 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  padding-inline: 0 !important;
  max-width: 100% !important;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  column-gap: clamp(32px, 6vw, 96px);
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 0.9fr 1.1fr;
    column-gap: clamp(5px, 0.5vw, 10px);
    align-items: start;
  }
}

/* Enhanced hero copy with subtle animations */
.hero-copy {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-visual {
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

.hero-decor {
  width: 100%;
  height: 100%;
  display: block;
}

/* Global Rain Overlay (site-wide) */
.rain-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.hero-copy .title {
  color: #c41a22;
  letter-spacing: .5px;
  margin-bottom: 1rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  position: relative;
  z-index: 10;
  font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
}

.hero-copy .accent {
  color: #129ed5;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  position: relative;
  z-index: 10;
}
.akl{
  color: #129ed5 !important ;
}
.akl1{
  color: #c41a22 !important;
}

.subtitle {
  color: #666666;
  font-size: clamp(19px, 2.4vw, 28px) !important;
  max-width: 58ch;
  margin-bottom: 1.1rem;
  line-height: 1.5;
  font-weight: 400;
  position: relative;
  z-index: 10;
  font-family: "Lora", serif;
}

/* Hero Blue Text - Gray color for specific paragraphs */
.hero-blue-text {
  color: #666666 !important;
  font-family: "Lora", serif;
  font-weight: 400;
}

/* Hero Taglines */
.hero-copy h3 {
  color: #85c4e5;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 400;
  font-family: "Playfair Display", serif;
  font-style: italic;
  line-height: 1.5;
  margin: 0.8rem 0 1rem 0;
  position: relative;
  z-index: 10;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 18px 0 12px;
  flex-wrap: wrap;
}

/* Hero bullets removed - replaced with hero-keywords in screenshot layout */
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 1.5rem !important;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Center align specific hero elements */
.hero-center-text {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

.hero-center-bullets {
  justify-content: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-right: 0;
  display: flex !important;
  width: 100%;
  max-width: 100%;
  margin-top: 1.5rem !important;
}

.hero-center-actions {
  justify-content: center !important;
  margin-left: auto;
  margin-right: clamp(0px, 2vw, 40px);
  padding-right: clamp(0px, 2vw, 40px);
}

.hero-bullets li {
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--teal) 100%) !important;
  color: #ffffff !important;
  padding: .6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
  transition: all 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 10;
  display: inline-block !important;
}

.hero-bullets li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(74, 124, 89, 0.4);
  background: linear-gradient(135deg, var(--teal) 0%, var(--forest-green) 100%) !important;
  opacity: 1 !important;
}

.hero-copy {
  padding-left: clamp(5px, 0.5vw, 10px);
  padding-right: clamp(24px, 3vw, 40px);
  margin-left: clamp(-100px, -8vw, -160px);
  margin-right: auto;
  margin-top: clamp(60px, 7vw, 120px);
  position: relative;
  z-index: 10;
  align-self: center;
  text-align: center;
  transform: translateX(0);
  max-width: clamp(400px, 50vw, 600px);
  width: auto;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-right: clamp(24px, 5vw, 80px);
  padding-left: clamp(24px, 5vw, 80px);
  padding-top: 0;
  margin-left: clamp(50px, 5vw, 100px);
  transform: translateX(clamp(40px, 4vw, 80px));
}

/* Book Wrapper for enhanced styling */
.book-wrapper {
  position: relative;
  display: inline-block;
  filter: drop-shadow(0 25px 70px rgba(23, 54, 58, 0.3)) drop-shadow(0 10px 30px rgba(109, 191, 192, 0.2));
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.book-wrapper::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(109, 191, 192, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.book-wrapper:hover {
  transform: translateY(-10px) scale(1.03);
  filter: drop-shadow(0 30px 80px rgba(23, 54, 58, 0.35)) drop-shadow(0 15px 40px rgba(109, 191, 192, 0.3));
}

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

.book-cover {
  width: auto;
  height: auto;
  max-width: 100%;
  border-radius: 0;
  background: transparent;
  display: block;
  object-fit: contain;
}

/* Hero Book - Large and prominent */
.hero-book {
  height: clamp(550px, 70vh, 850px);
  width: auto;
  max-width: min(1100px, 95vw);
  transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-book:hover {
  transform: perspective(1000px) rotateY(-5deg) rotateX(0deg) scale(1.03);
}

/* Section Book - Consistent sizing */
.section-book-cover {
  height: clamp(550px, 70vh, 850px);
  width: auto;
  max-width: min(1100px, 95vw);
  transform: perspective(1000px) rotateY(-5deg) rotateX(1deg);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-book-cover:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(0deg) scale(1.02);
}

/* Author Photo - Reduced size, attractive styling */
.author-photo {
  height: clamp(300px, 40vh, 450px);
  width: auto;
  max-width: min(400px, 85vw);
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  margin: 0 auto;
}

.author-photo:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 959px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-left: clamp(24px, 5vw, 60px);
    padding-right: clamp(24px, 5vw, 60px);
    order: 1;
  }

  .hero-visual {
    padding-left: clamp(24px, 5vw, 60px);
    padding-right: clamp(24px, 5vw, 60px);
    justify-content: center;
    order: 2;
  }

  .hero-book {
    height: clamp(450px, 55vh, 680px);
    max-width: min(850px, 95vw);
    transform: perspective(1000px) rotateY(-5deg) rotateX(1deg);
  }

  .section-book-cover {
    height: clamp(450px, 55vh, 680px);
    max-width: min(850px, 95vw);
  }
}

/* Book Section */
.section-book .shadowed {
  max-width: 520px;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}

.feature-list {
  padding: 0;
  margin: 12px 0 16px;
  list-style: none;
  display: grid;
  gap: 8px;
}

.feature-list li {
  background: transparent;
  border: 1px solid rgba(31, 109, 115, 0.1);
  padding: .6rem .8rem;
  border-radius: 10px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Highlights */
.section-highlights {
  background: linear-gradient(180deg, #ffffff 0%, rgba(240, 248, 244, 0.5) 100%);
  border-top: 1px solid rgba(74, 124, 89, 0.12);
  border-bottom: 1px solid rgba(74, 124, 89, 0.12);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}

@media (min-width: 840px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: linear-gradient(135deg, #ffffff 0%, rgba(240, 248, 244, 0.8) 100%);
  border: 1px solid rgba(74, 124, 89, 0.15);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(74, 124, 89, 0.12);
  transform-style: preserve-3d;
  transform: perspective(800px) rotateX(0) rotateY(0);
}

.card-icon {
  font-size: 28px;
}

.card p {
  color: var(--muted);
}

/* About */
.section-about .author-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(240, 248, 244, 0.9) 100%);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(74, 124, 89, 0.15);
  box-shadow: 0 10px 30px rgba(74, 124, 89, 0.12);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sunflower);
  color: #673a00;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.author-name {
  margin: 0;
}

.author-tag {
  margin: 0;
  color: var(--muted);
}

.badge-list {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  flex-wrap: wrap;
}

.badge {
  background: rgba(196, 26, 34, 0.08);
  color: var(--cherry);
  padding: .35rem .6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
}

/* Quotes Rotator */
.section-quotes {
  background: linear-gradient(180deg, rgba(184, 224, 240, 0.2) 0%, rgba(168, 213, 186, 0.15) 50%, transparent 100%);
}

.quotes-rotator {
  position: relative;
  min-height: 110px;
}

.quote {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
  font-size: 1.1rem;
}

.quote.current {
  opacity: 1;
  transform: translateY(0);
}

.quote cite {
  display: block;
  font-style: normal;
  color: var(--muted);
  margin-top: .4rem;
}

/* Music Section */
.section-music {
  background: linear-gradient(180deg, rgba(240, 248, 244, 0.5) 0%, rgba(184, 224, 240, 0.3) 50%, rgba(168, 213, 186, 0.2) 100%);
  border-top: 1px solid rgba(74, 124, 89, 0.12);
  border-bottom: 1px solid rgba(74, 124, 89, 0.12);
  position: relative;
  overflow: hidden;
}

.music-heading-center {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.music-heading-center::after {
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.section-music::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(95, 179, 181, 0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.music-intro {
  color: var(--text);
  font-size: clamp(18px, 2vw, 22px);
  max-width: 65ch;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.music-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 60px);
}

.video-thumbnail-link {
  display: block;
  text-decoration: none;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-thumbnail-link:hover {
  transform: translateY(-8px);
}

.video-thumbnail-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 15px 40px rgba(45, 122, 125, 0.25), 0 8px 20px rgba(74, 124, 89, 0.2);
  background: #000;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.video-thumbnail-link:hover .video-thumbnail-container {
  box-shadow: 0 20px 50px rgba(45, 122, 125, 0.35), 0 12px 30px rgba(74, 124, 89, 0.3);
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.video-thumbnail-link:hover .video-thumbnail {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.play-button-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
  transition: background 0.3s ease;
  z-index: 2;
}

.video-thumbnail-link:hover .play-button-overlay {
  background: rgba(0, 0, 0, 0.1);
}

.play-button {
  position: relative;
  z-index: 3;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.video-thumbnail-link:hover .play-button {
  transform: scale(1.15);
}

.play-circle {
  transition: fill 0.3s ease;
}

.video-thumbnail-link:hover .play-circle {
  fill: rgba(196, 26, 34, 1);
}

.video-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.video-thumbnail-link:hover .video-hover-effect {
  opacity: 1;
}

/* Contact Section */
.section-contact {
  background: linear-gradient(180deg, #ffffff 0%, rgba(240, 248, 244, 0.6) 100%);
  border-top: 1px solid rgba(74, 124, 89, 0.12);
  border-bottom: 1px solid rgba(74, 124, 89, 0.12);
  position: relative;
  overflow: hidden;
}

.section-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(184, 224, 240, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(168, 213, 186, 0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.contact-title {
  color: var(--forest-green) !important;
  position: relative;
  z-index: 1;
}

.contact-title::after {
  background: linear-gradient(90deg, var(--sunflower), var(--teal)) !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
  }
}

.contact-info {
  position: relative;
  animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-heading {
  color: var(--deep-teal);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1rem;
  font-weight: 700;
}

.contact-intro {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-item strong {
  color: var(--forest-green);
  font-weight: 700;
  margin-right: 0.5rem;
}

.contact-item a {
  color: var(--forest-green);
  text-decoration: none;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.contact-item a:hover {
  color: var(--cherry);
  border-bottom-color: var(--cherry);
}

.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 109, 115, 0.08);
  color: var(--deep-teal);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(31, 109, 115, 0.12);
}

.social-icon:hover {
  background: rgba(31, 109, 115, 0.15);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(31, 109, 115, 0.2);
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

/* Instagram gradient */
.social-icon:first-child:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: #fff;
}

/* Facebook */
.social-icon:nth-child(2):hover {
  background: #1877f2;
  border-color: transparent;
  color: #fff;
}

/* YouTube */
.social-icon:nth-child(3):hover {
  background: #ff0000;
  border-color: transparent;
  color: #fff;
}

.contact-form-wrapper {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 109, 115, 0.12);
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(31, 109, 115, 0.2);
  border-radius: calc(var(--radius) - 4px);
  font: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--deep-teal);
  box-shadow: 0 0 0 3px rgba(31, 109, 115, 0.1);
  background: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.btn-submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 8px;
  box-shadow: 0 6px 20px rgba(196, 26, 34, 0.4);
}

.btn-submit:hover {
  box-shadow: 0 8px 25px rgba(196, 26, 34, 0.5);
}

@media (max-width: 899px) {
  .contact-form-wrapper {
    padding: 24px;
  }

  .contact-intro {
    font-size: 1rem;
  }

  .contact-details {
    gap: 1rem;
  }
}

/* Events */
.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 12px;
}

@media (min-width: 840px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.event-card {
  background: #fff;
  border: 1px solid rgba(31, 109, 115, 0.12);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.event-card time {
  display: inline-block;
  background: var(--sunflower);
  color: #3b2a00;
  font-weight: 800;
  padding: .2rem .5rem;
  border-radius: 8px;
  margin-bottom: .4rem;
}

/* Newsletter */
.section-newsletter {
  background: #fff;
  border-top: 1px solid rgba(31, 109, 115, 0.08);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin: 8px 0;
}

.newsletter-form input {
  flex: 1;
  min-width: 180px;
  border-radius: 10px;
  border: 1px solid rgba(31, 109, 115, 0.25);
  padding: .8rem .9rem;
  font: inherit;
}

.form-hint {
  color: var(--muted);
  font-size: .95rem;
}

.newsletter-art img {
  max-width: 520px;
  width: 100%;
  border-radius: 12px;
  opacity: 0.7;
  border: 1px solid rgba(31, 109, 115, 0.12);
}

/* Footer */
.site-footer {
  padding: 30px 0;
  border-top: 1px solid rgba(74, 124, 89, 0.15);
  background: linear-gradient(180deg, #ffffff 0%, rgba(240, 248, 244, 0.5) 100%);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer nav {
  display: flex;
  gap: 14px;
}

.site-footer a {
  text-decoration: none;
  color: var(--forest-green);
}

.site-footer a:hover {
  color: var(--cherry);
}

/* Toast */
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--deep-teal);
  color: #fff;
  padding: .8rem 1rem;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow);
}


/* Utilities */
.shadowed {
  box-shadow: var(--shadow);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
}