/* ==== 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; box-sizing: border-box;
  font: inherit;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture {
  max-width: 100%; display: block;
}
body {
  min-height: 100vh;
  background: #22242a;
  color: #F4F4F8;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s;
}

/* ==== BRAND TYPOGRAPHY & COLOR SYSTEM ==== */
:root {
  --color-primary: #384153;
  --color-secondary: #F9B46A;
  --color-accent: #F4F4F8;
  --color-bg: #22242a;
  --color-bg-card: #282a34;
  --color-metal: #7a818d;
  --color-border: #353843;
  --color-shadow: rgba(18,20,24,0.18);
  --color-secondary-dark: #b57f36;
  --font-display: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-secondary);
}
h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.25; }
h3 { font-size: 1.3rem; line-height: 1.3; }
h4 { font-size: 1.15rem; }
.subheadline, .section p {
  color: var(--color-accent);
  font-size: 1.13rem;
  margin: 24px 0;
  font-weight: 500;
}
p, li, ul, ol {
  font-family: var(--font-body);
  color: var(--color-accent);
  font-size: 1rem;
}
strong {
  color: var(--color-secondary);
  font-weight: 700;
}

/* ==== LAYOUT CONTAINERS & SPACING ==== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.section:last-child {
  margin-bottom: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 6px 16px var(--color-shadow);
  transition: box-shadow 0.2s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 10px 32px var(--color-shadow);
  transform: translateY(-3px) scale(1.015);
}
.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: var(--color-accent);
  color: var(--color-primary);
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(56, 65, 83, 0.19);
  border-left: 4px solid var(--color-secondary);
  min-width: 220px;
  max-width: 600px;
}
.testimonial-card p{
  color: var(--color-primary);
  font-style: italic;
  flex: 1 1 auto;
}
.testimonial-card strong{
  margin-left: 16px;
  font-weight: bold;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-bg-card);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  padding: 26px 22px 22px 22px;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 320px;
  box-shadow: 0 4px 20px var(--color-shadow);
  transition: box-shadow 0.22s, border-color 0.2s;
}
.feature-item:hover {
  box-shadow: 0 8px 34px var(--color-shadow);
  border-color: var(--color-secondary);
}
.feature-item img {
  width: 38px; height: 38px;
  filter: grayscale(0.15) contrast(1.1) drop-shadow(0 1px 2px #22242a11);
}

/* ==== HERO / SECTION OVERVIEW ==== */
.section h1,
.section h2 {
  color: var(--color-secondary);
}
.section p,
.section .subheadline{
  color: var(--color-accent);
}

/* ==== SERVICE CARDS & COURSE CARDS ==== */
.service-overview-cards, .service-cards, .course-list, .team-list, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
  align-items: stretch;
}
.service-card, .course-card, .team-member {
  background: var(--color-bg-card);
  border-radius: 11px;
  border: 1px solid var(--color-border);
  padding: 26px 22px 22px 22px;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 3px 13px var(--color-shadow);
  position: relative;
}
.service-card img, .course-card img {
  width: 38px; height: 38px; align-self: flex-start;
  filter: grayscale(0.18) contrast(1.1);
}
.course-card .course-price, .service-card strong {
  color: var(--color-secondary);
  font-weight: bold;
  font-size: 1.03rem;
  margin-top: 14px;
}
.team-member h3 {
  color: var(--color-secondary);
  margin-bottom: 10px;
}
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}

/* ==== BUTTONS & LINKS ==== */
.cta, .cta.primary, .cta.secondary, .btn {
  appearance: none;
  border: none;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.13rem;
  padding: 12px 30px;
  margin: 10px 0 0 0;
  text-decoration: none;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 2px 12px var(--color-shadow);
  transition: background 0.19s, color 0.19s, transform 0.13s, box-shadow 0.16s;
  outline: none;
}
.cta.primary {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cta.secondary {
  background: var(--color-primary);
  color: var(--color-accent);
  border: 2px solid var(--color-secondary);
}
.cta:hover, .cta:focus, .btn:hover, .btn:focus {
  background: var(--color-secondary-dark);
  color: #fff;
  box-shadow: 0 6px 18px var(--color-shadow);
  transform: scale(1.04);
}
a{
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: var(--color-accent);
  text-decoration: none;
}

/* ==== LISTS & TEXT ==== */
ul {
  padding-left: 1.3em;
  margin: 1em 0 1em 0;
}
li {
  margin-bottom: 10px;
  color: var(--color-accent);
}
ol {
  padding-left: 1.3em;
  margin: 1em 0 1em 0;
}

/* ==== HEADER/NAVIGATION ==== */
header {
  background: #242630;
  border-bottom: 1px solid var(--color-border);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
header img {
  height: 48px;
  width: auto;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  color: var(--color-accent);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
header .cta.primary {
  margin-left: 16px;
  padding: 10px 22px;
  font-size: 1rem;
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 23px;
  right: 24px;
  z-index: 1111;
  background: var(--color-bg-card);
  border: 2px solid var(--color-secondary);
  border-radius: 8px;
  width: 48px; height: 48px;
  font-size: 2.1rem;
  color: var(--color-secondary);
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 18px var(--color-shadow);
  transition: background 0.17s, border 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; height: 100vh;
  width: 100vw;
  background: #23242b;
  z-index: 2222;
  transform: translateX(-100%);
  transition: transform 0.31s cubic-bezier(.4,1.65,.52,.98);
  box-shadow: 0 0 30px #11171d88;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 22px 0 0 20px;
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.1rem;
  cursor: pointer;
  transition: color 0.17s;
  align-self: flex-start;
}
.mobile-menu-close:hover {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 38px 0 0 38px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.2rem;
  text-decoration: none;
  padding: 8px 0;
  border-radius: 6px;
  width: 100%;
  transition: background 0.17s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus{
  background: var(--color-secondary);
  color: var(--color-primary);
  text-decoration: none;
}

/* ==== FOOTER ==== */
footer {
  background: #23242C;
  border-top: 1px solid var(--color-border);
  padding: 34px 0 10px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  font-size: 0.99rem;
}
.footer-nav a {
  color: var(--color-metal);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 5px;
  transition: background 0.17s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  background: var(--color-bg-card);
}
.footer-contact {
  color: var(--color-metal);
  font-size: 0.98rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  height: 30px;
  filter: grayscale(0.18) brightness(1.05);
}
.footer-brand span {
  color: var(--color-metal);
  font-size: 0.93rem;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: #23242e;
  border-top: 2px solid var(--color-secondary);
  box-shadow: 0 -4px 18px #17182133;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  gap: 26px;
  animation: cookie-slidein 0.6s cubic-bezier(.61,.06,.47,.74);
  font-size: 1rem;
}
@keyframes cookie-slidein {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.cookie-banner__text {
  color: var(--color-accent);
  max-width: 520px;
  margin-right: 18px;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-banner__btn, .cookie-banner__settings {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 7px;
  font-size: 1rem;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-banner__btn:hover, .cookie-banner__settings:hover, .cookie-banner__btn:focus, .cookie-banner__settings:focus {
  background: var(--color-secondary-dark);
  color: #fff;
}
.cookie-banner__btn.reject {
  background: none;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-banner__btn.reject:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* ==== COOKIE CONSENT MODAL SETTINGS ==== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  z-index: 10001;
  background: rgba(34, 36, 42, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fadein 0.35s cubic-bezier(.27,.89,.58,1);
}
@keyframes cookie-modal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal__content {
  background: #292b34;
  color: var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 10px 38px #1c2133aa;
  padding: 34px 30px 30px 30px;
  max-width: 480px;
  width:90vw;
  text-align: left;
  position: relative;
  animation: cookie-modal-content-in 0.31s cubic-bezier(.32,1.5,.64,.9);
}
@keyframes cookie-modal-content-in {
 from {transform: scale(0.93) translateY(36px);opacity:0.5;}
 to {transform: scale(1) translateY(0);opacity:1;}
}
.cookie-modal__close {
  position: absolute;
  top: 18px; right: 22px;
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 1.8rem;
  cursor: pointer;
}
.cookie-modal__title {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.cookie-modal__category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 18px; height: 18px;
}
.cookie-modal__category label {
  font-size: 1rem;
}
.cookie-modal__category.essential label {
  color: var(--color-metal);
  font-weight: bold;
}
.cookie-modal__save {
  margin-top: 18px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-display);
  padding: 8px 23px;
  border-radius: 7px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal__save:hover {
  background: var(--color-secondary-dark);
  color: #fff;
}

/**** CUSTOM SCROLLBAR ****/
body::-webkit-scrollbar {
  width: 9px;
}
body::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 8px;
}
body::-webkit-scrollbar-track {
  background: #1e2030;
}

/**** MEDIA QUERIES ==== RESPONSIVE DESIGN ****/
@media (max-width: 1160px) {
  .container {
    max-width: 98vw;
    padding: 0 7px;
  }
}
@media (max-width: 900px) {
  .service-overview-cards, .service-cards, .team-list, .content-grid, .card-container, .course-list, .testimonial-list {
    gap: 16px;
  }
  .container { padding: 0 9px; }
  header .container { gap: 9px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.16rem; }
  header .container { flex-direction: column; align-items: flex-start; gap: 15px; }
  header nav { display: none; }
  header .cta.primary { display: none; }
  .mobile-menu-toggle {
    display:flex;
  }
  .service-overview-cards, .service-cards, .team-list, .content-grid, .card-container, .course-list, .testimonial-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid, .feature-list { flex-direction: column; }
  .text-image-section { flex-direction: column; gap: 20px; align-items: stretch;}
  .testimonial-list { flex-direction: column; gap:18px;}
  .footer-nav { flex-direction: column; gap: 16px; align-items: center; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px;
    gap: 16px;
    font-size: 0.98rem;
  }
  .cookie-banner__text { margin-right: 0; max-width: none; }
}
@media (max-width: 550px) {
  .section {
    padding: 24px 7px;
    margin-bottom: 34px;
  }
  .service-card, .course-card, .team-member, .feature-item, .testimonial-card{
    padding: 17px 10px;
    min-width: 0;
    max-width: 99vw;
  }
  .content-wrapper {
    padding: 0;
    gap: 16px;
  }
  header img { height: 38px; }
}

/**** ADDITIONAL INDUSTRIAL MODERN DECORATION ****/
.card, .service-card, .course-card, .team-member, .feature-item {
  border-left: 5px solid var(--color-secondary);
  box-shadow: 0 3px 13px var(--color-shadow), 0 1px 8px var(--color-metal)11;
}
.card::before, .service-card::before, .feature-item::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 8px;
  border-radius: 11px 11px 0 0;
  background: linear-gradient(to right, #5e687a 7%, #a6a9b4 40% ,#bcc0c8 100%);
  opacity: 0.17;
  z-index: 1;
  pointer-events: none;
}

/* Metal bolt effect on feature cards */
.feature-item::after {
  content: '';
  position: absolute;
  bottom: 12px;
  right: 19px;
  width: 17px;
  height: 17px;
  background: radial-gradient(ellipse at 60% 60%, #c2c5cc 83%,#646972 92%, #353843 100%);
  border-radius: 50%;
  box-shadow: 0 2px 7px #9c9da644;
  opacity: 0.46;
}

/* ==== MICRO-INTERACTIONS & TRANSITIONS ==== */
.card, .service-card, .feature-item, .testimonial-card, .cta, .btn {
  transition: box-shadow 0.2s, transform 0.18s, border-color 0.16s, background 0.16s, color 0.16s;
}
.card:hover, .service-card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow:0 8px 36px var(--color-shadow), 0 2px 10px var(--color-metal)10;
  transform: scale(1.017) translateY(-2px);
  border-color: var(--color-secondary);
}
.testimonial-card:hover {
  background: #fff;
  color: var(--color-primary);
  border-left: 6px solid var(--color-secondary-dark);
}

/* ==== FOCUS STYLES ==== */
:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
}

/**** Z-INDEX MANAGEMENT ****/
header, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 1100; }

/* === MISC CLASSES (OVERRIDES/FIXES) === */
.service-overview-cards {flex-wrap: wrap;}
.feature-grid, .feature-list {display: flex; flex-wrap: wrap; gap: 24px;}

/**** PRINT STYLES ****/
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal, .mobile-menu-toggle { display:none !important; }
  header, footer, .cta, nav, .btn { background:#fff !important; color:#222 !important; box-shadow:none !important; }
}
