/* Template 20 - Candy Pop / Playful Bold */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Lexend:wght@300;400;500;600;700&display=swap');

:root {
  --candy-pink: #ff6b9d;
  --candy-blue: #4ecdc4;
  --candy-yellow: #ffe66d;
  --candy-purple: #a855f7;
  --candy-orange: #ff9f43;
  --cream: #fffdf7;
  --soft-pink: #fff0f5;
  --dark-text: #2d3047;
  --light-text: #6b7280;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Lexend', sans-serif;
  line-height: 1.7;
  color: var(--dark-text);
  background: var(--cream);
  font-weight: 400;
}

body::before {
  content: '';
  position: fixed;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(78,205,196,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,107,157,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header - Bubbly rounded with colored blocks */
.site-header {
  background: var(--cream);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--candy-yellow);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo a {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark-text);
  text-decoration: none;
  background: linear-gradient(135deg, var(--candy-pink), var(--candy-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.site-nav a {
  color: var(--dark-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.site-nav li:nth-child(1) a:hover {
  background: var(--candy-pink);
  color: white;
  transform: translateY(-2px);
}

.site-nav li:nth-child(2) a:hover {
  background: var(--candy-blue);
  color: white;
  transform: translateY(-2px);
}

.site-nav li:nth-child(3) a:hover {
  background: var(--candy-purple);
  color: white;
  transform: translateY(-2px);
}

.site-nav li:nth-child(4) a:hover {
  background: var(--candy-orange);
  color: white;
  transform: translateY(-2px);
}

/* Hero Section - Centered with bouncy typography */
.section.head {
  padding: 7rem 0;
  text-align: center;
  position: relative;
  background: var(--soft-pink);
  border-radius: 0 0 60px 60px;
  margin-bottom: 3rem;
}

.section.head::before {
  content: '★';
  position: absolute;
  left: 15%;
  top: 20%;
  font-size: 2rem;
  color: var(--candy-yellow);
  animation: float 3s ease-in-out infinite;
}

.section.head::after {
  content: '●';
  position: absolute;
  right: 15%;
  bottom: 25%;
  font-size: 1.5rem;
  color: var(--candy-blue);
  animation: float 3s ease-in-out infinite 0.5s;
}

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

.section.head h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.section.head h1 span {
  display: inline-block;
  animation: bounce 0.6s ease infinite;
}

.section.head p {
  font-size: 1.25rem;
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto;
}

/* Section Styling */
.section {
  padding: 5rem 0;
}

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

.section header h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section header h2::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 8px;
  background: var(--candy-yellow);
  border-radius: 4px;
  z-index: -1;
}

.section header p {
  font-size: 1.1rem;
  color: var(--light-text);
}

/* Footer - Colorful blocks layout */
.footer {
  background: var(--dark-text);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--candy-pink) 0px,
    var(--candy-pink) 25%,
    var(--candy-blue) 25%,
    var(--candy-blue) 50%,
    var(--candy-yellow) 50%,
    var(--candy-yellow) 75%,
    var(--candy-purple) 75%,
    var(--candy-purple) 100%
  );
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about {
  flex: 1;
  max-width: 400px;
}

.footer-tagline {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  background: rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  background: var(--candy-pink);
  transform: translateY(-3px);
}

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

.copyright,
.copyright a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* Animations */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  70% {
    transform: scale(1.05) translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: popIn 0.6s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

body:not(.faq) h3,
:not(section.faq) h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--dark-text);
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
}
