/* --- 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;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background-color: #232628;
  color: #F5F7F4;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  background: none;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus,
a:active {
  outline: 2px solid #F6D776;
  outline-offset: 2px;
}

/* --- BRAND FONTS --- */
h1, h2, h3, h4, h5, h6, .btn-primary, .btn-secondary {
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 { font-size: 2.2rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; }
h3 { font-size: 1.11rem; margin-bottom: 12px; line-height: 1.3; }
.subheadline { font-size: 1.18rem; color: #CEDAC6; margin-bottom: 16px; line-height: 1.5; }

p, ul, ol, li, span, .testimonial-card p, .testimonial-card span {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #F5F7F4;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- HEADER --- */
header {
  background: #181A1B;
  border-bottom: 1px solid #2a2c2e;
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
header a img[src$='logo.svg'] {
  height: 42px;
  width: auto;
  margin-right: 14px;
}
nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
nav a {
  color: #CEDAC6;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  position: relative;
  padding: 2px 3px;
  border-radius: 3px;
}
nav a:hover,
nav a:focus {
  color: #F6D776;
  background: rgba(46,46,44,0.25);
}
a.btn-primary {
  display: inline-block;
  padding: 11px 30px;
  margin-left: 22px;
  background: #286A5B;
  color: #F6D776;
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: bold;
  box-shadow: 0 2px 16px 0 rgba(35,41,30,0.23);
  letter-spacing: 0.035em;
  cursor: pointer;
  transition: background 0.16s, color 0.13s, transform 0.16s;
  position: relative;
  z-index: 1;
}
a.btn-primary:hover,
a.btn-primary:focus {
  background: #36413D;
  color: #CEDAC6;
  transform: translateY(-2px) scale(1.05);
}
a.btn-secondary {
  display: inline-block;
  padding: 11px 30px;
  margin-top: 24px;
  background: #CEDAC6;
  color: #181A1B;
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.01rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  box-shadow: 0 1px 12px 0 rgba(180, 186, 170, 0.12);
  cursor: pointer;
  transition: background 0.16s, color 0.16s, transform 0.16s;
}
a.btn-secondary:hover,
a.btn-secondary:focus {
  background: #F6D776;
  color: #232628;
  transform: translateY(-2px) scale(1.04);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

@media (max-width: 1020px) {
  header .container {
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 10px;
  }
  nav {
    gap: 14px;
  }
  a.btn-primary {
    margin-left: 12px;
    padding: 9px 18px;
    font-size: 0.97rem;
  }
}

@media (max-width: 900px) {
  nav {
    display: none;
  }
  a.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    background: none;
    border: none;
    font-size: 2.1rem;
    color: #F6D776;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 105;
    margin-left: 8px;
    padding: 7px 9px;
  }
  .mobile-menu {
    position: fixed;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: #181A1B;
    box-shadow: 0 6px 32px 10px rgba(24, 26, 27, 0.86);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    z-index: 200;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(.85,.01,.41,.99), opacity 0.25s;
  }
  .mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu-close {
    font-size: 2.1rem;
    border: none;
    background: none;
    color: #F6D776;
    margin: 20px 0 0 21px;
    align-self: flex-start;
    cursor: pointer;
    transition: color 0.19s;
  }
  .mobile-menu-close:hover,
  .mobile-menu-close:focus {
    color: #CEDAC6;
  }
  .mobile-nav {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-left: 36px;
    width: 80vw;
    max-width: 420px;
  }
  .mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.1rem;
    color: #CEDAC6;
    padding: 12px 6px 12px 6px;
    transition: background 0.13s, color 0.14s;
    border-radius: 5px;
    position: relative;
    height: 44px;
    display: flex;
    align-items: center;
  }
  .mobile-nav a:hover,
  .mobile-nav a:focus {
    color: #181A1B;
    background: #F6D776;
  }
}

/* --- MAIN & SECTIONS --- */
main {
  width: 100%;
  background: #232628;
  margin: 0;
}
section {
  width: 100%;
  background: none;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(40, 106, 91, 0.05), 0 1.5px 5px rgba(23,23,23,0.04);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.hero {
  background: linear-gradient(85deg,#232628 70%,#18211E 100%);
  padding-top: 48px;
  padding-bottom: 48px;
  margin-bottom: 56px;
  box-shadow: 0 1.5px 16px 0 rgba(40,106,91,0.10), 0 1.5px 8px rgba(16,19,17,0.13);
}
.hero h1 {
  color: #F6D776;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 3px 8px #23262890;
  letter-spacing: 0.05em;
}
.hero .subheadline {
  color: #CEDAC6;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  section, .hero {
    padding: 32px 8px;
    margin-bottom: 42px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero .subheadline {
    font-size: 0.98rem;
  }
}

/* --- CONTENT PATTERNS --- */
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0 auto;
}
/* Flex container helpers (MANDATORY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #232628;
  border-radius: 10px;
  box-shadow: 0 2.5px 12px 0 #20232225;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 240px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 20px;
  color: #F5F7F4;
  gap: 12px;
  min-height: 120px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #FAF8F6;
  color: #232628;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2.5px 15px 0 #23262815;
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 470px;
  font-size: 1rem;
}
.testimonial-card p {
  color: #232628;
}
.testimonial-card span {
  color: #286A5B;
  font-size: 0.97em;
  font-weight: 700;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #272B2E;
  padding: 24px 16px;
  border-radius: 12px;
  min-width: 206px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: #CEDAC6;
}
.address-map {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0 0 0;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 14px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #272B2E;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 #23262812;
  padding: 24px 14px 22px 14px;
  flex: 1 1 225px;
  min-width: 210px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.17s;
  position: relative;
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  box-shadow: 0 6px 20px 0 #286A5B22;
}
.feature-grid img {
  height: 38px;
  width: auto;
  filter: contrast(1.1) brightness(0.92) drop-shadow(1px 4px 9px #293d2d22);
}

ul, ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 8px;
  padding-left: 2px;
  color: #CEDAC6;
}
ul strong, ol strong {
  color: #F6D776;
}

@media (max-width: 900px) {
  .feature-grid, .testimonial-slider {
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
  }
  .feature-grid > div, .testimonial-card {
    min-width: 170px;
    max-width: 100%;
    flex: 1 1 48%;
  }
}
@media (max-width: 768px) {
  .feature-grid, .testimonial-slider {
    gap: 14px;
  }
  .feature-grid > div, .testimonial-card {
    min-width: 140px;
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.achievements ul {
  padding-left: 22px;
  margin-bottom: 0;
}
.achievements li {
  color: #F6D776;
  font-weight: 600;
  margin-bottom: 8px;
}

.rating-summary {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: #272B2E;
  color: #F6D776;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 700;
  margin-top: 19px;
  font-size: 1.1em;
}
.rating-summary span {
  color: #CEDAC6;
  font-size: 1em;
  font-weight: 400;
}

.mentor-profiles {
  margin-top: 18px;
}
.mentor-profiles h3 {
  color: #F6D776;
  font-size: 1.12em;
  margin-bottom: 9px;
}
.mentor-profiles ul {
  padding-left: 20px;
}
.mentor-profiles li {
  color: #CEDAC6;
  font-size: 1em;
  margin-bottom: 7px;
}

/* --- FOOTER --- */
footer {
  background: #181A1B;
  border-top: 1px solid #232628;
  padding: 30px 0 18px 0;
  width: 100%;
  position: relative;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-menu a {
  color: #CEDAC6;
  font-size: 1em;
  padding: 3px 7px;
  border-radius: 3px;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #F6D776;
}
.social-links {
  display: flex;
  gap: 14px;
  align-items: center;
}
.social-links img {
  height: 28px;
  width: 28px;
  filter: grayscale(0.3) brightness(0.92) drop-shadow(1px 2px 4px #181A1B19);
  transition: filter 0.15s;
}
.social-links a:hover img,
.social-links a:focus img {
  filter: grayscale(0.05) brightness(1.13) drop-shadow(2px 4px 8px #286A5B13);
}
footer img[src$='logo-mark.svg'] {
  height: 40px; width: auto;
  opacity: 0.98;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
}

/* --- BUTTONS, INTERACTIVES --- */
button, .btn-primary, .btn-secondary {
  cursor: pointer;
  transition: background 0.16s, color 0.13s, box-shadow 0.14s, transform 0.15s;
}
button:active {
  transform: scale(0.98);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #181A1B;
  color: #F6D776;
  box-shadow: 0 -2px 24px 0 #282c2b66;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 22px 24px 20px 24px;
  transition: transform 0.34s cubic-bezier(.81,.01,.38,.93), opacity 0.26s;
  gap: 22px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-left: 28px;
}
.cookie-buttons button {
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 1em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #286A5B;
  color: #F6D776;
  border: none;
  transition: background 0.16s, color 0.13s, box-shadow 0.14s, transform 0.14s;
  box-shadow: 0 1.5px 6px #286a5b28;
}
.cookie-buttons button:hover,
.cookie-buttons button:focus {
  background: #36413D;
  color: #CEDAC6;
  outline: none;
}
.cookie-buttons .cookie-settings-btn {
  background: #CEDAC6;
  color: #232628;
  border: none;
}
.cookie-buttons .cookie-settings-btn:hover {
  background: #F6D776;
  color: #181A1B;
}
@media (max-width: 768px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.98rem;
    gap: 13px;
    padding: 13px 9px 16px 10px;
  }
  .cookie-buttons {
    margin-left: 0;
    gap: 9px;
    width: 100%;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(24,26,27,0.84);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.22s;
  pointer-events: auto;
  animation: fadeInModal 0.22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #272B2E;
  border-radius: 14px;
  box-shadow: 0 10px 50px rgba(20,21,22,0.18), 0 2px 10px #23262811;
  min-width: 310px;
  max-width: 96vw;
  padding: 28px 27px 23px 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 19px;
  color: #CEDAC6;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal h3 {
  margin-top: 0;
  color: #F6D776;
  font-size: 1.12em;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1em;
  color: #CEDAC6;
}
.cookie-category input[type="checkbox"]:disabled + label {
  font-weight: bold;
  color: #F6D776;
  cursor: not-allowed;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  box-shadow: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 700;
  transition: background 0.16s, color 0.13s;
}
.cookie-modal .cookie-accept {
  background: #286A5B; color: #F6D776;
}
.cookie-modal .cookie-reject {
  background: #232628; color: #CEDAC6;
}
.cookie-modal button:hover,
.cookie-modal button:focus {
  filter: brightness(1.12);
}
@media (max-width: 520px) {
  .cookie-modal {
    min-width: 86vw;
    padding: 15px 6px 14px 10px;
  }
}

/* --- CUSTOM SCROLLBAR for dark/Industrial look --- */
::-webkit-scrollbar {
  width: 10px;
  background: #232628;
}
::-webkit-scrollbar-thumb {
  background: #181A1B;
  border-radius: 4px;
  border: 2px solid #232628;
}
::-webkit-scrollbar-thumb:hover {
  background: #286A5B;
}

/* --- MODERN/INDUSTRIAL EFFECTS --- */
section, .card, .feature-grid > div, .testimonial-card {
  border: 1.5px solid #232628;
  box-shadow: 0 2px 15px 0 #286a5b15;
}
section {
  /* minimal inner accent left edge for industrial style: metallic stripe */
  position: relative;
  overflow: visible;
}
section:before {
  content: "";
  display: block;
  position: absolute;
  left: 0; top: 26px;
  width: 5px; height: calc(100% - 52px);
  border-radius: 11px;
  background: linear-gradient(220deg, #36413D 0%, #CEDAC6 80%, #232628 100%);
  opacity: 0.25;
  z-index: 0;
}
@media (max-width: 768px) {
  section:before {
    height: calc(100% - 10px);
    left: -3px; top: 6px;
  }
}

.card, .testimonial-card, .feature-grid > div {
  border-left: 4px solid #CEDAC6;
  border-right: 4px solid #232628;
  box-shadow: 0 1.5px 12px 0 #23262819;
}
.testimonial-card {
  border-left: 4px solid #F6D776;
  background: #faf8f6;
}
.feature-grid > div {
  border-left: 4px solid #286A5B;
  background: #272B2E;
}

/* --- ANIMATIONS & MICROINTERACTIONS --- */
.card, .testimonial-card, .feature-grid > div, .btn-primary, .btn-secondary {
  transition: box-shadow 0.16s, border-color 0.13s, background 0.16s, color 0.16s, transform 0.15s;
}
.card:focus-within, .card:hover,
.testimonial-card:hover, .testimonial-card:focus-within,
.feature-grid > div:focus-within, .feature-grid > div:hover {
  border-color: #F6D776;
  box-shadow: 0 8px 30px 0 #F6D77615;
}

/* --- VISUAL DIVIDERS --- */
h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 1.5rem;
  color: #F6D776;
  line-height: 1.2;
  margin-bottom: 20px;
}
h2:after {
  content: "";
  display: inline-block;
  width: 44px; height: 3px;
  background-color: #CEDAC6;
  margin-left: 10px;
  border-radius: 3px;
  opacity: 0.62;
}

/* --- RESPONSIVE ADAPTATIONS --- */
@media (max-width: 600px) {
  header .container {
    padding: 11px 2vw;
  }
  .container {
    padding: 0 4vw;
  }
  .contact-details {
    padding: 3px 0;
    font-size: 0.98em;
  }
  h1 {
    font-size: 1.22rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .btn-primary, .btn-secondary {
    padding: 9px 11px;
    font-size: 0.98rem;
  }
}

/* --- GENERAL Z-INDEX RULES --- */
header, .mobile-menu { z-index: 120; }
.mobile-menu-close { z-index: 130; }
.cookie-consent-banner { z-index: 9999; }
.cookie-modal-overlay { z-index: 10001; }

/* --- Prevent Overlap --- */
.card, .testimonial-card, .feature-grid > div, .section, section, .container, .footer-menu, .social-links, .contact-details, .address-map {
  margin-bottom: 20px;
}

/* --- COLORS as Custom Properties --- */
:root {
  --primary: #286A5B;
  --secondary: #CEDAC6;
  --accent: #F6D776;
  --dark: #181A1B;
  --steel: #36413D;
  --urban-grey: #232628;
}

/* --- UTILITIES --- */
.rounded {
  border-radius: 9px;
}
.shadow {
  box-shadow: 0 2.5px 12px 0 #20232225;
}

/* --- Hide visually --- */
.visually-hidden {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}
