/* ===== CSS RESET & NORMALIZE ===== */
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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  min-height: 100%;
  background: #f1efe6;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F1EFE6;
  color: #443527;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  letter-spacing: 0.3px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #00796b;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #bf360c;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  padding-left: 0.8em;
  margin-top: 12px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 700;
  color: #253858;
}
h1 {
  font-size: 40px;
  line-height: 1.12;
  margin-bottom: 20px;
}
h2 {
  font-size: 28px;
  line-height: 1.18;
  margin-bottom: 18px;
}
h3 {
  font-size: 22px;
  line-height: 1.20;
  margin-bottom: 13px;
}
h4 {
  font-size: 18px;
  margin-bottom: 10px;
}
p {
  margin-bottom: 14px;
}
strong, b {
  font-weight: 700;
}
/* ===== RETRO VINTAGE COLORS & FONTS ===== */
:root {
  --vintage-primary: #253858;
  --vintage-accent: #ef8e38;
  --vintage-bg: #F1EFE6;
  --vintage-dark-bg: #f8eacc;
  --vintage-secondary: #ffffff;
  --vintage-heading: #5E3023;
  --vintage-muted: #b89d69;
  --brand-primary: #253858;
  --brand-bg: #F1EFE6;
  --brand-accent: #ef8e38;
  --brand-link: #b12c2c;
  --brand-btn: #ef8e38;
  --brand-btn-hover: #c2670f;
  --brand-card-bg: #f9f6ef;
}

/* ===== LAYOUT STRUCTURE & CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== VINTAGE-RETRO DECOR ELEMENTS ===== */
.hero-section, .cta-section {
  background: repeating-linear-gradient(-45deg, #f8eacc 0 14px, #f1efe6 14px 28px);
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 40px 16px;
  box-shadow: 0 7px 28px 0 rgba(89,63,37,0.07), 0 1.5px 4px rgba(92,52,11,0.11);
}
.hero-section h1,
.hero-section h2,
.cta-section h2 {
  color: var(--vintage-heading);
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 1.1px;
  margin-bottom: 14px;
}
.hero-section p {
  font-size: 18px;
  color: #6a4d33;
  margin-bottom: 18px;
}
.hero-section .btn-primary,
.cta-section .btn-primary {
  margin-top: 6px;
}
/* ===== HEADER & NAVIGATION ===== */
header {
  background: #fff8ee;
  box-shadow: 0 2px 9px rgba(110, 64, 17, 0.06);
  border-bottom: 3px solid #fae0bb;
  position: sticky;
  top: 0;
  z-index: 60;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  margin-right: 12px;
}
.main-nav a {
  color: #965c27;
  padding: 7px 16px;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a.btn-primary {
  background: var(--brand-btn);
  color: #fff;
  font-weight: 700;
  letter-spacing: 1.2px;
  border-radius: 22px;
  box-shadow: 0 0.5px 2px rgba(206,160,93,0.15);
  margin-left: 8px;
  border: none;
  transition: background 0.18s, box-shadow 0.24s;
}
.main-nav a.btn-primary:hover,
.main-nav a.btn-primary:focus {
  background: var(--brand-btn-hover);
  color: #fff;
  box-shadow: 0 3px 18px rgba(206,160,93,0.18);
}
.main-nav a:hover, .main-nav a:focus {
  background: #fae0bb;
  color: #bf360c;
}
header img {
  height: 44px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 32px;
  color: var(--brand-primary);
  border: none;
  cursor: pointer;
  margin-left: 16px;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff8ef;
  box-shadow: 3px 0 12px rgba(42,25,2,0.13);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.7,0,.3,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 24px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 34px;
  color: #8d5524;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: #bf360c;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  font-size: 22px;
  color: #6a4d33;
  padding: 10px 0 10px 14px;
  border-left: 5px solid transparent;
  border-radius: 7px 0 0 7px;
  transition: background 0.18s, border-color 0.22s, color 0.14s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fbeedc;
  border-left: 5px solid var(--brand-btn);
  color: #bf360c;
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 14px;
    font-size: 16px;
  }
  header img {
    height: 38px;
  }
}
@media (max-width: 860px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 650px) {
  header .container {
    gap: 7px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
}

/* ===== VINTAGE BUTTONS ===== */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  background: var(--brand-btn);
  color: #fff;
  border-radius: 30px;
  border: none;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(195,134,44,0.08), 0 0.5px 2px rgba(195,134,44,0.07);
  margin-top: 8px;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.14s;
  position: relative;
  z-index: 1;
}
.btn-primary:active {
  background: #b36a03;
  box-shadow: none;
  transform: scale(0.97);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--brand-btn-hover);
  color: #fff4de;
  text-decoration: none;
  box-shadow: 0 3px 24px rgba(195,134,44,0.13), 0 2.5px 12px rgba(206,160,93,0.09);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: #5E3023;
  color: #fffbee;
}
.btn-secondary:hover {
  background: #965c27;
  color: #fff8ec;
}

/* ===== CARD & FLEX CONTAINERS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--brand-card-bg);
  box-shadow: 0 2px 12px #e8dbc2aa, 0 1.5px 6px #ceb17b28;
  border-radius: 17px;
  margin-bottom: 20px;
  position: relative;
  padding: 32px 26px;
  min-width: 230px;
  flex: 1 1 280px;
  transition: box-shadow 0.19s, transform 0.13s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 4px 32px #ccb18644,0 2px 16px #ccb1861a;
  transform: translateY(-3px) scale(1.01);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px 30px;
  margin-bottom: 22px;
  border-radius: 15px;
  box-shadow: 0 1.5px 9px #86643a12;
  border: 2px dashed #c09856;
  transition: box-shadow 0.24s, background 0.11s;
}
.testimonial-card:hover, .testimonial-card:focus{
  background: #f4e5be;
  box-shadow: 0 3px 18px #b5a17a2b;
}
.testimonial-card p {
  color: #2c180a;
  font-size: 19px;
}
.testimonial-meta {
  color: #5e3023;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.3px;
  font-size: 18px;
  margin-left: 7px;
}

/* Course Cards & Teacher Profiles */
.course-cards, .teacher-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.course-card, .teacher-profile {
  background: #fffdeb;
  border-radius: 14px;
  box-shadow: 0 3px 16px #dcb98712, 0 0.5px 2px #e5d39944;
  padding: 24px 18px 22px 18px;
  margin-bottom: 20px;
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 350px;
  transition: box-shadow 0.17s, background 0.15s;
  border: 1.5px solid #f4cc90;
}
.course-card:hover, .teacher-profile:hover {
  box-shadow: 0 8px 26px #b59e800e,0 3px 12px #c0985616;
  background: #faecce;
}

/* ===== INDEX PAGE SPECIAL FEATURES ===== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: flex-start;
  list-style: none;
}
.feature-grid li {
  background: #f5ecd3;
  border-radius: 13px;
  box-shadow: 0 3px 9px #decba820;
  padding: 22px 16px 16px 19px;
  min-width: 212px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  border-left: 7px solid #ef8e38;
  transition: background 0.15s, border 0.13s;
  border-bottom: 2px solid #d2b18442;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  background: #fff6e3;
  border-left: 7px solid #b36a03;
}
.feature-grid img {
  width: 41px;
  height: 41px;
  margin-bottom: 7px;
}
.feature-grid h3 {
  margin-top: 3px;
  margin-bottom: 7px;
  font-size: 19px;
  color: #5e3023;
}

/* ===== FAQ ACCORDION ===== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fffde7;
  border-radius: 12px;
  box-shadow: 0 1.5px 7px #ccb18618;
  padding: 18px 18px 4px 22px;
  margin-bottom: 8px;
  border-left: 7px solid #ef8e38;
}
.faq-item h2 {
  font-size: 20px;
  color: #bf360c;
  margin-bottom: 9px;
  cursor: pointer;
  transition: color 0.13s;
}
.faq-answer {
  font-size: 16px;
  color: #443527;
  margin-bottom: 10px;
  padding-left: 4px;
}

/* ===== FOOTER ===== */
footer {
  background: #f8dfbb;
  color: #5e3023;
  border-top: 6px double #ef8e38;
  padding: 42px 0 16px 0;
  margin-top: 55px;
  font-size: 17px;
  letter-spacing: 0.1px;
}
.footer-logo img {
  height: 42px;
  margin-bottom: 13px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 34px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #5e3023;
  font-size: 17px;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #bf360c;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
}
.footer-contact img {
  width: 18px;
  margin-right: 6px;
  vertical-align: middle;
  margin-bottom: 2px;
}
.footer-copy {
  width: 100%;
  text-align: right;
  font-size: 15px;
  color: #b98b4a;
  margin-top: 17px;
  letter-spacing: 0.5px;
}

/* ===== COOKIE CONSENT BANNER ===== */
#cookie-banner,
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  background: #efdcb6;
  color: #6d502d;
  box-shadow: 0 -1.5px 22px #b9985a23;
  padding: 24px 30px 22px 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  border-top: 3px solid #ef8e38;
  animation: cookieSlideIn 0.6s cubic-bezier(.8,0,.3,1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(90px); opacity: 0 }
  to   { transform: translateY(0); opacity: 1 }
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button {
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  margin: 0;
  outline: none;
  transition: background 0.16s, color 0.13s, box-shadow 0.14s;
}
.cookie-accept {
  background: #ef8e38;
  color: #fff;
  padding: 10px 28px;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #bf360c;
  color: #fffbee;
}
.cookie-reject {
  background: #e0ceaf;
  color: #5e3023;
  padding: 10px 22px;
}
.cookie-reject:hover {
  background: #c09856;
  color: #fff;
}
.cookie-settings {
  background: #fffbe8;
  color: #b36a03;
  padding: 10px 16px;
}
.cookie-settings:hover {
  background: #fae0bb;
  color: #bf360c;
}
/* Cookie Modal PopUp */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(28,17,3,0.36);
  z-index: 5001;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.23s;
  opacity: 1;
}
.cookie-modal-content {
  background: #fffbe7;
  color: #5e3023;
  border-radius: 26px 26px 0 0;
  width: 100%;
  max-width: 410px;
  padding: 36px 32px 28px 32px;
  margin-bottom: 0;
  box-shadow: 0 1.5px 22px #ccb18628, 0 0.5px 2px #e6c69322;
  animation: modalPopIn 0.35s cubic-bezier(.6,.05,.33,1.15);
  position: relative;
}
@keyframes modalPopIn {
  from { transform: translateY(200px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 28px;
  color: #7d5629;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.14s;
}
.cookie-modal-close:hover { color: #bf360c;}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 15px 0 13px 0;
}
.cookie-modal-content label {
  font-size: 17px;
}
.cookie-modal-content input[type=checkbox] {
  accent-color: #ef8e38;
  width: 19px;
  height: 19px;
}
/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .container { max-width: 97vw; }
  .section { padding: 26px 6px; }
  .hero-section, .cta-section { padding: 26px 6px; }
  footer .container {
    gap: 24px;
  }
  .feature-grid, .course-cards, .teacher-profiles {
    gap: 16px;
  }
}
@media (max-width: 660px) {
  h1 { font-size: 29px; }
  h2 { font-size: 21px; }
  h3 { font-size: 17px; }
  .hero-section, .cta-section { padding: 19px 4px; }
  .section { padding: 17px 3px; }
  .feature-grid,
  .course-cards, .teacher-profiles, .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card {
    padding: 13px 10px;
    font-size: 15.5px;
  }
  .footer-logo img {
    height: 33px;
  }
}
@media (max-width: 520px) {
  .cookie-banner, #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 7px 16px 7px;
    font-size: 15px;
  }
  .cookie-banner-buttons { gap: 7px; }
  .cookie-modal-content {
    padding: 23px 11px 17px 11px;
    max-width: 98vw;
  }
  .card, .course-card, .teacher-profile { min-width: 150px; padding: 16px 8px; }
  .testimonial-card { padding: 9px 4px; }
}

/* ===== MISC RETRO NOSTALGIA & EFFECTS ===== */
::-webkit-scrollbar {
  background: #f7dfb5;
  width: 9px;
  border-radius: 13px;
}
::-webkit-scrollbar-thumb {
  background: #ef8e38;
  border-radius: 13px;
}
/* Retro dotted underline for links */
a {
  text-decoration-skip-ink: none;
  text-underline-offset: 2.5px;
  border-bottom: 1.5px dotted #b89d69;
}
a:hover, a:focus {
  border-bottom: 2.5px solid #ef8e38;
}

/* ===== FORMATTED TEXT SECTIONS ===== */
.text-section {
  background: #fae0bb33;
  border-radius: 10px;
  padding: 15px 16px 15px 18px;
  margin-bottom: 25px;
  font-size: 17px;
  color: #443527;
  box-shadow: 0 0.5px 2px #e2cc9a22;
}
.contact-information, .contact-map {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.contact-information div img {
  width: 20px;
  vertical-align: middle;
  margin-right: 8px;
  margin-bottom: 2px;
}

/* ===== ANIMATIONS & MICRO-INTERACTIONS ===== */
.card, .course-card, .teacher-profile, .testimonial-card {
  transition: box-shadow 0.20s cubic-bezier(.5,.23,0,1.02), background 0.13s, transform 0.17s;
}
.btn-primary, .btn-secondary, .cookie-banner button {
  transition: background 0.15s,transform 0.14s,box-shadow 0.16s,color 0.13s;
}
.testimonial-card:hover {
  background: #f4e5be;
  box-shadow: 0 4px 18px #ccb1862a;
  transform: scale(1.01) translateY(-2px);
}

/* ===== UTILITIES ===== */
.d-none { display: none !important; }

/* ----- END OF CSS  ----- */
