/* 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,
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, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #161A20;
  color: #F7F9FB;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  background-color: #161A20;
  background-image:
    repeating-linear-gradient(135deg, rgba(34,41,50,0.35) 0px, rgba(34,41,50,0.35) 20px, transparent 20px, transparent 40px),
    linear-gradient(to bottom, rgba(27,60,99,0.12) 0, transparent 100%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #47A2B1;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #FFF;
  text-decoration: underline;
}

/* Brand Fonts with Fallbacks */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.015em;
  margin-bottom: 16px;
  color: #F7F9FB;
}
h1 { font-size: 2.75rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
h4 { font-size: 1.125rem; }

p, li, dl, address, input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  color: #d6dde8;
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.7;
}
strong, b {
  font-weight: 700;
  color: #F7F9FB;
}

address {
  font-style: normal;
  color: #BBC4CE;
}

dt {
  font-weight: 700;
  color: #47A2B1;
  margin-top: 18px;
  margin-bottom: 8px;
}
dd {
  margin-left: 0;
  margin-bottom: 12px;
}

/* CONTAINERS & FLEXBOX LAYOUTS */
.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(27,60,99,0.13);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(20,24,32,0.09);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.card {
  background: #232833;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(25, 35, 48, 0.12);
  transition: transform 0.18s cubic-bezier(.33,1,.68,1), box-shadow 0.18s;
  position: relative;
  padding: 32px 24px 28px;
  flex: 1 1 320px;
  min-width: 0;
  border: 1px solid #39404f;
}
.card:hover, .card:focus {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 6px 32px rgba(40,57,78,0.16);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F7F9FB;
  color: #232833;
  border-radius: 9px;
  box-shadow: 0 2px 16px rgba(47,59,74,0.14);
  margin-bottom: 20px;
  min-width: 0;
  position: relative;
  border-left: 4px solid #47A2B1;
  font-size: 1rem;
  transition: box-shadow 0.15s;
}
.testimonial-card strong { color: #1B3C63; font-size: 1.05em; }
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 28px rgba(27, 60, 99, 0.11);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #262C35;
  border-radius: 7px;
  padding: 18px 20px;
  margin-bottom: 20px;
  border-left: 3px solid #47A2B1;
}

.course-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.course-listings .text-section {
  background: #232833;
  border-radius: 7px;
  box-shadow: 0 2px 11px rgba(35,40,51,0.12);
  padding: 22px 20px;
  flex: 1 1 330px;
  min-width: 0;
}

.course-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.course-categories li {
  background: #262C35;
  color: #A2BECA;
  padding: 7px 16px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.text-section ul {
  gap: 8px;
  display: flex;
  flex-direction: column;
}
.text-section li {
  padding-left: 0.5em;
  position: relative;
}
.text-section li:before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  background: #47A2B1;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* HEADER NAVIGATION & LOGO */
header {
  background: #1B232E;
  box-shadow: 0 4px 16px rgba(24,29,40,0.11);
  padding: 0;
  position: relative;
  z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
header nav a {
  color: #B5BFC9;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 7px 0;
  text-shadow: 0 1px 0 #232C35;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #F7F9FB;
  border-bottom: 2px solid #47A2B1;
}
header .cta-btn {
  margin-left: 18px;
}
header img {
  max-height: 52px;
  margin-right: 12px;
}

/* CTA BUTTONS */
.cta-btn {
  background: linear-gradient(90deg, #47A2B1 0%, #1B3C63 100%);
  color: #F7F9FB;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.125rem;
  padding: 13px 32px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 7px rgba(71,162,177, 0.09);
  border: none;
  outline: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s, box-shadow 0.17s, transform 0.18s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #1B3C63 0%, #47A2B1 100%);
  box-shadow: 0 4px 16px rgba(27,60,99,0.12);
  color: #F7F9FB;
  transform: translateY(-2px) scale(1.03);
}

/* FOOTER */
footer {
  background: #181D25;
  padding: 45px 0 30px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
footer img {
  max-height: 38px;
  margin-bottom: 16px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.95rem;
  color: #6C8495;
}
footer nav a {
  color: #6C8495;
  margin-right: 6px;
  font-family: 'Roboto', Arial, sans-serif;
}
footer nav a:hover,footer nav a:focus {
  color: #47A2B1;
  text-decoration: underline;
}
.footer-contact-info {
  color: #7b8892;
  font-size: 0.96rem;
  margin-top: 5px;
}
.brand-credits {
  font-size: 0.9rem;
  color: #3F4B5E;
  margin-top: 8px;
}

/* Mobile Burger Menu */
.mobile-menu-toggle {
  display: none;
  background: #232C35;
  color: #47A2B1;
  border: none;
  border-radius: 7px;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 18px;
  right: 16px;
  z-index: 102;
  transition: background 0.16s, color 0.13s;
}
.mobile-menu-toggle:hover,.mobile-menu-toggle:focus {
  background: #47A2B1;
  color: #FFF;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(27,44,63, 0.98);
  z-index: 2000;
  transform: translateX(105vw);
  transition: transform 0.32s cubic-bezier(.73,.26,.43,1);
  box-shadow: 0 6px 46px rgba(20,36,60,0.23);
  padding: 0 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F7F9FB;
  font-weight: bold;
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 25px 0 36px 0;
  cursor: pointer;
  z-index: 2100;
  transition: color .17s;
}
.mobile-menu-close:hover,.mobile-menu-close:focus {
  color: #47A2B1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: #F7F9FB;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.26rem;
  letter-spacing: 0.04em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .14s, border-bottom .15s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #47A2B1;
  border-bottom: 2px solid #47A2B1;
}

/* Responsive: Hide nav on mobile, show burger */
@media (max-width: 1024px) {
  header .container nav,
  header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* Main Content & Sections Responsive Flex */
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .content-grid { flex-direction: column; gap: 20px; }
  .card-container { flex-direction: column; gap: 20px; }
  .course-listings { flex-direction: column; gap: 20px; }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .section { padding: 24px 5px; margin-bottom: 36px; }
  .content-wrapper { gap: 12px; }
  .content-grid, .card-container, .course-listings { flex-direction: column !important; gap: 11px; }
  .testimonial-card { font-size: 0.97rem; border-radius: 8px; }
  .feature-item { border-radius: 6px; padding: 13px 12px; font-size: 1rem; }
  .text-image-section { flex-direction: column; align-items: stretch; gap: 18px; }
  header .container { flex-direction: row; justify-content:space-between; gap: 11px; padding: 8px 5px; min-height: 62px; }
}

/* SPACING ON ALL CARDS & SECTIONS */
.card, .testimonial-card, .feature-item, .course-listings .text-section {
  margin-bottom: 20px;
}
.section, .feature-item, .testimonial-card, .card {
  box-sizing: border-box;
}

/* ICONS - Metallic / Industrial Effects (SVG color tweaks if inline) */
img[src*="icon-"] {
  filter: grayscale(20%) brightness(0.97) drop-shadow(0 1px 0 #7A8A99);
  background: #21242B99;
  border-radius: 6px;
  padding: 5px;
  margin-right: 7px;
  box-shadow: 0 2px 6px rgba(45,61,76,0.11);
  height: 32px; width: 32px;
}

/* FAQ Style */
dl {
  padding: 16px 0;
  border-radius: 7px;
  background: #1e2129;
  margin-bottom: 16px;
  box-shadow: 0 1px 7px rgba(27,60,99,0.06);
}
dt {
  font-size: 1.13rem;
  letter-spacing: 0.01em;
  margin-top: 12px;
  margin-bottom: 4px;
}
dd {
  color: #BAC5D2;
  margin-bottom: 13px;
  margin-left: 0.5em;
}

/* Newsletter/sub Callout */

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  background: #161A20;
  color: #F7F9FB;
  width: 100vw;
  min-height: 62px;
  box-shadow: 0 -2px 16px rgba(34,41,50,0.14);
  padding: 20px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  flex-wrap: wrap;
  animation: cookieFadeIn 0.7s cubic-bezier(.16, .87, .46, 1) 1;
  gap: 14px;
}
@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-consent-banner p {
  margin-bottom: 0;
  color: #F7F9FB;
  font-size: 1rem;
}
.cookie-btn {
  background: #232C35;
  color: #F7F9FB;
  border: none;
  border-radius: 5px;
  padding: 9px 20px;
  margin: 0 6px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 4px rgba(27,60,99,0.18);
  cursor: pointer;
  transition: background .15s, color .13s;
}
.cookie-btn.accept {
  background: #47A2B1;
  color: #FFF;
}
.cookie-btn.reject {
  background: #1B3C63;
}
.cookie-btn.settings {
  background: #262C35;
  color: #A2BECA;
  border: 1px solid #2F414C;
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.12) contrast(1.04);
  background: #1B3C63;
  color: #FFF;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(27, 44, 63, 0.65);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.32s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #232C35;
  box-shadow: 0 8px 36px rgba(27,60,99,0.19);
  border-radius: 13px;
  max-width: 425px;
  width: 95vw;
  padding: 36px 22px 31px 22px;
  position: relative;
  color: #F7F9FB;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalShow 0.36s cubic-bezier(.63,1.59,.38,.91);
}
@keyframes modalShow {
  from { transform: scale(0.95) translateY(30px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.37rem;
  color: #A2BECA;
  margin-bottom: 9px;
}
.cookie-modal-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #323942;
}
.cookie-modal-category label {
  font-size: 1.08rem;
  font-weight: 500;
}
.cookie-toggle {
  appearance: none;
  width: 36px; height: 20px;
  border-radius: 18px;
  background: #232C35;
  border: 2px solid #47A2B1;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background .12s, border .13s;
}
.cookie-toggle:checked {
  background: #47A2B1;
}
.cookie-toggle:before {
  content: "";
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  background: #FFF;
  border-radius: 50%;
  transition: left .14s, background .13s;
}
.cookie-toggle:checked:before {
  left: 17px;
  background: #D5EEF7;
}
.cookie-category-desc {
  font-size: 0.97rem;
  color: #A2BECA;
  margin-top: 2px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 16px;
  background: none;
  border: none;
  color: #788899;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color .12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #47A2B1; }
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 14px;
}

/* Elements - Forms (contact) */
input, textarea, select {
  border: 1px solid #323942;
  border-radius: 6px;
  padding: 11px 13px;
  background: #181A21;
  color: #E3EAF4;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border-color 0.14s;
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: #47A2B1;
  outline: none;
}
button, [type=submit] {
  cursor: pointer;
}

/* SCROLLBAR Styling (for modern browser) */
::-webkit-scrollbar { width: 10px; background: #151C28; }
::-webkit-scrollbar-thumb { background: #39404f; border-radius: 6px; }

/* Industrial Metal Accents */
.section, .card, .feature-item, .testimonial-card, .course-listings .text-section {
  border-bottom: 2.5px solid #47A2B1;
  box-shadow: 0 4px 16px rgba(65,90,116,0.05) inset;
}

/* Micro-interactions for buttons, links, and cards */
.card, .feature-item, .cta-btn, .cookie-btn {
  transition: box-shadow .14s, background .16s, color .16s, transform .12s;
}
.card:active, .cta-btn:active, .cookie-btn:active {
  transform: scale(0.98);
  box-shadow: 0 1px 2px rgba(20,24,34,0.18);
}

input[type=checkbox], input[type=radio] {
  accent-color: #47A2B1;
}

/* Accessibility for interactive states */
:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  outline: 2.5px solid #47A2B1;
  outline-offset: 2px;
}

/* Brand accent for important highlights */
mark, .accent {
  background: #47A2B1;
  color: #FFF;
  border-radius: 3px;
  padding: 2px 7px;
}

/* Utility Classes */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* Hide visually but keep accessible */
.sr-only {
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
