/* === 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F6F8;
  color: #21242A;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: #3978B4;
  transition: color 0.22s;
}
a:hover, .cta-btn:focus {
  color: #F7C744;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* === FONT IMPORTS === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
/* === BASE TYPOGRAPHY === */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #F5F6F8;
  color: #21242A;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #21242A;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, ul li, ol li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
  color: #21242A;
}
strong {
  font-weight: 700;
  color: #3978B4;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(33,36,42,0.05);
}
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 28px;
}
.text-section {
  background: #fff;
  border-radius: 16px;
  padding: 40px 28px;
  box-shadow: 0 2px 16px 0 rgba(33,36,42,0.07);
}
/***********************************/
/* === STRUCTURED, GEOMETRIC HEADER & NAV === */
header {
  background: #fff;
  box-shadow: 0 4px 28px 0 rgba(33,36,42,0.075);
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  padding: 20px 0 20px 0;
}
.main-nav img {
  height: 38px;
  margin-right: 12px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #21242A;
  padding: 4px 10px;
  position: relative;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
}
.main-nav a:not(.cta-btn):hover {
  background: #F5F6F8;
  color: #3978B4;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 28px;
  background: #3978B4;
  color: #fff!important;
  border-radius: 18px;
  font-size: 1.1rem;
  font-weight: 800;
  margin-left: 18px;
  border: none;
  box-shadow: 0 2px 20px 0 rgba(57,120,180,0.12);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.22s, box-shadow 0.18s, color 0.16s;
  position: relative;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F7C744;
  color: #21242A!important;
  box-shadow: 0 4px 22px 0 rgba(247,199,68,0.09);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #21242A;
  margin-left: auto;
  cursor: pointer;
  z-index: 99;
  outline: none;
}
/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,36,42,0.97);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  padding: 16px 26px 16px 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  z-index: 201;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  width: 80vw;
  margin-top: 44px;
  margin-right: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #F7C744;
  padding: 10px 16px;
  border-radius: 12px;
  background: transparent;
  width: fit-content;
  transition: all 0.18s;
}
.mobile-nav a:hover {
  background: #3978B4;
  color: #fff;
  box-shadow: 0 4px 12px 0 rgba(57,120,180,0.18);
}
.mobile-nav a:last-child {
  color: #fff;
  background: #3978B4;
  border-radius: 18px;
  font-weight: 900;
}
/***** HERO SECTION *****/
.hero {
  background: linear-gradient(120deg,#fff 70%,#F7C744 120%);
  box-shadow: 0 8px 48px 0 rgba(33,36,42,0.07);
  border-radius: 0 0 40px 40px;
  margin-bottom: 60px;
  padding: 48px 0 56px 0;
  display: flex;
  align-items: center;
  min-height: 340px;
  justify-content: center;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 680px;
}
.hero h1 {
  color: #21242A;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 16px;
  text-shadow: 2px 2px 0 #F7C74444, 0 1px 0 #fff;
}
.hero p {
  color: #3978B4;
  font-size: 1.13rem;
  margin-bottom: 28px;
}
.hero .cta-btn {
  margin-top: 8px;
}
/***** MAIN FEATURES GRID & FLEX LAYOUTS *****/
.features-grid, .event-grid, .card-container, .categories-overview ul, .dates-and-locations ul, .industry-filters ul, .next-steps ul, .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid > div, .event-grid > div, .card-container > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(33,36,42,0.06);
  padding: 30px 22px;
  min-width: 242px;
  flex: 1 1 222px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 2.5px solid #F5F6F8;
  transition: border-color 0.19s, box-shadow 0.19s, transform 0.22s;
}
.features-grid > div:hover, .event-grid > div:hover {
  border-color: #3978B4;
  box-shadow: 0 4px 32px 0 rgba(57,120,180,0.10);
  transform: translateY(-6px) scale(1.022);
}
.features-grid img {
  height: 48px;
  width: 48px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #F7C74422;
  padding: 8px;
}
.features-grid h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
  font-weight: 900;
  color: #3978B4;
}
.features-grid p {
  color: #21242A;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
}
.categories-overview {
  background: #3978B410;
  border-radius: 16px;
  padding: 14px 24px;
  margin-top: 18px;
}
.categories-overview ul {
  flex-direction: row;
  gap: 18px;
}
.categories-overview li {
  color: #3978B4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  position: relative;
  margin-right: 14px;
  display: flex;
  align-items: center;
  padding: 2px 12px;
  border-radius: 8px;
  background: #fff;
}
/***** TESTIMONIALS CARDS *****/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 20px 0 rgba(33,36,42,0.07);
  padding: 20px 24px;
  margin-bottom: 20px;
  min-width: 260px;
  font-size: 1.1rem;
  color: #21242A;
  border-left: 6px solid #3978B4;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #21242A;
}
.testimonial-card span {
  color: #3978B4;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
}
.testimonial-card span:last-child {
  color: #F7C744;
  font-size: 1.2rem;
  margin-left: auto;
}
/***** CTA SECTION & COMMON .section OVERRIDES *****/
.cta-section {
  background: #3978B4;
  color: #fff;
  border-radius: 30px;
  margin-bottom: 60px;
  padding: 44px 22px;
  text-align: center;
  box-shadow: 0 6px 32px 0 rgba(57,120,180,0.13);
}
.cta-section h2 {
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
}
.cta-section p {
  color: #fff;
  margin-bottom: 24px;
  font-size: 1.13rem;
}
.cta-section .cta-btn {
  background: #F7C744;
  color: #21242A!important;
  font-weight: 900;
  font-size: 1.1rem;
}
/***** CASE STUDIES & INDUSTRY FILTERS *****/
.industry-filters {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.industry-filters strong {
  margin-right: 18px;
}
.industry-filters ul {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.industry-filters li {
  background: #3978B422;
  color: #3978B4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.industry-filters li:hover {
  background: #3978B4;
  color: #fff;
}
.outcome-highlights {
  display: flex;
  gap: 36px;
  margin-top: 22px;
  background: #F5F6F8;
  border-radius: 16px;
  padding: 14px 24px;
}
.outcome-highlights span {
  color: #3978B4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
}
/***** FOOTER *****/
footer {
  border-top: 2.5px solid #F7C744;
  background: #fff;
  padding: 36px 0 16px 0;
  margin-top: 64px;
  box-shadow: 0 -2px 20px 0 rgba(33,36,42,0.04);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #3978B4;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  align-items: center;
  font-size: 1rem;
  margin-top: 12px;
  color: #21242A;
}
.footer-contact span img {
  height: 22px;
  width: 22px;
  margin-right: 6px;
  vertical-align: middle;
  filter: grayscale(60%);
}
/***** MISCELLANEOUS *****/
.external-links ul, .card-content ul {
  gap: 10px;
  display: flex;
  flex-direction: column;
}
.external-links ul li a {
  color: #3978B4;
  font-weight: 600;
  transition: color 0.18s;
  border-bottom: 2.5px solid #F7C74433;
  padding-bottom: 2px;
}
.external-links ul li a:hover {
  color: #F7C744;
  border-bottom-color: #F7C744;
}
select, input, textarea {
  padding: 7px 12px;
  border: 2px solid #3978B433;
  border-radius: 8px;
  margin: 10px 0;
  font-family: inherit;
  font-size: 1rem;
  outline-color: #3978B4;
  transition: border-color 0.15s;
}
select:focus, input:focus, textarea:focus {
  border-color: #3978B4;
}
/***** COOKIE CONSENT BANNER *****/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 2100;
  width: 100vw;
  background: #21242A;
  color: #fff;
  padding: 24px 14px 22px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  box-shadow: 0 -2px 22px 0 rgba(33,36,42,0.14);
  font-size: 1rem;
  border-radius: 24px 24px 0 0;
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
}
.cookie-banner .cookie-message {
  flex: 2 1 260px;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex: 1 0 auto;
  align-items: center;
}
.cookie-btn {
  background: #3978B4;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 16px;
  padding: 8px 22px;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
  box-shadow: 0 1px 6px 0 #0001;
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F7C744;
  color: #21242A;
  box-shadow: 0 2px 14px 0 #F7C74444;
}
.cookie-btn.reject {
  background: #fff;
  color: #3978B4;
  border: 1.5px solid #3978B47D;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #21242A;
  color: #fff;
}
.cookie-btn.settings {
  background: #F7C744;
  color: #21242A;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #3978B4;
  color: #fff;
}
/***** COOKIE CONSENT MODAL *****/
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,36,42,0.54);
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.open { display: flex; }
.cookie-modal {
  background: #fff;
  color: #21242A;
  min-width: 320px;
  max-width: 96vw;
  border-radius: 24px;
  box-shadow: 0 4px 48px 0 #0002;
  padding: 38px 36px 28px 36px;
  z-index: 2210;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateY(64px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: all 0.28s cubic-bezier(.77,0,.18,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.cookie-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 13px;
  color: #3978B4;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
  width: 100%;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F5F6F8;
  border-radius: 12px;
  padding: 10px 18px 10px 16px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-toggle {
  width: 40px; height: 22px;
  border-radius: 12px;
  background: #EEE;
  border: 2px solid #EEE;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-toggle[aria-checked="true"] {
  background: #F7C744;
  border-color: #F7C744;
}
.cookie-toggle[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-toggle span {
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 1px;
  box-shadow: 0 1px 4px 0 #0001;
  transition: left 0.19s;
}
.cookie-toggle[aria-checked="true"] span {
  left: 20px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 4px;
}
.cookie-modal .cookie-btn {
  min-width: 116px;
  font-size: 1rem;
  padding: 8px 0;
}
.cookie-modal .cookie-btn.save {
  background: #3978B4;
  color: #fff;
}
.cookie-modal .cookie-btn.save:hover {
  background: #F7C744;
  color: #21242A;
}
.cookie-modal .cookie-btn.cancel {
  background: #fff;
  color: #3978B4;
  border: 1.5px solid #3978B47D;
}
/***** CARD LAYOUT *****/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(33,36,42,0.07);
  margin-bottom: 20px;
  padding: 28px 22px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
/***** FLEX UTILITIES *****/
.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;
  margin-bottom: 42px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}
/***** RESPONSIVE DESIGN *****/
@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
    font-size: 0.96rem;
  }
  .features-grid > div, .event-grid > div {
    min-width: 180px;
    padding: 18px 12px;
    flex: 1 1 148px;
  }
  .hero .content-wrapper {
    max-width: 96vw;
  }
  .card, .testimonial-card {
    min-width: 180px;
    padding: 16px 11px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    margin-right: 18px;
    padding: 4px;
  }
  .footer-contact {
    gap: 14px;
    flex-direction: column;
    align-items: center;
  }
  .footer-nav {
    gap: 8px;
    font-size: 0.96rem;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .hero {
    padding: 25px 0 30px 0;
    border-radius: 0 0 24px 24px;
    min-height: 220px;
  }
  .hero h1 {
    font-size: 1.7rem;
    margin-bottom: 11px;
  }
  .section, .text-section {
    padding: 20px 7px;
    border-radius: 10px;
  }
  .features-grid, .card-container, .event-grid {
    gap: 16px;
    flex-direction: column;
  }
  .features-grid > div, .event-grid > div {
    min-width: 0;
    width: 100%;
    padding: 14px 7px;
  }
  .testimonial-card {
    padding: 13px 10px;
    border-radius: 9px;
  }
  .cta-section {
    padding: 25px 2px;
    border-radius: 12px;
  }
  .categories-overview {
    padding: 10px 9px;
    border-radius: 8px;
  }
  .categories-overview ul {
    gap: 9px;
    flex-direction: column;
  }
  .industry-filters ul {
    gap: 8px;
  }
  .outcome-highlights {
    flex-direction: column;
    gap: 14px;
    padding: 10px 8px;
    border-radius: 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .cookie-modal {
    min-width: 90vw;
    padding: 23px 7vw 16px 7vw;
    border-radius: 10px;
  }
}
@media (max-width: 560px) {
  h1 { font-size: 1.28rem; }
  h2 { font-size: 1.1rem; }
  .mobile-nav {
    width: 94vw;
    gap: 19px;
  }
}
/***** ANIMATIONS & MICRO-INTERACTIONS *****/
.cta-btn, .cookie-btn, .main-nav a, .card, .features-grid > div, .testimonial-card {
  transition: box-shadow 0.16s, background 0.17s, color 0.14s, transform 0.19s, border-color 0.19s;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.98);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 24px 0 #3978B433;
}
/***** ACCESSIBILITY OUTLINES *****/
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2.5px solid #F7C744;
  outline-offset: 2px;
}
/* Hide visually but remain accessible */
.visually-hidden { position: absolute!important; overflow: hidden!important; width: 1px!important; height: 1px!important; clip: rect(1px,1px,1px,1px)!important; white-space: nowrap!important; }
