/* 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 {
  height: 100%;
  background: #232d3b;
}
body {
  background: linear-gradient(135deg, #2F4858 0%, #232d3b 100%);
  font-family: 'Roboto', Arial, sans-serif;
  color: #F6F7EB;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #51A3A3;
  transition: color 0.2s;
  text-decoration: none;
}
a:focus, a:hover {
  color: #F6F7EB;
  text-shadow: 0 0 7px #51A3A3;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #F6F7EB;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-top: 32px;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-top: 24px;
  margin-bottom: 10px;
}
.subheadline {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #51A3A3;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
strong {
  color: #51A3A3;
  font-weight: bold;
}

/* General Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  padding: 40px 20px;
  margin-bottom: 60px;
  border-radius: 24px;
  background: rgba(47, 72, 88, 0.93);
  box-shadow: 0 4px 32px 0 rgba(81, 163, 163, 0.05), 0 0 0 2px #232d3b;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  background: rgba(47, 72, 88, 0.85);
}

/* Section Spacing Consistency */
section {
  margin-bottom: 60px;
  padding-top: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Flex Utility Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  background: #23323f;
  box-shadow: 0 2px 14px rgba(81, 163, 163, 0.07);
  transition: box-shadow 0.2s, border-color 0.2s;
  border: 1.5px solid rgba(81,163,163,0.11);
}
.card:hover, .card:focus-within {
  box-shadow: 0 0 16px #51A3A3;
  border-color: #51A3A3;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #F6F7EB;
  color: #2F4858;
  box-shadow: 0 2px 24px 0 rgba(81,163,163,0.10);
  margin-bottom: 24px;
  flex: 1 1 350px;
  min-width: 260px;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}
.testimonial-card cite {
  margin-left: 16px;
  font-size: 0.98rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #51A3A3;
  font-style: normal;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* List items with icons */
ul {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}
ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
  gap: 10px;
  font-size: 1rem;
}
ul li img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px #51A3A3);
}

/* Event Grid (Flexbox only) */
.event-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0;
}
.event-item {
  background: #192530;
  border-left: 4px solid #51A3A3;
  border-radius: 18px;
  color: #F6F7EB;
  padding: 28px 22px;
  flex: 1 1 300px;
  min-width: 250px;
  margin-bottom: 20px;
  box-shadow: 0 0 12px rgba(81,163,163,0.07);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.event-item:hover, .event-item:focus-within {
  box-shadow: 0 0 12px #51A3A3;
  border-color: #51A3A3;
}

/* CTA BUTTONS */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #51A3A3;
  color: #2F4858;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 32px;
  padding: 14px 36px;
  margin-top: 16px;
  font-size: 1.18rem;
  box-shadow: 0 2px 16px 0 rgba(81,163,163,0.15), 0 0 0 2px #23323f;
  cursor: pointer;
  outline: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.23s, transform 0.16s;
  text-shadow: 0 0 8px #F6F7EB;
}
.cta:hover, .cta:focus {
  background: #F6F7EB;
  color: #2F4858;
  box-shadow: 0 0 18px #51A3A3, 0 2px 16px 0 rgba(81,163,163,0.25);
  transform: translateY(-2px) scale(1.04);
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #232d3b;
  box-shadow: 0 2px 14px rgba(81, 163, 163, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 9px 18px;
}
header img {
  height: 49px;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  color: #F6F7EB;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 500;
  border-radius: 14px;
  padding: 6px 18px;
  transition: background 0.16s, color 0.16s, box-shadow 0.12s;
}
.main-nav a.cta {
  background: #51A3A3;
  color: #2F4858;
  border-radius: 21px;
  font-size: 1.1rem;
  margin-left: 14px;
  font-weight: 700;
  padding: 8px 30px;
  box-shadow: 0 1px 6px rgba(246,247,235,0.09);
}
.main-nav a:hover, .main-nav a:focus {
  background: #192530;
  color: #51A3A3;
  box-shadow: 0 0 8px #51A3A3;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #F6F7EB;
  color: #2F4858;
  box-shadow: 0 0 16px #51A3A3;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #51A3A3;
  cursor: pointer;
  margin-left: 16px;
  border-radius: 8px;
  padding: 6px 14px;
  display: none;
  z-index: 999;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #192530;
  color: #F6F7EB;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,61,86,0.97);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.77,0,0.175,1);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #51A3A3;
  cursor: pointer;
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 9999;
  border-radius: 8px;
  background: rgba(35,45,56,0.04);
  padding: 6px 16px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #192530;
  color: #F6F7EB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 90px;
  align-items: center;
}
.mobile-nav a {
  color: #F6F7EB;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  background: none;
  border: none;
  padding: 14px 24px;
  border-radius: 14px;
  transition: background 0.15s, color 0.15s;
  width: 92%;
  text-align: center;
  text-shadow: 0 0 2px #51A3A3;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #192530;
  color: #51A3A3;
}

@media (max-width: 1100px) {
  .container {
    max-width: 960px;
  }
  header img {
    height: 39px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 740px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .content-wrapper {
    padding: 22px 7px;
    border-radius: 14px;
  }
  .event-item, .testimonial-card, .card {
    min-width: 180px;
    font-size: 0.98rem;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 9px;
    padding: 13px 7px 7px 7px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .event-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .event-item, .testimonial-card, .card {
    padding: 12px 7px;
    font-size: 0.91rem;
    border-radius: 9px;
  }
}

/* Footer */
footer {
  background: #192530;
  color: #F6F7EB;
  padding: 36px 0 16px;
}
footer .container {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
}
footer nav {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
footer nav a {
  color: #51A3A3;
  font-size: 1.01rem;
  padding: 4px 13px;
  border-radius: 12px;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: #2F4858;
  color: #F6F7EB;
}
footer address {
  font-style: normal;
  color: #F6F7EB;
  font-size: 0.97rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer address img {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  margin-right: 7px;
  filter: drop-shadow(0 0 4px #51A3A3);
  margin-bottom: -3px;
}

/* Featured Article box (news page) */
.featured-article {
  background: rgba(81,163,163,0.14);
  border-left: 4px solid #51A3A3;
  padding: 22px 18px;
  border-radius: 16px;
  margin: 20px 0 16px 0;
  box-shadow: 0 1px 17px 0 rgba(81,163,163,0.08);
}

/* Cards for generic info (for re-use) */
.card, .card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 12px;
  min-width: 200px;
}

/* dl FAQ styles */
dl {
  margin-bottom: 22px;
}
dt {
  color: #51A3A3;
  font-weight: bold;
  margin-bottom: 5px;
}
dd {
  color: #F6F7EB;
  margin-bottom: 13px;
  margin-left: 0;
}

/* OL for rules/terms page */
ol {
  list-style: decimal inside;
  margin: 0 0 16px 6px;
  padding: 0;
}
ol li {
  margin: 0 0 13px 0;
  font-size: 1rem;
}

/* Animations/Microinteractions */
.cta, .main-nav a, .event-item, .card, .testimonial-card, .mobile-nav a, .mobile-menu-toggle {
  transition: background 0.15s, color 0.17s, box-shadow 0.18s, border-color 0.19s, transform 0.13s;
}

/*::selection Styling*/
::selection {
  background: #51A3A3;
  color: #232d3b;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4000;
  background: #2F4858;
  color: #F6F7EB;
  box-shadow: 0 -2px 32px 0 rgba(81,163,163,0.23);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 13px 20px 13px;
  gap: 18px;
  font-size: 0.97rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 18px;
  padding: 10px 22px;
  margin: 2px 0;
  background: #51A3A3;
  color: #2F4858;
  box-shadow: 0 1px 7px rgba(81,163,163,0.15);
  cursor: pointer;
  transition: background 0.13s, color 0.13s, box-shadow 0.17s;
}
.cookie-banner button.reject {
  background: #192530;
  color: #F6F7EB;
  border: 1.5px solid #51A3A3;
}
.cookie-banner button.settings {
  background: #F6F7EB;
  color: #2F4858;
  border: 1.5px solid #51A3A3;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  box-shadow: 0 0 12px #51A3A3;
  background: #F6F7EB;
  color: #2F4858;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #232d3b;
  color: #51A3A3;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #51A3A3;
  color: #F6F7EB;
  border-color: #F6F7EB;
}

/* Cookie Consent Preferences Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5000;
  background: rgba(35,45,56,0.92);
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-dialog {
  background: #2F4858;
  color: #F6F7EB;
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(81,163,163,0.19);
  padding: 38px 24px 28px;
  min-width: 277px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1rem;
  position: relative;
  animation: fadeInModal 0.33s;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal-dialog h4 {
  color: #51A3A3;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-bottom: 10px;
  font-size: 1.22rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 0;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #F6F7EB;
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #51A3A3;
}
.cookie-category input[disabled], .cookie-category input[readonly] {
  accent-color: #23323f;
  opacity: 0.7;
}
.cookie-modal-dialog .cookie-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal-dialog button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  padding: 8px 18px;
  border: none;
  border-radius: 13px;
  background: #51A3A3;
  color: #2F4858;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal-dialog button.close {
  background: #192530;
  color: #F6F7EB;
  margin-left: 0;
  margin-top: 0;
}
.cookie-modal-dialog button:hover, .cookie-modal-dialog button:focus {
  background: #F6F7EB;
  color: #2F4858;
}
.cookie-modal-dialog button.close:hover, .cookie-modal-dialog button.close:focus {
  background: #51A3A3;
  color: #232d3b;
}
.cookie-modal-close-btn {
  position: absolute;
  top: 9px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #51A3A3;
  cursor: pointer;
}
.cookie-modal-close-btn:hover, .cookie-modal-close-btn:focus {
  color: #F6F7EB;
}

/* Utility Classes */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }

/* Hide visually but keep accessible (for ARIA, not needed in all code) */
.visually-hidden { 
  border: 0; clip: rect(0 0 0 0);
  height: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute;
  width: 1px;
}

/* Neon-like effect for icons & some accents */
.neon {
  text-shadow: 0 0 6px #51A3A3, 0 0 13px #2F4858;
}

/* Miscellaneous */
hr {
  border: none;
  height: 1px;
  background: #51A3A3;
  margin: 16px 0;
  opacity: 0.15;
}

/* SCROLLBAR STYLES for Tech Futuristic Vibe */
::-webkit-scrollbar {
  width: 8px;
  background: #232d3b;
}
::-webkit-scrollbar-thumb {
  background: #51A3A3;
  border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F6F7EB;
}

/* ENFORCED FLEXBOX LAYOUTS: NEVER display: grid nor columns! */
/* All critical multi-item layouts use only flex and gap as above */
