/* CSS RESET & BASE STYLES ***************************************************/
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, main, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #181D23;
  color: #E8EAF0;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style-position: inside; }
ul { padding-left: 0; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button { cursor: pointer; }
:focus-visible {
  outline: 2px solid #FFB23B;
  outline-offset: 2px;
}

/************************* INDUSTRIAL MODERN TYPOGRAPHY **************************/
:root {
  --color-primary: #223359;
  --color-dark: #181D23;
  --color-secondary: #E8EAF0;
  --color-accent: #FFB23B;
  --color-metal: #5b667a;
  --color-metal-light: #9eb2cf;
}

@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', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  text-transform: none;
  color: #FFF;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.4rem; line-height: 1.3; }
h4, h5, h6 { font-size: 1.1rem; }
p, li, blockquote, label { color: #DDE0E4; font-size: 1rem; line-height: 1.7; }
strong, b { font-weight: 700; color: #FFB23B; }
blockquote {
  font-size: 1.15rem;
  font-style: italic;
  margin: 0 0 12px 0;
  color: #223359;
  background: var(--color-secondary);
  border-left: 4px solid var(--color-accent);
  padding: 16px 24px;
  border-radius: 4px;
}

/***************************** REUSABLE LAYOUTS ***********************************/
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1160px;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #222935;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(34,51,89,0.16), 0 1.5px 20px 0 rgba(90,80,45,0.07);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #202530;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(34,51,89,0.14);
  padding: 32px 24px;
  min-width: 260px; max-width: 360px;
  border: 1.5px solid #23272E;
  transition: box-shadow 0.18s, border-color 0.18s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(255,178,59,0.10), 0 2px 16px 0 rgba(34,51,89,0.22);
  border-color: #FFB23B;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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: #F5F7FA;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(34,51,89,0.12);
  margin-bottom: 20px;
  color: #223359;
  border-left: 6px solid #FFB23B;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/********************************** NAVIGATION ***********************************/
header {
  width: 100%;
  background: #161C22;
  border-bottom: 2px solid #223359;
  position: sticky;
  top: 0;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px 0;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
}
.main-nav > a {
  color: #E8EAF0;
  font-size: 1rem;
  position: relative;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
}
.main-nav > a:not(.button-primary):hover, .footer-nav a:hover {
  color: #FFB23B;
  background: #1E2531;
}
.main-nav img {
  height: 44px;
  margin-right: 16px;
}
.button-primary {
  background: #FFB23B;
  color: #223359;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  border-radius: 7px;
  padding: 10px 28px;
  margin-left: 16px;
  box-shadow: 0 2px 8px 0 rgba(255,178,59,0.13);
  border: 2px solid #FFB23B;
  transition: background 0.2s, color 0.2s, border-color 0.22s, box-shadow 0.18s;
  letter-spacing: 0.01em;
  position: relative;
}
.button-primary:hover, .button-primary:focus {
  background: #223359;
  color: #FFB23B;
  border-color: #223359;
  box-shadow: 0 4px 14px 0 rgba(255,178,59,0.21);
}
.button-secondary {
  background: #223359;
  color: #FFB23B;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  border-radius: 7px;
  padding: 10px 26px;
  border: 2px solid #223359;
  margin-left: 6px;
  transition: background 0.2s, color 0.2s, border-color 0.22s, box-shadow 0.18s;
  letter-spacing: 0.01em;
  box-shadow: 0 1.5px 7px 0 rgba(34,51,89,0.13);
  position: relative;
}
.button-secondary:hover, .button-secondary:focus {
  background: #FFB23B;
  color: #223359;
  border-color: #FFB23B;
  box-shadow: 0 2px 9px 0 rgba(255,178,59,0.20);
}

/*********************************** HERO ****************************************/
section:first-child {
  background: #223359;
  color: #FFB23B;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 8px 32px 0 rgba(34,51,89,0.19);
  margin-bottom: 64px;
  min-height: 330px;
  display: flex;
  align-items: center;
}
section:first-child h1 {
  color: #FFB23B;
  font-size: 2.4rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
  text-shadow: 0 1.5px 5px #1E2535;
  margin-bottom: 16px;
}
section:first-child p {
  color: #FFF8EC;
  font-size: 1.14rem;
  margin-bottom: 24px;
}

/********************************* FEATURES ****************************************/
ul li, ol li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0 0 11px 0;
  font-size: 1rem;
  color: #BDD5F6;
}
ul li img, ol li img {
  width: 28px;
  height: 28px;
  margin-right: 6px;
  filter: grayscale(30%) contrast(1.1) brightness(0.96);
}
ul, ol {
  margin-left: 0;
  margin-bottom: 18px;
}

/******************************* TESTIMONIALS ************************************/
.testimonial-card {
  background: #F5F7FC;
  color: #223359;
  border-left: 6px solid #FFB23B;
  box-shadow: 0 2px 12px 0 rgba(34,51,89,0.10);
  font-size: 1rem;
  margin-bottom: 20px;
  max-width: 600px;
  align-items: center;
  gap: 24px;
  position: relative;
}
.testimonial-card blockquote {
  color: #223359;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  padding: 0;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: #223359;
}

/******************************** FOOTER ******************************************/
footer {
  background: #1E232B;
  color: #B5B8BD;
  border-top: 2px solid #223359;
  padding: 32px 0 16px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 1260px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.12rem;
  color: #FFB23B;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 6px;
}
.footer-contact-brief {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #CDD5E5;
  font-size: 0.95rem;
}
.footer-contact-brief p img {
  width: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-social img {
  width: 32px;
  filter: grayscale(30%) contrast(1.1);
  transition: filter 0.14s;
}
.footer-social img:hover {
  filter: grayscale(0%) brightness(1.18);
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  color: #8A90A4;
  font-size: 0.93rem;
}

/********************************* FORMS ********************************************/
input, select {
  background: #232735;
  color: #FFFAE3;
  padding: 11px 15px;
  border: 1.5px solid #313652;
  border-radius: 6px;
  font-size: 1rem;
  margin-top: 5px;
  margin-bottom: 8px;
  transition: border-color 0.16s, box-shadow 0.16s;
}
input:focus, select:focus {
  border-color: #FFB23B;
  box-shadow: 0 0 0 2px #ffb23b33;
  background: #29334B;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #FFB23B;
  font-size: 0.97rem;
}

/********************************* BLOG & TEAM **************************************/
.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #E8EAF0;
  background: #22335913;
  border-radius: 6px;
  padding: 18px 20px;
  line-height: 1.7;
  border-left: 4px solid #223359;
}
.text-section h3 {
  color: #FFB23B;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 4px;
  font-size: 1.16rem;
}
.text-section a { color: #FFB23B; text-decoration: underline; }
.text-section a:hover { color: #E8EAF0; background: #223359; border-radius: 3px; }
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.courses-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 22px;
}

/************************* COOKIE CONSENT BANNER ************************************/
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 120;
  background: #222935;
  color: #E8EAF0;
  box-shadow: 0 -2px 16px 0 rgba(34,51,89,0.14);
  padding: 22px 20px;
  min-height: 54px;
  font-size: 1rem;
  gap: 30px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(.78,-0.01,.4,.98), opacity 0.33s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(200px);
}
.cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 5px;
  border: 2px solid transparent;
  transition: background 0.13s, color 0.13s, border-color 0.19s, transform 0.17s;
  margin-left: 0;
}
.cookie-consent-banner .cookie-accept {
  background: #FFB23B;
  color: #223359;
  border: 2px solid #FFB23B;
}
.cookie-consent-banner .cookie-accept:hover {
  background: #223359;
  color: #FFB23B;
  border-color: #223359;
}
.cookie-consent-banner .cookie-reject {
  background: #223359;
  color: #FFB23B;
  border: 2px solid #223359;
}
.cookie-consent-banner .cookie-reject:hover {
  background: #FFB23B;
  color: #223359;
  border-color: #FFB23B;
}
.cookie-consent-banner .cookie-settings {
  background: none;
  color: #FFB23B;
  border: 2px solid #FFB23B;
}
.cookie-consent-banner .cookie-settings:hover {
  background: #FFB23B;
  color: #223359;
}

/******************* COOKIE MODAL POPUP ***********************/
.cookie-modal {
  position: fixed;
  z-index: 123;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #181d23ee;
  transition: opacity 0.32s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #F6F9FF;
  color: #223359;
  border-radius: 12px;
  box-shadow: 0 4px 32px 0 #00000035;
  min-width: 340px;
  max-width: 94vw;
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  position: relative;
}
.cookie-modal-content h2 {
  color: #223359;
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 11px 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #ddd;
  border-radius: 50px;
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.18s;
  border: 1.5px solid #BED2FE;
}
.cookie-toggle.on {
  background: #FFB23B;
  border-color: #FFB23B;
}
.cookie-toggle .toggle-knob {
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  transition: left 0.18s, background 0.14s;
}
.cookie-toggle.on .toggle-knob {
  left: 18px;
  background: #FFD288;
}
.cookie-modal-content .cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 16px;
  background: none;
  border: none;
  color: #223359;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 5px;
  border: 2px solid transparent;
  transition: background 0.18s, color 0.15s, border-color 0.17s, transform 0.18s;
}
.cookie-modal-actions .cookie-accept {
  background: #FFB23B;
  color: #223359;
  border: 2px solid #FFB23B;
}
.cookie-modal-actions .cookie-accept:hover {
  background: #223359; color: #FFB23B; border-color: #223359;
}
.cookie-modal-actions .cookie-reject {
  background: #223359;
  color: #FFB23B;
  border: 2px solid #223359;
}
.cookie-modal-actions .cookie-reject:hover {
  background: #FFB23B; color: #223359; border-color: #FFB23B;
}

/********************************** MOBILE NAVIGATION  ***************************/
.mobile-menu-toggle {
  display: none;
  background: #223359;
  color: #FFB23B;
  font-size: 2.2rem;
  border: 1.5px solid #FFB23B;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 101;
  justify-content: center;
  align-items: center;
  transition: background 0.17s, color 0.18s, border-color 0.19s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #FFB23B;
  color: #223359;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #222935F6;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.62,0,.42,1), opacity 0.23s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #FFB23B;
  font-size: 2.1rem;
  border: none;
  padding: 18px 28px 10px 0;
  cursor: pointer;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100vw;
  padding: 32px 44px 32px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
}
.mobile-nav a {
  padding: 12px 0;
  color: #F8FAFF;
  font-weight: 700;
  border-bottom: 1px solid #343D4F;
  transition: color 0.14s, background 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFB23B;
  background: #22335955;
}

/******************************** RESPONSIVE DESIGN *********************************/
@media (max-width: 1024px) {
  .container {
    max-width: 92vw;
  }
  .main-nav {
    gap: 15px;
    padding: 17px 0;
  }
  section:first-child {
    min-height: 230px;
  }
}

@media (max-width: 820px) {
  .content-wrapper { gap: 19px; }
  .card-container, .courses-grid, .content-grid {
    gap: 14px;
  }
  .courses-grid { flex-direction: column; }
  .testimonial-card { font-size: 0.98rem; padding: 12px 8px; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
  }
  .container {
    padding: 0 10px;
  }
  section, .section {
    padding: 28px 8px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .card-container {
    flex-direction: column;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .courses-grid {
    flex-direction: column;
    gap: 13px;
  }
  .footer-branding, .footer-nav, .footer-legal-links {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .footer-contact-brief { font-size: 0.89rem; }
  .footer-social { gap: 10px; }
  .footer-contact-brief p img { width: 15px; margin-right: 5px; }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.97rem;
    padding: 12px 10px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  .card {
    padding: 18px 10px;
    min-width: 140px;
    font-size: 0.98rem;
  }
  .section, section {
    padding: 18px 4px;
    border-radius: 10px;
  }
  .testimonial-card {
    font-size: 0.93rem;
    padding: 10px 4px;
  }
  .mobile-nav {
    font-size: 1rem;
    padding: 18px 8px 18px 8px;
    gap: 12px;
  }
  footer .container {
    padding: 0 3px;
  }
  .cookie-modal-content {
    min-width: 88vw;
    padding: 20px 9px 15px 9px;
  }
}

/************************************* TRANSITIONS ***********************************/
a, .button-primary, .button-secondary, button {
  transition: color 0.14s, background 0.17s, border-color 0.18s, box-shadow 0.18s, text-decoration 0.13s;
}

/*********************************** UTILITIES *************************************/
.bg-metal { background: #202530; }
.shadow-metal { box-shadow: 0 2px 14px 0 #5b667a55; }
.text-metal { color: #5b667a; }
.text-accent { color: #FFB23B; }
.bg-accent { background: #FFB23B; }
.text-dark { color: #223359; }

/****** MISC ******/
::-webkit-scrollbar {
  width: 7px;
  background: #181D23;
}
::-webkit-scrollbar-thumb {
  background: #223359;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FFB23B;
}

/********************************** BRAND PERSONALITY *******************************/
/* strong visual hierarchy, metallic accents, modern font, urban-industrial feel, plenty of breathing space */
body, .card, .testimonials, .feature-item {
  letter-spacing: 0.01em;
  word-spacing: 0.01em;
}
.section, .card {
  border: 1.5px solid #223359;
  box-shadow: 0 2px 18px 0 rgba(34,50,60,0.11), 0 1.5px 8px 0 rgba(90,80,45,0.06);
}
.section {
  padding: 40px 20px;
  margin-bottom: 60px;
}
.card-container, .courses-grid, .content-grid, .team-list {
  gap: 24px;
}

/*************************** NO ABSOLUTE POS. FOR CONTENT *************************/
.card, .card-content, .testimonial-card, .text-section {
  position: static;
}

/***************************** NO GRID, NO COLUMNS! ********************************/
/* all layouts above use only flex */
