/* CSS RESET & BASELINE NORMALIZATION */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  font-size: 16px;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F7F4F0;
  color: #38322A;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
ul, ol {
  padding-left: 1.35em;
  margin-bottom: 1.5em;
}
ul {
  list-style: disc outside;
}
ol {
  list-style: decimal outside;
}
a {
  color: #12497F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B05A31;
  outline: none;
}
button, .btn-primary, .btn-secondary {
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background 0.20s, color 0.20s, box-shadow 0.20s, border 0.2s;
}

/* --- VINTAGE RETRO BRAND COLOR PALETTE --- */
:root {
  --blue: #12497F;
  --green: #1BB77C;
  --offwhite: #F0F5FB;
  --tan: #F5ECDD;
  --mustard: #EEC16E;
  --red: #B05A31;
  --brown: #6F4E37;
  --accent-bg: #F5ECDD;
  --font-main: 'Roboto', Arial, Helvetica, sans-serif;
  --font-display: 'Montserrat', 'Raleway', Arial, Helvetica, sans-serif;
}

/* RETRO DECORATIVE FONTS (IMPORT VIA GOOGLE FONTS IF NEEDED) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  color: #12497F;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 0 #EEC16E, 0 2px 12px #12497F22;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  text-shadow: 1px 1px 0 #B05A3111;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
strong {
  font-weight: bold;
  color: #6F4E37;
}
p {
  margin-bottom: 1.1em;
  font-size: 1.1rem;
  color: #38322A;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  background: var(--accent-bg);
  box-shadow: 0 4px 16px 0 #D7C5A266;
}
section.accent, .accent {
  background: #fff6e2;
  border: 2px dashed #B05A31;
}

/* --- CONTAINERS & FLEX LAYOUTS --- */
.container {
  width: 94%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 #6F4E3735;
  padding: 28px;
  margin-bottom: 20px;
  position: relative;
  border: 1.5px solid #B05A3121;
  min-width: 240px;
  flex: 1 1 280px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 #12497F32;
}
.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: 20px 28px 20px 28px;
  border-radius: 16px;
  background: #fff;
  border: 2px dotted #EEC16E;
  box-shadow: 0 2px 10px 0 #B05A3160;
  margin-bottom: 20px;
  position: relative;
  max-width: 550px;
  min-width: 220px;
}
.testimonial-details {
  color: #1BB77C;
  font-size: 1.1em;
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
.star-rating {
  font-family: var(--font-display);
  color: #EEC16E;
  font-size: 1.4em;
  filter: drop-shadow(0 1px 1px #12497F33);
  letter-spacing: 0.08em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO SECTION AND TOP AREA --- */
.hero {
  background: repeating-linear-gradient(135deg, #F5ECDD 0 10px, #F0F5FB 10px 24px);
  border: 4px double #EEC16E;
  text-align: center;
}
.hero h1 { color: #B05A31; }
.hero .btn-primary {
  margin: 0 auto;
  display: inline-block;
}

/* --- LISTS, FILTERS, TAGS, RATINGS --- */
.filters, .tags-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  margin-bottom: 18px;
}
.filters span, .tags-filter span {
  font-size: 0.99em;
  font-family: var(--font-display);
  color: #6F4E37;
}
.filters button, .tags-filter button {
  background: #EEC16E;
  color: #6F4E37;
  border-radius: 7px;
  border: none;
  padding: 5px 18px;
  font-size: 1em;
  font-family: var(--font-display);
  margin-bottom: 6px;
  transition: background 0.19s, color 0.19s;
  box-shadow: 0 1px 3px #B05A315a;
}
.filters button:hover, .tags-filter button:hover {
  background: #B05A31;
  color: #fff;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.search-bar input[type='text'] {
  background: #F0F5FB;
  border: 1.2px solid #EEC16E;
  border-radius: 6px;
  padding: 7px 12px;
  color: #38322A;
  width: 210px;
  transition: border-color 0.19s, box-shadow 0.18s;
  font-size: 1em;
}
.search-bar input[type='text']:focus {
  border-color: #12497F;
  outline: none;
  box-shadow: 0 1px 5px #B05A3116;
}

/***** BUTTON STYLES *****/
.btn-primary {
  background: #12497F;
  color: #fff8ef;
  font-family: var(--font-display);
  font-size: 1.18em;
  padding: 11px 32px;
  border-radius: 8px 28px 8px 28px;
  font-weight: bold;
  box-shadow: 0 2px 16px 0 #12497f26;
  border: 2.5px solid #EEC16E;
  margin-top: 8px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #F7F4F0;
  color: #12497F;
  border-color: #B05A31;
  box-shadow: 0 5px 24px #B05A3122;
}
.btn-secondary {
  background: #EEC16E;
  color: #12497F;
  font-family: var(--font-display);
  font-size: 1.15em;
  padding: 9px 28px;
  font-weight: 500;
  border-radius: 20px 6px 20px 6px;
  border: 2px solid #12497F33;
  margin-top: 8px;
  box-shadow: 0 1px 4px #6F4E3722;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #12497F;
  color: #fff8ef;
  border-color: #B05A31;
}

/* --- MOBILE NAVIGATION BURGER MENU --- */
.mobile-menu-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #EEC16E;
  border: none;
  color: #12497F;
  font-size: 2rem;
  padding: 7px 17px;
  border-radius: 10px;
  margin-left: auto;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  z-index: 1201;
  box-shadow: 0 1.5px 6px #B05A3126;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #B05A31;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(135deg, #F7F4F0 80%, #EEC16E 100%);
  z-index: 1202;
  transform: translateX(-110vw);
  transition: transform 0.35s cubic-bezier(.77,.2,.39,1.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 0 0 0;
  gap: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #B05A31;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  margin: 0 36px 10px 0;
  padding: 0 16px 3px 16px;
  border-radius: 9px;
  box-shadow: 0 2px 12px #B05A315a;
  z-index: 1209;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #EEC16E;
  color: #12497F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100vw;
  margin-top: 0;
  padding: 0 24px 0 42px;
}
.mobile-nav a {
  color: #12497F;
  font-family: var(--font-display);
  font-size: 1.35rem;
  border-radius: 8px;
  background: none;
  padding: 11px 0 11px 7px;
  transition: background 0.2s, color 0.20s, font-weight 0.13s;
  font-weight: 600;
  text-decoration: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #B05A31;
}

/* Hide navigation on mobile - show burger */
@media (max-width: 1099px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (min-width: 1100px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
    flex-direction: row;
    gap: 18px;
    align-items: center;
    justify-content: flex-end;
  }
  .main-nav a {
    color: #12497F;
    font-size: 1.11rem;
    font-family: var(--font-display);
    font-weight: 500;
    padding: 9px 14px;
    border-radius: 6px;
    transition: background 0.18s, color 0.19s, font-weight 0.15s;
    margin-bottom: 0;
  }
  .main-nav a.btn-primary {
    background: #EEC16E;
    color: #12497F;
    margin-left: 16px;
    border: 2px solid #B05A3133;
  }
  .main-nav a:hover, .main-nav a:focus {
    background: #B05A31;
    color: #fff;
    font-weight: 700;
  }
}

/* --- HEADER/LOGO --- */
header {
  width: 100%;
  background: #F5ECDD;
  border-bottom: 3px double #EEC16E;
  box-shadow: 0px 6px 32px 0 #12497f17;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: flex;
  align-items: center;
  padding: 0 6px;
}
.logo img {
  height: 48px;
  width: auto;
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: #12497F;
  color: #fffef7;
  padding: 33px 0 15px 0;
  margin-top: 60px;
  border-top: 5px double #EEC16E;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  font-size: 1.02em;
  color: #fff;
  margin-bottom: 16px;
  font-family: var(--font-display);
}
.footer-navigation a {
  color: #fff6e6;
  text-decoration: underline dotted #EEC16E 1.5px;
  margin: 0 2px;
  font-weight: 400;
  transition: color 0.18s, text-decoration-color 0.16s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: #EEC16E;
  text-decoration-color: #fff;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-top: 8px;
  font-size: 1.07em;
  color: #EFE5C0;
}
.footer-contact img {
  height: 33px;
  width: auto;
  margin-right: 3px;
}
.footer-contact a {
  color: #EEC16E;
  text-decoration: underline;
  font-weight: 500;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #fff;
}
.copyright {
  text-align: center;
  font-size: 0.99em;
  margin-top: 18px;
  letter-spacing: 0.01em;
  color: #EEC16ECC;
  font-family: var(--font-display);
}

/* --- SECTION/CLASS-SPECIFIC --- */
.hero, .section, .about-block, .team-block, .approach-block, .courses-list, .learning-paths, .certification-info, .certificates-section, .certificates-process, .testimonials-section, .submit-opinion, .blog-listing, .blog-highlights, .cta-section, .about-preview, .services, .features, .testimonials, .blog-preview, .privacy-section, .rodo-section, .terms-section, .cookies-section, .contact-section, .contact-info, .faq-section, .thankyou-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.features ul,
.services ul,
.about-preview ul,
.team-block ul,
.learning-paths ul,
.certification-info ul,
.certificates-section ul,
.certificates-process ul,
.blog-listing ul,
.blog-highlights ul,
.faq-accordion {
  margin-top: 8px;
  margin-bottom: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features ul li, .services ul li, .team-block ul li, .learning-paths ul li, .certification-info ul li, .certificates-section ul li, .certificates-process ul li, .blog-listing ul li, .blog-highlights ul li, .faq-accordion h3, .faq-accordion p {
  font-size: 1.05em;
  font-family: var(--font-main);
}
.features ul li,
.services ul li, .contact-info ul li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-weight: 500;
  color: #6F4E37;
  padding: 7px 5px;
  background: #fff6e27a;
  border-radius: 5px;
  margin-bottom: 0;
}
.features ul li img, .services ul li img, .contact-info ul li img {
  height: 25px; width: 25px;
  object-fit: contain;
  margin-top: 1px;
}

/**** TESTIMONIALS AND RATINGS ****/
.testimonials, .testimonials-section {
  background: #fff6e2;
  border: 2.2px dashed #EEC16E;
}
.ratings-summary {
  margin-top: 8px;
  font-size: 1.03em;
  color: #12497F;
  font-weight: bold;
  font-family: var(--font-display);
}

/**** ACCORDION (FAQ) ****/
.faq-accordion {
  width: 100%;
  max-width: 650px;
  padding: 0;
}
.faq-accordion h3 {
  font-size: 1.16em;
  background: #EEC16E;
  color: #6F4E37;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  padding: 7px 20px;
  margin: 0;
  border-bottom: 1.5px dotted #B05A31;
  transition: background 0.13s;
}
.faq-accordion h3:hover, .faq-accordion h3:focus {
  background: #B05A31;
  color: #FFF8EF;
}
.faq-accordion p {
  background: #fff6e2;
  color: #38322A;
  padding: 8px 20px 12px 20px;
  border-radius: 0 0 8px 8px;
  margin-bottom: 6px;
  font-size: 1em;
}

/* --- MISC/UTILITIES --- */
.accent {
  border: 3px dashed #EEC16E;
  background: #FFF8EF;
}
.highlight {
  background: #EEC16E;
  color: #6F4E37;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: bold;
}
ul li strong {
  color: #B05A31;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

/* --- RESPONSIVE DESIGN: MOBILE-FIRST, ADAPTIVE LAYOUTS --- */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.35rem; }
  .container {
    width: 99%;
    min-width: 0;
    padding: 0 2vw;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-contact {
    flex-direction: column;
    gap: 9px;
  }
  .about-block, .team-block, .approach-block, .courses-list, .learning-paths, .certification-info, .certificates-section, .certificates-process, .testimonials-section, .submit-opinion, .blog-listing, .blog-highlights, .cta-section, .about-preview, .services, .features, .testimonials, .blog-preview, .privacy-section, .rodo-section, .terms-section, .cookies-section, .contact-section, .contact-info, .faq-section, .thankyou-section {
    padding: 28px 6px;
    margin-bottom: 44px;
  }
  .card {
    min-width: 85vw;
    padding: 16px;
  }
  .testimonial-card {
    min-width: unset;
    max-width: 97vw;
    padding: 13px 5vw 13px 5vw;
  }
  .hero {
    padding: 32px 7px;
  }
}

/**** COOKIE CONSENT BANNER FIXED ****/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff6e2;
  border-top: 2.5px dashed #EEC16E;
  box-shadow: 0 -2px 12px 0 #B05A3160;
  z-index: 1500;
  padding: 17px 12px 19px 12px;
  gap: 15px;
  font-size: 1.03em;
  font-family: var(--font-main);
}
.cookie-banner.show { display: flex; }
.cookie-banner.hide { display: none; }
.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}
.cookie-btn {
  background: #EEC16E;
  color: #6F4E37;
  padding: 8px 24px;
  border-radius: 8px 20px 8px 20px;
  font-family: var(--font-display);
  font-size: 1.04em;
  border: 2px solid #B05A3170;
  margin: 0;
  box-shadow: 0 1px 4px #B05A3122;
  transition: background 0.17s, color 0.18s;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #B05A31;
  color: #fff;
}

/**** COOKIE PREFERENCES MODAL ****/
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55%) scale(0.98);
  z-index: 1701;
  background: #fff6e2;
  border: 2.2px double #EEC16E;
  box-shadow: 0 6px 40px #12497F66;
  padding: 34px 30px 22px 30px;
  border-radius: 20px;
  max-width: 97vw;
  min-width: 320px;
  display: none;
  flex-direction: column;
  gap: 18px;
  font-family: var(--font-main);
  color: #38322A;
}
.cookie-modal.active {
  display: flex;
  animation: pop-in-modal 0.33s cubic-bezier(.42,-0.01,.38,1.07);
}
@keyframes pop-in-modal {
  0% { opacity: 0; transform: translate(-50%,-60%) scale(0.93); }
  100% { opacity: 1; transform: translate(-50%,-55%) scale(1); }
}
.cookie-modal__header {
  font-family: var(--font-display);
  color: #B05A31;
  font-weight: bold;
  font-size: 1.33em;
  margin-bottom: 8px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 12px 0 0 0;
}
.cookie-modal__category label {
  font-size: 1em;
  color: #6F4E37;
  font-family: var(--font-display);
}
.cookie-category-toggle {
  accent-color: #12497F;
  width: 1.23em;
  height: 1.23em;
}
.cookie-modal__actions {
  display: flex;
  gap: 15px;
  margin-top: 12px;
}
.cookie-modal__close {
  position: absolute;
  top: 7px; right: 18px;
  color: #B05A31;
  background: transparent;
  font-size: 2rem;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 8px;
  transition: background .13s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #EEC16E;
  color: #12497F;
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.2s, color 0.2s, box-shadow 0.19s, border 0.17s;
}
.card, .testimonial-card {
  transition: box-shadow 0.23s;
}
.card:active, .testimonial-card:active {
  box-shadow: 0 1px 3px 0 #12497F22;
}
.mobile-menu {
  transition: transform 0.35s cubic-bezier(.77,.2,.39,1.02);
}
.mobile-menu .mobile-nav a {
  transition: background 0.22s, color 0.15s;
}

/* --- RETRO & NOSTALGIC DETAILS (PATTERNS/BORDERS) --- */
.section, .card, .testimonial-card, .cookie-modal {
  background-image: repeating-linear-gradient(135deg, #FFFFFF0D 0 11px, transparent 12px 32px);
}

/* --- BREADTH & SPACING --- */
.section, section, .card, .testimonial-card {
  margin-bottom: 60px;
}
.card, .testimonial-card {
  margin-bottom: 20px;
}
.card-container, .content-grid, .text-image-section, .testimonial-card, .feature-item {
  gap: 20px;
}

/* --- GENERAL UTILITY CLASSES --- */
.text-center { text-align: center !important; }
.align-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

/***** FORMS (when present) *****/
input[type="text"], input[type="email"], textarea {
  font-family: var(--font-main);
  border-radius: 6px;
  border: 1.2px solid #EEC16E;
  background: #fff;
  padding: 7px 14px;
  color: #2B2A29;
  margin-bottom: 14px;
  font-size: 1.05em;
  width: 100%;
  transition: border-color 0.14s, box-shadow 0.13s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #12497F;
  outline: none;
  box-shadow: 0 0 0 1.5px #B05A3145;
}
label {
  font-family: var(--font-display);
  color: #6F4E37;
  font-size: 1.05em;
}

/**** REMOVE GRID/COLUMN LAYOUTS (MANDATORY FORBIDDEN) ****/
/* No display:grid, grid-* or columns used anywhere in this file */
