/* ---------------------------------------------------------------
  CSS RESET & BASE
---------------------------------------------------------------- */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #1a2328;
  color: #e1e5e9;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.03em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #FFC84A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #DCE1EA;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #DCE1EA;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.75rem; letter-spacing: 0.01em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.125rem; }
p, li, blockquote, dl, dd {
  font-size: 1rem;
}
strong {
  color: #FFC84A;
  font-weight: 700;
}
blockquote {
  margin: 0 0 12px 0;
  padding: 0 0 0 20px;
  border-left: 3px solid #245766;
  font-style: italic;
  color: #233441;
  background: #dce1eac6;
  border-radius: 0 6px 6px 0;
}
hr {
  border: none;
  border-top: 2px solid #2F434E;
  margin: 32px 0;
}

/* ---------------------------------------------------------------
  LAYOUT UTILS & PATTERNS
---------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(26,35,40,0.98);
  border-radius: 16px;
  box-shadow: 0 3px 18px 0 rgba(36,87,102,0.08), 0 1.5px 6px rgba(36,87,102,0.04);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 290px;
  min-width: 260px;
  background: #222c32;
  border-radius: 12px;
  box-shadow: 0 1.5px 8px 0 rgba(36,87,102,0.10), 0 1px 2.5px rgba(36,87,102,0.10);
  border: 1.5px solid #2F434E;
  transition: border 0.2s, box-shadow 0.2s;
}
.card:hover {
  border: 1.5px solid #FFC84A;
  box-shadow: 0 8px 32px rgba(36,87,102,0.15);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  gap: 16px;
}
.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;
  background: #DCE1EA;
  color: #222c32;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(36,87,102,0.10);
  border-left: 4px solid #FFC84A;
}
.testimonial-card span {
  font-size: 1rem;
  color: #245766;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-grid .text-section {
  flex: 1 1 320px;
  min-width: 260px;
  background: #233441;
  border-radius: 10px;
  border-left: 4px solid #245766;
  box-shadow: 0 1px 6px rgba(36,87,102,0.07);
  padding: 18px 20px;
  color: #DCE1EA;
  transition: border 0.2s, box-shadow 0.2s;
}
.service-grid .text-section:hover {
  border-left: 4px solid #FFC84A;
  box-shadow: 0 5px 20px rgba(36,87,102,0.12);
}
.features ul,
.services ul,
.team ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 0;
  margin-top: 12px;
}
.features ul li, .services ul li, .team ul li {
  display: flex;
  align-items: center;
  background: #222c32;
  padding: 18px 20px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(36,87,102,0.07);
  gap: 14px;
  min-width: 240px;
  color: #DCE1EA;
  border-left: 3px solid #245766;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin: 0;
  transition: border 0.2s, box-shadow 0.2s;
}
.features ul li:hover,
.services ul li:hover,
.team ul li:hover {
  border-left: 3px solid #FFC84A;
  box-shadow: 0 4px 16px rgba(36,87,102,0.10);
  color: #FFC84A;
}
.features ul li img,
.services ul li img,
.team ul li img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: grayscale(70%) brightness(0.9);
}

/* ---------------------------------------------------------------
  NAVIGATION & HEADER
---------------------------------------------------------------- */
header {
  width: 100%;
  background: #1a2328;
  box-shadow: 0 2px 10px 0 rgba(36,87,102,0.12);
  position: sticky;
  top: 0;
  z-index: 80;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0;
  width: 100%;
  min-height: 72px;
}
header nav > a img {
  height: 38px;
  width: auto;
  margin-right: 18px;
  vertical-align: middle;
}
header nav ul {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav ul li {
  display: flex;
  align-items: center;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #DCE1EA;
  padding: 8px 10px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.02em;
  font-weight: 500;
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: #1a2328;
  color: #FFC84A;
}
.button-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: #222c32;
  background: #FFC84A;
  padding: 12px 28px;
  border-radius: 25px;
  border: none;
  box-shadow: 0 2px 12px rgba(255,200,74,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  margin-left: 24px;
  text-align: center;
}
.button-primary:hover,
.button-primary:focus {
  background: #245766;
  color: #FFC84A;
  box-shadow: 0 4px 18px rgba(36,87,102,0.16);
}

/* --- Mobile Menu --- */
.mobile-menu-toggle {
  display: none;
  background: #1a2328;
  color: #FFC84A;
  padding: 10px 18px;
  border: none;
  border-radius: 5px;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.15s, color 0.15s;
  z-index: 102;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #222c32;
  color: #DCE1EA;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(34,44,50,0.97);
  box-shadow: 0 2px 14px rgba(36,87,102,0.20);
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(0.58,0.07,0.44,1);
  opacity: 0;
  visibility: hidden;
  z-index: 160;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  color: #FFC84A;
  border: none;
  font-size: 2.5rem;
  margin: 22px 22px 8px auto;
  cursor: pointer;
  z-index: 201;
  padding: 6px 12px;
  border-radius: 5px;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #1a2328;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 40px 10px 40px;
}
.mobile-nav a {
  color: #DCE1EA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.29rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: none;
  border-radius: 9px;
  padding: 14px 10px;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #245766;
  color: #FFC84A;
}

/* Hide desktop nav on mobile */
@media (max-width: 900px) {
  header nav ul,
  header nav .button-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    margin-left: 10px;
  }
  header nav {
    justify-content: flex-start;
  }
}

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

/* ---------------------------------------------------------------
  HERO SECTION / CTA
---------------------------------------------------------------- */
.hero {
  display: flex;
  align-items: center;
  min-height: 60vh;
  background: #1a2328 url('../assets/industrial-bg.jpg') center/cover no-repeat;
  box-shadow: 0 2px 14px rgba(36,87,102,0.12);
  border-radius: 0 0 36px 36px;
  margin-bottom: 56px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 350px;
}
.hero h1 {
  font-size: 2.6rem;
  color: #FFC84A;
  margin-bottom: 18px;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 4px 12px rgba(36,87,102,0.22);
}
.hero p {
  max-width: 530px;
  margin-bottom: 24px;
  color: #DCE1EA;
  font-size: 1.12rem;
}
.hero .button-primary {
  margin-left: 0;
  margin-top: 18px;
}

/* ---------------------------------------------------------------
  FOOTER
---------------------------------------------------------------- */
footer {
  background: #1a2328;
  color: #dce1ea;
  padding: 40px 0 0 0;
  margin-top: 80px;
  box-shadow: 0 -3px 30px 0 rgba(36,87,102,0.10);
}
footer .container {
  padding-bottom: 16px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 160px;
}
footer nav a {
  color: #DCE1EA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 4px;
  padding: 4px 4px 4px 0;
  transition: color 0.18s, background 0.18s;
}
footer nav a:hover,
footer nav a:focus {
  color: #FFC84A;
  background: none;
}
footer .text-section {
  flex: 2;
  font-size: 0.99rem;
  color: #DCE1EA;
  line-height: 1.5;
}
footer .text-section a {
  text-decoration: underline;
  color: #FFC84A;
  font-weight: 600;
}

/* ---------------------------------------------------------------
  PAGE SECTIONS STYLES
---------------------------------------------------------------- */
.features, .services, .about, .team, .contact, .blog-list, .blog-intro, .case-studies, .faq, .legal, .cta, .thank-you {
  margin-bottom: 60px;
  padding: 40px 0;
}
.features h2, .services h2, .about h2, .team h2, .contact h2, .case-studies h2, .faq h2, .cta h2, .thank-you h2 {
  color: #FFC84A;
  font-size: 2.1rem;
  margin-bottom: 14px;
}
.features ul, .services ul, .team ul {
  width: 100%;
}
.cta .button-primary {
  margin: 14px 0 18px 0;
}

/* FAQ */
.faq dl {
  background: #233441;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 1.5px 8px 0 rgba(36,87,102,0.11);
  margin-bottom: 0;
  color: #DCE1EA;
}
.faq dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #FFC84A;
  font-size: 1.13rem;
  margin-top: 24px;
}
.faq dd {
  margin-bottom: 10px;
  margin-left: 0;
  margin-top: 8px;
  color: #DCE1EA;
}
.faq dt:first-of-type { margin-top: 0; }

/* Legal/Policy */
.legal {
  background: #222c32;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(36,87,102,0.08);
  color: #DCE1EA;
  margin-bottom: 35px;
}
.legal h1, .legal h2, .legal h3 {
  color: #FFC84A;
}
.legal .text-section a {
  color: #245766;
  font-weight: 600;
  text-decoration: underline;
}

.thank-you .button-primary {
  margin: 30px 0 0 0;
}

/* ---------------------------------------------------------------
  BUTTONS & INTERACTIVE
---------------------------------------------------------------- */
.button-primary:active {
  transform: scale(0.97);
}
.btn, .button-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #DCE1EA;
  background: #245766;
  border: none;
  border-radius: 18px;
  padding: 11px 20px;
  margin: 0;
  transition: background 0.21s, color 0.21s;
  cursor: pointer;
  margin-left: 0;
  margin-top: 0;
}
.btn:hover, .button-secondary:hover,
.btn:focus, .button-secondary:focus {
  background: #FFC84A;
  color: #245766;
}

/* ---------------------------------------------------------------
  MICRO-INTERACTIONS & ANIMATIONS
---------------------------------------------------------------- */
.section, .card, .testimonial-card, .faq dl {
  transition: box-shadow 0.20s, border 0.20s, transform 0.20s;
}
.card, .testimonial-card {
  will-change: transform;
}
.card:active, .testimonial-card:active {
  transform: scale(0.985);
}

/* ---------------------------------------------------------------
  RESPONSIVE DESIGN
---------------------------------------------------------------- */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width: 990px) {
  .container {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  .hero .container {
    min-height: 220px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  .hero .container {
    min-height: 120px;
  }
  .card-container,
  .content-grid,
  .service-grid,
  .features ul,
  .services ul,
  .team ul,
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    padding: 25px 6px;
    margin-bottom: 40px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 15px;
    padding: 18px 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 540px) {
  .button-primary, .btn {
    padding: 11px 13px;
    font-size: .98rem;
  }
  h1, .hero h1 { font-size: 1.33rem; }
}

/* Spacing for all content cards and sections */
.card, .section, .testimonial-card, .features ul li, .services ul li, .team ul li, .service-grid .text-section, .content-grid > * {
  margin-bottom: 20px;
}

/* Prevent content overlapping */
.card, .testimonial-card, .service-grid .text-section, .features ul li, .services ul li, .team ul li {
  z-index: 1;
}

/* ---------------------------------------------------------------
  COOKIE CONSENT BANNER
---------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  width: 100vw;
  background: #222c32;
  color: #DCE1EA;
  box-shadow: 0 -2px 18px 0 rgba(36,87,102,0.13);
  padding: 22px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.23s cubic-bezier(0.5,0.5,0.25,1), opacity 0.18s;
}
.cookie-banner.hide {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #DCE1EA;
  font-size: 0.98rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.cookie-banner .btn,
.cookie-banner .button-secondary {
  padding: 10px 18px;
  font-size: 0.98rem;
  border-radius: 15px;
  border: none;
  cursor: pointer;
}
.cookie-banner .accept {
  background: #FFC84A;
  color: #222c32;
  font-weight: 700;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #245766;
  color: #FFC84A;
}
.cookie-banner .reject {
  background: #1a2328;
  color: #FFC84A;
  border: 1.5px solid #245766;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #FFC84A;
  color: #1a2328;
  border-color: #FFC84A;
}
.cookie-banner .settings {
  background: #245766;
  color: #DCE1EA;
  border: 1.5px solid #FFC84A;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #222c32;
  color: #FFC84A;
  border: 1.5px solid #245766;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26,35,40,0.67);
  z-index: 3010;
  opacity: 1;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #DCE1EA;
  color: #222c32;
  min-width: 310px;
  max-width: 98vw;
  margin: 0 8px;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(36,87,102,0.18);
  padding: 32px 28px 28px 28px;
  z-index: 3200;
  animation: fadeUp 0.36s cubic-bezier(0.6,0.2,0.4,1);
}
.cookie-modal h3 { color: #245766; margin-bottom: 11px; }
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #b1b7c5;
  font-size: 1.05rem;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category label {
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: #245766;
  width: 20px;
  height: 20px;
  margin-left: 12px;
}
.cookie-modal .always { opacity: 0.7; }
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal .btn {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .btn.accept {
  background: #FFC84A;
  color: #245766;
}
.cookie-modal .btn.accept:hover {
  background: #245766;
  color: #FFC84A;
}
.cookie-modal .btn.close {
  background: #245766;
  color: #DCE1EA;
  border: 1.5px solid #FFC84A;
}
.cookie-modal .btn.close:hover {
  background: #222c32;
  color: #FFC84A;
  border-color: #245766;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------
  SCROLLBAR & SELECTS (CHROME/FIREFOX)
---------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
  background: #1a2328;
}
::-webkit-scrollbar-thumb {
  background: #245766;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FFC84A;
}

/* ---------------------------------------------------------------
  SELECTION COLOR
---------------------------------------------------------------- */
::selection {
  background: #245766;
  color: #FFC84A;
}

/* ---------------------------------------------------------------
  INDUSTRIAL MODERN SHADOWS & METALLIC ACCENTS
---------------------------------------------------------------- */
/* Subtle metallic accent bars and surfaces */
.section,
.card,
.features ul li,
.services ul li,
.team ul li,
.service-grid .text-section {
  border-right: 2px solid #9EA6AD44;
  box-shadow:
    0 1.5px 10px 0 rgba(36,87,102,0.07),
    inset 0.5px 0 2.5px 0 #8a959999;
}
.testimonial-card {
  border-left: 4px solid #FFC84A;
  box-shadow: 0 3px 24px -8px #24576644;
}

/* Industrial font accent for big numbers or highlights (if any) */
.highlight-number, .service-price {
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.7em;
  color: #FFC84A;
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* ---------------------------------------------------------------
  END
---------------------------------------------------------------- */
