/* ================================================================
   WissensOrbit: "gradient_modern" Style - Responsive Flexbox CSS
==================================================================*/
/* ===== CSS RESET AND BASE =============================== */
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F5F7FA;
  color: #222D3D;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #218dbc;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #56B1D5;
  outline: none;
}
button, .cta-primary, input[type="submit"] {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border: none;
  cursor: pointer;
  background: #222D3D; /* fallback */
  color: #FFF;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 32px;
  letter-spacing: 0.04em;
  font-size: 18px;
  box-shadow: 0 2px 12px rgba(34,45,61,0.06);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  outline: none;
  display: inline-block;
}
button:hover, button:focus, .cta-primary:hover, .cta-primary:focus, input[type="submit"]:hover {
  background: linear-gradient(90deg, #56B1D5 0%, #222D3D 100%);
  color: #FFF;
  box-shadow: 0 4px 24px rgba(34,45,61,0.17);
  transform: translateY(-2px) scale(1.03);
}

/* ======= TYPOGRAPHY / HEADINGS ============================== */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.15;
  color: #222D3D;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #222D3D;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #222D3D;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #222D3D;
}
p, ul, ol {
  font-size: 1rem;
  font-weight: 400;
  color: #222D3D;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 12px;
  padding-left: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.text-section ul {
  list-style: disc inside;
}

/* ======= CONTAINER AND LAYOUT SYSTEM ========================== */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1200px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

/* ----- Section spacing & alignment (MANDATORY) ------ */
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* ====== HEADER & NAVIGATION ================================ */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(34,45,61,0.09);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 16px;
}
header img {
  height: 44px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #222D3D;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  color: #56B1D5;
}
.cta-primary {
  margin-left: 16px;
}

/* ============= MOBILE MENU ================================ */
.mobile-menu-toggle {
  background: none;
  color: #222D3D;
  font-size: 32px;
  padding: 0 8px;
  border: none;
  cursor: pointer;
  display: none;
  z-index: 200;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #56B1D5;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #fff;
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 320px;
  max-width: 95vw;
  transform: translateX(-105%);
  box-shadow: 2px 0 28px rgba(34,45,61,0.17);
  z-index: 999;
  padding: 32px 0 0 0;
  transition: transform 0.33s cubic-bezier(.5,.22,.11,.98);
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 2px 0 32px rgba(34,45,61,0.21);
}
.mobile-menu-close {
  font-size: 32px;
  background: none;
  color: #222D3D;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 20px; right: 20px;
  z-index: 1001;
}
.mobile-nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  padding: 16px 32px;
  font-size: 1.2rem;
  color: #222D3D;
  background: none;
  border-radius: 0 32px 32px 0;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:active,
.mobile-nav a:hover {
  background: #F5F7FA;
  color: #56B1D5;
}

/* Overlay for dark backdrop when mobile menu is open */
body.mobile-menu-open::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(34,45,61,0.22);
  z-index: 998;
  pointer-events: auto;
}

/* == HIDE SHOW NAVIGATION ON BREAKPOINT == */
@media (max-width: 1050px) {
  .main-nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width:1051px) {
  .mobile-menu { display: none !important; }
}

/* ========== HERO SECTIONS ======================= */
.hero, .hero-space, .hero-tech, .hero-invention, .hero-biology, .hero-contact {
  background: linear-gradient(96deg, #56B1D5 6%, #F5F7FA 95%);
  min-height: 350px;
  display: flex;
  align-items: center;
  padding: 60px 0 60px 0;
}
.hero .container, .hero-space .container, .hero-tech .container, .hero-invention .container, .hero-biology .container, .hero-contact .container {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.hero h1, .hero-space h1, .hero-tech h1, .hero-invention h1, .hero-biology h1, .hero-contact h1 {
  color: #222D3D;
  text-shadow: 0 2px 12px rgba(86,177,213,0.05);
}
.hero p, .hero-space p, .hero-tech p, .hero-invention p, .hero-biology p, .hero-contact p {
  color: #222D3D;
  font-size: 1.18rem;
  margin-bottom: 28px;
}

/* ====== FEATURE & SERVICE LISTS ===================== */
.features .feature-grid,
.features-space .feature-list,
.features-tech .feature-list,
.features-invention .feature-list,
.features-biology .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}
.features .feature-grid li, 
.features-space .feature-list li,
.features-tech .feature-list li,
.features-invention .feature-list li,
.features-biology .feature-list li {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(86,177,213,0.05), 0 0.5px 0.5px rgba(34,45,61,0.0103);
  padding: 32px 28px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.15s;
  border: 1px solid #F5F7FA;
}
.features .feature-grid li:hover, 
.features-space .feature-list li:hover,
.features-tech .feature-list li:hover,
.features-invention .feature-list li:hover,
.features-biology .feature-list li:hover  {
  box-shadow: 0 8px 32px rgba(34,45,61,0.12), 0 1px 2px rgba(86,177,213,0.11);
  transform: translateY(-3px) scale(1.015);
}
.features .feature-grid img {
  width: 48px; height: 48px;
}
/* ----- Service lists (index/services etc) --------- */
.services .service-list,
.space-services ul,
.tech-services ul,
.invention-services ul,
.biology-services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
  padding-left: 0;
  list-style: none;
}
.services .service-list li,
.space-services ul li,
.tech-services ul li,
.invention-services ul li,
.biology-services ul li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(86,177,213,0.07);
  padding: 28px 24px;
  flex: 1 1 260px;
  min-width: 210px; max-width: 340px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 4px solid #56B1D5;
  transition: box-shadow 0.18s, border-color 0.25s;
}
.services .service-list li strong {
  color: #222D3D;
}
.services .service-list li:hover,
.space-services ul li:hover,
.tech-services ul li:hover,
.invention-services ul li:hover,
.biology-services ul li:hover {
  box-shadow: 0 8px 32px rgba(86,177,213,0.14);
  border-left: 4px solid #222D3D;
}

/* ----- Misc Cards/facts --------- */
.fact-snippets ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 14px;
  list-style: circle inside;
  background: #F5F7FA;
  border-radius: 12px;
  padding: 18px 16px;
}
.fact-snippets ul li {
  flex: 1 1 180px;
  color: #222D3D;
  font-size: 1rem;
  margin-bottom: 0 !important;
  min-width: 140px;
}

.infographic-elements {
  background: linear-gradient(96deg, #F5F7FA 60%, #56B1D5 110%);
  border-radius: 12px;
  padding: 20px 28px;
  margin-top: 16px;
  box-shadow: 0 2px 16px rgba(86,177,213,0.08);
}

/* ============== ABOUT/TEAM ========================= */
.team .team-intros {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team .person {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(86,177,213,0.07);
  padding: 24px 20px;
  flex: 1 1 240px;
  min-width: 200px;
  margin-bottom: 20px;
}
.expertise-highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: disc inside;
  background: #F5F7FA;
  border-radius: 12px;
  padding: 16px 22px;
}
.expertise-highlights ul li {
  flex: 1 1 150px;
  font-size: 1rem;
}

/* ============ TESTIMONIALS ==================== */
.testimonials .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 22px rgba(34,45,61,0.15);
  padding: 28px 28px 22px 28px;
  margin-bottom: 20px;
  max-width: 340px;
  min-width: 210px;
  border-left: 6px solid #56B1D5;
  color: #222D3D;
  font-size: 1.04rem;
}
.testimonial-card p {
  color: #222D3D;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #56B1D5;
  font-size: 0.98em;
  margin-top: 8px;
  font-weight: 600;
}

/* =========== CTA SECTIONS ====================== */
.cta, .cta-contact {
  background: linear-gradient(90deg, #56B1D5 10%, #F5F7FA 90%);
  border-radius: 24px;
  box-shadow: 0 2px 22px rgba(86,177,213,0.11);
  text-align: left;
  margin-bottom: 60px;
  padding: 42px 0;
}
.cta .content-wrapper, .cta-contact .content-wrapper {
  align-items: flex-start;
  gap: 16px;
}

/* ============= FOOTER =========================== */
footer {
  background: #222D3D;
  color: #F5F7FA;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  box-shadow: 0 -2px 22px rgba(34,45,61,0.07);
  padding-top: 34px;
  padding-bottom: 10px;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 48px;
  width: 100%;
  max-width: 1200px;
  align-items: flex-start;
  justify-content: space-between;
}
footer a {
  color: #56B1D5;
  font-weight: 500;
  text-decoration: none;
}
footer a:hover {
  color: #F5F7FA;
}
footer .footer-brand, .footer-nav, .footer-legal, .footer-contact {
  flex: 1 1 200px;
  min-width: 180px;
  margin-bottom: 20px;
}
footer .footer-brand img {
  height: 38px;
  margin-bottom: 12px;
}
footer .footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
footer .footer-contact p {
  margin-bottom: 12px;
  color: #F5F7FA;
}
footer h3 {
  color: #56B1D5;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ====== LEGAL / MODAL / INFO PAGES =========== */
.legal-privacy, .legal-gdpr, .legal-cookie, .legal-terms {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(34,45,61,0.11);
  padding: 36px 20px;
  max-width: 900px;
  margin: 48px auto 60px auto;
}
.legal-privacy h1, .legal-gdpr h1, .legal-cookie h1, .legal-terms h1 {
  margin-bottom: 12px;
}
.legal-privacy ul, .legal-gdpr ul, .legal-cookie ul, .legal-terms ul{
  margin-bottom: 16px;
}

/* ====== THANK YOU SECTION =================== */
.thank-you .text-section {
  align-items: center;
  text-align: center;
  gap: 18px;
}

/* ====== CONTACT SECTION ===================== */
.contact-details .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-info, .contact-hours, .business-map, .business-cta {
  display: flex;
  flex-direction: column;
  gap: 10px 0;
  margin-bottom: 12px;
}
.contact-info p, .contact-hours p {
  font-size: 1.02em;
  color: #222D3D;
  display: flex;
  align-items: center;
  gap: 9px;
}
.business-map strong {
  color: #56B1D5;
}

/* =========== COOKIE CONSENT BANNER ================= */
#cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #222D3D;
  color: #F5F7FA;
  box-shadow: 0 -2px 30px rgba(34,45,61,0.18);
  padding: 28px 16px 22px 16px;
  z-index: 10000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
#cookie-consent-banner p {
  margin: 0;
  font-size: 1rem;
  color: #F5F7FA;
  flex: 1 1 auto;
}
#cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
#cookie-consent-banner button {
  padding: 9px 24px;
  border-radius: 24px;
  background: #56B1D5;
  color: #fff;
  border: none;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s;
}
#cookie-consent-banner button:hover, #cookie-consent-banner button:focus {
  background: #218dbc;
  color: #fff;
}
#cookie-consent-banner .cookie-settings {
  background: #F5F7FA;
  color: #222D3D;
  border: 1px solid #56B1D5;
}
#cookie-consent-banner .cookie-settings:hover, #cookie-consent-banner .cookie-settings:focus {
  background: #56B1D5;
  color: #fff;
}

/* ================= COOKIE MODAL ================ */
#cookie-modal {
  position: fixed;
  z-index: 10001;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,45,61, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s cubic-bezier(.19,1,.22,1);
}
#cookie-modal.show {
  opacity: 1;
  visibility: visible;
}
#cookie-modal .cookie-modal-content {
  background: #fff;
  padding: 42px 30px 26px 30px;
  border-radius: 18px;
  box-shadow: 0 4px 37px rgba(56,143,192,0.18), 0 1px 2px rgba(34,45,61,0.09);
  display: flex;
  flex-direction: column;
  min-width: 310px;
  max-width: 97vw;
  align-items: flex-start;
  gap: 14px;
}
#cookie-modal h2 {
  color: #222D3D;
  font-size: 1.4rem;
  margin-bottom: 6px;
}
#cookie-modal .cookie-category {
  margin-bottom: 14px;
}
#cookie-modal label {
  font-size: 1rem;
  color: #222D3D;
  font-weight: 500;
  margin-left: 7px;
}
#cookie-modal .close-modal {
  align-self: flex-end;
  font-size: 1.8rem;
  background: none;
  color: #222D3D;
  border: none;
  cursor: pointer;
  margin-bottom: -18px;
}
#cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#cookie-modal .cookie-buttons {
  margin-top: 12px;
  display: flex;
  flex-direction: row;
  gap: 16px;
}
#cookie-modal button {
  padding: 8px 20px;
  border-radius: 22px;
  background: #56B1D5;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
#cookie-modal button:hover, #cookie-modal button:focus {
  background: #218dbc;
}
@media (max-width: 480px) {
  #cookie-modal .cookie-modal-content {
    padding: 22px 8px;
    min-width: 210px;
  }
}

/* ========== RESPONSIVE ========================= */
@media (max-width: 1150px) {
  .content-wrapper, .team .team-intros, .features .feature-grid, .services .service-list, .fact-snippets ul {
    gap: 14px;
  }
}
@media (max-width: 930px) {
  .footer .content-wrapper {
    gap: 30px;
  }
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 825px) {
  .features .feature-grid, .services .service-list, .fact-snippets ul, .team .team-intros {
    flex-direction: column;
    gap: 18px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    align-items: stretch !important;
  }
}
@media (max-width: 768px) {
  .hero, .hero-space, .hero-tech, .hero-invention, .hero-biology, .hero-contact {
    padding: 38px 0 38px 0;
    min-height: unset;
  }
  .hero .container, .hero-space .container, .hero-tech .container, .hero-invention .container, .hero-biology .container, .hero-contact .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 10px;
  }
  h1, .hero h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  header .container {
    flex-direction: row;
    padding: 10px 10px;
  }
  .section, section {
    margin-bottom: 38px;
    padding: 28px 6px;
  }
  .services .service-list, .features .feature-grid, .fact-snippets ul, .team .team-intros {
    flex-direction: column;
    gap: 14px;
  }
  .content-wrapper {
    padding: 0;
    gap: 12px;
  }
  .cta, .cta-contact {
    padding: 24px 0;
  }
  .legal-privacy, .legal-gdpr, .legal-cookie, .legal-terms {
    padding: 18px 7px;
    margin: 23px auto 30px auto;
  }
  /* Testimonial cards stacking */
  .testimonials .testimonial-slider {
    flex-direction: column;
    gap: 13px;
  }
}
@media (max-width:560px) {
  .section, section {
    padding: 11px 5px;
  }
  h1, .hero h1 {
    font-size: 1.25rem;
  }
}

/* ============= MICRO-INTERACTIONS ========================= */
.card, .feature-grid li, .service-list li, .testimonial-card {
  transition: box-shadow 0.14s cubic-bezier(.37,.93,.32,.97), transform 0.11s cubic-bezier(.11,.76,.22,.98);
}
.card:hover, .feature-grid li:hover, .service-list li:hover, .testimonial-card:hover {
  box-shadow: 0 7px 22px rgba(86,177,213,0.15), 0 2px 8px rgba(34,45,61,0.07);
  transform: translateY(-3px) scale(1.015);
}

/* ======= SPECIAL FLEXBOX PATTERNS PER REQUIREMENT ========== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(86,177,213,0.11);
  background: #fff;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========== UTILITY CLASSES ================== */
.hide { display: none !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.rounded {
  border-radius: 18px !important;
}
.shadow-boost {
  box-shadow: 0 4px 22px rgba(56,143,192,0.18) !important;
}

/* ========== PRINT: Remove banner and menus ============ */
@media print {
  header, footer, #cookie-consent-banner, #cookie-modal, .mobile-menu { display: none !important; }
}

/* ========== FONTS (GOOGLE FONTS IMPORT) ========== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap');
