/*------------------------------------------------------------
  CSS RESET & BASELINE (mobile-first, vintage retro theme)
------------------------------------------------------------*/
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, font, 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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F6F3EC;
  color: #3e3430;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 80 80" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="80" height="80" fill="%23F6F3EC"/><circle cx="10" cy="10" r="2" fill="%23F2C14E"/><circle cx="70" cy="30" r="1.5" fill="%234FBFA5"/><rect x="36" y="36" width="8" height="8" fill="%23205072"/></svg>');
  background-repeat: repeat;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 20px;
}
a {
  color: #205072;
  text-decoration: none;
  transition: color 0.23s;
}
a:hover, a:focus {
  color: #F2C14E;
  outline: none;
}

/*------------------------------------------------------------
  TYPOGRAPHY – RETRO FLAIR
------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Impact, Arial, sans-serif;
  color: #205072;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
.section h2 {
  border-left: 8px solid #F2C14E;
  padding-left: 16px;
  margin-bottom: 30px;
  background: linear-gradient(90deg, #F2C14E 0 15%, #F6F3EC 65%);
  box-shadow: 4px 0 0 #4FBFA5 inset;
}
p, li, span, label {
  font-family: 'Roboto', Verdana, Geneva, sans-serif;
  font-size: 1rem;
  color: #3e3430;
}
strong { color: #205072; }
.text-section h3 {
  font-family: 'Montserrat', Georgia, serif;
  color: #205072;
  font-size: 1.1rem;
}

/* Stylish blockquote style for testimonials */
.testimonial-card p::before, .testimonials-slider .testimonial-card p::before {
  content: '\201C';
  font-family: 'Montserrat', Georgia, serif;
  color: #F2C14E;
  font-size: 2.5rem;
  margin-right: 4px;
  vertical-align: -18px;
}
.testimonial-card p::after, .testimonials-slider .testimonial-card p::after {
  content: '\201D';
  color: #F2C14E;
  font-size: 2.5rem;
  margin-left: 4px;
  vertical-align: -18px;
}

/*------------------------------------------------------------
  CONTAINER, FLEX LAYOUTS, SPACING
------------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff8e1;
  border-radius: 24px;
  box-shadow: 0 2px 18px 0 rgba(32,80,114,0.07);
}

.features-grid, .services-list, .benefits-grid, .seminar-list, .teaser-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}

.features-grid {
  justify-content: flex-start;
}

.feature, .service-box, .teaser-box, .seminar-box {
  background: #fff5de;
  border-radius: 18px;
  box-shadow: 0 1.5px 7px 0 rgba(32,80,114,0.08);
  padding: 28px 22px 22px 22px;
  flex: 1 1 232px;
  max-width: 260px;
  min-width: 184px;
  transition: box-shadow 0.23s, transform 0.22s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.feature:hover, .service-box:hover, .teaser-box:hover, .seminar-box:hover {
  box-shadow: 0 8px 20px 0 rgba(32,80,114,.20);
  transform: translateY(-3px) scale(1.025);
  z-index: 2;
}

.price, .popular-post h4 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  color: #205072;
  background: #f6deb1;
  padding: 3px 14px;
  border-radius: 12px;
  margin-top: 12px;
}

.teaser-box a {
  color: #205072;
  background: #4FBFA5;
  padding: 5px 18px;
  border-radius: 22px;
  font-size: 0.96rem;
  font-weight: 600;
  margin-top: 10px;
  display: inline-block;
  transition: background .18s, color .18s;
}
.teaser-box a:hover {
  background: #F2C14E;
  color: #205072;
}

.trust-signals {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}

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

.popular-post {
  background: #F2C14E;
  padding: 12px 18px;
  border-radius: 18px;
  color: #205072;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  box-shadow: 0 2px 10px 0 rgba(50,40,0,0.03);
}

.star-rating-summary {
  margin: 22px 0 0 0;
  font-family: 'Montserrat', Courier, monospace;
  font-size: 1.1rem;
  color: #205072;
  background: #f6deb1;
  border-radius: 12px;
  padding: 6px 14px;
  display: inline-block;
}

/*------------------------------------------------------------
  HEADER & NAVIGATION (retro style)
------------------------------------------------------------*/
header {
  background: #fff8e1;
  padding: 18px 0 8px 0;
  border-bottom: 3px solid #F2C14E;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 15px 0 rgba(32,80,114,0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  color: #205072;
  padding: 6px 12px;
  border-radius: 10px;
  transition: background .22s, color .22s;
}
.main-nav a:hover, .main-nav a.active {
  background: #4FBFA5;
  color: #fff;
}
.cta-btn {
  background: #F2C14E;
  color: #205072;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.03rem;
  border: none;
  padding: 10px 30px;
  border-radius: 23px;
  cursor: pointer;
  outline: none;
  text-shadow: 0 1.5px 0 #fff8e1;
  box-shadow: 0 1.5px 10px 0 rgba(32,80,114,0.11);
  transition: background .2s, box-shadow .22s, color .16s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #205072;
  color: #fff8e1;
  box-shadow: 0 4px 18px 0 #F2C14E44;
}

/* Hide mobile burger menu button on desktop */
.mobile-menu-toggle {
  background: #4FBFA5;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  transition: background .2s, color .2s;
  z-index: 102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F2C14E;
  color: #205072;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff8e1;
  box-shadow: 0 0 80px 0 rgba(32,80,114,0.12);
  transform: translateX(100vw);
  transition: transform .33s cubic-bezier(.77,.2,.11,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 32px 32px 24px 32px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #F2C14E;
  color: #205072;
  border: none;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 18px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #4FBFA5;
  color: #fff;
}
.mobile-nav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding-top: 26px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #205072;
  background: #fff5de;
  padding: 14px 24px;
  border-radius: 16px;
  box-shadow: 0 1px 6px 0 rgba(32,80,114,0.09);
  font-size: 1.15rem;
  width: 100%;
  transition: background .21s, color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #4FBFA5;
  color: #fff;
}

@media (max-width: 990px) {
  .container {
    max-width: 95vw;
  }
  header .container {
    flex-wrap: wrap;
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  header {
    padding: 12px 0 3px 0;
  }
  .section {
    padding: 26px 4px;
    margin-bottom: 36px;
  }
}

/*---------------------------------------------------
  CARDS, TESTIMONIALS, SLIDERS, FLEX-GROUPS
---------------------------------------------------*/
.card-container, .features-grid, .services-list, .seminar-list, .teaser-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: #fff5de;
  box-shadow: 0 2px 14px 0 rgba(32,80,114,0.075);
  padding: 30px 22px;
  flex: 1 1 260px;
  transition: box-shadow 0.22s, transform 0.19s;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(32,80,114,0.20);
  transform: translateY(-4px) scale(1.024);
}

.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 18px;
  padding: 20px 26px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 11px rgba(32,80,114,0.10);
  min-width: 240px;
  max-width: 340px;
  border: 2.5px solid #F2C14E;
  font-size: 1.08rem;
  color: #3e3430;
  position: relative;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #205072;
  margin-top: 8px;
}
.testimonial-card strong {
  color: #205072;
}

/*---------------------------------------------------
  FOOTER
---------------------------------------------------*/
footer {
  background: #205072;
  color: #fff8e1;
  padding: 0;
  border-top: 4px solid #F2C14E;
  position: relative;
  z-index: 6;
  font-size: 1rem;
}
footer .container {
  padding: 0 16px;
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 0 20px 0;
}
.footer-info {
  flex: 1 1 230px;
}
.footer-info h3 {
  font-size: 1.2rem;
  color: #F2C14E;
  margin-bottom: 14px;
  font-family: 'Montserrat', Georgia, serif;
}
.footer-nav {
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 10px;
}
.footer-nav a {
  color: #fff8e1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 2px 4px;
  border-radius: 6px;
  text-align: left;
  transition: color .18s, background .18s;
}
.footer-nav a:hover { color: #205072; background: #F2C14E; }
.social-media-links {
  flex: 1 1 96px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}
.social-media-links a img {
  width: 31px; height: 31px;
  background: #F2C14E;
  border-radius: 50%;
  padding: 5px;
  transition: box-shadow .19s, background .16s;
  box-shadow: 0 1px 5px 0 #0002;
}
.social-media-links a:hover img {
  background: #4FBFA5;
  box-shadow: 0 4px 12px #20507222;
}

@media (max-width: 850px) {
  footer .content-wrapper { flex-direction: column; gap: 28px; }
}
@media (max-width: 500px) {
  .footer-info, .footer-nav, .social-media-links {
    flex-basis: 100%;
  }
}

/*---------------------------------------------------
  COOKIE BANNER
---------------------------------------------------*/
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff8e1;
  box-shadow: 0 -3px 20px 0 rgba(32,80,114,.10);
  padding: 22px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  z-index: 550;
  border-top: 3px solid #F2C14E;
  animation: cookie-in .62s cubic-bezier(.6,-0.05,.34,1.12);
}
@keyframes cookie-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
#cookie-banner p {
  font-size: 1.09rem;
  color: #205072;
  font-family: 'Roboto', Arial, sans-serif;
}
#cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  margin-top: 2px;
}
#cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  padding: 8px 26px;
  margin: 0;
  outline: none;
  cursor: pointer;
  transition: background .18s, color .18s;
}
#cookie-banner .accept {
  background: #4FBFA5;
  color: #fff;
}
#cookie-banner .accept:hover, #cookie-banner .accept:focus {
  background: #205072;
  color: #fff8e1;
}
#cookie-banner .reject {
  background: #fff;
  color: #205072;
  border: 1.5px solid #F2C14E;
}
#cookie-banner .reject:hover, #cookie-banner .reject:focus {
  background: #F2C14E;
  color: #205072;
}
#cookie-banner .settings {
  background: #205072;
  color: #fff8e1;
  border: none;
}
#cookie-banner .settings:hover, #cookie-banner .settings:focus {
  background: #F2C14E;
  color: #205072;
}

/* COOKIE MODAL */
#cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-49%) scale(0.97);
  background: #fff8e1;
  border-radius: 24px;
  box-shadow: 0 8px 44px 0 #0005;
  padding: 32px 32px 24px 32px;
  z-index: 9000;
  min-width: 320px;
  min-height: 140px;
  max-width: 99vw;
  opacity: 1;
  display: none;
  flex-direction: column;
  gap: 24px;
  animation: cookie-modal-in .53s cubic-bezier(.6,-0.05,.34,1.12);
}
#cookie-modal.active {
  display: flex;
}
@keyframes cookie-modal-in {
  from { opacity: 0; transform: translate(-50%,20%) scale(.93); }
  to { opacity: 1; transform: translate(-50%,-49%) scale(.97); }
}
#cookie-modal h2 {
  color: #205072;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
#cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-toggle label {
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #205072;
}
.cookie-toggle input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: #4FBFA5;
  border-radius: 7px;
}
.cookie-toggle input[type="checkbox"]:disabled {
  accent-color: #ccc;
}
#cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
#cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  padding: 7px 20px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  background: #4FBFA5;
  color: #fff;
  transition: background .16s, color .16s;
}
#cookie-modal button:hover, #cookie-modal button:focus { background: #F2C14E; color: #205072; }
#cookie-modal .close-modal {
  background: #fff;
  color: #205072;
  border: 1.5px solid #F2C14E;
}
#cookie-modal .close-modal:hover {
  background: #205072;
  color: #fff8e1;
}

@media (max-width:540px){
  #cookie-modal{ padding: 19px 7px 16px 10px; }
}
@media (max-width:480px){
  #cookie-banner{ padding: 9px 4vw 13px 4vw; }
}

/*---------------------------------------------------
  RESPONSIVE/RETRO ELEMENT MEDIA QUERIES (FLEX ONLY)
---------------------------------------------------*/
@media (max-width: 980px) {
  .features-grid, .services-list, .seminar-list, .teaser-list {
    gap: 18px;
  }
  .feature, .service-box, .teaser-box, .seminar-box {
    min-width: 140px;
    max-width: 100vw;
  }
}
@media (max-width: 970px) {
  .testimonials-slider {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .features-grid, .services-list, .seminar-list, .teaser-list {
    flex-direction: column;
    gap: 17px;
  }
  .feature, .service-box, .teaser-box, .seminar-box, .card {
    flex: 1 1 100%;
    max-width: 100vw;
  }
  .testimonials-slider {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 32px;
  }
  .popular-post {
    padding: 7px 6px;
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 490px) {
  h1 {
    font-size: 1.4rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.13rem;
    margin-bottom: 10px;
  }
  .cta-btn, .mobile-nav a {
    font-size: 0.98rem;
    padding: 10px 14px;
  }
  .service-box, .feature, .teaser-box {
    padding: 12px 6px;
    font-size: 1.01rem;
  }
}

/*---------------------------------------------------
  MANDATORY FLEXBOX PATTERNS (per requirements)
---------------------------------------------------*/
.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;
}

/* Responsive for text-image-section (direction on mobile) */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column; align-items: flex-start;
    gap: 20px;
  }
}

/*---------------------------------------------------
  MICRO-INTERACTIONS & BUTTONS
---------------------------------------------------*/
button, .cta-btn, input[type="submit"], .mobile-nav a {
  transition: background .22s, color .18s, box-shadow .17s, transform .14s;
}
button:active, .cta-btn:active {
  transform: scale(.97);
}

/*---------------------------------------------------
  RETRO ACCENTS / PATTERNS
---------------------------------------------------*/
.feature, .service-box, .seminar-box, .teaser-box, .testimonial-card {
  border: 2px solid #F2C14E;
  background: repeating-linear-gradient(135deg,#fff8e1 0 32px,#fff5de 34px 66px);
}
.card {
  border: 2px solid #20507212;
  background: #fff5de;
}
.section {
  border: 3px solid #F2C14E;
  background: repeating-linear-gradient(135deg, #fff8e1 0 46px, #fff5de 50px 92px);
}

/* Retro List Styles */
ul {
  list-style-type: square;
  color: #205072;
  margin-bottom: 8px;
}
ol {
  list-style-type: decimal-leading-zero;
  color: #205072;
}
ul li, ol li {
  margin-bottom: 4px;
}

/*---------------------------------------------------
  PRINT STYLES
---------------------------------------------------*/
@media print {
  header, footer, #cookie-banner, #cookie-modal, .mobile-menu { display: none !important; }
  section, .section, .container, .content-wrapper { box-shadow: none !important; background: #fff !important; }
}
