/* ==========================================================
   CSS RESET & NORMALIZE
========================================================== */
html {box-sizing: border-box;}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd, strong {margin: 0; padding: 0; font-weight: inherit;}
ul, ol {list-style: none;}
img {max-width: 100%; height: auto; display: block;}
a {color: inherit; text-decoration: none;}
button {background: none; border: none; padding: 0; font: inherit; cursor: pointer;}
input, textarea {font: inherit; border: none; outline: none; background: none;}
:focus {outline: 2px solid #253052; outline-offset: 2px;}
html {scroll-behavior: smooth;}

/* ==========================================================
   VINTAGE RETRO DESIGN SYSTEM (BRAND COLORS & FONTS)
========================================================== */
:root {
  --primary: #253052;
  --secondary: #4D90A1;
  --accent: #F4EBC3;
  --retro-orange: #E07A5F;
  --retro-brown: #936639;
  --retro-green: #618985;
  --cream-bg: #FAF6F2;
  --card-bg: #FFFBEA;
  --shadow: 0 2px 8px rgba(37,48,82,0.13), 0 1px 1.5px rgba(237,184,89,0.12);
  --shadow-hover: 0 4px 20px rgba(37,48,82,0.18), 0 2px 4px rgba(237,184,89,0.12);
  --radius: 16px;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', 'Georgia', serif;
  --heading-size: 2.5rem;
  --subheading-size: 1.5rem;
  --body-size: 1.075rem;
  --sm-size: 0.96rem;
  --large-gap: 32px;
  --medium-gap: 24px;
  --default-gap: 20px;
}

body {
  background: var(--cream-bg);
  color: #253052;
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 16px;
  text-shadow: 1px 2px 0 var(--accent);
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  color: var(--retro-orange);
  text-shadow: 1px 2px 0 #fff6c8;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--secondary);
}

strong {font-weight:700; color:var(--retro-brown);}
p {color: var(--primary); margin-bottom: 16px;}

.section, .hero-section, .features-section, .about-section, .about-summary, .services-section, .testimonials-section, .courses-section, .gallery-section, .blog-section, .contact-section, .newsletter-section, .faq-section, .unique-section, .legal-section, .thank-you-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
/* Prevent background on hero for retro airiness */
.hero-section {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 14px; padding-right: 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

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

/* ==========================================================
   HEADER & NAVIGATION
========================================================== */
header {
  width: 100vw;
  background: var(--accent);
  box-shadow: 0 3px 16px rgba(146, 102, 57, 0.03);
  border-bottom: 4px solid var(--retro-brown);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 16px;
}
header img {
  height: 48px; width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--retro-brown);
  text-transform: uppercase;
  font-weight: 600;
  transition: color .16s;
  position: relative;
}
 
.main-nav a:hover, .main-nav a:focus {
  color: var(--retro-orange);
}
 

/* ==========================================================
   CTA BUTTONS & LINKS
========================================================== */
.cta-btn, .cta-btn.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.13rem;
  padding: 12px 34px;
  border-radius: 38px;
  margin: 0 8px;
  background: var(--retro-orange);
  color: #fff;
  box-shadow: 0 2px 8px rgba(200,120,40,0.10);
  border: 2.5px solid var(--retro-brown);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background .2s, box-shadow .22s, color .18s;
  text-shadow: 1px 1px 0 #864b26;
}
.cta-btn.primary {
  background: var(--retro-brown);
  color: var(--accent);
  border: 2.5px solid var(--accent);
  text-shadow: 1px 1px 0 #fff7de;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: #fff6e1;
  box-shadow: var(--shadow-hover);
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #865d40;
  color: #fff3d9;
}

 
/* ==========================================================
   FLEXBOX LAYOUT PATTERNS
========================================================== */
.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;}

/* ================== FEATURE GRID & SERVICE LISTS ===================== */
.feature-grid, .service-list, .quick-tips-grid, .post-list, .team-profiles-grid {
  display: flex; flex-wrap: wrap; gap: var(--default-gap);
  justify-content: flex-start;
  margin-bottom: 0;
}
.feature-grid li, .service-list > div, .service-list > li, .quick-tips-grid li, .post-list > div, .team-profiles-grid > div {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7em;
  transition: transform .13s, box-shadow .17s;
  border: 2.5px solid var(--accent);
  outline: 1px dashed #d9b15f;
}
.feature-grid li:hover, .service-list > div:hover, .team-profiles-grid > div:hover {
  transform: translateY(-3px) scale(1.028) rotate(-1deg);
  box-shadow: var(--shadow-hover);
  z-index: 1;
}
.feature-grid img, .service-list img {
  width: 36px; height: 36px; margin-bottom: 10px;
  filter: drop-shadow(0 2px 2px rgba(98,72,19,0.14));
}
.feature-grid strong {font-size: 1.08em; display: block; margin-bottom: 3px;}

.service-list {
  width: 100%;
  gap: 24px;
  margin-bottom: 18px;
}
.service-list > div, .service-list > li {
  min-width: 210px; max-width: 400px;
}
.team-profiles-grid {
  width: 100%;
  gap: 20px;
}
.team-profiles-grid > div {
  min-width: 190px; max-width: 320px;
}
.quick-tips-grid {
  gap: 16px;
  flex-wrap: wrap;
}
.quick-tips-grid li {
  background: var(--accent);
  color: var(--primary);
  border-radius: 11px;
  box-shadow: none;
  border: 1.5px solid #dec69b;
  font-size: 1rem;
  padding: 11px 13px;
}

/* ================== TESTIMONIALS ===================== */
.testimonials-section {
  background: #f7f3e7;
  border-top: 3px dashed var(--accent);
  border-bottom: 3px dashed var(--accent);
}
.testimonial-slider {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fff;
  color: var(--primary);
  border-radius: 22px;
  box-shadow: var(--shadow-hover);
  border: 2px solid var(--retro-brown);
  min-width: 240px; max-width: 380px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px; padding: 20px 24px;
  transition: transform .13s, box-shadow .13s;
  z-index: 10;
}
.testimonial-card:hover {
  transform: rotate(-0.5deg) scale(1.018);
  box-shadow: 0 6px 24px rgba(37,48,82,0.24);
  background: #fffef9;
}
.testimonial-card .text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.testimonial-card p {
  font-style: italic;
  color: var(--retro-brown);
  font-family: var(--font-body);
}
.testimonial-card span {
  font-size: var(--sm-size);
  color: var(--primary);
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* FAQ LIST */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1.5px solid #e6c178;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* POST-LIST & BLOG */
.post-list {
  gap: 20px;
  margin-bottom: 20px;
}
.post-list > div {
  min-width: 210px; max-width: 400px;
}
.blog-filter {
  display: flex; align-items: center;
  font-size: 1.06em;
  gap: 10px;
}
.blog-filter a {
  color: var(--retro-orange);
  font-weight: 600;
  margin: 0 3px;
  transition: color .14s, border-bottom .13s;
  border-bottom: 2px solid transparent;
}
.blog-filter a:hover, .blog-filter a:focus {
  color: var(--retro-brown); border-bottom: 2px solid var(--retro-orange);
}

/* ==========================================================
   FOOTER
========================================================== */
footer {
  background: var(--accent);
  border-top: 3px dashed var(--retro-brown);
  padding: 34px 0 0 0;
  margin-top: 40px;
  width: 100vw;
  font-size: 1rem;
  color: var(--primary);
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.footer-logo img {
  height: 46px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.footer-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--retro-brown);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border .19s, color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  border-bottom: 2px dotted var(--retro-orange);
  color: var(--secondary);
}
.company-info {
  opacity: 0.85; color: #5c5c5c;
  font-size: 0.98em;
}
.social-links {
  display: flex;
  gap: 18px;
}
.social-links img {
  width: 32px;
  height: 32px;
  transition: filter 0.19s, transform 0.18s;
  filter: grayscale(0.35) brightness(1.1);
}
.social-links img:hover, .social-links img:focus {
  filter: none;
  transform: scale(1.05) rotate(-2.5deg);
}
.newsletter-signup strong {
  font-size: 1.05em;
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-display);
  color: var(--retro-orange);
}
.newsletter-signup p {
  font-size: var(--sm-size); color: #654d33; margin-bottom: 0;
}

/* ==========================================================
   MOBILE NAVIGATION
========================================================== */
.mobile-menu-toggle {
  display: none;
  background: var(--retro-brown);
  color: var(--accent);
  font-size: 2.1rem;
  width: 48px; height: 48px;
  border-radius: 40px;
  justify-content: center; align-items: center;
  align-self: flex-end;
  position: absolute; top: 16px; right: 22px;
  z-index: 102;
  box-shadow: 0 2px 8px rgba(200,120,40,0.13);
  transition: background .19s, color .11s, box-shadow .13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--retro-orange);
  color: #fff;
  box-shadow: 0 4px 16px rgba(240,140,20,0.12);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--accent);
  box-shadow: 0 6px 24px 4px rgba(96,94,95,0.16);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.65,.11,.39,1.3), opacity .21s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--retro-orange);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 38px;
  width: 46px; height: 46px;
  position: absolute; top: 16px; right: 22px;
  z-index: 1003;
  transition: background .19s, color .12s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--retro-brown); color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 74px;
  margin-left: 34px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--retro-brown);
  font-weight: 700;
  padding: 4px 6px;
  border-radius: 7px;
  background: transparent;
  transition: background .18s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-brown);
  color: var(--accent);
}

/* Hide main nav on mobile, show hamburger */
@media (max-width: 968px) {
  .main-nav {display: none;}
  .mobile-menu-toggle {display: flex;}
}
@media (min-width: 969px) {
  .mobile-menu {display: none !important;}
  .mobile-menu-toggle {display: none !important;}
}

/* ==========================================================
   COOKIE CONSENT BANNER & MODAL
========================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--retro-orange);
  color: #fff;
  z-index: 20001;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  box-shadow: 0 -2px 20px rgba(50,35,20,0.13);
  font-size: 1.08em;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: bannerFadeIn .65s cubic-bezier(.49,1.31,.53,1);
  gap: 24px;
}
@keyframes bannerFadeIn {0%{transform:translateY(110%); opacity:0;}100%{transform:translateY(0); opacity:1;}}
.cookie-banner__text {
  flex: 1 1 auto;
  margin-right: 16px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: var(--font-display);
  border-radius: 7px;
  padding: 9px 18px;
  border: 2px solid #ffe3b4;
  background: var(--accent);
  color: var(--retro-brown);
  font-weight: bold;
  transition: background .16s, color .14s;
  box-shadow: 1px 2px 8px rgba(230, 146, 67, 0.14);
}
.cookie-btn.primary {
  background: var(--retro-brown);
  color: var(--accent);
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--retro-green);
  color: #fff;
}
.cookie-btn.primary:hover,
.cookie-btn.primary:focus {
  background: var(--retro-orange);
  color: #fff;
}

/* Cookie PREFFERENCES MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  backdrop-filter: blur(4px);
  background: rgba(43,32,12,0.17);
  z-index: 21001;
  display: flex;
  align-items: center; justify-content: center;
  animation: modalFadeIn .38s cubic-bezier(.49,1.31,.53,1);
}
@keyframes modalFadeIn {0%{opacity:0;transform:scale(.92);}100%{opacity:1;transform:scale(1);}}
.cookie-modal__dialog {
  background: var(--cream-bg);
  border-radius: 18px;
  box-shadow: 0 12px 48px 8px rgba(96,94,80,0.17);
  padding: 38px 30px 30px 34px;
  width: 96vw; max-width: 445px;
  color: var(--primary);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal__close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 2.1em;
  color: var(--retro-orange);
  background: none;
  border-radius: 50%;
  width: 38px; height: 38px;
  transition: background .17s, color .14s;
  cursor: pointer;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #fff6e7;
  color: var(--retro-brown);
}
.cookie-modal__title {
  font-size: 1.3em;
  color: var(--retro-brown);
  font-family: var(--font-display);
  font-weight: 700;
}
.cookie-modal__list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 10px 0;
  font-size: 1.04em;
}
.cookie-modal__item {
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 8px;
  background: var(--accent);
  padding: 7px 14px;
  line-height: 1.5;
}
.cookie-modal__toggle {
  margin-left: auto;
  width: 36px; height: 20px;
  border-radius: 11px;
  background: #dec6a9;
  position: relative;
  transition: background .18s;
  cursor: pointer;
}
.cookie-modal__toggle[data-enabled="true"] {
  background: var(--retro-green);
}
 
.cookie-modal__desc {
  color: #472f13;
  opacity: 0.85;
  font-size: 0.97em;
}

/* Hide banner/modal by default */
.cookie-banner, .cookie-modal {display:none;}
.cookie-banner.active, .cookie-modal.open {display: flex;}

/* ==========================================================
   MAP PLACEHOLDER
========================================================== */
.map-placeholder {
  background: var(--accent);
  padding: 26px 13px;
  border-radius: 14px;
  margin-top: 20px;
  box-shadow: 0 4px 18px rgba(80,60,28,.09);
  color: var(--primary);
  font-weight: 500;
  font-family: var(--font-display);
  border: 1.5px dashed var(--retro-brown);
  text-align: center;
}

/* ==========================================================
   RETRO PATTERNS & NOSTALGIC ELEMENTS
========================================================== */
.hero-section, .about-section, .features-section, .services-section, .testimonials-section {
  position: relative;
}
 
 
 

/* ==========================================================
   RESPONSIVE & LAYOUT ADJUSTMENTS
========================================================== */
@media (max-width: 1120px) {
  .container {max-width: 98vw;}
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .post-list, .team-profiles-grid {flex-direction: column; gap: 20px;}
}
@media (max-width: 768px) {
  /* Nav/Logo vertical */
  header .container {
    flex-direction: row;
    gap: 12px;
    height: 60px;
    min-height: 60px;
    padding-top: 7px; padding-bottom: 7px;
  }
  header img {height: 36px;}

  .hero-section, .section, .features-section, .about-section, .about-summary, .services-section, .testimonials-section, .courses-section, .gallery-section, .blog-section, .contact-section, .newsletter-section, .faq-section, .unique-section, .legal-section, .thank-you-section {
    padding: 22px 4vw;
  }
  .container {padding-left:8px; padding-right: 8px;}
  .feature-grid, .service-list, .post-list, .team-profiles-grid, .quick-tips-grid {
    flex-direction: column;
    gap:16px;
  }
  .content-grid, .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .about-section, .services-section {padding-bottom: 34px;}
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .faq-list {gap: 13px;}
  .card-container {gap:13px;}
  .card {margin-bottom: 12px;}
  .testimonial-card {gap:12px;padding:14px;}
}

@media (max-width: 520px) {
  h1 {font-size: 2em;}
  h2 {font-size: 1.18em;}
  .newsletter-signup strong {font-size: 1em;}
  .footer-logo img {height: 31px;}
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 17px 6vw 17px 8vw;
    font-size: 0.99em;
  }
  .cookie-banner__actions {
    gap: 10px;
    flex-wrap: wrap;
  }
  .mobile-menu {font-size: 0.98em;}
  .cookie-modal__dialog {padding: 18px 8px 17px 11px;}
}

/* ==========================================================
   MISCELLANEOUS & FORMATTING
========================================================== */
::-webkit-scrollbar {width:11px;background:#dec69b;border-radius:6px;}
::-webkit-scrollbar-thumb {background:#c8a86a;border-radius:8px;}
::-webkit-scrollbar-thumb:hover {background:#b48c45;}

hr {
  border:none;
  border-bottom:2.5px dashed var(--accent);
  margin: 40px 0 30px 0;}

/* For lists */
ul, ol {
  margin: 0 0 1.2em 1.1em;
  padding-left: 1em;
}
ul li, ol li {
  margin-bottom: 0.6em;
  position: relative;
  padding-left: 1.1em;
  font-size: 1.05em;
  line-height: 1.6;
}
 

/* Table formatting (if any on policy/legal pages) */
table {width:100%; border-collapse:collapse;margin-bottom:24px;}
th, td {padding:10px 6px;border-bottom:1px solid #f3e6d6;}
th {background:var(--accent);color:var(--retro-brown);}

/* Code/blockquote retro style */
blockquote {
  background: #F4EBC3;
  border-left: 5px solid var(--retro-brown);
  font-style: italic;
  color: #8f6121;
  margin: 16px 0;
  padding: 15px 24px;
  border-radius: 10px;
}

/* ==========================================================
   END OF STYLE CSS
=========================================================== */
