/* CSS RESET & NORMALIZATION */
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;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F1F5F9;
  color: #141C3A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: #141C3A;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
}
ul,
ol {
  padding-left: 24px;
}
*, *:before, *:after {
  box-sizing: inherit;
}

*:focus {
  outline: 2px solid #22D3EE;
  outline-offset: 2px;
}

/* BRAND GEOMETRIC STRUCTURE */
:root {
  --brand-primary: #141C3A;
  --brand-secondary: #22D3EE;
  --brand-accent: #F1F5F9;
  --brand-text-dark: #141C3A;
  --brand-text-light: #F1F5F9;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 6px;
  --card-shadow: 0 4px 16px rgba(20, 28, 58, 0.08), 0 1.5px 3px rgba(20, 28, 58, 0.06);
  --section-gap: 60px;
  --container-max-width: 1140px;
}

@font-face {
  font-family: 'Orbitron';
  font-weight: 700;
  src: local('Orbitron Bold'), url('https://fonts.googleapis.com/css?family=Orbitron:700') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-weight: 400;
  src: local('Roboto'), url('https://fonts.googleapis.com/css?family=Roboto:400,700') format('woff');
}

/* LAYOUT CONTAINERS */
.container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: var(--section-gap);
  padding: 40px 20px;
  background: var(--brand-accent);
  border-radius: var(--radius-lg);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  color: var(--brand-primary);
}
h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.11;
  margin-bottom: 16px;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.065em;
}
h4, h5 {
  font-size: 1rem;
  font-weight: 700;
}
p, li, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brand-primary);
}
p {
  margin-bottom: 10px;
}
strong {
  font-weight: bold;
}
blockquote {
  border-left: 4px solid var(--brand-secondary);
  background: #F9FBFC;
  margin: 0 0 16px 0;
  padding: 12px 20px;
  font-size: 1.1rem;
  font-style: italic;
  color: #28325a;
  border-radius: var(--radius-md);
}

/* NAVIGATION */
header {
  width: 100%;
  padding: 0 0 0 0;
  background: var(--brand-accent);
  box-shadow: 0 1.5px 10px rgba(20,28,58,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 72px;
}
header > a > img {
  height: 48px;
  margin-right: 24px;
  display: block;
}
header nav.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  flex: 1;
}
header nav.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.1em;
  padding: 8px 0;
  border-bottom: 3px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
header nav.main-nav a:hover, header nav.main-nav a.active {
  color: var(--brand-secondary);
  border-bottom: 3px solid var(--brand-secondary);
}
.cta.primary {
  background: var(--brand-primary);
  color: var(--brand-accent);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 13px 32px;
  margin-left: 32px;
  border: none;
  box-shadow: 0 2.5px 8px rgba(20,28,58,0.08);
  transition: background 0.18s, color 0.18s, transform 0.15s;
  cursor: pointer;
  display: inline-block;
  outline: none;
}
.cta.primary:hover,
.cta.primary:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  transform: translateY(-2px) scale(1.045);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--brand-primary);
  background: none;
  border: none;
  margin-left: 20px;
  cursor: pointer;
  z-index: 60;
  transition: color 0.16s, transform 0.13s;
}
.mobile-menu-toggle:focus {
  color: var(--brand-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,28,58,0.99);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.48,.13,.31,.92);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--brand-secondary);
  padding: 28px 30px 6px 0;
  cursor: pointer;
  z-index: 122;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  padding: 40px 30px 0 30px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brand-text-light);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 12px 0;
  transition: color 0.16s;
  border-bottom: 2px solid transparent;
  width: 100%;
  display: block;
}
.mobile-nav a:active,
.mobile-nav a:hover {
  color: var(--brand-secondary);
  border-bottom: 2px solid var(--brand-secondary);
}

/* Responsive NAV */
@media (max-width: 1020px) {
  header nav.main-nav,
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu,
  .mobile-menu.open {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* MAIN STYLED SECTIONS */
main {
  width: 100%;
  margin-top: 48px;
}
section {
  margin-bottom: var(--section-gap);
  padding: 40px 0px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* FEATURE GRIDS ETC */
.feature-grid, .service-grid, .article-list, .event-list, .testimonial-list, .expert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 16px;
}
.feature-grid > div,
.service-grid > div,
.event-list > li,
.article-list > li,
.expert-list > div {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 360px;
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.feature-grid > div:hover,
.service-grid > div:hover,
.article-list > li:hover,
.event-list > li:hover,
.expert-list > div:hover {
  box-shadow: 0 6px 24px rgba(20,28,58,0.16), 0 1.5px 3px rgba(20,28,58,0.11);
  transform: translateY(-3px) scale(1.03);
}
.feature-grid img,
.article-list img,
.event-list img {
  width: 44px;
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  margin-bottom: 7px;
  background: var(--brand-accent);
  box-shadow: 0 2px 6px rgba(34,211,238,0.08);
}

/* TESTIMONIAL CARDS */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 20px 28px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  min-width: 260px;
  max-width: 420px;
  flex: 1 1 300px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.15s;
}
.testimonial-card p {
  font-size: 1.06rem;
  color: #222951;
  margin-bottom: 4px;
  font-style: italic;
  letter-spacing: 0.02em;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #666e8f;
  font-family: var(--font-body);
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(34,211,238,0.13), 0 2px 8px rgba(34,211,238,0.05);
  transform: translateY(-2px) scale(1.02);
}

/* LISTS AND TEAM */
.team-highlights ul,
.text-section ul,
.article-list {
  margin-left: 0;
  margin-bottom: 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
}
.team-highlights ul li::before,
.text-section ul li::before {
  content: "■ ";
  color: var(--brand-secondary);
  font-size: 1rem;
  font-family: var(--font-display);
}

/* TEXT AND IMAGE BLOCKS */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

/* SECTION + CARD CONSIDERATIONS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(20,28,58,0.16), 0 4px 16px rgba(34,211,238,0.08);
  transform: translateY(-3px) scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BUTTONS */
button,
input[type="submit"],
input[type="button"] {
  font-family: var(--font-display);
  border-radius: var(--radius-md);
  background: var(--brand-secondary);
  color: var(--brand-primary);
  padding: 11px 30px;
  font-weight: 700;
  border: none;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.13s;
  letter-spacing: 0.10em;
}
button:hover, button:focus,
input[type="submit"]:hover, input[type="button"]:hover {
  background: var(--brand-primary);
  color: var(--brand-accent);
  transform: translateY(-1.5px) scale(1.035);
}

/* FOOTER */
footer {
  padding: 44px 0 30px 0;
  background: var(--brand-primary);
  color: var(--brand-accent);
  font-family: var(--font-body);
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex: 1;
}
footer nav.footer-nav a {
  color: var(--brand-accent);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border 0.17s;
  padding: 5px 0;
}
footer nav.footer-nav a:hover {
  color: var(--brand-secondary);
  border-bottom: 2px solid var(--brand-secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.98rem;
  flex: 1;
}
.footer-contact img {
  width: 18px;
  vertical-align: baseline;
  margin-right: 5px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
  font-size: 0.92rem;
}
.footer-brand img {
  height: 34px;
  margin-right: 8px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -2.5px 12px rgba(20,28,58,0.14);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 36px;
  z-index: 2000;
  transition: transform 0.35s cubic-bezier(.77,-0.05,.29,1), opacity 0.16s;
  border-radius: 20px 20px 0 0;
  font-family: var(--font-body);
  color: var(--brand-primary);
}
.cookie-banner.hidden {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  flex: 2;
  font-size: 1.03rem;
  color: #222951;
  margin-right: 30px;
}
.cookie-banner__btn-group {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 17px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-banner__btn {
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.cookie-banner__btn.reject {
  background: #e6e8ee;
  color: var(--brand-primary);
  border: 2px solid #cfd8e4;
}
.cookie-banner__btn.settings {
  background: var(--brand-primary);
  color: #fff;
  border: 2px solid var(--brand-secondary);
}
.cookie-banner__btn:hover,
.cookie-banner__btn:focus {
  background: var(--brand-primary);
  color: var(--brand-secondary);
}
.cookie-banner__btn.reject:hover {
  background: #e8ecef;
  color: var(--brand-primary);
}
.cookie-banner__btn.settings:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  background: #fff;
  z-index: 3200;
  box-shadow: 0 6px 40px rgba(20,28,58,0.22);
  border-radius: var(--radius-lg);
  width: 96%;
  max-width: 410px;
  padding: 40px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 1;
  transition: opacity 0.18s, transform 0.22s cubic-bezier(.5,.1,.15,1.15);
  pointer-events: auto;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-40%) scale(0.90);
}
.cookie-modal__header {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--brand-primary);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.cookie-modal__section {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-modal__label {
  font-size: 1rem;
  font-family: var(--font-body);
  color: #222951;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
  background: #e0e7ee;
  border-radius: 11px;
  transition: background 0.19s;
  margin-left: 12px;
  display: inline-block;
}
.cookie-toggle-switch input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  cursor: pointer;
  margin: 0;
  top: 0;
  left: 0;
}
.cookie-toggle-slider {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 16px;
  height: 16px;
  background: var(--brand-primary);
  border-radius: 50%;
  transition: left 0.19s cubic-bezier(.5,.1,.15,1.15), background 0.12s;
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider {
  left: 20px;
  background: var(--brand-secondary);
}
.cookie-toggle-switch.essential {
  background: #d1e9ef;
  opacity: 0.66;
  pointer-events: none;
}
.cookie-modal__footer {
  margin-top: 10px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal__btn {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: none;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  transition: background 0.16s, color 0.16s;
  cursor: pointer;
}
.cookie-modal__btn:focus, .cookie-modal__btn:hover {
  background: var(--brand-primary);
  color: var(--brand-secondary);
}

@media (max-width: 1020px) {
  .footer-contact,
  .footer-brand,
  footer .container {
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  footer .container {
    gap: 20px;
  }
}
@media (max-width: 640px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section,
  section {
    padding: 32px 0px;
    margin-bottom: 44px;
    border-radius: var(--radius-md);
  }
  .feature-grid, .service-grid, .testimonial-list, .event-list, .expert-list, .card-container {
    gap: 16px;
  }
  .feature-grid > div,
  .service-grid > div,
  .event-list > li,
  .expert-list > div,
  .card {
    min-width: 90vw;
    max-width: 100vw;
    padding: 18px 9px;
  }
  .testimonial-list {
    gap: 14px;
  }
  .testimonial-card {
    max-width: 94vw;
    padding: 15px 10px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 8px 10px 14px;
    gap: 12px;
    font-size: 0.96rem;
    border-radius: 12px 12px 0 0;
  }
  .cookie-banner__text {
    margin-right: 0;
  }
  .cookie-banner__btn-group {
    gap: 8px;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .cookie-modal {
    padding: 24px 6px 18px 6px;
    max-width: 98vw;
  }
  header > a > img {
    height: 34px;
    margin-right: 12px;
  }
}

/* FLEXBOX RESPONSIVE RULES */
@media (max-width: 1020px) {
  .container {
    flex-direction: column;
    max-width: 98vw;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-grid,
  .service-grid,
  .testimonial-list,
  .event-list,
  .article-list,
  .expert-list,
  .card-container {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature-grid > div,
  .service-grid > div,
  .event-list > li,
  .card {
    max-width: 96vw;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

/* GEOMETRIC/STRUCTURED EFFECTS */
.feature-grid > div,
.service-grid > div,
.event-list > li,
.card,
.testimonial-card {
  border: 2px solid #e7edf5;
  position: relative;
  border-radius: 0 32px 0 32px;
  /* geometric corners */
  box-shadow: var(--card-shadow);
}
.feature-grid > div:before,
.service-grid > div:before,
.event-list > li:before,
.card:before,
.testimonial-card:before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 40px;
  height: 36px;
  background: rgba(34,211,238,0.055);
  border-radius: 0 13px 0 0;
  z-index: 0;
  pointer-events: none;
}
.feature-grid > div:after,
.service-grid > div:after,
.event-list > li:after,
.card:after,
.testimonial-card:after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 30px;
  height: 26px;
  background: rgba(20,28,58,0.045);
  border-radius: 0 0 20px 0;
  z-index: 0;
  pointer-events: none;
}

/* MICRO-INTERACTIONS & TRANSITIONS */
a, button, .cta.primary, .mobile-nav a, .footer-nav a {
  transition: color 0.17s, background 0.17s, border 0.17s, transform 0.14s;
}
.card, .testimonial-card, .feature-grid > div, .service-grid > div, .event-list > li, .expert-list > div {
  transition: box-shadow 0.19s, transform 0.13s;
}

/* ACCESSIBILITY/FOCUS STATES */
.mobile-menu-close:focus, .mobile-menu-toggle:focus, .cta.primary:focus, .cookie-banner__btn:focus, .cookie-modal__btn:focus {
  outline: 2.5px dashed var(--brand-secondary);
  outline-offset: 3px;
}

/* END */
