/* 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #F4F1EA;
  background-color: #171c20;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  border: none;
  background: none;
}
button {
  cursor: pointer;
}

/* BRANDING & TYPOGRAPHY */
:root {
  --primary: #264653;
  --secondary: #418380;
  --accent: #F4F1EA;
  --industrial-dark: #171c20;
  --surface-dark: #21262b;
  --surface-metal: #3C3E42;
  --surface-card: #222429;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.1; }
h2 { font-size: 2rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
p, ul, ol, li, span {
  color: #f1eee8;
  font-family: var(--font-body);
  font-size: 1rem;
}
strong { color: var(--accent); font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
}

/* LAYOUT STRUCTURE */
.container {
  max-width: 1160px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 14px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
}

/* HEADER */
header {
  background: var(--surface-dark);
  box-shadow: 0 2px 10px rgba(33, 38, 43, 0.25);
  border-bottom: 2px solid #32363c;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 72px;
}
.logo img {
  height: 48px;
  width: auto;
}
nav.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
nav.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  font-size: 1rem;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}
.cta-primary {
  background: linear-gradient(90deg, #264653 80%, #418380 100%);
  color: #F4F1EA;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(32, 36, 38, 0.11);
  border: 1.5px solid #418380;
  margin-left: 24px;
  transition: background 0.18s, color 0.18s, transform 0.13s;
  letter-spacing: 0.02em;
}
.cta-primary:hover, .cta-primary:focus {
  background: #418380;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

@media (max-width: 960px) {
  header .container {
    gap: 16px;
  }
  nav.main-nav {
    gap: 16px;
  }
}
@media (max-width: 800px) {
  nav.main-nav, .cta-primary {
    display: none;
  }
}

/* Mobile Burger Menu */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2rem;
  display: none;
  margin-left: 12px;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 202;
}
.mobile-menu-toggle:hover {
  background: #21262b;
}

@media (max-width: 800px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #16191c;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.9,.15,.36,1.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px 0 0 0;
  box-shadow: -3px 0 30px rgba(33, 36, 38,0.29);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: var(--secondary);
  font-size: 2.2rem;
  background: none;
  border: none;
  align-self: flex-end;
  margin-right: 24px;
  margin-bottom: 24px;
  transition: color 0.1s;
}
.mobile-menu-close:hover{
  color: #e27219;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  padding: 0 40px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 10px 0;
  width: 100%;
  display: block;
  border-radius: 8px;
  margin-bottom: 0;
  transition: background 0.1s, color 0.1s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--primary);
  color: #F4F1EA;
}

@media (min-width: 801px) {
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN & HERO  */
main {
  padding-top: 32px;
  padding-bottom: 48px;
}
@media (max-width: 700px) {
  main {
    padding-top: 14px;
    padding-bottom: 20px;
  }
}

/* Section Styling - Industrial Modern */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface-card);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(61,67,74,0.11), 0 0.5px 2px #1B2327 inset;
}
section:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  section {
    padding: 24px 10px;
    margin-bottom: 30px;
  }
}

/* Features, Cards, Grids */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  background: var(--surface-dark);
  border-radius: 12px;
  padding: 24px 24px 18px 24px;
  min-width: 210px;
  flex: 1 1 220px;
  box-shadow: 0 2px 12px rgba(36,44,51,0.07);
  border: 1px solid #31353a;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: transform 0.18s, box-shadow 0.21s;
}
.feature:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 4px 22px rgba(57, 75, 87, 0.21);
  border-color: var(--secondary);
}
.feature img {
  height: 36px;
  width: 36px;
  filter: grayscale(50%) brightness(1.15) drop-shadow(1px 1px 2px #0005);
}

/* Card Containers (for potential other card layouts) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--surface-card);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(34,36,38,0.09);
  padding: 28px;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.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) {
  .feature-grid, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(38,70,83,0.09);
  border: 1px solid #cfcac0;
  color: #23262c;
  transition: box-shadow 0.19s, border 0.19s;
}
.testimonial-card p {
  color: #1c2128;
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-style: italic;
}
.testimonial-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
}
.testimonial-info span:first-child {
  color: #d19d38;
  font-size: 1.1em;
  letter-spacing: 0.08em;
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 14px 8px;
    gap: 12px;
  }
  .testimonial-info {
    gap: 8px;
  }
}

/* Project summaries */
.project-summary {
  background: var(--surface-dark);
  border-radius: 10px;
  padding: 22px 20px 14px 20px;
  margin-bottom: 20px;
  border-left: 4px solid var(--secondary);
  box-shadow: 0 2px 8px rgba(38,70,83,0.08);
}
.project-summary h3 {
  color: var(--secondary);
  margin-bottom: 5px;
}

/* Contact Details */
.contact-details-snippet {
  display: flex;
  gap: 12px 32px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1.08rem;
}
.contact-details-snippet img {
  width: 20px;
  margin-right: 4px;
  filter: grayscale(60%) brightness(1.15);
}
@media (max-width: 520px) {
  .contact-details-snippet {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Lists */
ul, ol {
  margin-left: 20px;
  margin-bottom: 14px;
  color: #EFEFEF;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 7px;
  padding-left: 0.5em;
  position: relative;
}
ul li:before {
  content: '\2022';
  color: var(--secondary);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}
@media (max-width: 768px) {
  ul, ol {
    margin-left: 14px;
  }
}

.cta-link {
  color: var(--secondary);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.07rem;
  display: inline-block;
  margin-top: 6px;
  transition: color 0.16s;
  border-bottom: 1.5px dashed var(--secondary);
  padding-bottom: 2px;
}
.cta-link:hover, .cta-link:focus {
  color: #c8ffef;
  border-bottom: 1.5px solid var(--secondary);
}

/* Footer */
footer {
  background: #181c1f;
  border-top: 2px solid #313740;
  padding: 38px 0 24px 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
.footer-brand img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--surface-dark);
  border: 2px solid #31353a;
  box-shadow: 0 2px 7px rgba(38,70,83,0.17);
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-navigation a {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 2px;
  border-bottom: 1px dotted var(--secondary);
  transition: color 0.17s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: var(--secondary);
  border-bottom: 1px solid var(--secondary);
}
.footer-contact {
  font-size: 0.97rem;
  color: var(--accent);
}
.footer-contact img {
  width: 17px;
  margin-right: 3px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}
.footer-social a img {
  width: 32px;
  height: 32px;
  filter: grayscale(70%) brightness(1.35) contrast(1.11);
  transition: filter 0.16s, transform 0.13s;
}
.footer-social a:hover img {
  filter: none;
  transform: scale(1.08);
}
.footer-copy {
  margin-top: 16px;
  font-size: 0.95rem;
  width: 100%;
  color: #8d959e;
}
@media (max-width: 1000px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}


/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #23262c;
  color: #f6f4ee;
  border-top: 3px solid var(--secondary);
  z-index: 1030;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 0 -3px 20px 0 rgba(41,50,60,0.13);
  animation: slideCookie 0.6s cubic-bezier(.62,.07,.58,.9);
  font-family: var(--font-body);
}
@keyframes slideCookie {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 15px;
}
.cookie-banner button {
  border-radius: 18px;
  padding: 8px 20px;
  background: var(--secondary);
  color: var(--accent);
  font-weight: 600;
  border: 1px solid #366a67;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  margin: 0 3px;
}
.cookie-banner .cookie-setting {
  background: var(--surface-metal);
  color: var(--accent);
  border: 1.2px solid #666;
}
.cookie-banner .cookie-reject {
  background: #383e43;
  color: #fff6;
  border: 1.2px solid #555;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #e27219;
  color: #fff;
}
.cookie-banner .cookie-setting:hover { background: var(--secondary); color: #fff; }

@media (max-width: 600px) {
  .cookie-banner {
    padding: 12px 6px 18px 6px;
    font-size: 0.98rem;
  }
}

.cookie-modal-overlay {
  position: fixed;
  left:0;top:0;right:0;bottom:0;
  background: rgba(24,29,33,0.86);
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookie 0.2s;
}
@keyframes fadeInCookie { from { opacity:0; } to { opacity:1; } }
.cookie-modal {
  background: var(--surface-dark);
  color: var(--accent);
  border-radius: 12px;
  padding: 30px 28px 20px 28px;
  max-width: 390px;
  box-shadow: 0 1.5px 22px rgba(24,29,33,0.27);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: popupCookie 0.3s;
  font-family: var(--font-body);
}
@keyframes popupCookie {
  from { transform: scale(0.82); opacity:0; } to { transform: scale(1); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--secondary);
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
  margin-bottom: 11px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px; height: 20px;
}
.cookie-modal .cookie-close {
  align-self: flex-end;
  background: none;
  color: var(--secondary);
  font-size: 1.7rem;
  border: none;
  cursor: pointer;
  margin-bottom: -10px;
}
.cookie-modal .cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}
.cookie-modal .cookie-action-btn {
  border-radius: 12px;
  border: 1.2px solid #5e686b;
  background: var(--surface-metal);
  color: var(--accent);
  font-weight: 600;
  padding: 7px 18px;
  font-size: 0.97rem;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .cookie-action-btn.accept{
  background: var(--secondary);
}
.cookie-modal .cookie-action-btn:hover{
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

/* Responsive spacing and flex alignment */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Button Styles */
button, .button, .cta-primary {
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, transform 0.11s;
}
button:active, .button:active, .cta-primary:active {
  transform: scale(0.98);
}

/* Visual Hierarchy & Spacing */
section h1, section h2, section h3 {
  margin-bottom: 16px;
}
section h1 + p, section h2 + p, section h3 + p {
  margin-top: -8px;
  margin-bottom: 14px;
}
section ul, section ol {
  margin-bottom: 14px;
}
section a {
  margin-top: 8px;
}

/* Misc Helpers */
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }

/* Accessibility: Focus State */
:focus {
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
}

/* Hide visually (for burger close when not needed) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Animations for micro-interactions */
a, button, .feature, .card, .cta-primary {
  transition: all 0.16s cubic-bezier(.63,-0.12,.36,1.43);
}

@media (max-width: 600px) {
  main, .container {
    padding: 0 3px !important;
  }
  h1, h2, h3, h4 {
    margin-bottom: 11px;
  }
}

/* ----------- END OF INDUSTRIAL MODERN CSS ----------- */
