/* =========================================================================
   RESET & NORMALIZATION
   ========================================================================= */
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #151c24;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #f1f1f1;
  background: #1d2531;
  font-weight: 400;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: #7DBF78;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #7DBF78;
  outline-offset: 2px;
}
a:hover {
  color: #D5D5D5;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: #f1f1f1;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 20px;
}
h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p {
  margin-bottom: 16px;
  line-height: 1.7;
}
strong {
  color: #ffffff;
  font-weight: 700;
}

/* Container and Spacing */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* Industrial Modern Colors and Accents */
:root {
  --color-primary: #22427C;
  --color-secondary: #7DBF78;
  --color-accent: #F1F1F1;
  --color-bg-dark: #1d2531;
  --color-bg-section: #232f3e;
  --color-bg-light: #f1f1f1;
  --color-steel: #485366;
  --color-meta: #b0b7c3;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  background: #202733;
  box-shadow: 0 2px 16px rgba(16,24,32,0.13);
  padding: 0;
  position: relative;
  z-index: 10;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 20px;
}
.main-nav > a img {
  height: 44px;
  width: auto;
  vertical-align: middle;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.main-nav ul li a {
  color: #f1f1f1;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 10px 0;
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.18s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  color: var(--color-secondary);
}
.btn-primary {
  background: linear-gradient(90deg, #22427C 70%, #2c538c 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(34,66,124,0.15);
  padding: 12px 32px;
  margin-left: 16px;
  transition: background 0.22s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  letter-spacing: 0.025em;
  outline: none;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #7DBF78;
  color: #202733;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px rgba(34,66,124,0.27);
}

/* HAMBURGER MOBILE MENU STYLE */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #f1f1f1;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px 12px;
  z-index: 501;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--color-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: #1a2027;
  box-shadow: -2px 0 34px rgba(16,24,32,0.45);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transition: transform 0.38s cubic-bezier(.68,-0.55,.27,1.55);
  transform: translateX(0);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  left: 0;
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #f1f1f1;
  font-size: 2.2rem;
  font-weight: 700;
  align-self: flex-end;
  margin: 18px 24px 0 0;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 1001;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 60px 32px 0 32px;
  gap: 18px;
}
.mobile-nav a {
  color: #f1f1f1;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 16px 0;
  border-bottom: 1px solid #2c3750;
  transition: color 0.2s, background 0.18s;
  display: block;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: #232f3e;
}

@media (max-width: 992px) {
  .main-nav ul {
    gap: 18px;
  }
  .main-nav {
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  .main-nav ul,
  .main-nav .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 16px;
    right: 20px;
  }
}

/* =========================
   HERO SECTIONS & CTA
   ========================= */
.hero, .cta {
  background: linear-gradient(to bottom right, #232f3e 80%, #22427C 100%);
  box-shadow: 0 4px 32px rgba(65,80,105,0.25);
  border-bottom: 2px solid #2c3750;
  border-radius: 0 0 20px 20px;
  margin-bottom: 40px;
  padding: 60px 0 48px 0;
  position: relative;
  overflow: hidden;
}
.hero .content-wrapper, .cta .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1, .cta h2 {
  color: #fff;
  font-size: 2.3rem;
  line-height: 1.13;
  text-shadow: 0 2px 12px #182232cc;
}
.hero p, .cta p {
  color: #dee2e7;
  font-size: 1.15rem;
}

@media (max-width: 768px) {
  .hero, .cta {
    padding: 40px 0 24px 0;
    border-radius: 0 0 10px 10px;
  }
  .hero .content-wrapper, .cta .content-wrapper {
    align-items: flex-start;
    padding: 0;
  }
  .hero h1, .cta h2 {
    font-size: 1.7rem;
  }
}

/* =========================
   FEATURES + SERVICES LISTS
   ========================= */
.features {
  background: #1e242e;
  border-radius: 17px;
  box-shadow: 0 2px 14px rgba(80,83,97, 0.13);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper > ul, .features ul, .services ul {
  margin-top: 12px;
  margin-bottom: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-grid li {
  background: #222b39;
  border-radius: 13px;
  box-shadow: 0 3px 16px rgba(52,63,84,0.14);
  min-width: 220px;
  flex: 1 1 270px;
  max-width: 320px;
  padding: 30px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  border: 1.5px solid #313b4e;
  transition: box-shadow 0.17s, border-color .18s, transform 0.19s;
}
.feature-grid li:hover {
  box-shadow: 0 8px 30px rgba(34,66,124,0.23);
  border-color: var(--color-secondary);
  transform: translateY(-4px) scale(1.025);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  filter: brightness(1.1) drop-shadow(2px 3px 5px #182127bb);
}
.feature-grid h3, .feature-grid span {
  color: var(--color-secondary);
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.13rem;
  letter-spacing: .01em;
}
.feature-grid p {
  color: #b0b7c3;
  line-height: 1.5;
  font-size: 0.99rem;
}

.services ul > li {
  background: #202733;
  border-left: 4px solid var(--color-primary);
  border-radius: 7px 14px 14px 7px;
  margin-bottom: 20px;
  padding: 20px 24px 20px 20px;
  box-shadow: 0 2px 12px rgba(32,42,56,0.07);
  font-size: 1.02rem;
  transition: box-shadow 0.16s, border-color 0.19s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.services ul > li:hover {
  border-left: 4px solid var(--color-secondary);
  box-shadow: 0 7px 33px rgba(34,66,124,0.08);
}

/* =========================
   GENERAL FLEX LAYOUTS
   ========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #232f3e;
  border-radius: 12px;
  border: 1.5px solid #313b4e;
  box-shadow: 0 2px 10px rgba(50,60,80,0.16);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, border-color .16s, transform .14s;
  padding: 30px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.card:hover {
  box-shadow: 0 8px 27px rgba(41,61,107,0.16);
  border-color: var(--color-secondary);
  transform: translateY(-6px) scale(1.018);
}

.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;
  background: #f1f1f1;
  color: #25324a;
  border-radius: 13px;
  box-shadow: 0 4px 16px rgba(60,64,68,0.13);
  padding: 20px 32px;
  margin-bottom: 30px;
  border-left: 4px solid #7DBF78;
  transition: box-shadow 0.16s, border-color .19s, transform 0.17s;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 12px 30px #22427c22;
  transform: translateY(-3px) scale(1.012);
  border-left: 4px solid #22427C;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #22427C;
  font-size: 1.07rem;
}

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

@media (max-width: 768px) {
  .feature-grid,
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    padding: 18px 12px;
    font-size: 0.98rem;
  }
}

/* =========================
   TEAM & BIO SECTIONS
   ========================= */
.team-bio {
  background: #232f3e;
  border-left: 4px solid #7DBF78;
  border-radius: 7px 20px 20px 7px;
  box-shadow: 0 2px 10px rgba(74,95,108,0.08);
  padding: 22px 20px 14px 20px;
  margin-bottom: 20px;
}
.founder-message {
  background: var(--color-bg-light);
  box-shadow: 0 2px 8px #9eadbc66;
  border-radius: 13px;
  border-left: 4px solid #22427C;
  color: #212227;
  padding: 20px 22px 16px 22px;
  margin-bottom: 24px;
}
.founder-message h4 {
  color: #22427C;
  font-size: 1.12rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* =========================
   MAP & CONTACT SECTIONS
   ========================= */
.contact .content-wrapper {
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
}
.contact .text-section,
.contact .map {
  flex: 1 1 350px;
  min-width: 220px;
  background: #222b39;
  border-radius: 11px;
  box-shadow: 0 2px 13px rgba(34,52,67,.10);
  border: 1.3px solid #313b4e;
  padding: 24px 20px;
}
.contact .text-section p,
.contact .map p {
  color: #c3c9d3;
  margin-bottom: 11px;
  font-size: 1rem;
  align-items: center;
  display: flex;
  gap: 7px;
}
.contact .map img {
  width: 42px;
  height: 42px;
  margin-bottom: 11px;
}
@media (max-width: 900px) {
  .contact .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #191d23;
  border-top: 2px solid #232f3e;
  padding: 38px 0 24px 0;
  box-shadow: 0 -1px 12px rgba(25,29,35,.13);
  color: #adbac5;
  width: 100%;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 44px;
  justify-content: space-between;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
}
.footer-navigation > a img {
  height: 38px;
  width: auto;
  margin-bottom: 9px;
}
.footer-navigation ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.footer-navigation ul li a {
  color: #b0b7c3;
  font-size: 0.96rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  transition: color 0.2s;
}
.footer-navigation ul li a:hover {
  color: #7DBF78;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}
.footer-contact p {
  font-size: 0.98rem;
  color: #939aa7;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img {
  width: 22px;
  vertical-align: middle;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  .footer-navigation,
  .footer-contact {
    min-width: 0;
  }
}

/* =========================
   LEGAL SECTION (POLICIES)
   ========================= */
.legal {
  background: #222b39;
  border-radius: 13px;
  margin-bottom: 60px;
  padding: 40px 20px;
  color: #dee2e7;
  box-shadow: 0 2px 11px #14213318;
}
.legal h1, .legal h2, .legal h3 {
  color: #f1f1f1;
}
.legal ul {
  margin-bottom: 20px;
  margin-top: 8px;
  padding-left: 17px;
  list-style: disc inside;
}
.legal ul li {
  margin-bottom: 8px;
  color: #b0b7c3;
  font-size: 1.02rem;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #2c3750;
  color: #F1F1F1;
  box-shadow: 0 -3px 35px #37445C33;
  z-index: 10000;
  padding: 22px 26px 20px 22px;
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  transition: transform 0.36s cubic-bezier(.68,-0.55,.27,1.55), opacity .18s;
  opacity: 1;
  min-height: 70px;
}
.cookie-consent-banner.hide {
  opacity: 0;
  transform: translateY(100vh);
  pointer-events: none;
}
.cookie-consent-banner .cookie-text {
  flex: 1;
  color: #e3eafa;
  font-size: 1rem;
  margin-right: 20px;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  background: #22427C;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 0;
  margin-right: 0;
  cursor: pointer;
  min-width: 120px;
  transition: background 0.2s, color .19s, transform .16s, box-shadow .15s;
  box-shadow: 0 1px 7px #161e2a22;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: #25324a;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #7DBF78;
  color: #141920;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 2px 15px #7dbf7860;
}
.cookie-btn.settings {
  background: #313b4e;
  color: #fcfcfc;
}
.cookie-btn.reject {
  background: #485366;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 12px;
    font-size: 0.98rem;
  }
  .cookie-consent-banner .cookie-text {
    margin-right: 0;
    margin-bottom: 6px;
  }
  .cookie-consent-banner .cookie-actions {
    flex-direction: row;
    width: 100%;
    gap: 11px;
  }
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,30,39,0.69);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #202733;
  border-radius: 13px;
  padding: 38px 29px 31px 29px;
  max-width: 425px;
  color: #fafcff;
  box-shadow: 0 2px 40px #1a223330;
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
  z-index: 11100;
  animation: cookie-modal-in .32s cubic-bezier(.32,.86,.41,1.12);
}
@keyframes cookie-modal-in {
  0% {
    transform: translateY(60px) scale(.97);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #ffffff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
  border-bottom: 1px solid #25324a44;
  padding-bottom: 10px;
}
.cookie-category label {
  flex:1;
  font-size: 1rem;
}
.cookie-category .toggle {
  appearance: none;
  width: 40px;
  height: 23px;
  background: #313b4e;
  border-radius: 13px;
  position: relative;
  transition: background 0.19s;
  outline: none;
  margin-left: 0;
}
.cookie-category .toggle:checked {
  background: #7DBF78;
}
.cookie-category .toggle:before {
  content: '';
  width: 17px;
  height: 17px;
  background: #fff;
  position: absolute;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-category .toggle:checked:before {
  transform: translateX(16px);
}
.cookie-category .cookie-info {
  font-size: 0.92rem;
  color: #b6c1d3;
  margin-top: 4px;
}
.cookie-modal .cookie-footer {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 17px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-btn {
  min-width: 110px;
}
.cookie-modal .cookie-btn.cancel {
  background: #313b4e;
  color: #f1f1f1;
  margin-left: 0;
}
.cookie-modal .cookie-btn.save {
  background: #7DBF78;
  color: #22427C;
}
@media (max-width: 640px) {
  .cookie-modal {
    max-width: 94vw;
    padding: 22px 8px 15px 16px;
    font-size: 0.99rem;
  }
}

/* =========================
   ANIMATIONS & MICRO-INTERACTIONS
   ========================= */
.btn-primary, .cookie-btn {
  transition: background 0.20s, color 0.18s, box-shadow 0.17s, transform 0.14s;
}
.card, .testimonial-card, .feature-grid li, .services ul > li, .team-bio {
  transition: box-shadow 0.18s, border-color 0.17s, transform .13s;
}
.section {
  animation: fadein 0.9s;
}
@keyframes fadein {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: none; }
}

/* MICRO-ICONS metallic accent */
img[src*='icon-'], svg[src*='icon-'] {
  filter: grayscale(0.15) brightness(1.08) drop-shadow(0 0 1px #b0b7c3) drop-shadow(1px 2px 3px #18203355);
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 1100px) {
  .container {
    max-width: 900px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.48rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  .section, .features, .legal {
    padding: 26px 8px;
    margin-bottom: 42px;
  }
  .feature-grid li, .card, .testimonial-card, .services ul > li {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 0.98rem;
  }
  .footer-navigation ul {
    flex-direction: column;
    gap: 13px;
  }
  .footer-contact {
    gap: 6px;
  }
}
@media (max-width: 420px) {
  html {
    font-size: 15px;
  }
  .hero, .cta, .section, .features, .legal {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .card, .testimonial-card, .feature-grid li {
    padding: 10px 6px;
    font-size: 0.97rem;
  }
}
