/* --- 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,
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.6;
  background: #FAFAF8;
  color: #283546;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 10px;
}
a {
  color: #5f7e6a;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #283546;
  outline: 0;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 16px;
  padding-left: 0.6em;
}
li {
  margin-bottom: 12px;
}
strong {
  font-weight: bold;
}

/* --- BRAND COLORS (Soft Pastel Variations) --- */
:root {
  --primary: #283546;
  --secondary: #A6C1B3;
  --accent: #F7F5F2;
  --pastel-blue: #D6EAF8;
  --pastel-green: #E3F6EB;
  --pastel-pink: #FAD6DD;
  --pastel-yellow: #FDF6CB;
  --pastel-lilac: #EFEBFA;
  --shadow: 0 4px 16px 0 rgba(180,191,205,0.10);
  --radius: 22px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: var(--primary);
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

p, li, span, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.01em;
}

section h1, section h2, section h3 {
  text-shadow: 0 2px 8px rgba(173, 205, 222, 0.13);
}

/* --- BUTTONS --- */
.btn-primary {
  background: var(--secondary);
  color: var(--primary);
  padding: 14px 40px;
  border-radius: 35px;
  font-size: 1.125rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.22s, color 0.22s, transform 0.15s;
  margin-top: 24px;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #CCD9D0;
  color: #283546;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 32px 0 rgba(180,191,205,0.12);
  outline: 0;
}

/* --- CONTAINER & SPACING --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: var(--accent);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--pastel-green);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 24px;
  margin-bottom: 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(180,191,205,0.15);
  color: #222b36;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  color: #222b36;
}
.testimonial-card span {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #425161;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO/CTA & SPECIALS --- */
.hero {
  background: linear-gradient(135deg, var(--pastel-blue) 60%, var(--pastel-pink) 100%);
  padding: 54px 0 54px 0;
  border-radius: 0 0 60px 60px;
  margin-bottom: 60px;
  box-shadow: 0 6px 30px 0 rgba(184,204,220,0.09);
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: 2.4rem;
  color: #283546;
  margin-bottom: 16px;
}
.hero p {
  max-width: 520px;
  font-size: 1.12rem;
  margin: 0 auto 18px auto;
}

.cta, .cta-info {
  background: var(--pastel-yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 36px 20px;
  margin-bottom: 60px;
}

/* --- NAVIGATION --- */
header {
  background: #FFF;
  box-shadow: 0 2px 13px 0 rgba(163,180,179,0.07);
  position: sticky;
  top: 0;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px 0;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.main-nav img {
  height: 48px;
  margin-right: 24px;
  border-radius: 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 500;
  color: #425161;
  transition: color 0.17s;
  border-radius: 22px;
  padding: 8px 20px;
}
.main-nav a:not(.btn-primary):hover, .footer-nav a:hover {
  background: var(--pastel-blue);
  color: var(--primary);
}

/* --- FOOTER --- */
footer {
  background: var(--secondary);
  padding: 36px 0 20px 0;
  border-radius: 60px 60px 0 0;
  box-shadow: 0 -4px 18px 0 rgba(170,200,180,0.09);
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #283546;
  font-size: 1rem;
  padding: 7px 14px;
  border-radius: 18px;
  transition: background 0.16s;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  font-size: 0.95rem;
  color: #32505A;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
  border-radius: 0;
}

/* --- FEATURES SECTION --- */
.features {
  background: var(--pastel-green);
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
  justify-content: flex-start;
}
.features li {
  flex: 1 1 200px;
  background: var(--pastel-lilac);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #283546;
  min-width: 180px;
}
.features li img {
  width: 40px;
  height: 40px;
}

/* --- SERVICES/COURSES/LISTS --- */
.services, .courses, .about, .team, .blog, .policy, .gdpr, .cookiepolicy, .terms, .thankyou, .contact {
  background: var(--accent);
}
.services ul, .courses ul, .about ul, .features ul, .blog ul, .cookiepolicy ul, .policy ul, .gdpr ul, .terms ul, .thankyou ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}
.services li, .courses li, .about li, .features li, .blog li, .cookiepolicy li, .policy li, .gdpr li, .terms li, .thankyou li {
  margin-bottom: 18px;
  background: var(--pastel-yellow);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  color: #283546;
  font-weight: 400;
}
.services li h3, .courses li h3 {
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- SPECIAL MODULES --- */
.info-box, .inspiration-tips, .map-embed, .cta-info {
  background: var(--pastel-blue);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 20px 18px;
  margin-top: 8px;
  margin-bottom: 12px;
}
.inspiration-tips ul {
  list-style: disc inside;
  margin: 0 0 0 1em;
}
.map-embed h3 {
  margin-bottom: 6px;
}

/* --- TEAM/TEACHERS --- */
.team .content-wrapper > div {
  background: var(--pastel-pink);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px 15px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.team h3 {
  color: #4b5b6a;
  margin-bottom: 4px;
  font-weight: 600;
}
.team p {
  color: #283546;
  font-size: 1rem;
}
.team i {
  color: #5b6b85;
  font-style: italic;
  opacity: 0.8;
}

/* --- CARDS --- */
.card {
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(180,191,205,0.15);
  transform: translateY(-6px) scale(1.02);
}

/* --- RESPONSIVENESS & MEDIA QUERIES --- */
@media (max-width: 1000px) {
  .container {
    max-width: 800px;
  }
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .container {
    padding: 0 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
  .content-wrapper, .section {
    gap: 18px;
    padding: 24px 8px;
  }
  .card-container, .content-grid, .features ul {
    gap: 14px;
  }
  .testimonial-card {
    padding: 22px 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .hero, .cta, .cta-info {
    padding: 30px 0;
    border-radius: 0 0 30px 30px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .btn-primary {
    width: 100%;
    padding: 14px 0;
  }
  .features li img, .footer-contact img {
    width: 26px;
    height: 26px;
  }
  .footer-contact {
    font-size: 0.89rem;
    gap: 4px;
  }
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: var(--pastel-green);
  color: var(--primary);
  font-size: 2.2rem;
  border: none;
  border-radius: 22px;
  padding: 7px 17px;
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 110;
  transition: background 0.21s, color 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--pastel-yellow);
  color: var(--primary);
  outline: 0;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(246,250,243,0.99);
  box-shadow: 0 0 85px 0 rgba(163,170,185,0.18);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 28px 28px 0 28px;
  transition: transform 0.36s cubic-bezier(.62,.01,.38,1), opacity 0.36s;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--pastel-yellow);
  border: none;
  border-radius: 50%;
  font-size: 1.9rem;
  color: var(--primary);
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: background 0.17s, color 0.11s;
  margin-bottom: 18px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-pink);
  color: #283546;
  outline: 0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.11rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #32505A;
  padding: 14px 4px;
  border-radius: 19px;
  background: none;
  width: 100%;
  display: block;
  transition: background 0.2s, color 0.18s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--pastel-blue);
  color: var(--primary);
  outline: 0;
}

@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--pastel-lilac);
  color: #283546;
  z-index: 2000;
  box-shadow: 0 -7px 32px 0 rgba(150,162,180,0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 14px 28px 28px;
  gap: 18px;
  font-size: 1rem;
  border-radius: 20px 20px 0 0;
  transition: transform 0.33s, opacity 0.33s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  margin: 0;
  flex: 2 1 60%;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 18px;
  padding: 9px 20px;
  cursor: pointer;
  transition: background 0.18s, color 0.14s;
  box-shadow: var(--shadow);
}
.cookie-banner .accept {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--pastel-green);
}
.cookie-banner .reject {
  background: var(--pastel-pink);
  color: #8a213c;
  font-weight: 500;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #ecbecc;
}
.cookie-banner .settings {
  background: var(--pastel-yellow);
  color: #9e9218;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #f9f5a7;
}

/* --- COOKIE MODAL --- */
#cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39,47,61,0.15);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s;
}
#cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: var(--accent);
  border-radius: 24px;
  width: 95%;
  max-width: 440px;
  padding: 32px 22px 24px 22px;
  box-shadow: 0 14px 48px 0 rgba(166,193,179,0.24);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popmodal 0.27s cubic-bezier(.71,.01,.34,1);
}
@keyframes popmodal { from { transform: scale(0.90); opacity: 0.7; } to { transform: scale(1); opacity: 1; } }

.cookie-modal-content h2 {
  color: var(--primary);
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--pastel-lilac);
  border-radius: 14px;
  padding: 11px 12px;
  box-shadow: 0 3px 10px 0 rgba(166,193,179,0.07);
}
.cookie-category label {
  font-weight: 500;
  color: var(--primary);
  flex: 1 1 auto;
}
.cookie-category input[type=checkbox]:not(:disabled) {
  accent-color: var(--secondary);
}
.cookie-category input[type=checkbox][disabled] {
  accent-color: #B9B9B9;
  cursor: not-allowed;
}
.cookie-modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-footer button {
  border: none;
  border-radius: 15px;
  padding: 8px 18px;
  font-size: 1rem;
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: background 0.17s;
  cursor: pointer;
}
.cookie-modal-footer button.cancel {
  background: var(--pastel-yellow);
  color: #776f12;
}
.cookie-modal-footer button.save {
  background: var(--pastel-green);
  color: #35554b;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #7b898f;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--pastel-pink);
}

@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px;
    gap: 14px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-btns {
    width: 100%;
    justify-content: flex-start;
  }
  .cookie-modal-content {
    padding: 19px 7px 15px 7px;
  }
}

/* === END Twinkle Studio Akademi SOFT PASTEL UI CSS === */