/* ===========================
   CSS RESET AND 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, menu, 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, main, 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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F7FAFC;
  color: #184860;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #184860;
  text-decoration: none;
  transition: color 0.24s;
}
a:focus, a:hover {
  color: #7AA42A;
  outline: none;
}
ul, ol {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}
strong, b {
  font-weight: 700;
}

/* ===========================
   BRAND FONTS
=========================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #184860;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 22px;
}
h3 {
  font-size: 1.33rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
  color: #233949;
}

/* ===========================
   LAYOUT CONTAINERS
=========================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(24, 72, 96, 0.06), 0 1.5px 4px rgba(120, 144, 156, 0.12);
  display: flex;
  flex-direction: column;
}

/* ===========================
   FLEXBOX PATTERNS
=========================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  min-width: 260px;
  box-shadow: 0 3px 12px rgba(24, 72, 96, 0.12);
  transition: box-shadow 0.22s, transform 0.22s;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 20px 24px;
  align-items: flex-start;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 30px rgba(24, 72, 96, 0.20);
  transform: translateY(-2px) scale(1.015);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #DAE3E9;
  border-radius: 14px;
  margin-bottom: 24px;
  min-width: 260px;
  box-shadow: 0 2px 8px rgba(24, 72, 96, 0.10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*=============================
  FLEX GRIDS FOR BLOCKS
=============================*/
.feature-grid, .service-cards, .industry-highlights, .industry-list, .service-list, .case-studies, .testimonial-slider, .contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 24px 0;
}
.feature-grid > div, .service-cards > div, .industry-highlights > div, .industry-list > div, .service-list > div, .case-studies > div, .testimonial-slider > div, .contact-info > .contact-block {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(24,72,96,0.09);
  flex: 1 1 250px;
  padding: 24px 16px 20px 16px;
  min-width: 260px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.22s, transform 0.22s;
}
.feature-grid > div:hover, .service-cards > div:hover, .industry-highlights > div:hover, .industry-list > div:hover, .service-list > div:hover, .case-studies > div:hover {
  box-shadow: 0 8px 28px rgba(24,72,96,0.13);
  transform: scale(1.03);
}

.contact-block img {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}

/* Responsive flex shrink for info blocks */
.contact-info {
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.contact-block {
  flex: 1 1 224px;
  min-width: 210px;
  max-width: 340px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(24,72,96,0.10);
  padding: 18px 14px 15px 16px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

/* ===========================
   HEADER/NAVIGATION
=========================== */
header {
  background: #184860;
  color: #FFFFFF;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 70px;
}
header img {
  height: 42px;
  margin-right: 28px;
  margin-top: 8px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
  color: #DAE3E9;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 7px 14px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
  margin-left: 0;
}
header nav a:hover,
header nav a:focus {
  background: #22384D;
  color: #7AA42A;
}
.btn-primary {
  background: #7AA42A;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  padding: 11px 26px 11px 26px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 8px rgba(24, 72, 96, 0.08);
  margin-left: 24px;
  transition: background 0.22s, color 0.22s, box-shadow 0.18s, transform 0.18s;
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #184860;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(24, 72, 96, 0.13);
  transform: translateY(-2px) scale(1.028);
}
.btn-link {
  color: #184860;
  background: transparent;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0 8px 0;
  border-bottom: 2px solid #7AA42A;
  border-radius: 0;
  transition: color 0.18s, border-color 0.18s;
  display: inline-block;
  margin-top: 10px;
}
.btn-link:hover, .btn-link:focus {
  color: #7AA42A;
  border-bottom-color: #184860;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: #133042;
  color: #dae3e9;
  padding: 36px 0 28px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}
footer img {
  height: 36px;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #dae3e9;
  font-size: 0.98rem;
  opacity: 0.93;
  margin-bottom: 2px;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #7AA42A;
}
.footer-contact {
  color: #dae3e9;
  font-size: 0.98rem;
}
.footer-contact a {
  color: #7AA42A;
  text-decoration: underline;
}

/* ===========================
   TESTIMONIAL CARDS
=========================== */
.testimonial-card {
  font-size: 1.09rem;
  color: #184860;
  background: #DAE3E9;
  min-width: 240px;
  max-width: 440px;
  border-left: 4px solid #85B832;
}
.testimonial-card p {
  font-style: italic;
  color: #184860;
  margin-bottom: 5px;
}
.testimonial-card span {
  font-size: 0.97rem;
  font-weight: 500;
  color: #396187;
  opacity: 0.93;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 15px;
}

/* ===========================
   MODAL & COOKIE BANNER
=========================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #184860;
  color: #fff;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  box-shadow: 0 -2px 18px rgba(24,72,96, 0.20);
  font-size: 1rem;
  gap: 20px;
  animation: banner-slide-up 0.4s ease;
}
@keyframes banner-slide-up {
  from { transform: translateY(100%); opacity: 0 }
  to   { transform: translateY(0); opacity: 1 }
}
.cookie-banner .banner-actions {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  background: #7AA42A;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 7px;
  padding: 9px 22px;
  margin: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.cookie-btn.reject {
  background: #233949;
}
.cookie-btn.settings {
  background: #DAE3E9;
  color: #184860;
  font-weight: 500;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #184860;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.cookie-btn.settings:hover,.cookie-btn.settings:focus {
  background: #7AA42A;
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 10010;
  background: rgba(24,72,96,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.3s ease;
}
@keyframes modal-fade-in {
  from { opacity: 0 }
  to   { opacity: 1 }
}
.cookie-modal {
  background: #fff;
  color: #184860;
  border-radius: 14px;
  min-width: 340px;
  max-width: 99vw;
  max-height: 90vh;
  padding: 40px 38px 32px 38px;
  box-shadow: 0 8px 36px rgba(24,72,96,0.19);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modal-pop-in 0.25s ease;
}
@keyframes modal-pop-in {
  from { transform: scale(0.94) translateY(40px); opacity: 0 }
  to   { transform: scale(1) translateY(0); opacity: 1 }
}
.cookie-modal h2 {
  font-size: 1.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-categories {
  margin: 9px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid #DAE3E9;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-toggle {
  width: 42px;
  height: 24px;
  border-radius: 13px;
  background: #DAE3E9;
  outline: none;
  border: none;
  position: relative;
  transition: background 0.25s;
  cursor: pointer;
}
.cookie-toggle.active {
  background: #85B832;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.23s;
  box-shadow: 0 1px 4px rgba(24,72,96,0.13);
}
.cookie-toggle.active:before {
  left: 21px;
}
.cookie-modal .cookie-save {
  margin-top: 10px;
  align-self: flex-end;
  background: #7AA42A;
  color: #fff;
  font-weight: 600;
  padding: 9px 22px;
  border: none;
  border-radius: 7px;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-modal .cookie-save:hover, .cookie-modal .cookie-save:focus {
  background: #184860;
  color: #fff;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #184860;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus { color: #7AA42A; }

/* ===========================
   MOBILE NAVIGATION
=========================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 24px;
  z-index: 20001;
  background: #184860;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(24,72,96,0.13);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #7AA42A;
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 20003;
  background: #184860;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transition: transform 0.35s cubic-bezier(0.8, 0, 0.2, 1), opacity 0.23s;
  transform: translateX(-100%);
  opacity: 0;
  overflow-x: hidden;
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
  animation: menu-slide-in 0.33s cubic-bezier(0.8,0,0.2,1);
}
@keyframes menu-slide-in {
  from { transform: translateX(-100%); opacity: 0 }
  to   { transform: translateX(0); opacity: 1 }
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  margin: 28px 24px 10px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #7AA42A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.17rem;
  font-weight: 500;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 14px 0 6px 0;
  border-radius: 3px;
  width: 100%;
  transition: color 0.16s, background 0.16s;
  margin-bottom: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #7AA42A;
  background: rgba(122,164,42,0.07);
}

/* ===========================
   GENERAL ELEMENT SPACING
=========================== */
main { margin-bottom: 90px; }
section { margin-bottom: 60px; }
.section { box-shadow: 0 2px 14px rgba(24,72,96,0.06); }
div+section, .section+.section { margin-top: 60px; }

/* ===========================
   BUTTONS AND MICRO-INTERACTIONS
=========================== */
button, .btn-primary, .btn-link, .cookie-btn {
  transition: background 0.18s, color 0.18s, border 0.14s, transform 0.18s, box-shadow 0.12s;
}

/* ===========================
   LISTS & TYPOGRAPHY
=========================== */
ul, ol {
  margin-left: 24px;
  margin-bottom: 23px;
  color: #184860;
}
ul li, ol li {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.65;
}
ol li { list-style-type: decimal; }
ul li { list-style-type: disc; }

/* ===========================
   FORM ELEMENTS
=========================== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 7px;
  border: 1px solid #DAE3E9;
  padding: 12px 10px;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  color: #184860;
  background: #fff;
  transition: border 0.16s, box-shadow 0.16s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border: 1.7px solid #7AA42A;
  box-shadow: 0 0 7px rgba(122,164,42,0.16);
}

/* ========================================
   RESPONSIVE DESIGN (Mobile-first)
======================================== */
@media (max-width: 1024px) {
  .container { max-width: 98vw; }
  header .container, footer .container { flex-direction: column; gap: 32px; align-items: flex-start; }
  section, .section { padding: 32px 7vw; }
}
@media (max-width: 900px) {
  .feature-grid, .service-cards, .industry-highlights, .industry-list, .service-list, .case-studies, .testimonial-slider, .contact-info {
    gap: 16px;
    justify-content: flex-start;
  }
  footer .container { gap: 38px; }
  .footer-contact { margin-top: 20px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.13rem; }
  .container { padding: 0 9px; }
  .content-wrapper { max-width: 100vw; padding: 0 0 0 0; gap: 12px; }
  section, .section { padding: 26px 4vw; margin-bottom: 36px; }
  .feature-grid, .service-cards, .industry-highlights, .industry-list, .service-list, .case-studies, .testimonial-slider, .contact-info {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-slider { gap: 16px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .card-container, .content-grid { flex-direction: column; gap: 16px; }
  .footer-contact { font-size: 0.95rem; }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  .container { padding: 0 3vw; }
  header .container { padding: 0 8px; }
  section, .section { padding: 17px 2vw; }
  .feature-grid > div, .service-cards > div, .industry-highlights > div, .industry-list > div, .service-list > div, .case-studies > div, .testimonial-slider > div, .contact-info > .contact-block, .card {
    padding: 17px 8px 14px 10px;
    min-width: unset;
    max-width: unset;
  }
}

/* ==================================
   SHOW/HIDE NAVIGATION (MOBILE)
================================== */
@media (max-width: 950px) {
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 951px) {
  .mobile-menu-toggle, .mobile-menu { display: none !important; }
  header nav, header .btn-primary { display: flex; }
}

@media (max-width: 950px) {
  .mobile-menu {
    display: flex;
  }
}

/* ================================
   HIDE BANNER/MODAL FOR PRINT
================================ */
@media print {
  .cookie-banner, .cookie-modal-overlay, .mobile-menu { display: none !important; }
}

/* ===========================
   OVERRIDES FOR .industry-list & .service-list
=========================== */
.industry-list, .service-list {
  gap: 20px;
  margin-bottom: 18px;
}
.industry-list > div, .service-list > div {
  min-width: 230px;
  max-width: 360px;
}

/* ===========================
   MICRO-INTERACTIONS
=========================== */
.card, .feature-grid > div, .service-cards > div, .industry-highlights > div, .industry-list > div, .service-list > div {
  will-change: transform, box-shadow;
}
.cookie-banner, .cookie-modal, .mobile-menu {
  will-change: transform, opacity;
}

/* ===========================
   ACCESSIBILITY FOCUS STATES
=========================== */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid #7AA42A;
  outline-offset: 2px;
}

/* ===========================
   Z-INDEX CONTROL
=========================== */
.mobile-menu     { z-index: 20003; }
.mobile-menu-toggle { z-index: 20001; }
.mobile-menu-close  { z-index: 20005; }
.cookie-banner  { z-index: 10000; }
.cookie-modal-overlay { z-index: 10010; }

/* ===========================
   SPECIAL UTILITIES
=========================== */
.hide { display: none !important; }

/* ===========================
   END OF STYLE.CSS
=========================== */