/* RESET & BASETYPOGRAPHY */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFF8F1;
  color: #2E3F6A;
  font-family: 'Roboto', Arial, sans-serif;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #F5A623;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #2E3F6A;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 1.85rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }

/* PLAYFUL DYNAMIC COLORS */
:root {
  --brand-primary: #2E3F6A;
  --brand-secondary: #F5A623;
  --brand-accent: #FFFFFF;
  --brand-bg: #FFF8F1;
  --brand-playful-1: #FCAF58;
  --brand-playful-2: #FF5470;
  --brand-playful-3: #68C5E6;
  --brand-playful-4: #6EE7B7;
  --brand-text: #2E3F6A;
}


/************
  LAYOUT
************/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 0;
}
.text-section {
  background: var(--brand-accent);
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(44,50,72,0.04);
  padding: 32px 24px;
  margin-bottom: 24px;
}

/******** SECTION SPACING BY MANDATE *******/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*************
NAVBAR & HEADER
*************/
header {
  background: var(--brand-primary);
  padding: 0;
}
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 32px;
  min-height: 70px;
  padding: 13px 0;
}
nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--brand-accent);
  font-size: 1.12rem;
  padding: 7px 12px;
  border-radius: 10px;
  transition: background 0.16s, color 0.16s;
  margin-right: 5px;
}
nav > a.cta {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-weight: 800;
  margin-left: 18px;
  padding: 9px 24px;
  border-radius: 22px;
  font-size: 1.15rem;
  box-shadow: 0 2px 8px rgba(245,166,35,0.13);
  transition: background 0.20s, color 0.18s, box-shadow 0.2s;
}
nav > a.cta:hover, nav > a.cta:focus {
  background: #ffb941;
  color: var(--brand-primary);
  box-shadow: 0 3px 15px rgba(245,166,35,0.22);
}
nav > a:hover:not(.cta), nav > a:focus:not(.cta) {
  color: var(--brand-secondary);
  background: #fff3da22;
}
nav img {
  height: 38px;
  margin-right: 18px;
  vertical-align: middle;
}

/***************************************
MOBILE MENU (Burger & Slide Overlay)
***************************************/
.mobile-menu-toggle {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  cursor: pointer;
  padding: 7px 14px;
  display: none;
  margin-left: auto;
  margin-right: 6px;
  z-index: 298;
  transition: box-shadow 0.18s, background 0.14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #ffb941;
  box-shadow: 0 4px 16px #FFD37533;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.96);
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.77,0,.175,1), box-shadow 0.2s;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 24px 0 48px -12px rgba(46,63,106,0.04);
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 8px 50px 9px rgba(46,63,106,0.18);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: none;
  border-radius: 8px;
  font-size: 2.2rem;
  padding: 5px 17px;
  margin: 24px 18px 8px 0;
  cursor: pointer;
  z-index: 10000;
  transition: background 0.23s, box-shadow 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ffb941;
  box-shadow: 0 2px 10px #FCAF587c;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 30px 12vw 18px 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--brand-primary);
  font-weight: 700;
  padding: 15px 7px 15px 5px;
  border-radius: 12px;
  background: none;
  transition: background 0.19s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff3daee;
  color: #FF5470;
}

/*************
 HERO & CTA
*************/
.hero {
  background: linear-gradient(120deg, #FFE8B4 0%, #FCAF58 23%, #FFD6D8 53%, #A9E9F7 100%);
  background-size: 300% 300%;
  animation: hero-bg-move 8s ease-in-out infinite;
  border-bottom-left-radius: 80px 60px;
  border-bottom-right-radius: 40px 36px;
  min-height: 330px;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
@keyframes hero-bg-move {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 70%;}
  100% {background-position: 0% 50%;}
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  padding: 36px 0 36px 0;
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--brand-primary);
  letter-spacing: 0.03em;
  font-weight: 900;
}
.hero .subheadline {
  color: #FF5470;
  font-size: 1.11rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 0;
}
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(90deg, #F5A623 80%, #FF5470 100%);
  color: #fff;
  padding: 13px 38px;
  border-radius: 26px 21px 28px 23px;
  box-shadow: 0 6px 22px 0 rgba(245,166,35,.17);
  border: none;
  margin-top: 12px;
  margin-right: 8px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.23s, color 0.12s, transform 0.12s, box-shadow 0.22s;
  text-align: center;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #FF5470 80%, #F5A623 100%);
  color: #fff;
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 14px 32px 0 rgba(255,84,112,0.13);
  text-decoration: none;
}

/*****************
FEATURES & CARDS
*****************/
.features {
  background: #fff5e1;
  border-radius: 35px;
  box-shadow: 0 2px 24px 0 rgba(245,166,35,0.06);
  margin-bottom: 56px;
  padding: 30px 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.feature-grid > div {
  background: #ffffffee;
  border-radius: 24px 18px 24px 14px;
  padding: 28px 22px 24px 22px;
  min-width: 220px;
  flex: 1 1 220px;
  max-width: 350px;
  box-shadow: 0 4px 20px rgba(245,166,35,0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.23s, box-shadow 0.22s;
  margin-right: 0;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  border: 2.5px dashed #FF5470;
}
.feature-grid > div:hover, .feature-grid > div:focus {
  transform: translateY(-5px) scale(1.04) rotate(-2deg);
  box-shadow: 0 9px 30px 0 rgba(104,197,230,0.13);
}
.feature-grid img {
  width: 52px;
  height: 52px;
  margin-bottom: 13px;
  border-radius: 50%;
  background: #A9E9F7;
  padding: 7px;
  border: 2.5px solid #6EE7B7;
  animation: swing-scale 2.6s ease-in-out infinite;
}
@keyframes swing-scale {
  0%, 100% { transform: scale(1) rotate(0deg); }
  10% { transform: scale(1.06) rotate(1deg); }
  30% { transform: scale(0.98) rotate(-1.5deg); }
  50% { transform: scale(1.05) rotate(2deg); }
  70% { transform: scale(0.97) rotate(-1deg); }
  90% { transform: scale(1.02) rotate(1deg); }
}
.feature-grid h3 {
  color: #FF5470;
  margin-bottom: 7px;
  font-size: 1.2rem;
  font-weight: 800;
}
.feature-grid p {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--brand-primary);
  margin-bottom: 0;
  font-size: 1.07rem;
  line-height: 1.55;
}
.features ul, .features li {
  color: #2E3F6A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
}
.features ul {
  margin-top: 14px;
}
.features li:not(:last-child) {
  margin-bottom: 7px;
}

/*****************
TESTIMONIALS & REVIEWS
*****************/
.testimonials {
  background: #A9E9F7;
  border-radius: 35px;
  box-shadow: 0 2px 18px 0 rgba(46,63,106,0.05);
  margin-bottom: 52px;
  padding: 37px 0 30px 0;
}
.testimonials .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.testimonial-card {
  background: #fff;
  border-radius: 18px 18px 18px 18px;
  box-shadow: 0 1.5px 25px 0 rgba(104,197,230,0.13);
  padding: 30px 26px;
  margin-bottom: 24px;
  gap: 18px;
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 2px solid #6EE7B7;
}
.testimonial-card p {
  color: #2E3F6A;
  font-size: 1.07rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 4px;
}
.testimonial-card strong {
  color: #FF5470;
  font-size: 0.99rem;
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 5px;
}
.testimonial-card img {
  display: inline-block;
  width: 28px !important;
  height: 28px !important;
  margin: 2px 2px 0 0;
}

/*********
SERVICES/CTAS
**********/
.services {
  background: #F5A62314;
  border-radius: 18px;
  box-shadow: 0 2px 13px 0 rgba(245,166,35,0.05);
  margin-bottom: 44px;
  padding: 24px 0;
}
.services h2 {
  color: #FF5470;
  font-weight: 800;
  margin-bottom: 19px;
}
.services ul, .services ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  color: #2E3F6A;
}

/****** Text-Image Sections *****/
.office-map-placeholder {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 13px 0 9px 0;
}
.office-map-placeholder img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(45deg, #F5A6231e, #A9E9F740);
  padding: 8px;
}
.office-map-placeholder small {
  color: #2E3F6A99;
  font-size: 0.98rem;
  margin-left: 5px;
}

.contact-success-hint {
  background: #6EE7B7;
  color: #2E3F6A;
  font-weight: 600;
  margin-top: 18px;
  margin-bottom: 4px;
  border-radius: 13px;
  padding: 14px 14px 14px 16px;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

/***********
TEAM & ABOUT
************/
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 14px;
}
.team-grid > div {
  background: #fff;
  border-left: 5px solid #F5A623;
  border-radius: 18px 9px 16px 13px;
  box-shadow: 0 2px 18px 0 rgba(245,166,35,0.05);
  padding: 24px 18px;
  min-width: 210px;
  flex: 1 1 220px;
  max-width: 350px;
  margin-bottom: 24px;
  font-family: 'Roboto', Arial, sans-serif;
}
.team-grid strong {
  color: #2E3F6A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
.team-grid em {
  color: #FF5470;
  font-style: italic;
  font-weight: 700;
}

/***********
FOOTER
***********/
footer {
  background: var(--brand-primary);
  color: #F5A623;
  font-family: 'Roboto', Arial, sans-serif;
  border-top-left-radius: 55px 37px;
  border-top-right-radius: 16px 13px;
  box-shadow: 0 -4px 16px 0 rgba(46,63,106,0.06);
  margin-top: 35px;
}
footer .container {
  padding: 0 12px 0 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 1rem;
  align-items: center;
  justify-content: center;
  color: #FFF8F1;
  padding-top: 36px;
  padding-bottom: 9px;
}
.footer-nav a {
  color: #FFD375;
  margin-right: 3px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  padding: 2px 7px;
  border-radius: 7px;
  transition: background 0.15s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #2E3F6A;
  background: #FFD375;
  text-decoration: none;
}
.footer-nav span {
  color: #FFD37577;
  font-size: 0.96rem;
  margin-left: 6px;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 80px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 1rem;
  padding: 30px 0 12px 0;
}
.footer-info img {
  height: 40px;
  margin-right: 0;
  margin-bottom: 5px;
}
.footer-info > div {
  margin-bottom: 7px;
  color: #fff;
}
.footer-info a {
  color: #FFD375;
  text-decoration: none;
  margin-right: 12px;
}
.footer-info a:hover, .footer-info a:focus {
  color: #ff5470;
  text-decoration: underline;
}
.footer-info .disclaimer {
  color: #FFF8F1b2;
  font-size: 0.98rem;
  margin-top: 8px;
}

/******** COOKIE BANNER ******/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 20000;
  background: #fff;
  box-shadow: 0 -8px 44px -4px rgba(46,63,106,0.11);
  padding: 22px 6vw 22px 6vw;
  border-radius: 18px 18px 0 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 32px;
  justify-content: space-between;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  animation: cookie-banner-in 1.1s cubic-bezier(.77,.13,.21,1.06);
}
@keyframes cookie-banner-in {
  0% { transform: translateY(100%); opacity: 0; }
  85% { transform: translateY(-6px); }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-message {
  color: #2E3F6A;
  flex: 3 1 210px;
  font-size: 1.07rem;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 15px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 22px;
  border-radius: 21px;
  margin-right: 0;
  border: none;
  background: var(--brand-secondary);
  color: #2E3F6A;
  transition: background 0.17s, color 0.13s, box-shadow 0.22s, transform 0.09s;
  cursor: pointer;
  box-shadow: 0 3px 10px -2px #A9E9F7;
}
.cookie-banner button:last-child {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  box-shadow: 0 7px 20px -6px #FFD375cc;
  background: #FF5470;
  color: #fff;
  transform: scale(1.04) rotate(-1deg);
}

/**** COOKIE MODAL ****/
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%) scale(1);
  z-index: 21000;
  background: #fff;
  border-radius: 27px;
  padding: 36px 30px 38px 30px;
  width: 90vw;
  max-width: 480px;
  box-shadow: 0 6px 44px 9px rgba(104,197,230,0.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 23px;
  opacity: 1;
  animation: cookie-modal-in 0.54s cubic-bezier(.42,1.65,.52,1.09);
}
@keyframes cookie-modal-in {
  0% { opacity: 0; transform: translate(-50%, 80%) scale(0.86); }
  100% { opacity: 1; transform: translate(-50%, -55%) scale(1); }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #FF5470;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 13px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 19px;
  background: #FCAF5815;
  padding: 8px 10px 8px 12px;
  border-radius: 13px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2E3F6A;
  font-size: 1rem;
  font-weight: bold;
}
.cookie-category input[type="checkbox"] {
  accent-color: #F5A623;
  width: 19px;
  height: 19px;
}
.cookie-category .cookie-toggle-disabled {
  opacity: 0.58;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  width: 100%;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 13px;
  margin-right: 0;
  border: none;
  background: var(--brand-secondary);
  color: #2E3F6A;
  cursor: pointer;
  transition: background 0.18s, color 0.13s, box-shadow 0.19s;
}
.cookie-modal button:last-child {
  background: #ff5470;
  color: #fff;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 6px 24px #6EE7B748;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 20px;
  background: none;
  color: #FF5470;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 21002;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  color: #F5A623;
}

/***********
RESPONSIVE
***********/
@media (max-width: 1020px) {
  .footer-info {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  nav {
    gap: 0 15px;
    font-size: 1rem;
  }
  .hero {
    min-height: 250px;
    padding-bottom: 0;
  }
}
@media (max-width: 800px) {
  .container { padding: 0 4vw; }
  .footer-info {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav { flex-direction: column; gap: 8px 0; align-items: flex-start; }
  .features, .testimonials, .services {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .features, .testimonials, .services, .cta {
    border-radius: 22px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 25px;
  }
  .team-grid {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 14px;
    min-width: 0;
  }
  .footer-info {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
    padding-left: 7px;
    padding-right: 7px;
  }
} 
@media (max-width: 540px) {
  .container { padding: 0 7px; }
  .hero h1 { font-size: 1.35rem; margin-bottom: 12px; }
  .feature-grid > div,
  .team-grid > div {
    padding: 13px 7px;
    min-width: 0;
    max-width: 100vw;
  }
  .testimonial-card { padding: 14px 9px; }
  .text-section { padding: 14px 7px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px 0; padding-left: 8px; padding-right: 8px; }
  .cookie-modal { padding: 20px 5vw 24px 6vw; }
}

/***** Classes for hiding elements on mobile/desktop if needed *****/
.hide-mobile { display: none !important; }
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: block !important; }
}
@media (min-width: 769px) {
  .show-mobile { display: none !important; }
}

/* Misc helpers & fun accents */
.highlight {
  color: #FF5470;
  background: #fff7ec;
  border-radius: 0.27em;
  padding: 0 0.27em;
  font-weight: 700;
}
::-webkit-scrollbar {
  width: 11px;
  background: #F5A62313;
}
::-webkit-scrollbar-thumb {
  background: #A9E9F7;
  border-radius: 24px;
}

/* Focus & accessibility helpers */
:focus {
  outline: 2.5px dotted #FF5470;
  outline-offset: 2.5px;
}

/**** Cards if used ****/
.card {
  background: #fff1d9;
  border-radius: 18px 14px 14px 14px;
  box-shadow: 0 2px 10px 0 rgba(255,84,112,0.08);
  padding: 26px 19px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.23s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 33px #FFD37544;
  transform: translateY(-2px) scale(1.02) rotate(0.7deg);
}

/**** Animations: pulse, bounce, etc. on fun elements ****/
.bounce {
  animation: bouncey 2s infinite;
}
@keyframes bouncey {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
  60% { transform: translateY(2.5px); }
}
.pulse {
  animation: pulsate 1.5s infinite;
}
@keyframes pulsate {
  0%, 100% { opacity: 1; }
  55% { opacity: 0.5; }
}

/*********************************
* END LernSafari playful_dynamic  *
*********************************/