/* ===============================
   SILENT ORIGINS TECH FUTURISTIC
   Responsive Flexbox CSS Styles
   =============================== */

/* ---- RESET + 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
body {
  min-height: 100vh;
  color: #F2ECE5;
  background: linear-gradient(125deg,#234027 0%,#1E2227 100%);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  position: relative;
  transition: background 0.6s;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

/* ---- BRAND TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Times New Roman', serif;
  color: #F2ECE5;
  font-weight: 700;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.subheadline {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #dedede;
  font-size: 1.2rem;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  font-weight: 400;
}
p, ul, ol, blockquote {
  margin-bottom: 20px;
  color: #e3e3dd;
}
ul, ol {
  padding-left: 1.6em;
}
blockquote {
  padding: 16px 24px;
  border-left: 3px solid #6C5432;
  color: #e3e3dd;
  background: rgba(35,64,39,0.13);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  margin: 12px 0 18px 0;
}
a {
  color: #7df4d7;
  text-decoration: none;
  transition: color 0.18s;
  outline: none;
}
a:hover, a:focus {
  color: #9ef9ed;
  text-decoration: underline;
}
strong {
  color: #F2ECE5;
  font-weight: 600;
}

/* ==================
   FLEXBOX LAYOUTS
   ================== */
.container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 12px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(35,64,39,0.97);
  border-radius: 20px;
  box-shadow: 0 0 24px 0 rgba(75,255,165,0.04),0 2px 10px 0 rgba(20,45,25,0.12);
  position: relative;
}
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #213826;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(119, 255, 199, 0.09),0 8px 36px 0 rgba(20,45,25,0.09);
  overflow: hidden;
  flex: 1 1 280px;
  transition: transform 0.2s, box-shadow 0.22s;
}
.card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 6px 36px 0 rgba(127,255,220,0.24),0 16px 64px 0 rgba(76,255,199,0.14);
}
.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;
  background: #faf9f7;
  color: #234027;
  border-left: 5px solid #49fbbd;
  border-radius: 16px;
  box-shadow: 0 6px 24px 0 rgba(44,255,195,0.08), 0 1px 6px 0 rgba(26,35,20,0.08);
  margin-bottom: 20px;
  margin-top: 0;
  transition: box-shadow 0.22s,border-color 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(44,255,195,0.16), 0 2px 12px 0 rgba(26,35,20,0.13);
  border-color: #28e28f;
}
.testimonial-card blockquote {
  color: #101d12;
}
.testimonial-meta {
  font-size: 0.98em;
  color: #6C5432;
  padding-left: 5px;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-right: 10px;
}

/* ------------
   HERO SECTION
   ------------ */
.hero {
  background: linear-gradient(115deg, #234027 70%, #30e1a2 210%);
  padding: 64px 0 54px 0;
  display: flex;
  align-items: center;
  border-bottom: 3px solid #25b0ff13;
  margin-bottom: 44px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero .content-wrapper {
  gap: 12px;
  margin-bottom: 0;
}

/* ------------------------
   PHILOSOPHY/FEATURE GRIDS
   ------------------------ */
.feature-grid, .value-list, .service-list, .workshop-features .feature-grid, .ethics-features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-grid > div, .value-list > div, .workshop-features .feature-grid > div, .ethics-features .feature-grid > div {
  background: rgba(46,99,58,0.92);
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(59,255,177,0.07);
  padding: 24px 20px 28px 20px;
  flex: 1 1 250px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-bottom: 4px solid #30e1a2;
  transition: box-shadow 0.18s, border-color 0.2s;
}
.feature-grid > div:hover, .value-list > div:hover, .workshop-features .feature-grid > div:hover, .ethics-features .feature-grid > div:hover {
  box-shadow: 0 6px 28px 0 rgba(44,255,195,0.12);
  border-bottom-color: #87fff0;
  transform: translateY(-4px) scale(1.013);
}
.feature-grid img,
.value-list img,
.workshop-features .feature-grid img,
.ethics-features .feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 8px #27fad6aa) brightness(1.12);
}
.service-list {
  flex-direction: column;
  gap: 20px;
}
.service-item {
  background: #213826;
  border-radius: 16px;
  padding: 24px 20px 18px 20px;
  box-shadow: 0 1px 12px 0 rgba(94,255,201,0.04);
  margin-bottom: 20px;
}

/* ------
   UL/LI
   ------ */
ul li, ol li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 0.8em;
  line-height: 1.6;
}
ul li strong,
ol li strong {
  color: #fff;
}
ul li span {
  color: #30e1a2;
  font-weight: 700;
  padding-left: 8px;
  font-size: 0.97em;
}

.event-highlights ul, .next-steps ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 10px;
}
.event-highlights ul li img {
  width: 32px;
  height: 32px;
  margin-right: 11px;
  vertical-align: middle;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ================================
   NAVIGATION & HEADER
   ================================ */
header {
  width: 100%;
  background: rgba(24,43,27,0.97);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 18px 20px 14px 20px;
  box-shadow: 0 2px 14px 0 rgba(76,232,188,0.09);
  position: relative;
}
header > a img {
  width: 148px;
  height: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  flex: 1 1 auto;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #aeeadd;
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 8px 0 4px 0;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: color 0.15s, border-bottom 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #e3fff7;
  border-bottom: 2px solid #3ddebe;
}
.cta.primary {
  background: linear-gradient(90deg,#30e1a2 40%,#6C5432 99%);
  color: #fff;
  font-family: 'Merriweather', serif;
  border: none;
  border-radius: 99px;
  padding: 12px 36px;
  margin-left: 32px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 1px 8px 0 #1e2e2188;
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.18s, background 0.22s;
  z-index: 20;
}
.cta.secondary {
  background: none;
  color: #30e1a2;
  border: 2px solid #30e1a2;
  padding: 10px 26px;
  border-radius: 99px;
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 18px;
  transition: background 0.18s, color 0.13s, border-color 0.13s;
}
.cta.primary:hover,
.cta.primary:focus {
  background: linear-gradient(90deg,#41ffc7 30%,#38d39b 105%);
  box-shadow: 0 4px 34px 0 #30e1a234;
  color: #222;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: #30e1a2;
  color: #213826;
  border-color: #41ffc7;
}
.cta {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, color 0.13s;
}

/* ------
   SOCIAL ICONS
 ------ */
.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  align-items: center;
}
.social-icons img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 6px #30e1a2bb) grayscale(0.1);
  transition: filter 0.16s;
}
.social-icons img:hover {
  filter: drop-shadow(0 0 13px #30e1a2ee) brightness(1.18);
}

/* ---- MOBILE NAVIGATION ---- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #30e1a2;
  font-size: 2em;
  padding: 2px 10px;
  margin-left: 20px;
  cursor: pointer;
  z-index: 101;
  transition: color 0.21s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover { color: #3ddebe; }
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(105deg, #101d12 85%, #30e1a2 170%);
  z-index: 990;
  transform: translateX(-110vw);
  transition: transform 0.45s cubic-bezier(0.83, 0, 0.17, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 2px 32px 0 #30e1a249;
}
.mobile-menu-close {
  border: none;
  background: none;
  color: #30e1a2;
  font-size: 2.2em;
  padding: 26px 28px 8px 18px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.19s;
  z-index: 1014;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #87fff0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin: 36px 0 0 36px;
}
.mobile-nav a {
  font-size: 1.28rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 7px 0;
  transition: color 0.13s, background 0.17s;
  border-radius: 8px;
  display: block;
  width: 100%;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: rgba(48,225,162,0.13);
  color: #30e1a2;
}

/* =====================
   RESPONSIVE BREAKPOINTS
   ===================== */
@media (max-width: 1100px) {
  .feature-grid > div, .value-list > div, .workshop-features .feature-grid > div, .ethics-features .feature-grid > div {
    min-width: 180px;
    flex: 1 1 160px;
  }
  .main-nav {
    gap: 14px;
    margin-left: 20px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 10px;
  }
  .main-nav {
    display: none;
  }
  .cta.primary {
    margin-left: 10px;
    font-size: 1rem;
    padding: 12px 16px;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 40px;
  }
  .feature-grid, .value-list, .event-highlights ul, .content-grid, .card-grid, .service-list, .workshop-features .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .value-list > div, .workshop-features .feature-grid > div, .ethics-features .feature-grid > div {
    min-width: 0;
    flex: 1 1 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  header {
    flex-direction: row;
    padding: 13px 6px 11px 6px;
    gap: 5px;
  }
  .cta.primary {
    font-size: 1rem;
    padding: 10px 16px;
    margin-left: 3px;
  }
  .hero {
    padding: 38px 0 30px 0;
    margin-bottom: 30px;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.42rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .cta.primary, .cta.secondary {
    padding: 10px 12px;
    font-size: 0.98rem;
  }
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: linear-gradient(90deg,#1d3322 85%,#2fcfa5 170%);
  width: 100%;
  padding: 30px 0 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer a img {
  width: 52px;
  height: 52px;
  margin-bottom: 7px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #d0feef;
  font-size: 1em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.12s, border-color 0.12s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #30e1a2;
  border-bottom: 1px solid #49fbbd;
}
.footer-meta {
  color: #a3bdab;
  font-size: 14px;
  padding-top: 4px;
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(90deg,#193721 60%,#344d36 105%);
  color: #F2ECE5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 23px 24px 19px 24px;
  box-shadow: 0 -2px 32px 0 #36dd81aa;
  z-index: 1111;
  font-size: 1em;
  transition: transform 0.35s cubic-bezier(0.59,0.02,0.12,0.97);
}
.cookie-banner.hidden {
  transform: translateY(140%);
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
}
.cookie-btn, .cookie-accept, .cookie-reject, .cookie-settings {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  border-radius: 99px;
  border: none;
  padding: 8px 22px;
  font-size: 1em;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
  margin-left: 4px;
  transition: background 0.13s, color 0.14s;
}
.cookie-accept {
  background: #30e1a2;
  color: #fff;
}
.cookie-accept:hover,
.cookie-accept:focus {
  background: #41ffc7;
  color: #1d3221;
}
.cookie-reject {
  background: #222;
  color: #30e1a2;
  border: 1.7px solid #30e1a2;
}
.cookie-reject:hover,
.cookie-reject:focus {
  background: #232323;
  color: #fff;
}
.cookie-settings {
  background: #6C5432;
  color: #fff;
}
.cookie-settings:hover,
.cookie-settings:focus {
  background: #8a6a40;
  color: #fff;
}

/* ----------------------
   COOKIE MODAL
   ---------------------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1200;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(21,37,25,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.32s, visibility 0.32s;
}
.cookie-modal-overlay.active {
  visibility: visible;
  opacity: 1;
}
.cookie-modal {
  background: #1d3321;
  color: #fff;
  padding: 38px 32px 28px 32px;
  border-radius: 24px;
  box-shadow: 0 8px 46px 0 #30e1a249;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.cookie-modal h3 {
  font-size: 1.24em;
  color: #30e1a2;
}
.cookie-modal label {
  font-size: 1em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-toggle {
  accent-color: #30e1a2;
  width: 22px; height: 22px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 18px 10px 16px 10px;
    min-width: 0;
    border-radius: 16px;
    font-size: 0.97em;
  }
}

/* =====================
   UTILITY/HELPER
   ===================== */
.hide {
  display: none !important;
}
.visible {
  display: block !important;
}

/* =====================
   EXTRAS & INTERACTIONS
   ===================== */
::-webkit-selection {
  background: #30e1a2;
  color: #143b20;
}
::selection {
  background: #30e1a2;
  color: #143b20;
}

/* Futuristic micro-interactions for buttons */
.cta.primary, .cta.secondary, .cookie-accept, .cookie-reject, .cookie-settings {
  position: relative;
  overflow: hidden;
}
.cta.primary::before, .cta.secondary::before, .cookie-accept::before, .cookie-reject::before, .cookie-settings::before {
  content: '';
  display: block;
  position: absolute;
  left: -50px; top: 0;
  width: 40px; height: 150%;
  background: linear-gradient(88deg,rgba(48,225,162,0.24) 0%,rgba(255,255,255,0.04) 100%);
  transform: skewX(-14deg);
  pointer-events: none;
  transition: left 0.38s cubic-bezier(0.49,0,0.22,1);
}
.cta.primary:hover::before, .cta.secondary:hover::before,.cookie-accept:hover::before,.cookie-reject:hover::before,.cookie-settings:hover::before {
  left: 130%;
}

/* Focus States */
*:focus {
  outline: 2px solid #30e1a2;
  outline-offset: 2px;
}

/* =====================
   SCROLLBARS
   ===================== */
body::-webkit-scrollbar {
  width: 12px;
  background: #213826;
}
body::-webkit-scrollbar-thumb {
  background: #30e1a2;
  border-radius: 8px;
}

/* =====================
   CUSTOM SPACING/MARGINS
   ===================== */
.section + .section {
  margin-top: 40px;
}
.card + .card {
  margin-left: 20px;
}

/* =====================
   DARK TESTIMONIALS ON LIGHT
   ===================== */
.testimonials, .testimonials-expert, .event-testimonials {
  background: none;
  margin-bottom: 60px;
}
.testimonials .testimonial-card,
.testimonials-expert .testimonial-card,
.event-testimonials .testimonial-card {
  background: #faf9f7;
  color: #234027;
}

/* =====================
   PRINT STYLE HINT
   ===================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .container, .section, .content-wrapper, main { background: #fff !important; }
  body { color: #222; background: #fff; }
}
