/* ==== CSS 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #22262A;
  color: #E6EAEE;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
a {
  color: #7C9B55;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F1F4FB;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

/* ==== FONTS ==== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #F1F4FB;
  letter-spacing: 1px;
}
h1 { font-size: 2.4rem; margin-bottom: 18px; }
h2 { font-size: 1.8rem; margin-bottom: 16px; }
h3 { font-size: 1.24rem; margin-bottom: 10px; }
h4 { font-size: 1.05rem; margin-bottom: 0.8em; }
p, li { font-size: 1rem; }
strong { color: #7C9B55; font-weight: 700; }

/* ==== CONTAINER ==== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* ==== HEADER & NAV ==== */
header {
  background: #1B232E;
  border-bottom: 2px solid #373D47;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}
.logo, .logo-footer { display: flex; align-items: center; }
.logo img, .logo-footer img {
  height: 42px;
  filter: brightness(1.15) contrast(1.15);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #E6EAEE;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding: 2px 4px;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #7C9B55;
}

/* ==== BUTTONS ==== */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(37,52,76,0.10);
  min-width: 140px;
}
.btn-primary {
  background: #7C9B55;
  color: #22262A;
  border: 1.5px solid #A4BD80;
  box-shadow: 0 2px 16px 0 rgba(124,155,85,0.10);
}
.btn-primary:hover,
.btn-primary:focus {
  background: #667A43;
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(124,155,85,0.13);
}
.btn-secondary {
  background: none;
  color: #F1F4FB;
  border: 1.5px solid #7C9B55;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #25344C;
  color: #7C9B55;
}

/* ==== HERO SECTION ==== */
.hero {
  background: #232B37 url('../assets/hero-bg.jpg') center/cover no-repeat;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px 0 rgba(30,36,49,0.14);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.hero h1, .hero h2 {
  color: #F1F4FB;
  text-shadow: 0 2px 8px #171A21;
}
.hero .btn-primary {
  margin-top: 24px;
}

/* ==== SECTIONS, SPACING & FLEX ==== */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #22262A;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(36,42,54,0.10);
  padding: 32px 24px;
  min-width: 280px;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 30px 0 rgba(37,52,76,0.16);
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.section h2 {
  margin-bottom: 20px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #232B37;
  border-radius: 8px;
  padding: 28px 20px;
  min-width: 230px;
  flex: 1 1 220px;
  box-shadow: 0 2px 8px rgba(37,52,76,0.08);
  border-left: 3px solid #7C9B55;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-item img {
  height: 36px;
  filter: grayscale(1) brightness(1.5);
}
.feature-item h3 {
  color: #A4BD80;
  letter-spacing: 0.02em;
  margin-bottom: 0.15em;
}
.feature-item:hover, .feature-item:focus {
  border-left: 3px solid #F1F4FB;
  box-shadow: 0 6px 22px 0 rgba(124,155,85,0.13);
}

/* ========== INDUSTRY & CARD ========== */
.industry-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0;
}
.industry-card {
  background: #232B37;
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 rgba(35,43,55,0.08);
  padding: 28px 18px;
  min-width: 210px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  border-left: 3px solid #49515e;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.industry-card h3 {
  color: #7C9B55;
  margin-bottom: 8px;
}
.industry-card:hover, .industry-card:focus {
  border-left: 3px solid #A4BD80;
  box-shadow: 0 6px 22px 0 rgba(124,155,85,0.10);
}

/* ===== CASE STUDY TEASERS/BLOCKS ===== */
.case-study-teasers, .case-study-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 22px;
}
.case-study-teasers .text-section,
.case-study-blocks .text-section {
  background: #22262A;
  border-radius: 7px;
  box-shadow: 0 2px 10px 0 rgba(35,43,55,0.07);
  padding: 24px 18px;
  flex: 1 1 280px;
  margin-bottom: 20px;
}

/* ==== TEAM SECTION ==== */
.team-member {
  background: #232B37;
  border-radius: 7px;
  padding: 22px 14px 18px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(35,43,55,0.06);
  border-left: 3px solid #7C9B55;
  transition: border-color 0.2s;
}
.team-member h3 {
  color: #A4BD80;
  margin-bottom: 8px;
}
.team-member:hover, .team-member:focus {
  border-left: 3px solid #F1F4FB;
}

/* ==== FOOTER ==== */
footer {
  background: #1B232E;
  border-top: 2px solid #373D47;
  color: #BEC5D3;
  margin-top: 40px;
  padding: 38px 0 14px 0;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 4px;
}
.footer-nav a {
  color: #A4BD80;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F1F4FB;
}
.footer-contact {
  color: #BEC5D3;
  font-size: 0.99em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-contact img {
  vertical-align: sub;
  height: 17px;
  margin-right: 6px;
  filter: grayscale(1) brightness(1.7);
}

/* ==== TESTIMONIALS ==== */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 22px;
  background: #F1F4FB;
  color: #25344C;
  border-radius: 8px;
  box-shadow: 0 2px 10px 0 rgba(37,52,76,0.11);
  min-width: 250px;
  flex: 1 1 250px;
  font-size: 1.1em;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card p {
  color: #25344C;
  font-size: 1.08em;
  margin-bottom: 10px;
  font-style: italic;
}
.testimonial-meta {
  font-size: 1em;
  color: #7C9B55;
  font-family: 'Montserrat', sans-serif;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  left: 18px; top: 18px;
  font-size: 3em;
  color: #A4BD80;
  opacity: 0.13;
  pointer-events: none;
}

/* ==== CTA SECTION ==== */
.cta {
  background: #22262A;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(37,52,76,0.11);
  margin-bottom: 80px;
  padding: 50px 0;
  text-align: center;
}
.cta h2 {
  color: #F1F4FB;
  margin-bottom: 28px;
}
.cta .btn-primary {
  margin-top: 10px;
  font-size: 1.12em;
}

/* ==== CHECKLIST/PROCESS ==== */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.process-steps li {
  color: #BEC5D3;
  font-size: 1em;
}

/* ==== SERVICE/FEATURES ==== */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 18px;
}
.services-list li {
  background: #232B37;
  border-radius: 8px;
  padding: 24px 16px;
  min-width: 210px;
  flex: 1 1 210px;
  box-shadow: 0 2px 8px 0 rgba(35,43,55,0.08);
  margin-bottom: 20px;
  border-left: 3px solid #A4BD80;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.services-list li h3 {
  color: #A4BD80;
  margin-bottom: 8px;
}
.services-list li:hover, .services-list li:focus {
  border-left: 3px solid #7C9B55;
  box-shadow: 0 6px 22px 0 rgba(124,155,85,0.09);
}

.features-list ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.features-list li strong { color: #A4BD80; }

/* ==== SOLUTIONS GRID ===== */
.solutions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 18px 0 34px 0;
}
.solutions-grid > div {
  background: #232B37;
  border-radius: 8px;
  padding: 21px 16px;
  flex: 1 1 260px;
  box-shadow: 0 2px 8px 0 rgba(35,43,55,0.08);
}
.solutions-grid h4 {
  color: #7C9B55;
  margin-bottom: 10px;
}

/* ======= MOBILE BURGER MENU ======= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #A4BD80;
  cursor: pointer;
  z-index: 302;
  outline: none;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #F1F4FB;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #232B37;
  z-index: 300;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.69,.27,.48,1.13);
  box-shadow: -5px 0 40px 0 rgba(35,43,55,0.13);
  padding: 38px 32px 0 38px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  color: #F1F4FB;
  border: none;
  font-size: 2rem;
  position: absolute;
  right: 25px;
  top: 24px;
  cursor: pointer;
  z-index: 331;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #7C9B55;
  color: #232B37;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 38px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  color: #F1F4FB;
  padding: 12px 0;
  border-bottom: 1px solid #49515E;
  transition: color 0.19s;
}
.mobile-nav a:last-child { border: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #7C9B55;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1200;
  width: 100vw;
  background: #1B232E;
  color: #F1F4FB;
  box-shadow: 0 -2px 12px 0 rgba(37,52,76,0.17);
  padding: 26px 18px 18px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  transition: transform 0.30s cubic-bezier(.7,0,.47,.97);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary {
  min-width: 140px;
  font-size: 1em;
  margin-left: 12px;
}
.cookie-banner .btn-tertiary {
  background: none;
  color: #A4BD80;
  font-family: 'Montserrat', sans-serif;
  border: none;
  font-size: 0.99em;
  padding: 12px 12px;
  margin-left: 4px;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.cookie-banner .btn-tertiary:hover,
.cookie-banner .btn-tertiary:focus { 
  background: #364254; color: #F1F4FB;
}

/* ===== COOKIE MODAL ===== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 1300;
  background: rgba(37,52,76,0.91);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
  opacity: 1;
}
.cookie-modal.hide { opacity: 0; pointer-events: none; }
.cookie-modal-content {
  background: #232B37;
  color: #F1F4FB;
  border-radius: 11px;
  max-width: 420px;
  width: 90%;
  padding: 38px 28px 28px 28px;
  box-shadow: 0 6px 28px 4px rgba(37,52,76,0.24);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.26em;
  color: #A4BD80;
  margin-bottom: 12px;
}
.cookie-modal-content label { font-size: 1em; }
.cookie-modal-close {
  position: absolute; right: 18px; top: 16px;
  font-size: 1.3em;
  background: none;
  border: none;
  color: #A4BD80;
  cursor: pointer;
  border-radius: 4px;
  padding: 3px 9px;
  transition: background 0.18s; 
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #364254; color: #F1F4FB; }
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 7px;
  margin-bottom: 18px;
}
.cookie-category label {
  font-size: 1.01em;
  margin-left: 7px;
  vertical-align: middle;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: #7C9B55;
}
.cookie-category.essential label { color: #7C9B55; font-weight: 700;}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}

/* ==== RESPONSIVE DESIGN (MOBILE FIRST) ==== */
@media (max-width: 920px) {
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .hero .container {
    padding-top: 32px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 11px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.14rem; }
  .header-flex { flex-direction: row; gap: 9px; }
  .hero {
    min-height: 180px;
    padding: 30px 0 20px 0;
    box-shadow: none;
  }
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .feature-grid,
  .industry-cards,
  .testimonial-slider,
  .testimonial-list,
  .card-container,
  .content-grid,
  .services-list,
  .case-study-teasers, .case-study-blocks,
  .solutions-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item, .industry-card, .card, .team-member, .services-list li {
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .cta { padding: 27px 0; margin-bottom: 50px; }
}
@media (max-width: 480px) {
  .hero { min-height: 120px; padding: 18px 0; }
  .container { padding: 0 4px; }
  .feature-item, .industry-card, .card {
    padding: 14px 8px;
  }
}

/* ====== MICRO-INTERACTIONS/ANIMATIONS ====== */
.btn-primary, .btn-secondary, .btn-tertiary {
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, border 0.15s;
}
.card,
.feature-item,
.team-member,
.services-list li,
.industry-card,
.case-study-teasers .text-section,
.case-study-blocks .text-section,
.testimonial-card {
  transition: box-shadow 0.18s, border-color 0.15s;
}
.card:hover, .feature-item:hover, .industry-card:hover, 
.team-member:hover, .services-list li:hover {
  box-shadow: 0 8px 28px 0 rgba(124,155,85,0.13);
}
nav a, .footer-nav a {
  transition: color 0.16s;
}

/* ======= MISC FORM ELEMENTS ======= */
input:not([type="checkbox"]):not([type="radio"]), textarea, select {
  background: #22262A;
  color: #F1F4FB;
  border: 1.5px solid #373D47;
  border-radius: 5px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 1em;
  font-family: 'Roboto',sans-serif;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: #7C9B55;
  outline: none;
}
label { color: #F1F4FB; font-size: 1em; margin-bottom: 2px; display:block; }

/* ======= ICONS ======= */
ul li img, .footer-contact img {
  height: 20px;
  margin-right: 7px;
  vertical-align: middle;
  filter: grayscale(1) brightness(1.6) contrast(1.2);
}

/* ======= UTILITIES ======= */
.hide { display: none !important; }
.mt-20 { margin-top: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }

/* ======= OVERRIDES FOR SPACING & GAPS ======= */
.section, section {
  margin-bottom: 60px !important;
  padding-top: 40px !important;
}
.card-container, .card-grid, .feature-grid,
.content-grid, .industry-cards,
.services-list, .testimonial-slider, .testimonial-list,
.case-study-teasers, .case-study-blocks, .solutions-grid {
  gap: 24px;
}
.card, .feature-item, .industry-card, .team-member, .services-list li {
  margin-bottom: 20px !important;
}
.text-image-section, .content-grid {
  gap: 30px !important;
}

/* ======= Z-INDEX LAYERS FOR NAV & MODALS ======= */
header { z-index: 100; }
.mobile-menu { z-index: 300; }
.mobile-menu-toggle { z-index: 302; }
.cookie-banner { z-index: 1200; }
.cookie-modal { z-index: 1300; }

/* ======= END OF STYLE ======= */
