/* 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #171717;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
a {
  color: #171717;
  text-decoration: none;
  transition: color 0.2s;
}
a:active, a:focus {
  outline: 2px solid #FFD954;
  outline-offset: 2px;
}
ul, ol {
  margin-left: 2em;
  margin-bottom: 1em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #171717;
}
h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}
h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 0px;
}
p, li, ul, ol {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222;
  margin-bottom: 1em;
}
.subtitle {
  font-size: 1.125rem;
  color: #555;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.5;
}
strong {
  font-weight: 700;
  color: #171717;
}

/* GENERIC LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(44, 44, 44, 0.06);
}
/* Responsive negative space for monochrome sophisticated */
@media (max-width: 768px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/********************
* NAVIGATION
********************/

header {
  background: #181818;
  color: #fff;
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 20px;
  background: #181818;
  gap: 32px;
}
.brand-logo {
  display: flex;
  align-items: center;
  margin-right: 40px;
  height: 48px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.main-nav li {
  margin: 0;
}
.main-nav a {
  color: #fff;
  opacity: 0.92;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.2s, opacity 0.18s;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background: #FFD954;
  transition: width 0.3s;
  margin-top: 2px;
  border-radius: 2px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #FFD954;
  opacity: 1;
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 90%;
}
.cta-btn {
  background: #FFD954;
  color: #171717;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  text-align: center;
  box-shadow: 0 1px 6px rgba(64,64,64,0.08);
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
  cursor: pointer;
  margin-left: 32px;
  text-decoration: none;
  outline: none;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #123769;
  color: #FFD954;
  box-shadow: 0 2px 16px rgba(44,44,44,0.13);
}

/********************
* MOBILE NAVIGATION
********************/
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #FFD954;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  margin-left: auto;
  z-index: 201;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #2D9C7F;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #171717fa;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.8, 0.1, 0.1, 1.0);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #FFD954;
  font-size: 2.5rem;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  margin-right: 26px;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #2D9C7F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  margin-left: 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 6px;
  transition: background 0.2s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #222;
  color: #FFD954;
}
@media (max-width: 1024px) {
  .main-nav ul {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .main-nav {
    padding: 0 8px;
    height: 60px;
  }
  .brand-logo {
    height: 36px;
  }
}

/********************
* FOOTER
********************/
footer {
  background: #171717;
  color: #fff;
  margin-top: 0;
  padding: 0;
}
footer p {
  color: white;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 36px 20px 18px 20px;
}
.footer-logo {
  height: 36px;
  margin-bottom: 4px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 10px 0 4px 0;
}
.footer-nav a {
  color: #FFD954;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
}
@media (max-width: 540px) {
  .footer-content {
    align-items: flex-start;
    gap: 16px;
    padding: 28px 8px 10px 8px;
  }
  .footer-logo {
    height: 30px;
  }
}

/********************
* HERO & SECTIONS
********************/

.hero, .section:first-child {
  background: #fff;
  margin-bottom: 60px;
  padding-top: 60px;
  padding-bottom: 60px;
  border-radius: 0 0 32px 32px;
}

.content-wrapper > h1,
.content-wrapper > .subtitle, 
.content-wrapper > .cta-btn {
  margin-left: 0;
}

/***************
* FLEXBOX PATTERNS
****************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(30,30,30,0.07);
  margin-bottom: 20px;
  padding: 36px 28px;
  position: relative;
  flex: 1 1 320px;
  min-width: 260px;
  transition: box-shadow 0.18s, border 0.18s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 4px 28px 0 rgba(30,30,30,0.16);
  border: 1.5px solid #FFD954;
  transform: translateY(-3px) scale(1.012);
  z-index: 1;
}

.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: center;
  gap: 20px;
  padding: 20px;
  background: #faf9f7;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(30,30,30,0.09);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 430px;
  margin-right: 16px;
  border: 1px solid #e3e3e3;
  position: relative;
  color: #181818;
  font-size: 1.05rem;
  transition: box-shadow 0.18s, border 0.16s, transform 0.18s;
}
.testimonial-card strong {
  color: #123769;
  font-size: 1rem;
}
.testimonial-card .star-rating {
  font-size: 1.15rem;
  color: #FFD954;
  letter-spacing: 0.18em;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px rgba(44,44,44,0.16);
  transform: scale(1.015);
  border-color: #FFD954;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f6f6f6;
  border-radius: 9px;
  padding: 24px 22px;
  min-width: 215px;
  flex: 1 1 260px;
  box-shadow: 0 2px 10px 0 rgba(40,40,40,0.04);
  border: 1px solid #ebebeb;
}
.feature-item h3 {
  color: #123769;
  margin-bottom: 5px;
  font-size: 1.1rem;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .feature-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 540px) {
  .testimonial-card {
    margin-right: 0;
    min-width: 100%;
    max-width: 100%;
    padding: 14px 10px;
  }
  .feature-item {
    min-width: 100%;
    padding: 16px 10px;
  }
}

/********************
* SLIDER/ROW FLEX
********************/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}

/********************
* BLOG & RESOURCES INDEX
********************/
.blog-list, .resource-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-card, .resource-item {
  background: #fbfbfc;
  border-radius: 8px;
  box-shadow: 0 1px 7px rgba(33,33,33,0.05);
  padding: 24px 18px;
  flex: 1 1 280px;
  min-width: 230px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.15s, border 0.16s, transform 0.18s;
  border: 1px solid #e5e5e5;
  color: #181818;
}
.blog-card.featured {
  border: 2px solid #FFD954;
  box-shadow: 0 4px 20px rgba(255,217,84,0.13);
}
.blog-card:hover,
.resource-item:hover {
  box-shadow: 0 2px 16px rgba(44,44,44,0.15);
  border: 1.5px solid #2D9C7F;
  transform: translateY(-2px) scale(1.01);
}
.blog-card h3,
.resource-item h3 {
  font-size: 1.09rem;
  color: #123769;
}
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}
.blog-tags a {
  background: #181818;
  color: #FFD954;
  border-radius: 4px;
  padding: 4px 13px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.94rem;
  margin-right: 0px;
  transition: background 0.15s, color 0.15s;
}
.blog-tags a:hover,
.blog-tags a:focus {
  background: #FFD954;
  color: #181818;
}

/********************
* COURSES & WORKSHOPS CARDS
********************/
.course-cards, .team-brief {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.course-card, .workshop-card, .team-member {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(44,44,44,0.06);
  border: 1px solid #e4e4e5;
  padding: 26px 18px;
  min-width: 240px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.16s, transform 0.16s;
  color: #171717;
  position: relative;
  display: flex;
  flex-direction: column;
}
.course-card:hover, .workshop-card:hover {
  box-shadow: 0 4px 18px rgba(44,44,44,0.13);
  border-color: #2D9C7F;
  transform: translateY(-1.5px) scale(1.007);
}

/********************
* CONTACT INFO
********************/
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 10px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

/********************
* FAQ
********************/
.faq {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq-item {
  flex: 1 1 350px;
  background: #f8f8f9;
  border-radius: 8px;
  border: 1px solid #ebebeb;
  padding: 18px 16px;
  margin-bottom: 20px;
  transition: box-shadow 0.12s, border 0.13s;
}
.faq-item h3 {
  font-size: 1.07rem;
  margin-bottom: 8px;
}
.faq-item:hover {
  border-color: #FFD954;
  box-shadow: 0 1px 12px 0 rgba(30,30,30,0.12);
}

/********************
* LEGAL/CONTENT SECTIONS
********************/
.legal-section {
  background: #fafafc;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(30,30,30,0.04);
  border: 1px solid #e7e7e7;
  padding: 28px 20px;
  color: #232323;
}
@media (max-width: 800px) {
  .content-wrapper,
  .card-container,
  .feature-grid,
  .testimonials-slider,
  .course-cards,
  .blog-list,
  .resource-list,
  .faq,
  .team-brief {
    flex-direction: column !important;
    gap: 15px !important;
  }
}

/********************
* TYPOGRAPHY
********************/
@media (max-width: 900px) {
  h1 {font-size: 1.55rem;}
  h2 {font-size: 1.17rem;}
  h3 {font-size: 1.03rem;}
}

/********************
* BUTTONS
********************/
button, .cta-btn, input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  cursor: pointer;
  border-radius: 8px;
  border: none;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, outline 0.16s;
}
button:active, button:focus {
  outline: 2px solid #FFD954;
  outline-offset: 2px;
}

/********************
* SPACING UTILITIES
********************/
.mb-2 {margin-bottom: 12px;}
.mb-3 {margin-bottom: 18px;}
.mb-4 {margin-bottom: 24px;}
.mt-2 {margin-top: 12px;}
.mt-3 {margin-top: 18px;}
.mt-4 {margin-top: 24px;}
.gap-2 {gap: 12px;}
.gap-3 {gap: 20px;}

/********************
* TABLES AND UL/OL
********************/
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  margin-bottom: 24px;
}
th, td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #dcdcdc;
}
th {
  background: #fafafa;
}

/********************
* COOKIE CONSENT BANNER & MODAL
********************/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #1d1d1d;
  color: #fff;
  z-index: 5000;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.12);
  padding: 24px 16px 18px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  transition: transform 0.35s cubic-bezier(0.67, 0.2, 0.33, 1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner a {
  color: white;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  margin-left: 24px;
}
.cookie-banner button {
  font-size: 1rem;
  background: #FFD954;
  color: #181818;
  padding: 8px 22px;
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  transition: background 0.15s, color 0.14s, box-shadow 0.16s;
  box-shadow: 0 1px 6px rgba(64,64,64,0.09);
}
.cookie-banner button.cookie-settings {
  background: #222;
  color: #FFD954;
  border: 1.5px solid #FFD954;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #123769;
  color: #FFD954;
}
.cookie-banner button.cookie-settings:hover,
.cookie-banner button.cookie-settings:focus {
  background: #FFD954;
  color: #171717;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 8px 10px 8px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-buttons {
    flex-direction: column;
    gap: 10px;
    margin-left: 0;
  }
}

.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: rgba(30,30,30,0.64);
  z-index: 6000;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.show {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #181818;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(33,33,33,0.24);
  padding: 36px 28px;
  min-width: 320px;
  max-width: 95vw;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalfadein 0.38s cubic-bezier(.44,.48,.19,1.23);
}
@keyframes modalfadein {
  from {transform: scale(0.95) translateY(40px); opacity: 0;}
  to {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #123769;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
 
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #123769;
  appearance: auto;
  width: 20px; height: 20px;
}
.cookie-category .required {
  font-size: 0.92rem;
  color: #2D9C7F;
  font-weight: 600;
}
.cookie-modal-footer {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.cookie-modal-footer button {
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: #123769;
  color: #FFD954;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal-footer .cookie-cancel {
  background: #FFD954;
  color: #123769;
  border: 1.5px solid #123769;
}
.cookie-modal-footer button:hover,
.cookie-modal-footer button:focus {
  background: #2D9C7F;
  color: #fff;
}
.cookie-modal-footer .cookie-cancel:hover,
.cookie-modal-footer .cookie-cancel:focus {
  background: #222;
  color: #FFD954;
}

/********************
* CUSTOM SCROLL & MISC
********************/
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #e3e3e3;
  border-radius: 7px;
}
::-webkit-scrollbar-track {
  background: #fafafb;
}

/********************
* MICRO-INTERACTIONS
********************/
.card, .course-card, .workshop-card, .resource-item, .blog-card, .testimonial-card, .faq-item {
  transition: box-shadow 0.18s, border 0.16s, transform 0.16s, background 0.16s;
}
.cta-btn, button, .footer-nav a, .mobile-nav a {
  transition: background 0.19s, color 0.19s, box-shadow 0.13s, border 0.19s;
}

/********************
* ELEGANT MONOCHROME EFFECTS
********************/
body, .container, .content-wrapper, .section, .card, .cta-btn, .footer-content, .blog-card, .blog-list, .resource-item, .testimonial-card, .feature-item, .feature-grid, .main-nav, .mobile-menu, .cookie-modal {
  /* To provide clear separation of zones, focus on white + grays + black with spot use of brand*/
}

/********************
* RESPONSIVE FLEX LAYOUTS
********************/
@media (max-width: 1024px) {
  .content-wrapper, .testimonial-slider, .card-container, .feature-grid, .course-cards, .blog-list, .resource-list {
    flex-direction: column;
    gap: 17px;
  }
}
@media (max-width: 768px) {
  .text-image-section, .content-grid, .team-brief, .faq {
    flex-direction: column;
    gap: 13px;
  }
  .feature-grid, .card-container, .course-cards, .blog-list, .resource-list {
    gap: 10px;
    flex-direction: column;
  }
  .content-wrapper {
    gap: 14px;
  }
}

/********************
* MODAL BACKDROP Z-INDEX
********************/
.cookie-modal-backdrop {
  z-index: 6000;
}

/********************
* ACCESSIBILITY
********************/
:focus-visible {
  outline: 2.5px solid #FFD954;
  outline-offset: 2px;
}

/* Hide visually but keep accessible */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
