/* --- CSS RESET & BASE --- */
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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7FBFD;
  color: #27323B;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  box-sizing: border-box;
  font-size: 16px;
}
* {
  box-sizing: inherit;
}
a { color: inherit; text-decoration: none; transition: color 0.25s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; border: none; }

/* --- COLOR PALETTE (Brand + Playful Dynamic) --- */
:root {
  --color-primary: #27323B;
  --color-secondary: #64C7CC;
  --color-accent: #FFFFFF;
  --color-playful-yellow: #FFEA52;
  --color-playful-coral: #FF858C;
  --color-playful-turquoise: #2CE1BF;
  --color-playful-blue: #5B8DEF;
  --color-playful-orange: #FFB35C;
  --color-card-bg: #FFFFFF;
  --color-card-shadow: rgba(39, 50, 59, 0.10);
  --color-testimonial-bg: #FFEA52;
  --color-footer-bg: #27323B;
  --color-footer-fg: #FFF;
}

/* --- TYPOGRAPHY (Playful & Dynamic style) --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  line-height: 1.1;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: var(--color-playful-blue);
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
p, li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  line-height: 1.7;
}
strong {
  font-weight: 700;
}

.cta, .main-nav .cta {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  background: var(--color-playful-coral);
  color: #fff;
  padding: 12px 32px;
  border-radius: 28px;
  box-shadow: 0 2px 10px var(--color-card-shadow);
  border: none;
  font-size: 1.125rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.21s, box-shadow 0.23s;
  outline: none;
  margin-top: 18px;
  margin-bottom: 8px;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.cta:hover, .cta:focus, .main-nav .cta:hover, .main-nav .cta:focus {
  background: var(--color-playful-blue);
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
  box-shadow: 0 4px 20px var(--color-card-shadow);
}

/* --- LAYOUT: Container & Sections (MOBILE-FIRST) --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 10px;
}

@media (min-width: 700px) {
  .content-wrapper {
    flex-direction: row;
    gap: 30px;
    align-items: center;
  }
}

/* --- MAIN NAV & HEADER --- */
header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--color-accent);
  box-shadow: 0 1px 8px var(--color-card-shadow);
  margin-bottom: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.main-nav img {
  height: 44px;
  width: auto;
  margin-right: 16px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 16px;
  color: var(--color-primary);
  transition: background 0.15s, color 0.13s;
  position: relative;
  z-index: 2;
}
.main-nav a:not(.cta):hover, .main-nav a:not(.cta):focus {
  background: var(--color-playful-yellow);
  color: var(--color-playful-coral);
}
.main-nav .cta {
  margin-left: auto;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: block;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 120;
  background: var(--color-playful-blue);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 0 2px 8px var(--color-card-shadow);
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-playful-coral);
  transform: scale(1.04) rotate(8deg);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 300;
  background: var(--color-primary);
  color: var(--color-accent);
  height: 100%;
  top: 0;
  right: 0;
  width: 88vw;
  max-width: 340px;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.63,0.03,0.00,0.97);
  box-shadow: -2px 0 16px var(--color-card-shadow);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-playful-coral);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px 18px 0 0;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-playful-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
  padding: 0 28px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: bold;
  padding: 14px 6px;
  border-radius: 14px;
  transition: background 0.18s, color 0.15s, transform 0.13s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-playful-yellow);
  color: var(--color-playful-coral);
  transform: translateX(6px) scale(1.07);
}

@media (min-width: 1001px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1001px) {
  .main-nav {
    display: flex !important;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* --- Section and Card Containers --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  box-shadow: 0 2px 12px var(--color-card-shadow);
  border-radius: 18px;
  padding: 26px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.21s;
  min-width: 240px;
}
.card:hover, .card:focus-within {
  transform: translateY(-4px) scale(1.03) rotate(1.5deg);
  box-shadow: 0 8px 28px var(--color-card-shadow);
}

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

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-testimonial-bg);
  border-radius: 18px;
  padding: 20px 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px var(--color-card-shadow);
  min-width: 260px;
  position: relative;
  flex-direction: column;
}
.testimonial-card p {
  color: #1a1a1a;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #323232;
  font-size: 0.97rem;
  font-style: italic;
}

@media (min-width: 650px) {
  .testimonial-card {
    flex-direction: row;
    align-items: center;
    gap: 36px;
  }
}

/* --- FEATURE ITEMS --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* --- LISTS WITH ICONS --- */
ul, ol {
  padding-left: 0;
  margin-bottom: 0;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  position: relative;
  font-size: 1rem;
}
ul li img, ol li img {
  width: 28px;
  height: 28px;
}

/* --- FOOTER --- */
footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-fg);
  padding: 36px 0 22px 0;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -2px 10px var(--color-card-shadow);
}
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  opacity: 0.97;
  padding: 4px 8px;
  border-radius: 9px;
  transition: background 0.17s, color 0.21s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-playful-coral);
  color: #fff;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
}
.footer-contact img {
  width: 35px;
  height: 35px;
}
.footer-contact span {
  color: #fff;
  font-size: 1rem;
  margin-left: 8px;
}

/* --- MAP/LOCATION SECTION --- */
.map-location {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fffbe8;
  border-radius: 14px;
  padding: 12px 17px;
  box-shadow: 0 2px 10px var(--color-card-shadow);
  font-size: 0.98rem;
  margin-top: 12px;
}

/* --- BUTTONS and INTERACTIVES --- */
button, a.button, .cta {
  transition: background 0.19s, color 0.21s, box-shadow 0.18s, transform 0.12s;
}
button:active, a.button:active, .cta:active {
  transform: translateY(1px) scale(0.97) rotate(-2deg);
  box-shadow: 0 2px 4px var(--color-card-shadow);
}

/* --- ANIMATED ACCENTS, SHAPE DECOR --- */
section:before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  top: -40px;
  right: -60px;
  width: 120px;
  height: 120px;
  background: var(--color-playful-turquoise);
  opacity: 0.16;
  border-radius: 61% 39% 33% 67% / 62% 37% 63% 38%;
  pointer-events: none;
  transform: rotate(18deg);
  will-change: transform;
  animation: pop-shape1 5.2s ease-in-out infinite alternate;
}
@keyframes pop-shape1 {
  from { transform: scale(1) rotate(18deg); }
  to   { transform: scale(1.28) rotate(21deg); }
}
section:nth-child(even):before {
  background: var(--color-playful-yellow);
  right: unset;
  left: -60px;
  top: -34px;
  width: 88px;
  height: 88px;
  opacity: 0.13;
  animation: pop-shape2 4.2s ease-in-out infinite alternate;
  border-radius: 64% 36% 62% 38% / 64% 72% 28% 36%;
}
@keyframes pop-shape2 {
  from { transform: scale(1.08) rotate(-8deg); }
  to   { transform: scale(1.31) rotate(-12deg); }
}

/* --- CARD HOVER MICRO-INTERACTIONS --- */
.card:after, .testimonial-card:after {
  content: '';
  display: block;
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 23px;
  height: 23px;
  background: var(--color-playful-blue);
  opacity: 0.08;
  border-radius: 48% 52% 44% 56% / 58% 35% 65% 42%;
  transition: opacity 0.33s, transform 0.31s;
  z-index: 0;
}
.card:hover:after, .testimonial-card:hover:after {
  opacity: 0.21;
  transform: scale(1.24);
}

/* --- RESPONSIVE SPACING & FLEX LAYOUTS --- */
@media (min-width: 600px) {
  .container {
    padding: 0 38px;
  }
  section {
    padding: 60px 30px;
    margin-bottom: 80px;
  }
}
@media (min-width: 1020px) {
  section {
    padding: 80px 0;
    margin-bottom: 90px;
  }
  .container {
    padding: 0 60px;
    max-width: 1240px;
  }
}

@media (max-width: 800px) {
  .container {
    padding: 0 8px;
  }
  .main-nav .cta { margin-left: 0; margin-top:14px; }
}

@media (max-width: 768px) {
  .content-grid, .card-container, .feature-list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section, .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  section {
    padding: 32px 4px 32px 4px;
  }
}

/* --- MINIMUM MARGINS BETWEEN ALL CARDS/SECTIONS --- */
.card, .testimonial-card, section {
  margin-bottom: 20px;
}

/* --- FORM INPUTS (for contact.html future-proofing) --- */
input, textarea, select {
  border: 2px solid var(--color-secondary);
  border-radius: 9px;
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  margin-bottom: 12px;
  background: #fff;
  transition: border 0.16s, box-shadow 0.14s;
  box-shadow: 0 1px 5px rgba(100,199,204,.06);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-playful-coral);
  outline: none;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--color-playful-coral);
  color: #fff;
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  box-shadow: 0 -4px 16px var(--color-card-shadow);
  flex-wrap: wrap;
  animation: slideUpCookie 1s cubic-bezier(0.63,0.30,0.50,0.97) both;
}
@keyframes slideUpCookie {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner button {
  padding: 10px 22px;
  margin: 0 5px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  background: var(--color-playful-yellow);
  border: none;
  border-radius: 22px;
  color: var(--color-primary);
  box-shadow: 0 2px 8px var(--color-card-shadow);
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.14s, color 0.15s;
}
.cookie-consent-banner button:hover {
  background: var(--color-playful-turquoise);
  color: #fff;
}
.cookie-consent-banner .cookie-settings-btn {
  background: var(--color-playful-blue);
  color: #fff;
}
.cookie-consent-banner .cookie-settings-btn:hover {
  background: var(--color-playful-coral);
  color: #fff;
}
.cookie-consent-banner .cookie-reject-btn {
  background: #fff;
  color: var(--color-playful-coral);
  border: 2px solid var(--color-playful-coral);
}
.cookie-consent-banner .cookie-reject-btn:hover {
  background: var(--color-playful-yellow);
  color: var(--color-primary);
}

@media (max-width: 620px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 14px;
    padding: 22px 4px 28px 6px;
    font-size: 0.96rem;
    text-align: left;
  }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10010;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39,50,59,0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.44s cubic-bezier(0.63,0.30,0.50,0.97) both;
}
@keyframes fadeInCookieModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 32px var(--color-card-shadow);
  min-width: 320px;
  max-width: 95vw;
  padding: 38px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  color: var(--color-primary);
  position: relative;
  font-size: 1.03rem;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-playful-blue);
  font-size: 1.23rem;
  margin-bottom: 13px;
}
.cookie-options-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-option-group {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
}
.cookie-modal label[aria-disabled], .cookie-modal [disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: var(--color-playful-coral);
  color: #fff;
  border: none;
  font-size: 1.23rem;
  padding: 3px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-playful-blue);
}
.cookie-modal button {
  padding: 10px 22px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  border-radius: 21px;
  background: var(--color-playful-turquoise);
  color: #fff;
  border: none;
  margin-top: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.14s, color 0.15s;
}
.cookie-modal button:hover {
  background: var(--color-playful-coral);
}

@media (max-width: 480px) {
  .cookie-modal {
    min-width: 0;
    padding: 20px 9px 14px 12px;
    font-size: 0.97rem;
  }
}


/* --- ADDITIONAL PLAYFUL ACCENT EFFECTS & MISC --- */
h1, h2, h3 {
  transition: color 0.19s, text-shadow 0.24s;
}
h1:hover, h2:hover, h3:hover {
  color: var(--color-playful-yellow);
  text-shadow: 0 2px 10px var(--color-card-shadow);
}

@media (max-width: 400px) {
  .footer-contact span {
    font-size: 0.96rem;
    margin-left: 0px;
  }
}

/* --- PLAYFUL ANIMATIONS FOR ICON LISTS --- */
ul li img:hover, ol li img:hover {
  transform: scale(1.14) rotate(-10deg);
  transition: transform 0.2s;
}

/* --- WHITE SPACE & GENERAL SPACING --- */
body, section, .container, .content-wrapper, .card-container, .testimonial-card, .card {
  margin-bottom: 20px;
}

/* --- UTILITY: Hide visually --- */
.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- PRINT FRIENDLY --- */
@media print {
  header, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  section, .card, .testimonial-card {
    box-shadow: none !important;
    background: #fff !important;
    color: #101010 !important;
  }
}

/* --- END OF STYLE.CSS --- */
