/* CSS RESET & BASIC 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; height: 100%; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background-color: #20232B;
  color: #F5F7FA;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #E4B363;
  text-shadow: 0 2px 10px #111821cc;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; letter-spacing: -1px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }

p, ul, ol, blockquote { margin-bottom: 1.25em; font-size: 1rem; }
strong { color: #F5F7FA; font-weight: 700; }
a { color: #E4B363; transition: color 0.2s; text-decoration: none; }
a:hover, a:focus { color: #F9D18E; text-decoration: underline; }
ul, ol { margin-left: 24px; }
li { margin-bottom: 8px; }
blockquote {
  font-style: italic;
  background: #292F3B;
  border-left: 4px solid #E4B363;
  color: #20232b;
  color: #263174;
  padding: 18px 24px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #F5F7FA;
  /* readable light BG for testim.*/
  box-shadow: 0 2px 8px #171A2022;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  text-align: left;
}

/* Section Standard Spacing */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
section:last-child { margin-bottom: 0; }

/* Cards, Features, Lists */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #232735;
  border: 1px solid #353C4B;
  border-radius: 16px;
  box-shadow: 0 4px 14px #15182222;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 28px #15182244;
  border-color: #E4B363;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}
/* Feature Grids & Course Lists (mobile-first) */
.feature-grid, .course-list, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div, .course-list > div, .blog-list > div {
  flex: 1 1 270px;
  min-width: 270px;
  background: #232735;
  padding: 24px;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 14px #181B2718;
  border: 1.5px solid #232735;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.feature-grid > div:hover, .course-list > div:hover, .blog-list > div:hover {
  box-shadow: 0 12px 30px #181B2744;
  border-color: #E4B363;
}
.feature-grid img, .course-list img, .blog-list img {
  height: 40px;
  width: 40px;
  margin-bottom: 12px;
  filter: grayscale(30%) contrast(120%);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
  list-style: none;
  margin-left: 0;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #232735;
  padding: 14px 20px;
  border-radius: 10px;
  border: 1.2px solid #353C4B;
  margin-bottom: 0;
  min-width: 225px;
  transition: background 0.2s, border-color 0.2s;
}
.feature-list li img {
  width: 24px;
  height: 24px;
  filter: grayscale(10%);
}
.feature-list li:hover {
  background: #292F3B;
  border-color: #E4B363;
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F5F7FA;
  color: #232735;
  border-radius: 11px;
  border: 1px solid #D5D7DF;
  padding: 26px 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px #18223727;
  position: relative;
  z-index: 1;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  color: #232735;
  margin: 0 0 8px 0;
  font-size: 1.08rem;
}
.testimonial-card span {
  color: #263174;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
}
.testimonial-card .before-after {
  margin-top: 10px;
  font-size: 0.96rem;
  color: #4A547E;
  background: #ECEFF4;
  border-radius: 6px;
  padding: 8px 11px;
}

/* Category Tags */
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 14px 0;
}
.category-tags span {
  background: #E4B363;
  color: #232735;
  font-size: 0.98rem;
  border-radius: 20px;
  padding: 7px 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Input (search) */
input[type="text"] {
  padding: 10px 16px;
  border: 1.5px solid #3C4164;
  border-radius: 8px;
  background: #232735;
  color: #E4B363;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  width: 240px;
  transition: border-color 0.2s;
}
input[type="text"]:focus {
  border-color: #E4B363;
  outline: none;
}

/* Buttons */
.button-primary, .button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 26px;
  padding: 13px 30px;
  border: none;
  cursor: pointer;
  min-width: 130px;
  box-shadow: 0 2px 10px #11182125;
  text-align: center;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border-color 0.18s;
  text-decoration: none;
}
.button-primary {
  background: #E4B363;
  color: #232735;
  border: 2px solid #E4B363;
  letter-spacing: 0.03em;
}
.button-primary:hover, .button-primary:focus {
  background: #263174;
  color: #E4B363;
  border-color: #263174;
}
.button-secondary {
  background: transparent;
  color: #E4B363;
  border: 2px solid #E4B363;
}
.button-secondary:hover, .button-secondary:focus {
  background: #E4B363;
  color: #232735;
}

/* Navigation */
header {
  background: #232735;
  padding: 0;
  border-bottom: 2.5px solid #353C4B;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 2vw 18px 2vw;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.09rem;
  z-index: 12;
}
.main-nav > a {
  color: #F5F7FA;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 7px 3px;
  border-radius: 4px;
  transition: background 0.13s, color 0.13s;
}
.main-nav > a.button-primary {
  margin-left: auto;
  margin-right: 0;
  padding: 10px 26px;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: #263174;
  color: #E4B363;
}
.main-nav img {
  width: 134px;
  height: 36px;
  margin-right: 24px;
  vertical-align: middle;
}

/* Burger Menu */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: #232735;
  color: #E4B363;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 24px;
  top: 20px;
  z-index: 41;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transition: background 0.15s;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #263174;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #232735;
  box-shadow: 0 0 32px #11182144;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.55,.01,.29,1.12);
  z-index: 49;
  padding: 32px 26px 16px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: transparent;
  color: #E4B363;
  border: none;
  cursor: pointer;
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 50%;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #263174;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  color: #F5F7FA;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  padding: 8px 0;
  transition: color 0.15s, background 0.14s;
  border-radius: 3px;
  text-align: left;
  min-width: 160px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E4B363;
  color: #232735;
}

@media (max-width: 991px) {
  .main-nav {
    font-size: 1rem;
    gap: 8px 16px;
  }
  .main-nav > a img {
    width: 98px;
    height: 28px;
    margin-right: 10px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    padding: 12px 1vw 12px 1vw;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Footer */
footer {
  background: #181B27;
  color: #B3B9CF;
  padding: 34px 0 20px 0;
  border-top: 2.5px solid #353C4B;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #E4B363;
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background 0.11s, color 0.11s;
}
.footer-nav a:hover {
  background: #232735;
  color: #F5F7FA;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  font-size: 0.97rem;
  margin-top: 6px;
  color: #B3B9CF;
  flex-direction: row;
  text-align: center;
}
.footer-contact img {
  width: 18px;
  vertical-align: middle;
  filter: grayscale(50%) contrast(110%);
  margin-right: 5px;
}
.footer-contact .footer-hours {
  display: block;
  margin-top: 7px;
  color: #E4B363;
  font-size: 0.95rem;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1004;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #1C202A;
  color: #F5F7FA;
  padding: 22px 18px;
  box-shadow: 0 -4px 16px #11182170;
  font-size: 1rem;
  border-top: 3px solid #E4B363;
  animation: ccbanner 0.37s ease;
}
@keyframes ccbanner {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 10px;
}
.cookie-banner button {
  padding: 8px 18px;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: 2px solid #E4B363;
  background: #232735;
  color: #E4B363;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  font-size: 1rem;
}
.cookie-banner button.accept {
  background: #E4B363;
  color: #232735;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #263174;
  color: #E4B363;
}
.cookie-banner button.rej {
  background: transparent;
}
.cookie-banner button.rej:hover, .cookie-banner button.rej:focus {
  background: #292F3B;
  color: #E4B363;
}
.cookie-banner button.set {
  border-color: #263174;
  background: #263174;
  color: #E4B363;
}
.cookie-banner button.set:hover, .cookie-banner button.set:focus {
  background: #E4B363; color: #232735;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #111821D6;
  z-index: 1050;
  display: none;
  justify-content: center;
  align-items: center;
  animation: fadeinbg 0.25s ease;
}
.cookie-modal-backdrop.open { display: flex; }
@keyframes fadeinbg {
 from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #232735;
  padding: 32px 38px;
  border-radius: 20px;
  box-shadow: 0 14px 46px #15182888;
  max-width: 95vw;
  width: 355px;
  color: #F5F7FA;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 2.5px solid #E4B363;
  position: relative;
  animation: cookiemodalshow 0.33s cubic-bezier(.2,.94,.57,1.17);
}
@keyframes cookiemodalshow {
  from { transform: translateY(38px) scale(0.88); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #E4B363;
  font-size: 1.32rem;
  margin-bottom: 4px;
}
.cookie-modal ul {
  list-style: none;
  margin: 0 0 4px 0;
}
.cookie-modal li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal label {
  font-size: 1.06em;
  font-weight: 500;
}
.cookie-toggle {
  margin-left: auto;
  accent-color: #E4B363;
  transform: scale(1.18);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.cookie-modal .close {
  position: absolute;
  right: 14px; top: 14px;
  background: transparent;
  border: none;
  font-size: 1.7rem;
  color: #E4B363;
  cursor: pointer;
  border-radius: 50%;
  padding: 4px 9px;
}
.cookie-modal .close:hover,
.cookie-modal .close:focus {
  background: #263174;
}

/* Spacing and Utility Classes */
.mt-1 {margin-top: 8px !important;}
.mt-2 {margin-top: 16px !important;}
.mb-1 {margin-bottom: 8px !important;}
.mb-2 {margin-bottom: 16px !important;}
.gap-10 {gap: 10px !important;}
.gap-16 {gap: 16px !important;}
.gap-24 {gap: 24px !important;}
.text-center{text-align:center !important;}
.d-flex {display: flex !important;}
.align-center {align-items: center !important;}
.justify-between {justify-content: space-between !important;}

/* Responsive layouts */
@media (max-width: 992px) {
  h1 { font-size: 2.18rem; }
  h2 { font-size: 1.6rem; }
  .container { max-width: 94vw; }
  .feature-grid > div, .course-list > div { min-width: 215px; padding: 16px; }
  .testimonial-card { padding: 16px 12px; }
}
@media (max-width: 768px) {
  section { padding: 32px 6px; }
  .container { padding: 0 8px; }
  .feature-grid, .course-list, .blog-list {
    flex-direction: column;
    gap: 18px;
  }
  .footer-contact, .footer-nav {
    flex-direction: column;
    gap: 6px !important;
  }
  .testimonial-card { padding: 11px 7px; border-radius: 9px; font-size: 0.97rem; }
  .content-wrapper {
    gap: 10px;
  }
  .card-container {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 600px) {
  html { font-size: 15px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
  .feature-list {
    flex-direction: column;
    gap: 9px;
  }
  .course-list > div, .feature-grid > div {
    min-width: 90vw;
    padding: 10px 8px 11px 8px;
    gap: 7px;
  }
  .blog-list > div {
    min-width: 90vw;
    padding: 10px 8px;
    gap: 7px;
  }
  .card-content { padding: 10px 7px; }
}

/* Text-Image Section Pattern (if images/columns are added by CMS) */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Contact Info Section */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1.01rem;
  margin-top: 8px;
  color: #F5F7FA;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.contact-info img {
  width: 22px;
  margin-right: 6px;
}

/* Accessibility: focus outline for all interactive elements*/
a:focus, button:focus, input:focus, .button-primary:focus, .button-secondary:focus {
  outline: 2.5px solid #E4B363;
  outline-offset: 2.5px;
}

/* Micro-interactions */
.button-primary, .button-secondary, .cookie-banner button, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s, transform 0.13s;
}
.button-primary:active, .button-secondary:active {
  transform: scale(0.98);
}

/* Metallic accent for industrial_modern */
hr {
  border: none;
  border-top: 2.5px solid #E4B363;
  margin: 32px 0 24px 0;
}

/* Hide scroll for modals/menus when active (set by JS) */
body.menu-open, body.modal-open {
  overflow: hidden;
}

/* Industrial Modern Look - extra/accents */
.section-metal {
  background: #232735;
  border: 1.5px solid #3F4658;
  box-shadow: 0 6px 30px #23273544;
  border-radius: 14px;
  margin-bottom: 60px;
  padding: 44px 26px;
}

/* Visually distinctive for required .testimonial-card color contrast */
.testimonial-card, .testimonial-card blockquote, .testimonial-card span {
  color: #232735 !important;
  background: #F5F7FA;
}

/* Utility classes for section spacing */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/************ END ************/
