/* ===================================================================
   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,
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #20262b;
  color: #F9F5EC;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #AED6DC;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F9F5EC;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.4em;
}
strong {
  font-weight: 700;
}

/* ===================================================================
   BRAND FONTS
   (Montserrat, Open Sans)
=================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #F9F5EC;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
}
p {
  color: #E9E6DE;
  margin-bottom: 1em;
}

/* ===================================================================
   GENERAL LAYOUT CONTAINERS
=================================================================== */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 24px 8px;
  }
}

/* ===================================================================
   HEADER & NAVIGATION (INDUSTRIAL MODERN STYLE)
=================================================================== */
header {
  width: 100%;
  background: #27303a;
  box-shadow: 0 2px 12px 0 rgba(32,38,43,0.18);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
header img {
  height: 48px;
  filter: grayscale(0.8) brightness(1.2) contrast(1.2);
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.04rem;
  letter-spacing: 0.03em;
  color: #AED6DC;
  padding: 8px 0;
  font-weight: 700;
  transition: color 0.2s;
  position: relative;
}
header nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #AED6DC;
  transition: width 0.22s cubic-bezier(.45,1.8,.52,.88);
  margin: 0 auto;
}
header nav a:hover:after,
header nav a:focus:after {
  width: 80%;
}
header nav a:hover,
header nav a:focus {
  color: #F9F5EC;
}

.cta-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
  background: linear-gradient(90deg,#AED6DC 0%,#486788 100%);
  color: #20262b;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 800;
  box-shadow: 0 4px 14px 0 rgba(36,68,102,0.18);
  margin-left: 32px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.14s;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(255,255,255,0.08);
  outline: none;
  border-bottom: 2px solid #dad9d6;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg,#244466 0%,#AED6DC 100%);
  color: #F9F5EC;
  box-shadow: 0 8px 28px 0 rgba(36,68,102,0.24);
  transform: translateY(-2px) scale(1.02);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: #AED6DC;
  font-size: 2rem;
  display: none;
  cursor: pointer;
  line-height: 1;
  margin-left: 16px;
  z-index: 20;
  transition: color 0.2s;
  padding: 8px 12px;
}
.mobile-menu-toggle:hover,.mobile-menu-toggle:focus{
  color: #F9F5EC;
}
/* Hide CTA & nav on small screens (show mobile menu toggle) */
@media (max-width: 980px) {
  header nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===================================================================
   MOBILE MENU OVERLAY
=================================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36, 68, 102, 0.97);
  z-index: 200;
  transform: translateX(-110%);
  transition: transform 0.34s cubic-bezier(0.59, 0.02, 0.45, 1.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F9F5EC;
  font-size: 2.2rem;
  padding: 24px 16px 8px 20px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 210;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #AED6DC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px 30px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  color: #AED6DC;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  padding: 8px 0;
  min-width: 180px;
  display: block;
  border-radius: 6px;
  transition: color 0.19s, background 0.2s, border-bottom 0.18s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: #F9F5EC;
  background: rgba(255,255,255,0.03);
  border-bottom: 2px solid #AED6DC;
}
@media (min-width:981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===================================================================
   HERO SECTIONS
=================================================================== */
.hero {
  background: #1A2126;
  background-image: linear-gradient(90deg, #20262b 0%, #27303a 95%);
  border-bottom: 1.5px solid #244466;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  padding: 60px 0 60px 0;
  position: relative;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}
@media (max-width: 768px) {
  .hero {
    padding: 36px 0 38px 0;
    min-height: 180px;
    margin-bottom: 32px;
  }
  .hero .content-wrapper {
    gap: 10px;
  }
  h1 {
    font-size: 1.5rem !important;
    margin-bottom: 18px;
  }
}

/* ===================================================================
   FEATURE, SERVICES & CARDS
=================================================================== */
.features, .services, .workshop-formats, .about-team, .contact, .contact-details, .articles-list, .footer-policy {
  background: #23282e;
  border-radius: 18px;
  box-shadow: 0 8px 36px 0 rgba(30,39,44,0.25), 0 3px 8px rgba(64,92,109,0.07);
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .features, .services, .workshop-formats, .about-team, .contact, .contact-details, .articles-list, .footer-policy {
    margin-bottom: 32px;
    padding: 18px 6px;
    border-radius: 10px;
  }
}

.feature-grid, .service-grid, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  list-style: none;
  margin: 0;
  margin-top: 24px;
}
.feature-grid > li, .service-grid > div, .feature-list > li {
  background: #22262d;
  border-radius: 14px;
  box-shadow: 0 4px 16px 0 rgba(28,34,38,0.14);
  padding: 26px 24px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 340px;
  color: #F9F5EC;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border: 1.8px solid #334155;
  transition: box-shadow 0.18s;
  position: relative;
}
.feature-grid > li:hover, .service-grid > div:hover, .feature-list > li:hover {
  box-shadow: 0 8px 36px 0 rgba(36,68,102,0.17), 0 1.5px 6px rgba(36,68,102,0.07);
}
.feature-grid img, .service-grid img, .feature-list img {
  height: 46px;
  width: 46px;
  margin-bottom: 5px;
  filter: grayscale(0.6) contrast(1.09) brightness(1.16);
}

@media (max-width:900px) {
  .feature-grid, .service-grid, .feature-list {
    gap: 14px;
    justify-content: center;
  }
}
@media (max-width:600px) {
  .feature-grid, .service-grid, .feature-list {
    flex-direction: column;
  }
  .feature-grid > li,.service-grid > div,.feature-list > li {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #29323d;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(36,68,102,0.13);
  padding: 24px;
  color: #F9F5EC;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.16s;
}
.card:hover {
  box-shadow: 0 5px 16px rgba(174,214,220,0.18), 0 1.5px 6px rgba(36,68,102,0.11);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

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

/* ===================================================================
   SERVICES / OFFERS LISTING
=================================================================== */
.services ul, .workshop-formats ul, .about-team ul, .features ul, .articles-list ul, .footer-policy ul {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: column;
}
.services ul li, .workshop-formats ul li, .about-team ul li, .features ul li, .articles-list ul li, .footer-policy ul li {
  background: #20262b;
  padding: 18px 16px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 3.2px solid #AED6DC;
  color: #F9F5EC;
  box-shadow: 0 1.5px 7px rgba(36,68,102,0.10);
  font-size: 1rem;
  transition: box-shadow 0.14s;
  position: relative;
}
.services ul li strong, .workshop-formats ul li strong {
  color: #AED6DC;
  font-weight: 700;
}
.services ul li a, .workshop-formats ul li a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  margin-left: 12px;
  color: #AED6DC;
  background: none;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.14s;
}
.services ul li a:hover, .workshop-formats ul li a:hover {
  color: #F9F5EC;
  text-decoration: none;
}

.articles-list .tags {
  font-size: 0.93em;
  background: #334155;
  color: #AED6DC;
  padding: 2px 10px;
  border-radius: 25px;
  margin-left: 8px;
  font-family: 'Montserrat', monospace;
  letter-spacing: 0.035em;
}

/* ===================================================================
   TESTIMONIALS
=================================================================== */
.testimonials {
  background: #F9F5EC;
  color: #27303a;
  border-radius: 16px;
  box-shadow: 0 13px 30px 0 rgba(36,68,102,0.13);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials h2 {
  color: #244466;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #22262d;
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 20px 34px 20px 24px;
  box-shadow: 0 6px 32px rgba(36,68,102,0.15);
  border-left: 6px solid #244466;
  font-size: 1.08rem;
  font-family: 'Open Sans', sans-serif;
  transition: box-shadow 0.17s, border 0.2s;
}
.testimonial-card p {
  color: #22262d !important;
  margin: 0 0 0.2em 0;
  font-size: 1.06em;
  font-style: italic;
  font-weight: 400;
}
.testimonial-card span {
  color: #244466;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.99em;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 10px 44px rgba(36,68,102,0.19);
  border-left: 6px solid #AED6DC;
}
@media (max-width:600px){
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
  }
}

/* ===================================================================
   CONTACT DETAILS
=================================================================== */
.contact-details .text-section,
.contact .text-section {
  background: #23282e;
  border-radius: 10px;
  padding: 24px;
  color: #F9F5EC;
  font-size: 1.05rem;
  box-shadow: 0 4px 20px rgba(36,68,102,0.10);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details .text-section ul,
.contact .text-section ul {
  margin-bottom: 14px;
}
.contact-details .cta-btn, .contact .cta-btn {
  align-self: flex-start;
}

/* ===================================================================
   FOOTER
=================================================================== */
footer {
  background: #23282e;
  padding: 34px 0 12px 0;
  color: #AED6DC;
  border-top: 2.2px solid #244466;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
footer nav a {
  color: #AED6DC;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.18s;
}
footer nav a:hover {
  color: #F9F5EC;
}
footer span {
  font-size: 0.97rem;
  color: #8BA3B1;
}
@media (max-width:650px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  footer nav {
    gap: 10px;
  }
}

/* ===================================================================
   COOKIE CONSENT BANNER
=================================================================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #27303a;
  color: #F9F5EC;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 18px 24px;
  z-index: 3200;
  box-shadow: 0 -3px 18px 0 rgba(36,68,102,0.17);
  font-size: 1.03rem;
  gap: 36px;
  transition: transform 0.3s cubic-bezier(.7,1.56,.27,.94), opacity 0.23s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}
.cookie-consent-text {
  flex: 1 1 0;
  color: #F9F5EC;
  margin-right: 20px;
}
.cookie-consent-actions {
  display: flex;
  gap: 13px;
}
.cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  padding: 7px 18px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  background: #AED6DC;
  color: #23282e;
  font-weight: 700;
  margin-left: 2px;
  transition: background 0.15s,color 0.15s,box-shadow 0.13s;
  box-shadow: 0 2px 8px rgba(36,68,102,0.09);
}
.cookie-btn:hover,.cookie-btn:focus {
  background: #F9F5EC;
  color: #244466;
  box-shadow: 0 5px 16px rgba(174,214,220,0.10);
}
.cookie-btn.reject {
  background: #334155;
  color: #F9F5EC;
}
.cookie-btn.reject:hover,.cookie-btn.reject:focus {
  background: #244466;
  color: #AED6DC;
}
.cookie-btn.settings {
  background: #23282e;
  color: #AED6DC;
  border: 1.3px solid #AED6DC;
}
.cookie-btn.settings:hover,.cookie-btn.settings:focus {
  background: #AED6DC;
  color: #23282e;
}
@media (max-width:650px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px 8px 12px 8px;
    font-size: .99rem;
  }
}


/* ================= COOKIE CONSENT MODAL ===================== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(36,68,102,0.74);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.27s;
}
.cookie-modal {
  background: #23282e;
  color: #F9F5EC;
  border-radius: 14px;
  box-shadow: 0 16px 64px 0 rgba(36,68,102,0.37),0 3px 8px 0 rgba(36,68,102,0.08);
  padding: 34px 24px 24px 28px;
  min-width: 340px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #AED6DC;
  font-size: 2.1rem;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 2;
}
.cookie-modal-close:hover,.cookie-modal-close:focus{
  color: #F9F5EC;
}
.cookie-modal h2 {
  color: #AED6DC;
  font-size: 1.45rem;
  margin-bottom: 10px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-modal-category label {
  font-size: 1.01rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  color: #F9F5EC;
  letter-spacing: 0.03em;
}
.cookie-modal-category .toggle {
  margin-left: 10px;
}
/* Toggle switches (only for Analytics/Marketing) */
.cookie-toggle {
  width: 38px;
  height: 20px;
  background: #333b44;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
  flex-shrink: 0;
}
.cookie-toggle.enabled {
  background: #AED6DC;
}
.cookie-toggle .knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background: #F9F5EC;
  transition: left 0.24s cubic-bezier(.68,-0.6,.32,1.6), background 0.2s;
}
.cookie-toggle.enabled .knob {
  left: 20px;
  background: #22262d;
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}
.cookie-modal-footer .cookie-btn {
  min-width: 98px;
}
@media (max-width:550px) {
  .cookie-modal {
    padding: 16px 7px 16px 12px;
    min-width: 160px;
  }
  .cookie-modal-footer {
    gap: 5px;
  }
}

/* ===================================================================
   UTILITIES
=================================================================== */
.hr {
  background: #334155;
  height: 1px;
  border: none;
  margin: 18px 0;
}
.hide {
  display: none !important;
}
.show {
  display: block !important;
}

/* ===================================================================
   RESPONSIVE TYPOGRAPHY & LAYOUT
=================================================================== */
@media (max-width: 950px) {
  h1 {
    font-size: 1.9rem;
  }
  h2 {
    font-size: 1.23rem;
  }
}
@media (max-width: 680px) {
  html, body {
    font-size: 14px;
  }
  .container, .content-wrapper {
    padding: 0 5px;
  }
}

/* ===================================================================
   SCROLLBAR & SELECTION (INDUSTRIAL MODERN FEEL)
=================================================================== */
body::-webkit-scrollbar {
  width: 11px;
  background: #23282e;
}
body::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 6px;
  border: 2px solid #23282e;
}
::selection {
  background: #AED6DC;
  color: #23282e;
}

/* ===================================================================
   CUSTOM METALLIC/EFFECT ACCENTS (SUBTLE)
=================================================================== */
.card, 
.feature-grid > li, .service-grid > div, .feature-list > li {
  box-shadow: 0 1.2px 10px 0 rgba(173,214,220,0.07) inset;
  border-top: 2.2px solid #334155;
  border-right: 1px solid #486788;
}
.cta-btn, .cookie-btn {
  box-shadow: 0 1.8px 10px 0 rgba(174,214,220,.09),0 2px 10px 0 rgba(36,68,102,0.13);
}

/* ===================================================================
   MICRO-INTERACTIONS & TRANSITIONS
=================================================================== */
.card, .feature-grid > li, .service-grid > div, .feature-list > li, .cta-btn, .cookie-btn, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close, .testimonial-card {
  transition-property: box-shadow, border, background, color, transform;
  transition-duration: .18s, .15s, .15s, .13s, .11s;
  transition-timing-function: cubic-bezier(.55,.03,.35,1.32);
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.97);
}
.feature-grid > li:active, .service-grid > div:active {
  transform: scale(0.99);
}

/* ===================================================================
   ACCESSIBILITY / ENSURE NO OVERLAP & CLEAR SPACING
=================================================================== */
.card, .feature-grid > li, .service-grid > div, .feature-list > li,
.testimonial-card, .cookie-consent-banner, .contact-details .text-section, .contact .text-section {
  margin-bottom: 20px;
}

/* ===================================================================
   PRINT STYLES
=================================================================== */
@media print {
  * {
    background: none !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  header, nav, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  .container {
    max-width: none !important;
    padding: 0 !important;
  }
}
