/* === CSS Reset & Normalize === */
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;
  min-height: 100vh;
  background: #E8ECE6;
  color: #20413D;
  font-family: 'Open Sans', Arial, sans-serif;
}
ol, ul {
  list-style: none;
}
a {
  color: #20413D;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* === End Normalize === */

/* === Font Imports === */
@import url('https://fonts.googleapis.com/css?family=Raleway:700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

:root {
  --primary: #20413D;
  --secondary: #B0A574;
  --accent: #E8ECE6;
  --fun-yellow: #FFE46B;
  --fun-pink: #FF75A0;
  --fun-blue: #4AD8DA;
  --fun-purple: #B084EE;
  --shadow: 0 4px 20px 0 rgba(32, 65, 61, 0.10);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --transition: 0.28s cubic-bezier(.69,.15,.08,.97);
}

/* ====================
   HEADER & NAVIGATION
==================== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent);
  padding: 18px 24px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 10;
}
.logo-link img {
  height: 48px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.main-nav a {
  position: relative;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--fun-yellow);
  color: var(--primary);
  outline: none;
}
.cta-btn {
  background: linear-gradient(90deg, var(--fun-pink) 0%, var(--fun-blue) 100%);
  color: var(--primary);
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 800;
  padding: 14px 32px;
  margin-left: 28px;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 3px 16px 0 rgba(255,116,160,0.11);
  cursor: pointer;
  letter-spacing: 1px;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  text-shadow: 0 2px 8px rgba(255,255,255, 0.19);
  position: relative;
  z-index: 1;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  transform: scale(1.04) rotate(-2deg);
  filter: brightness(1.09);
  box-shadow: 0 6px 32px 0 rgba(255,116,160,0.19);
}

@media (max-width:900px) {
  .main-nav {
    gap: 18px;
  }
  .cta-btn {
    font-size: 16px;
    padding: 12px 24px;
    margin-left: 10px;
  }
  header {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===========================
        MOBILE NAVIGATION
=========================== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 36px;
  color: var(--primary);
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 201;
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
  outline: none;
}
.mobile-menu-toggle:focus {
  color: var(--fun-pink);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(162deg, var(--fun-yellow) 7%, var(--fun-pink) 60%, var(--fun-blue) 110%);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform var(--transition);
  box-shadow: var(--shadow);
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: end;
  margin: 24px 32px 12px 0;
  background: transparent;
  border: none;
  font-size: 38px;
  color: var(--primary);
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--fun-purple);
  transform: rotate(11deg) scale(1.14);
  outline: none;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 36px 0 0 0;
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
}
.mobile-nav a {
  font-size: 22px;
  color: var(--primary);
  background: rgba(232,236,230, 0.41);
  border-radius: var(--radius-md);
  padding: 14px 0;
  width: 85vw;
  text-align: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  margin-bottom: 8px;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--fun-blue);
  color: var(--primary);
  transform: scale(1.06);
  outline: none;
}
@media (max-width:1100px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width:1101px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}


/* =======================
    GENERAL SPACING
======================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

main section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.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;
}

.service-cards, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: flex-start;
}
.service-cards > div, .feature-grid > div {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(180,165,116,.08);
  border-radius: var(--radius);
  padding: 26px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-width: 225px;
  max-width: 280px;
  flex: 1 1 220px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 3px solid transparent;
}
.service-cards > div:hover, .feature-grid > div:hover {
  box-shadow: 0 8px 26px 0 rgba(74,216,218,0.17);
  border: 3px solid var(--fun-blue);
  transform: translateY(-4px) rotate(-1deg) scale(1.03);
}
.service-cards img, .feature-grid img {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0px 0px 2.5px #4AD8DA66);
  margin-bottom: 1px;
  background: var(--fun-yellow);
  border-radius: 50%;
  padding: 5px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-section ul {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: disc inside;
}
.text-section li {
  font-size: 17px;
  color: var(--primary);
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.03em;
}

.text-section img {
  height: 28px;
  width: 28px;
  vertical-align: middle;
  margin-right: 8px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
}

/* ===================
    HERO STYLES
=================== */
.hero {
  background: linear-gradient(107deg, var(--fun-yellow) 0%, var(--fun-blue) 70%, var(--accent) 100%);
  padding: 68px 0 44px 0;
  margin-bottom: 36px;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.08em;
  color: var(--primary);
  margin-bottom: 10px;
  text-shadow: 0 4px 20px #FFE46B55;
}
.hero p {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  color: var(--primary);
  line-height: 1.55em;
  margin-bottom: 20px;
}

@media (max-width: 600px){
  .hero {
    padding: 36px 0 21px 0;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero p {
    font-size: 15.7px;
  }
}


/* ====================
    TYPOGRAPHY SCALE
==================== */
h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.12em;
}
h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--fun-pink);
  margin-bottom: 14px;
  line-height: 1.16em;
}
h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--fun-blue);
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}
h4 {
  font-size: 17px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
}
p, li, td, th {
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  color: var(--primary);
  line-height: 1.62em;
}
strong {
  font-weight: 700;
  color: var(--fun-pink);
}

@media (max-width: 600px) {
  h1 {
    font-size: 32px;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 22px;
    margin-bottom: 8px;
  }
  h3 {
    font-size: 18px;
  }
  p, li, td, th {
    font-size: 15px;
  }
}

/* ===============
    ARTICLES
=============== */
.text-section article {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px 0 #B084EE12;
  padding: 20px 18px;
  margin-bottom: 18px;
  transition: box-shadow var(--transition), transform var(--transition);
  border-left: 7px solid var(--fun-blue);
}
.text-section article h3 {
  color: var(--fun-pink);
}
.text-section article:hover {
  box-shadow: 0 6px 23px 0 #B0A57433;
  transform: scale(1.03) rotate(-0.8deg);
}
.text-section article a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 700;
  transition: color var(--transition);
}
.text-section article a:hover {
  color: var(--fun-blue);
}

/* ===============
   CARDS, CAROUSELS
=============== */
.card-container .card, .service-cards > div, .feature-grid > div {
  animation: playful-bounce 0.62s cubic-bezier(.46,2.44,.83,-0.54) forwards;
  opacity: 0;
}
.card-container .card:nth-child(1), .service-cards > div:nth-child(1), .feature-grid > div:nth-child(1) {
  animation-delay: 0.15s;
}
.card-container .card:nth-child(2), .service-cards > div:nth-child(2), .feature-grid > div:nth-child(2) {
  animation-delay: 0.25s;
}
.card-container .card:nth-child(3), .service-cards > div:nth-child(3), .feature-grid > div:nth-child(3) {
  animation-delay: 0.37s;
}
.card-container .card:nth-child(4), .service-cards > div:nth-child(4), .feature-grid > div:nth-child(4) {
  animation-delay: 0.49s;
}
@keyframes playful-bounce {
  0% { transform: translateY(35px) scale(.84) rotate(-6deg); opacity: 0; }
  75% { transform: translateY(-10px) scale(1.08) rotate(2deg); opacity: 1; }
  100% { transform: translateY(0) scale(1) rotate(-0.4deg); opacity: 1; }
}

/* ===============
   TESTIMONIALS
=============== */
.testimonial-card {
  background: #faf8fc;
  box-shadow: 0 2px 18px 0 #B084EE18;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 20px;
  gap: 20px;
  min-width: 200px;
  max-width: 460px;
  border-left: 6px solid var(--fun-purple);
  position: relative;
  color: var(--primary);
  font-size: 17px;
  font-family: 'Open Sans', sans-serif;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: scale(1.025) rotate(-1deg);
  box-shadow: 0 6px 32px 0 #B084EE39;
  z-index: 1;
}
.testimonial-card p {
  color: #222 !important;
  font-size: 17px;
  margin-bottom: 7px;
  font-family: 'Open Sans', sans-serif;
}
.testimonial-card span {
  color: var(--fun-blue);
  font-size: 15px;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  align-self: flex-end;
}

/* ===============
    TABLES
=============== */
table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 1.5px 10px 0 #B0A57418;
  margin: 16px 0 24px 0;
  overflow: hidden;
  border: none;
}
table caption {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 4px;
}
thead tr {
  background: var(--fun-yellow);
  color: var(--primary);
}
thead th, tbody td {
  padding: 10px 8px;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
}
tbody tr {
  border-bottom: 1px solid #e0e0e0;
}
tr:last-child {
  border-bottom: none;
}
tbody tr:nth-child(even) {
  background: #f7f5fe;
}

/* ===============
   BUTTON/FORM STYLES
=============== */
button, .cta-btn, input[type="submit"], input[type="button"] {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
button:active, .cta-btn:active {
  transform: scale(0.97) rotate(-1.5deg);
}
input, textarea {
  padding: 11px 14px;
  border: 1.5px solid #CBD5CB;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  width: 100%;
  margin-bottom: 16px;
}
input:focus, textarea:focus {
  border-color: var(--fun-blue);
  outline: 2px solid var(--fun-blue);
}

/* ===============
   FOOTER STYLES
=============== */
footer {
  background: var(--secondary);
  color: #fff;
  padding: 36px 0 12px 0;
  margin-top: 42px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #FFF;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9px;
  transition: background var(--transition), color var(--transition);
  font-size: 16px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--fun-yellow);
  color: var(--primary);
  outline: none;
}
.footer-contact {
  font-size: 15px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  text-align: center;
}
.footer-logo img {
  height: 42px;
  margin-top: 11px;
}

/* ===============
   COOKIE CONSENT
=============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: linear-gradient(93deg, var(--fun-yellow) 60%, var(--fun-pink) 100%);
  color: var(--primary);
  box-shadow: 0 -3px 24px 0 #B084EE59;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 19px 18px 19px 36px;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  border-radius: var(--radius) var(--radius) 0 0;
  animation: cookie-slide-up 0.7s cubic-bezier(.64,1.65,.49,-0.79);
  flex-wrap: wrap;
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  60% { transform: translateY(-20px); opacity: 0.70; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn {
  background: var(--primary);
  color: #fff;
  margin-left: 19px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  outline: none;
  padding: 10px 22px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  border: none;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--fun-blue);
  color: var(--primary);
  transform: scale(1.08) rotate(-1deg);
}
.cookie-banner .cookie-btn.cookie-reject {
  background: var(--fun-pink);
  color: var(--primary);
  margin-left: 8px;
}
.cookie-banner .cookie-btn.cookie-settings {
  background: var(--fun-yellow);
  color: var(--primary);
  margin-left: 8px;
}

@media (max-width:600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 14px;
    gap: 14px;
  }
  .cookie-banner .cookie-btn {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 10010;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(32, 65, 61, 0.36);
  animation: fadeIn 0.31s cubic-bezier(.7,1.45,.23,-0.21);
}
.cookie-modal-backdrop.open { display: flex; justify-content: center; align-items: center; }
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #FFF;
  border-radius: var(--radius);
  box-shadow: 0 9px 48px 0 #B084EE16;
  width: 98vw;
  max-width: 410px;
  padding: 38px 32px 30px 32px;
  font-size: 15px;
  color: var(--primary);
  font-family: 'Open Sans', sans-serif;
  position: relative;
  animation: slideDown 0.4s cubic-bezier(.57,1.59,.41,-0.43);
}
@keyframes slideDown {
  from { transform: translateY(-20vh); opacity: 0 }
  to { transform: translateY(0); opacity: 1 }
}
.cookie-modal h2 {
  color: var(--fun-pink);
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  margin-bottom: 14px;
  text-align: center;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 16px;
  margin-bottom: 11px;
  gap: 12px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--fun-blue);
  width: 22px; height: 22px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  right: 18px; top: 10px;
  background: transparent; border: none;
  font-size: 30px;
  color: var(--fun-pink);
  cursor: pointer;
  outline: none;
  transition: color var(--transition), transform var(--transition);
}
.cookie-modal .close-cookie-modal:hover {
  color: var(--fun-blue);
  transform: rotate(8deg) scale(1.15);
}
.cookie-modal .cookie-btns {
  margin-top: 20px;
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ====================
   RESPONSIVE LAYOUT
==================== */
@media (max-width:900px) {
  .container {
    padding: 0 8px;
  }
  .feature-grid, .service-cards {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .service-cards > div {
    max-width: 100%;
    min-width: 0;
  }
  .main-nav {
    display: none;
  }
}
@media (max-width:768px){
  .content-grid,
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    font-size: 16px;
    flex-direction: column;
    align-items: flex-start;
    min-width: unset;
    padding: 18px 11px;
  }
  .section, main section {
    padding: 26px 4px;
  }
  .hero {
    padding: 34px 0 12px 0;
  }
}

@media (max-width:520px) {
  .footer-nav {
    flex-direction: column;
    gap: 11px;
  }
  footer .container {
    gap: 14px;
  }
}

/* ===============
   PLAYFUL SHAPES (Decorative only)
=============== */
@media (min-width: 900px) {
  .hero:after {
    content: '';
    display: block;
    position: absolute;
    top: 0; right: 0;
    width: 125px; height: 94px;
    background: url('../assets/playful-shape-blue.svg');
    opacity: 0.25;
    pointer-events: none;
    z-index: 2;
  }
}
/* ===============
   ENERGETIC FEEL/ANIMATIONS
=============== */
.cta-btn {
  animation: funpulse 2.6s infinite alternate ease-in-out;
}
@keyframes funpulse {
  from { filter: brightness(1); box-shadow: 0 3px 16px 0 rgba(255,116,160,0.09); }
  to { filter: brightness(1.14); box-shadow: 0 8px 46px 0 rgba(74,216,218,0.15); }
}

/* ===============
   TABLET SPECIFIC
=============== */
@media (min-width:600px) and (max-width:900px) {
  .container {
    padding: 0 12px;
  }
  main section, .section {
    padding: 32px 10px;
  }
  .content-wrapper {
    gap: 15px;
  }
}

/* Other General Utility */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}

/* =============================
   CHECK FLEXBOX CONTAINERS
============================= */
/* All key content groups are display: flex */

/* layout structure helpers */
.section,
.container,
.content-wrapper,
.card-container,
.content-grid,
.text-image-section,
.testimonial-card,
.feature-item,
.service-cards,
.feature-grid,
.footer-nav,
.footer-contact {
  /* Already set above as display: flex or via classes */
}

/* END OF STYLE.CSS */
