/* --- 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;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background-color: #F4F6FC;
  color: #232323;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #205185;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #BEA767;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

/* --- FONT FACE --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&family=Open+Sans:wght@400;600&display=swap');

/* --- COLOR VARIABLES WITH FALLBACKS --- */
:root {
  --primary: #1B264F;
  --secondary: #3891A6;
  --accent: #F4F6FC;
  --header-bg: #F4F6FC;
  --footer-bg: #171E37;
  --footer-text: #EDEBF6;
  --gold: #BEA767;
  --card-bg: #fff;
  --box-shadow: 0 4px 20px rgba(27,38,79,0.08);
  --radius: 16px;
}

/* --- TYPOGRAPHY SCALE --- */
h1, .h1 {
  font-family: 'Roboto Slab', serif;
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.17;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
h2, .h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h3, .h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}
h4, .h4 {
  font-size: 1.1rem;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  color: var(--secondary);
}

p, li, span, td, th {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #232323;
  font-size: 1rem;
  font-weight: 400;
}
strong, b {
  font-weight: 700;
  color: var(--primary);
}
em, i {
  color: var(--secondary);
}

/* --- LUXURY-PREMIUM BUTTON & LINK STYLES --- */
.cta-button, .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-family: 'Roboto Slab', serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 40px;
  border: 2px solid var(--gold);
  margin-top: 16px;
  box-shadow: 0 2px 10px rgba(190,167,103,0.10);
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.cta-button:hover, .nav-cta:hover,
.cta-button:focus, .nav-cta:focus {
  background: var(--gold);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(27,38,79,0.18);
  transform: translateY(-2px) scale(1.03);
}

nav a {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  border-radius: 24px;
  color: var(--primary);
  margin-right: 4px;
  transition: background 0.2s, color 0.2s;
}
nav a:last-child {
  margin-right: 0;
}
nav a:hover, nav a:focus {
  background: var(--gold);
  color: var(--primary);
}
.nav-cta {
  background: var(--gold);
  color: var(--primary);
  border: 2px solid var(--gold);
  margin-left: 20px;
  font-weight: 800;
}
.nav-cta:hover, .nav-cta:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* --- HEADER --- */
header {
  background: var(--header-bg);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  box-shadow: 0 2px 12px rgba(27,38,79,0.05);
  z-index: 100;
  position: relative;
}
header > a {
  display: flex;
  align-items: center;
}
header img {
  height: 48px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Hide mobile menu toggle by default */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--primary);
  background: none;
  border: none;
  margin-left: 16px;
  padding: 0 10px;
  border-radius: 50%;
  transition: background 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ebe1c7;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27,38,79,0.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.7,0,0.3,1);
  box-shadow: -6px 0 28px rgba(27,38,79,0.26);
  padding: 32px 22px 22px 22px;
  overflow-y: auto;
  width: 100%;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: var(--gold);
  background: transparent;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 50%;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(255,255,255,0.14);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #fff;
  background: none;
  padding: 12px 4px 12px 12px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--gold);
  color: var(--primary);
}

/* --- GENERAL CONTAINER AND SECTION SPACING --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.section,
.hero,
.features,
.services,
.testimonials,
.cta-section,
.about-section,
.team-section,
.philosophy-section,
.courses-overview,
.course-features,
.comparison-table,
.mentoring-hero,
.mentoring-benefits,
.mentoring-workflow,
.certificate-hero,
.certificate-benefits,
.certificate-process,
.faq-section,
.contact-cta-section,
.contact-section,
.thankyou-section,
.privacy-policy,
.gdpr-section,
.cookie-policy,
.terms-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
}
.content-wrapper {
  display: flex; flex-direction: column; gap: 28px;
}

/* --- CARD & FLEX GROUPS --- */
.card-container, .service-cards, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card, .service-card {
  background: var(--card-bg);
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  padding: 30px 28px 22px 28px;
  border: 1.5px solid #ebe1c7;
  min-width: 230px;
  flex: 1 1 290px;
  transition: box-shadow 0.25s, transform 0.12s;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover, .service-card:hover, .card:focus-within, .service-card:focus-within {
  box-shadow: 0 8px 32px rgba(190,167,103,0.21);
  border-color: var(--gold);
  transform: translateY(-5px) scale(1.025);
}

/* --- FLEXBOX PATTERNS ENFORCED --- */
.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: #fff;
  border: 1.5px solid #ebe1c7;
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(190,167,103,0.06);
  color: #212121;
  font-size: 1.08rem;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  flex: 1;
  color: #232323;
  margin-right: 20px;
}
.testimonial-card span {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  color: var(--secondary);
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(27,38,79,0.13);
  border-color: var(--gold);
}
 .feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(98deg, #ebe1c7 8%, var(--accent) 78%);
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 48px;
  padding-bottom: 48px;
  box-shadow: 0 2px 16px rgba(190,167,103,0.06);
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-size: 2.7rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.26rem;
  color: var(--primary);
}

.features ul, .services ul, .mentoring-benefits ul, .team-section ul, .about-section ul, .philosophy-section ul, .certificate-benefits ul, .course-features ul, .mentoring-workflow ol, .certificate-process ol {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.features ul li, .services ul li, .mentoring-benefits ul li, .team-section ul li,
.about-section ul li, .philosophy-section ul li, .certificate-benefits ul li,
.course-features ul li, .mentoring-workflow ol li, .certificate-process ol li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 0;
  font-size: 1.08rem;
  color: var(--primary);
  background: none;
  line-height: 1.5;
}
.features ul li img, .mentoring-benefits ul li img, .contact-details p img {
  width: 26px;
  height: 26px;
  margin-right: 8px;
}

/* --- TABLE DESIGN (COURSE COMPARISON) --- */
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 14px rgba(27,38,79,0.05);
  overflow: hidden;
  margin-top: 10px;
}
.comparison-table th, .comparison-table td {
  padding: 16px 14px;
  border-bottom: 1px solid #ebe1c7;
  text-align: left;
  color: #232323;
  font-size: 1rem;
}
.comparison-table th {
  background: #ebe1c7;
  color: var(--primary);
  font-family: 'Roboto Slab', serif;
  font-size: 1.08rem;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}

/* --- FAQ STYLES --- */
.faq-list h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--gold);
  margin-top: 16px;
}
.faq-list p {
  font-size: 1rem;
  color: #232323;
  margin-bottom: 10px;
}

/* --- CONTACT PAGE --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
}
.contact-info-text {
  margin: 14px 0 0 0;
  color: var(--primary);
  font-weight: 600;
}
.map-placeholder {
  margin: 26px 0 0 0;
  padding: 20px;
  border: 1.5px solid #ebe1c7;
  background: #fff;
  border-radius: var(--radius);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 10px rgba(27,38,79,0.07);
}
.map-placeholder span {
  color: var(--secondary);
  font-family: 'Roboto Slab', serif;
  font-size: 1.03rem;
}

/* --- THANK YOU PAGE --- */
.thankyou-section h1 {
  font-size: 2.3rem;
  color: var(--primary);
}
.thankyou-section p {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 24px;
}

/* --- FOOTER --- */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 38px 0 0 0;
  width: 100%;
}
.footer-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px 28px 18px;
  flex-wrap: wrap;
}
.footer-wrapper > a {
  display: flex;
  align-items: center;
}
.footer-wrapper img {
  height: 46px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--footer-text);
  font-weight: 500;
  font-size: 1rem;
  margin-right: 0;
  background: none;
  padding: 0;
  border: none;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--gold);
}
.footer-contact {
  color: var(--footer-text);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 10000;
  background: #232323;
  color: #fff;
  padding: 22px 16px 22px 16px;
  box-shadow: 0 -2px 18px rgba(27,38,79,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transition: transform 0.25s;
  font-size: 1.03rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 320px;
  font-size: 1rem;
}
span.cookie-text {
  color: wheat;
}
.cookie-banner .cookie-actions {
  display: flex; flex-direction: row; gap: 14px;
}
.cookie-btn {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 11px 22px;
  border-radius: 32px;
  border: 2px solid var(--gold);
  background: var(--primary);
  color: #fff;
  margin-right: 0;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.15s;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--gold);
  border-color: #fff;
}
.cookie-btn.accept {
  background: var(--gold);
  color: var(--primary);
  border-color: var(--gold);
}
.cookie-btn.reject {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  transform: translateY(-2px) scale(1.03);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--gold);
  color: var(--primary);
  border-color: var(--primary);
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11000;
  background: rgba(27,38,79,0.87);
  animation: fadeIn 0.32s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: var(--primary);
  padding: 44px 28px 36px 28px;
  border-radius: 26px;
  min-width: 320px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 6px 40px rgba(27,38,79,0.22);
  position: relative;
  animation: modalIn 0.33s cubic-bezier(0.6,0.1,0.1,1);
}
@keyframes modalIn {
  from { transform: translateY(-28px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  color: var(--primary);
  margin-bottom: 9px;
}
.cookie-modal-content ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal-content li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
}
.category-toggle {
  margin-left: auto;
  width: 45px;
  height: 24px;
  position: relative;
  display: inline-block;
}
.category-toggle input[type=checkbox] {
  opacity: 0; width: 0; height: 0;
}
.category-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ddd;
  border-radius: 30px;
  transition: background .25s;
}
.category-toggle input:checked + .category-slider {
  background-color: var(--gold);
}
.category-slider:before {
  content: '';
  position: absolute;
  left: 4px; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.22s;
}
.category-toggle input:checked + .category-slider:before {
  transform: translateX(18px);
  background: var(--primary);
}

.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  transition: background 0.1s;
  border-radius: 50%;
  padding: 4px 10px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ebe1c7;
}

/* --- MEDIA QUERIES (RESPONSIVENESS) --- */
@media (max-width: 1100px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 10px;
  }
  .footer-wrapper {
    padding: 0 10px 18px 10px;
  }
}
@media (max-width: 850px) {
  .card-container, .service-cards, .card-grid {
    flex-direction: column;
    gap: 24px;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    padding: 12px 10px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  main, .container {
    padding: 0 6px;
  }
  .section,
  .hero,
  .features,
  .services,
  .testimonials,
  .cta-section,
  .about-section,
  .team-section,
  .philosophy-section,
  .courses-overview,
  .course-features,
  .comparison-table,
  .mentoring-hero,
  .mentoring-benefits,
  .mentoring-workflow,
  .certificate-hero,
  .certificate-benefits,
  .certificate-process,
  .faq-section,
  .contact-cta-section,
  .contact-section,
  .thankyou-section,
  .privacy-policy,
  .gdpr-section,
  .cookie-policy,
  .terms-section {
    padding: 30px 6px;
    margin-bottom: 36px;
    border-radius: 13px;
  }
  .hero {
    padding-top: 28px;
    padding-bottom: 32px;
    min-height: unset;
    border-radius: 0;
  }
  .content-wrapper {
    padding: 0;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 7px;
    padding: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 13px;
  }
  .card, .service-card {
    min-width: 0;
    width: 100%;
    padding: 18px 12px 16px 14px;
    font-size: 1rem;
  }
  .map-placeholder {
    padding: 13px;
    flex-direction: column;
    gap: 8px;
  }
  .cookie-modal-content {
    padding: 27px 4vw 28px 4vw;
    min-width: 0;
  }
  .mobile-nav a {
    font-size: 1.05rem;
    padding: 10px 6px 10px 12px;
  }
}
@media (max-width: 520px) {
  h1, .h1 { font-size: 1.5rem; }
  h2, .h2 { font-size: 1.18rem; }
  .cookie-banner .cookie-text {
    font-size: 0.92rem;
  }
  .cookie-btn {
    font-size: 0.99rem;
    padding: 7px 10px;
  }
  .footer-contact {
    font-size: 0.89rem;
  }
}

/* --- MICRO-INTERACTIONS & SUBTLE ANIMATION --- */
.card, .service-card, .cta-button, .nav-cta, .testimonial-card, .feature-item, .cookie-btn {
  transition-property: box-shadow, border-color, transform, background, color;
  transition-duration: 0.21s;
  transition-timing-function: cubic-bezier(.25,.79,.52,1.22);
}

/* --- SHADOWS FOR LUXURY FEEL --- */
.card, .service-card, .testimonial-card, .cookie-modal-content, .map-placeholder {
  box-shadow: 0 1.5px 12px rgba(27, 38, 79, 0.07), 0 8px 34px rgba(190,167,103,0.04);
}

/* --- GOLD ACCENTS & PREMIUM DETAILS --- */
h1, h2, h3, h4, .cta-button, .nav-cta, .cookie-btn.accept {
  text-shadow: 0 1px 4px rgba(190,167,103,0.03);
}
nav a, .footer-contact span, .about-section ul li strong, .team-section ul li strong {
  transition: color 0.16s, background 0.18s;
}
hr {
  border: 0;
  height: 1.5px;
  background: var(--gold);
  margin: 28px 0;
}
::-webkit-scrollbar {
  width: 11px;
  background: #ebe1c7;
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 8px;
}
/* End of luxury-premium flexbox CSS for CodeKompass */
