/* ===== CSS RESET & NORMALIZATION ===== */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100vh;
  background: #FAF3E3;
  color: #254358;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.8;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #A07A2C;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B6985A;
  text-decoration: none;
}
ul, ol {
  margin-left: 24px;
}
ul li, ol li {
  margin-bottom: 12px;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ===== VINTAGE RETRO BRAND COLOR VARIABLES ===== */
:root {
  --primary: #254358;
  --secondary: #F4F6F8;
  --accent: #A07A2C;
  --accent-light: #B6985A;
  --offwhite: #FFFDF8;
  --brown: #7F674D;
  --blue: #376175;
  --salmon: #F7CDA9;
  --peach: #FBE6B0;
}

/* ===== TYPOGRAPHY ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--primary);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  text-shadow: 1px 1px 0 #fff, 2px 2px 0 #F7CDA9;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  text-shadow: 1px 1px 0 #fff, 1px 1px 0 #F7CDA9;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  text-shadow: 1px 1px 0 #fff, 0 1px 0 #FBE6B0;
}
p {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #254358;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}
.badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 2px 10px;
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: 1px 1px 3px #b6985a22;
  letter-spacing: 1px;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  background: #FFFDF8;
  border-radius: 20px;
  padding: 40px 24px;
  box-shadow: 0 8px 32px #ebe3d7a8, 0 2px 4px #faf3e340;
  margin-bottom: 40px;
  position: relative;
}

/* ===== CRITICAL SPACING/ALIGNMENT (.section, .card, .card-container, etc) ===== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: repeating-linear-gradient(135deg, var(--peach) 0px, var(--peach) 16px, #fffdf8 18px, #fffdf8 34px);
  border-radius: 24px;
  box-shadow: 0 4px 24px #e3dabfa3;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  background: #fffdf9;
  border-radius: 16px;
  box-shadow: 0 3px 12px #dac5ac11, 0 1px 2px #a07a2c0f;
  padding: 24px 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 250px;
  max-width: 350px;
}
.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;
  background: var(--secondary);
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px #a07a2c18;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--primary);
  padding: 0;
  border-bottom: 5px solid var(--accent);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 35px;
}
header nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1.2px;
  text-decoration: none;
  padding: 10px 0 6px 0;
  transition: color 0.25s;
  text-shadow: 1px 1px 0 #fffdf8;
}
header nav a:hover, header nav a:focus {
  color: var(--accent-light);
}
header a.cta-btn {
  margin-left: 26px;
}

/* ===== CTA BUTTONS ===== */
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  padding: 12px 34px;
  border-radius: 32px;
  border: 3px solid var(--primary);
  box-shadow: 0 3px 14px #a07a2c10;
  font-size: 1.15rem;
  letter-spacing: 1.2px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s, transform 0.14s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: #fffbe7;
  border-color: var(--accent);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px #25435833;
}

/* ===== MOBILE BURGER MENU ===== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 18px;
  z-index: 998;
  width: 52px;
  height: 52px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 2.2rem;
  border: none;
  box-shadow: 0 2px 10px #A07A2C22;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.mobile-menu-toggle:active {
  background: var(--primary);
  transform: scale(0.95);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F4F6F8;
  box-shadow: 4px 0 32px #A07A2C22;
  z-index: 1200;
  padding: 48px 28px 0 28px;
  transform: translateX(-100vw);
  transition: transform 0.40s cubic-bezier(.7,.2,.13,.9);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 28px;
  background: none;
  color: var(--primary);
  font-size: 2.3rem;
  border: none;
  cursor: pointer;
  z-index: 1600;
  padding: 0 10px;
  transition: color 0.15s, background 0.18s;
}
.mobile-menu-close:hover {
  color: var(--accent);
  background: #ededed;
  border-radius: 5px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 38px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 18px 0 8px 4px;
  border-radius: 5px;
  letter-spacing: 1.1px;
  text-decoration: none;
  transition: background 0.19s, color 0.17s;
  min-width: 140px;
}
.mobile-nav a:hover {
  background: #f7cda988;
  color: var(--accent);
}

/* Hide main nav and show burger button on mobile */
@media (max-width: 1024px) {
  header nav, header a.cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===== MAIN HERO & SECTION STYLES ===== */
.hero {
  background: repeating-linear-gradient(135deg, #FBE6B0 0px, #FBE6B0 26px, #FAF3E3 28px, #FAF3E3 54px);
  border-bottom: 5px solid var(--accent);
  min-height: 340px;
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 50px 10px 20px 10px;
  text-align: center;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.6rem;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.28rem;
  color: #5F492B;
  margin-bottom: 32px;
}

/* ===== FEATURES GRID (INDEX, ABOUT, ETC) ===== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  justify-content: space-between;
}
.features-grid > div {
  background: #fffdf9;
  border-radius: 16px;
  box-shadow: 0 4px 14px #a07a2c12;
  padding: 24px 18px 20px 18px;
  flex: 1 1 210px;
  transition: transform 0.18s, box-shadow 0.18s;
  min-width: 215px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.features-grid > div:hover, .features-grid > div:focus-within {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 24px #a07a2c36;
}
.features-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 3px;
  filter: sepia(40%) contrast(1.1);
}

/* ===== COURSE OVERVIEW/LISTINGS ===== */
.course-overview {
  margin: 30px 0 18px 0;
}
.course-overview li {
  font-size: 1.13rem;
  margin-bottom: 13px;
  line-height: 1.6;
}
.course-overview span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--accent);
  font-weight: 700;
}
.course-listings {
  margin: 22px 0 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style-type: disc;
}
.course-listings li {
  min-width: 120px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  background: #F7CDA9;
  border-radius: 7px;
  padding: 7px 18px 7px 12px;
  margin-bottom: 5px;
  font-weight: 500;
  display: inline-block;
  box-shadow: 0 2px 6px #f7cda91c;
}

/* ===== ABOUT, GALLERI, BLOGG - ARTICLE & LISTS ===== */
.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.article-list article {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px #c0b19721;
  padding: 22px 20px;
  min-width: 230px;
  max-width: 340px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.16s, transform 0.15s;
}
.article-list article:hover {
  box-shadow: 0 8px 18px #b6985a36;
  transform: translateY(-5px) scale(1.014);
}
.article-list article a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--accent);
  font-weight: bold;
  font-size: 0.98rem;
  text-decoration: underline;
}

/* ===== TESTIMONIAL STYLES ===== */
.testimonial-card {
  background: #fff;
  color: #254358;
  border-left: 8px solid var(--accent);
  border-radius: 16px;
  box-shadow: 0 3px 12px #b6985a18;
  margin-bottom: 24px;
  padding: 28px 32px 22px 32px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}
.testimonial-card strong {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #20424d;
  font-size: 1rem;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 26px;
}
.star-ratings {
  font-size: 1.45rem;
  color: var(--accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-top: 12px;
  margin-bottom: 16px;
}

/* ===== CARDS & TRUST SEALS ===== */
.trust-seals {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.trust-seals img {
  width: 40px;
  height: 40px;
}

/* ===== CONTACT STYLE ===== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 25px 8px 24px 8px;
}
.contact-details > div {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  gap: 12px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.98rem;
  color: #5F492B;
}
.contact-info img {
  margin-right: 6px;
  vertical-align: middle;
}

/* ===== FOOTER ===== */
footer {
  background: repeating-linear-gradient(135deg, #376175 0 30px, #254358 30px 60px);
  color: #fffbe7;
  padding: 0 0 2px 0;
  border-top: 5px solid var(--accent);
}
footer p {
  color: white;
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 38px;
  padding: 26px 14px 18px 14px;
}
.footer-brand img {
  max-height: 70px;
  filter: sepia(0.2) contrast(1.2) saturate(0.9);
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #fffbe7;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 4px;
  transition: color 0.2s;
}
footer nav a:hover,
footer nav a:focus {
  color: var(--accent-light);
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #f6ecda;
  color: #4d3926;
  border-top: 3px solid var(--accent);
  box-shadow: 0 -4px 24px #a07a2c34;
  z-index: 3000;
  padding: 22px 12px 22px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  transition: transform 0.38s cubic-bezier(.7,.42,.13,.98);
}
.cookie-consent-banner.hide {
  transform: translateY(130%);
  pointer-events: none;
}
.cookie-consent-banner p {
  margin: 0 0 0 0;
  color: #4d3926;
  font-size: 1rem;
}
.cookie-consent-banner .cookie-btn {
  display: inline-block;
  margin: 0 8px;
  padding: 10px 22px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #fffbe7;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 2px 8px #a07a2c13;
  transition: background 0.17s, color 0.18s, border 0.17s, transform 0.16s;
}
.cookie-consent-banner .cookie-btn.settings {
  background: #fbe6b0;
  color: var(--primary);
  border-color: var(--accent-light);
}
.cookie-consent-banner .cookie-btn:hover {
  background: var(--primary);
  color: #fffbe7;
  transform: translateY(-2px) scale(1.03);
}
.cookie-consent-banner .cookie-btn.settings:hover {
  background: var(--accent);
  color: #fff;
}

.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 93vw;
  max-width: 430px;
  background: #fffdf8;
  border: 3px solid var(--accent);
  border-radius: 20px;
  box-shadow: 0 8px 64px #a07a2c41;
  z-index: 3500;
  padding: 32px 28px 20px 28px;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: transform 0.28s, opacity 0.28s;
  display: none;
}
.cookie-modal.active {
  display: block;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.cookie-modal ul {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}
.cookie-modal ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
  font-size: 1.04rem;
}
.cookie-modal .cookie-category-toggle {
  accent-color: var(--accent);
  width: 21px;
  height: 21px;
  border-radius: 4px;
  border: 1.5px solid var(--accent-light);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 17px;
}
.cookie-modal .cookie-btn-small {
  background: var(--accent-light);
  color: #fff;
  font-family: 'Montserrat';
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 16px;
  border: 2px solid var(--accent);
  transition: background 0.12s, color 0.12s;
  cursor: pointer;
}
.cookie-modal .cookie-btn-small:hover {
  background: var(--primary);
  color: #fffbe7;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  color: var(--accent);
  font-size: 1.7rem;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: color 0.12s;
}
.cookie-modal .close-modal:hover {
  color: var(--primary);
}

/* ===== RESPONSIVE DESIGN (MOBILE-FIRST) ===== */
@media (max-width: 1024px) {
  .container, header .container, footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    min-width: 0;
    padding: 0 10px;
  }
  .content-wrapper, .section {
    border-radius: 12px;
    padding: 34px 11px;
  }
  .features-grid {
    flex-direction: column;
    gap: 17px;
  }
  .features-grid > div {
    max-width: 100%;
  }
  .article-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 10px 10px 10px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .hero {
    min-height: 220px;
  }
  .hero h1 {
    font-size: 1.4rem;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-brand img {
    max-height: 56px;
  }
}

@media (max-width: 480px) {
  .content-wrapper, .section {
    padding: 18px 3px;
    border-radius: 7px;
  }
  .card, .features-grid > div, .article-list article {
    padding: 12px 7px;
    min-width: unset;
  }
  .hero .content-wrapper {
    padding: 34px 3px 13px 3px;
  }
}

/* ===== VISUAL NOSTALGIC/RETRO TOUCHES ===== */
.section, .content-wrapper, .card, .features-grid > div, .article-list article, .testimonial-card {
  border: 2px solid #decda7;
  border-image: repeating-linear-gradient(135deg, #FBE6B0 0 10px, #A07A2C 10px 18px, #fff 18px 26px) 8;
  box-shadow: 0 2px 12px #DAC5AC14, 0 1.5px 7px #A07A2C0B;
}
.section {
  background: repeating-linear-gradient(45deg, #FAF3E3, #FBE6B0 18px, #FAF3E3 36px);
}
.content-wrapper {
  background: repeating-linear-gradient(-45deg, #FFFDF8, #F7CDA9 15px, #FFFDF8 40px);
}

/* ===== MICRO-INTERACTIONS & TRANSITIONS ===== */
.card, .features-grid > div, .article-list article, .testimonial-card, .cta-btn,
.cookie-consent-banner .cookie-btn, .mobile-nav a {
  transition: box-shadow 0.19s, transform 0.14s, background 0.14s, color 0.14s, border 0.16s;
}
.card:focus-within, .features-grid > div:focus-within, .testimonial-card:focus-within {
  box-shadow: 0 10px 30px #A07A2C1F, 0 2px 7px #A07A2C1B;
  border-color: var(--accent);
}

@media (hover: none) and (pointer: coarse) {
  a, .cta-btn, .cookie-consent-banner .cookie-btn {
    touch-action: manipulation;
  }
}

/* ===== UTILITY CLASSES ===== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.hide { display: none !important; }

/* ===== END ===== */
