/* ========================================================== */
/*                 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: inherit;
  vertical-align: baseline;
  background: none;
  box-sizing: border-box;
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body { min-height: 100vh; line-height: 1.6; background: #191B1F; color: #f5f6fa; }
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; background: none; border: none; outline: none; }

/* Typography setup (industrial_modern style) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #191B1F;
  color: #f5f6fa;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.025em;
  color: #F5F6FA;
  text-shadow: 0px 1px 0px #0d1320;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.3rem; font-weight: 700; color: #EDA941; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom:8px; }

p, li, span, address {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #F5F6FA;
  margin-bottom: 8px;
}
strong { font-weight: 700; color: #EDA941; }
a { color: #EDA941; transition: color 0.2s; }
a:hover, a:focus { color: #fff; }

/* Headings accent underline (industrial_modern subtlety) */
h2 {
  position: relative;
  padding-bottom: 10px;
}
h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top:10px;
  background: linear-gradient(90deg, #EDA941 40%, #204080 100%);
  border-radius: 2px;
}


/* ========================================================= */
/*                LAYOUT & FLEXBOX CONTAINERS                */
/* ========================================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0; /* main container itself has no extra gap, wrappers do */
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin: 0 auto;
}
.text-section {
  background: #23252b;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(35, 37, 43, 0.14);
  padding: 32px 24px;
  margin: 24px 0 0 0;
  width: 100%;
  color: #f5f6fa;
}

/* Industrial Modern Card Section Patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container { /* for layouts that render .card blocks */
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 -12px;
}
.card {
  background: #22252b;
  border-radius: 12px;
  box-shadow: 0 4px 24px 0 rgba(31,37,48,0.12), 0 1.5px 0 #EDA941 inset;
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  min-width: 280px;
  flex: 1 1 320px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* Grid/Feature/Flex Patterns */
.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: 12px;
  background: #F5F6FA;
  color: #22252b;
  box-shadow: 0 1px 10px 0 rgba(31,37,48,0.08);
  margin: 24px 0 0 0;
  min-width: 280px;
  max-width: 700px;
  font-size: 1.1em;
  flex: 1 1 320px;
}
.testimonial-card p {
  color: #191B1F;
  margin-right: 12px;
  flex-basis: 0;
  flex-grow: 1;
}
.testimonial-card span {
  color: #204080;
  font-weight: 600;
  font-size: 0.97em;
}

.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  width: 100%;
}
.feature-item, .service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #22252C;
  border-radius: 10px;
  box-shadow: 0 2px 8px 1px rgba(41,45,55,0.08);
  padding: 28px 22px 22px 22px;
  min-width: 280px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s, background 0.2s, border 0.2s;
  border-bottom: 2.5px solid #EDA941;
}
.feature-item img, .service-card img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  filter: grayscale(30%) contrast(1.1) brightness(0.97);
}
.feature-item:hover, .service-card:hover {
  box-shadow: 0 6px 28px 0 rgba(238,217,148,0.08), 0 3px 0 #EDA941 inset;
  background: #292d36;
  border-color: #204080;
  cursor: pointer;
}

.service-card h3 {
  color: #EDA941;
  font-size: 1.18rem;
}

.speaker-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.speaker-profile {
  background: #23252b;
  padding: 20px 18px;
  border-radius: 9px;
  flex: 1 1 270px;
  color: #F5F6FA;
  margin-bottom: 20px;
}

/* ============================================ */
/*                BUTTON STYLES                 */
/* ============================================ */
.cta-button {
  background: #EDA941;
  color: #22252b;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  border-radius: 6px;
  padding: 12px 34px;
  margin-top: 14px;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(238,217,148,0.08);
  letter-spacing: 0.03em;
  display: inline-block;
  transition: background 0.18s, color 0.18s, transform 0.14s, box-shadow 0.16s;
  cursor: pointer;
}
.cta-button:hover, .cta-button:focus {
  background: #204080;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px 0 rgba(237,169,65,0.11), 0 4px 0 #204080 inset;
}

/* ================= HERO BANNER ================ */
.hero {
  background: #22252b url('../assets/hero-bg-industrial.jpg') center/cover no-repeat;
  box-shadow: 0 7px 32px 0 rgba(31,37,48,0.18);
  border-bottom: 3px solid #EDA941;
  margin-bottom: 48px;
}
.hero .container {
  padding: 48px 0 44px 0;
  min-height: 315px;
}
.hero h1 {
  color: #EDA941;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  text-shadow: 1px 2px 0 #191B1F;
  letter-spacing: 0.02em;
}
.hero p {
  color: #F5F6FA;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ================= NAVIGATION ================= */
header {
  width: 100%;
  background: #191B1F;
  box-shadow: 0 2px 24px 0 rgba(28,32,43,0.16);
  border-bottom: 2px solid #EDA941;
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  background: none;
}
.main-nav a {
  color: #f5f6fa;
  padding: 17px 0;
  position: relative;
  transition: color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #EDA941;
}

.main-nav a img {
  height: 36px;
  margin-right: 12px;
  vertical-align: middle;
  filter: grayscale(33%) brightness(1.01) drop-shadow(1px 2px 0 #EDA941);
}

/* HIDE MOBILE NAV TOGGLE ON DESKTOP */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}
/* ========== FOOTER ========== */
footer {
  background: #13151A;
  border-top: 2px solid #EDA941;
  padding: 50px 0 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.footer-logo img {
  height: 46px;
  filter: brightness(1.1) saturate(1.2);
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 12px;
  font-size: 1rem;
}
.footer-nav a {
  color: #EDA941;
  font-weight: 600;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #f5f6fa;
}
footer address {
  color: #F5F6FA;
  font-style: normal;
  font-size: 1em;
}

/* ====================== DEFAULT ELEMENTS ======================== */
ul, ol {
  margin: 0 0 20px 20px;
  padding: 0 0 0 20px;
  list-style-type: disc;
  color: #EDA941;
}
ul li, ol li {
  margin-bottom: 8px;
  color: #f5f6fa;
  list-style: disc inside;
}
ul li strong { color: #EDA941; }

/* Correct ordered list */
ol {
  list-style-type: decimal;
}
ol li { color: #EDA941; }
ol li strong { color: #204080; }

/* HR */
hr {
  border: none;
  border-top: 1.7px solid #3F4150;
  margin: 40px 0;
}

/* ========== ADDRESS ========== */
address a {
  color: #EDA941;
}
address a:hover, address a:focus { color: #fff; }

/* ======================= MOBILE NAVIGATION ======================== */
.mobile-menu-toggle {
  display: none;
  background: #23252b;
  color: #EDA941;
  border-radius: 5px;
  border: 1.5px solid #EDA941;
  font-size: 2.2rem;
  width: 42px; height: 42px;
  position: absolute;
  top: 15px; right: 24px;
  z-index: 102;
  cursor: pointer;
  text-align: center;
  line-height: 1.1;
  transition: background 0.18s, color 0.18s, border 0.13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #EDA941;
  color: #22252b;
  border-color: #204080;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #191B1F;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 26px 36px 14px 26px;
  transform: translateX(-110%);
  transition: transform 0.35s cubic-bezier(0.7, 0.2, 0.1, 1.0);
  z-index: 120;
  box-shadow: 12px 0px 44px rgba(0,0,0,0.21);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  color: #EDA941;
  background: none;
  border: none;
  margin-bottom: 18px;
  cursor: pointer;
  transition: color 0.17s, background 0.12s;
  border-radius: 4px;
  padding: 6px 14px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #204080;
  background: #EDA941;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  margin-top: 10px;
}
.mobile-nav a {
  color: #EDA941;
  font-size: 1.16rem;
  font-weight: 700;
  padding: 13px 0;
  border-bottom: 1px solid #23252B;
  width: 100%;
  transition: color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #204080;
  border-bottom: 2px solid #EDA941;
}

/* ====================== COOKIE CONSENT BANNER ================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #23252B;
  color: #F5F6FA;
  z-index: 3000;
  padding: 22px 34px 25px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 -2px 28px 0 rgba(25,27,31,0.21);
  transition: transform 0.3s, opacity 0.2s;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  font-size: 1.02rem;
  margin-bottom: 4px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.cookie-btn, .cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  padding: 10px 25px;
  margin: 0 5px 0 0;
  background: #EDA941;
  color: #23252b;
  transition: background 0.17s, color 0.14s, box-shadow 0.14s;
}
.cookie-btn.reject {
  background: #23252B;
  color: #EDA941;
  border: 1px solid #EDA941;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #204080;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #22252B;
  color: #EDA941;
}
.cookie-settings-btn {
  background: #204080;
  color: #F5F6FA;
  border: 1px solid #EDA941;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #EDA941;
  color: #204080;
  border-color: #204080;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  background: #23252B;
  color: #f5f6fa;
  border-radius: 13px;
  box-shadow: 0 14px 48px rgba(0,0,0,0.31);
  padding: 30px 38px 28px 38px;
  min-width: 320px;
  max-width: 96vw;
  z-index: 4200;
  display: none;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.25s, opacity 0.2s;
  opacity: 0;
}
.cookie-modal.open {
  display: flex;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.cookie-modal h2 {
  color: #EDA941;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 600;
  color: #F5F6FA;
  margin-bottom: 0;
  cursor: pointer;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 19px;
}
.cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #22252B;
  border: 1.5px solid #EDA941;
  transition: background .2s;
  border-radius: 11px;
}
.cookie-switch input:checked + .cookie-slider {
  background: #EDA941;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  left: 3px;
  top: 2px;
  width: 13px; height: 13px;
  background: #F5F6FA;
  border-radius: 50%;
  transition: transform .16s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(13px);
  background: #204080;
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  right: 13px; top: 9px;
  font-size: 2.1rem;
  color: #EDA941;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 3px;
  transition: background 0.15s, color 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #EDA941;
  color: #23252B;
}

/* =================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
  .container { max-width: 97vw; }
}
@media (max-width: 1024px) {
  .main-nav { gap: 18px; font-size: 1.01rem; }
  .feature-grid, .service-grid, .speaker-profiles {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav { gap: 9px; }
  .feature-grid, .service-grid, .speaker-profiles {
    gap: 10px; flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .section {
    padding: 28px 4px;
    margin-bottom: 38px;
  }
  .content-wrapper, .text-section {
    padding: 20px 8px;
  }
  .feature-grid, .service-grid, .speaker-profiles {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item, .service-card { min-width: unset; width: 100%; }
  .testimonial-card { max-width: 100%; }
  .main-nav { display: none !important; }
  .mobile-menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /* Show mobile menu when toggled */
  .mobile-menu {
    display: flex;
  }
  .hero .container {
    padding: 33px 0 32px 0;
    min-height: 160px;
  }
  .hero h1 { font-size: 1.41rem; }
  .hero p { font-size: 0.98rem; }
  
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
  .card-container, .content-grid {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .footer-nav {
    flex-direction: column; gap: 7px; align-items: flex-start; margin-bottom: 18px;
  }
  footer { padding: 35px 0 20px 0; gap: 18px; }
  .cookie-banner {
    padding: 14px 7px 16px 7px;
    font-size: 0.97em;
  }
  .cookie-modal {
    min-width: 95vw;
    padding: 17px 7vw 16px 7vw;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.1rem; }
  h2 { font-size: 1rem; }
  .cookie-modal { min-width: 97vw; font-size: 0.97em; }
}

/* ===================== TRANSITIONS & MICRO-ANIMATIONS ====================== */
.card, .feature-item, .service-card, .testimonial-card, .cta-button,
.main-nav a, .footer-nav a, .mobile-nav a, .cookie-btn, .cookie-settings-btn, .mobile-menu-toggle {
  transition: all 0.16s cubic-bezier(.4,0,.2,1);
}

.cta-button, .cookie-btn, .cookie-settings-btn {
  transition: background 0.18s, color 0.18s, transform 0.14s, box-shadow 0.16s;
}
.testimonial-card {
  transition: box-shadow 0.18s, background 0.18s;
}
.testimonial-card:hover {
  background: #E1E5EC;
  color: #191B1F;
  box-shadow: 0 2px 18px 0 rgba(32,64,128,0.13);
}

.feature-item:hover img, .service-card:hover img {
  filter: grayscale(0) brightness(1.05) drop-shadow(0 2px 4px #EDA94150);
}

.speaker-profile {
  transition: box-shadow 0.15s, background 0.16s;
}
.speaker-profile:hover {
  background: #292d36;
  box-shadow: 0 8px 24px #20408015;
}

/* ========== Z-INDEX SAFETY ========== */
header { z-index: 100; }
.mobile-menu { z-index: 120; }
.cookie-banner { z-index: 3000; }
.cookie-modal { z-index: 4200; }

/* ========== Accessibility ========== */
:focus-visible {
  outline: 2px solid #EDA941;
  outline-offset: 1px;
}

/* ========== Utility Classes (Spacing) ========== */
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.p-20 { padding: 20px !important; }
.p-32 { padding: 32px !important; }
.gap-20 { gap: 20px !important; }
.gap-32 { gap: 32px !important; }

/* ========== Hide scroll on mobile-nav overlay ========== */
body.mobile-menu-open {
  overflow: hidden;
}

/* ========== Prevent card/content overlap =========== */
.card-container > *, .feature-grid > *, .service-grid > *, .content-grid > *, .testimonial-card, .speaker-profile, .feature-item {
  margin-bottom: 20px;
}

/* ========== End of Industrial Modern CSS =========== */
