/* 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background-color: #1c2331;
  color: #e7eaef;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #F4F7FB;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4C7287;
  outline: none;
}

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

h1, h2, h3, h4, h5, h6 {
  color: #F4F7FB;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  font-weight: 600;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.15;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.2rem;
  color: #DBEEFB;
}
h4, h5, h6 {
  font-size: 1rem;
}

/* COLOURS (industrial_modern) */
:root {
  --primary: #20304A;
  --secondary: #4C7287;
  --accent: #F4F7FB;
  --bg-dark: #1c2331;
  --metal: #a9adb3;
  --text-main: #e7eaef;
  --text-light: #AABACB;
  --card-bg: #222b39;
  --card-border: #313d4f;
  --shadow: 0 2px 12px 0 rgba(32,39,57,0.13);
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

/* HEADER/NAVIGATION */
header {
  width: 100%;
  background: var(--primary);
  border-bottom: 2px solid #313d4f;
  box-shadow: 0 3px 12px rgba(32,48,74,0.11);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.main-nav a {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.035em;
  font-weight: 500;
  position: relative;
  padding: 8px 2px;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}

.cta-btn {
  background: linear-gradient(90deg, #3b4c65 60%, #1e2a38 100%);
  color: #F4F7FB;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 26px;
  padding: 12px 38px;
  margin-left: 12px;
  box-shadow: 0 2px 10px 0 rgba(52,66,107,0.16);
  transition: background 0.2s, box-shadow 0.18s, transform 0.15s;
  cursor: pointer;
  font-size: 1rem;
  display: inline-block;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #5c92b0 60%, #2d425e 100%);
  color: #FFF;
  box-shadow: 0 5px 20px 0 rgba(80, 100, 142, 0.14);
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-left: auto;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 110;
}
.mobile-menu-toggle:focus {
  color: var(--secondary);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--primary);
  box-shadow: 4px 0 32px 0 rgba(32,48,74,0.28);
  transform: translateX(-110%);
  transition: transform 0.38s cubic-bezier(.5,.1,.1,1);
  z-index: 9999;
  padding: 28px 24px 24px 18px;
  gap: 24px;
  overscroll-behavior: contain;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 10px;
  margin-bottom: 18px;
  transition: color 0.18s;
  z-index: 10001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: #eff4fa;
  font-size: 1.1rem;
  padding: 8px 0 8px 6px;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  border-left: 3px solid transparent;
  transition: border-color 0.16s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F4F7FB;
  border-left: 3px solid #5c92b0;
  background: rgba(76,114,135,0.09);
  border-radius: 2px 18px 18px 2px;
  outline: none;
}

@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 1000px) {
  header .container.header-flex {
    justify-content: flex-start;
  }
}

/* MAIN SPACING */
main {
  padding-top: 18px;
  padding-bottom: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 20px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(115deg,var(--primary) .75%, #24344f 60%, #101724 100%);
  min-height: 240px;
  box-shadow: 0 5px 32px rgba(32,48,74,0.22);
  border-bottom: 2px solid #353f55;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  padding: 52px 0 38px 0;
}
.hero h1,
.hero p {
  color: #e7eaef;
}
.hero .cta-btn {
  margin-top: 20px;
}

/* FLEX UTILS & MANDATORY PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 4px 28px 0 rgba(76,114,135,0.16);
  transform: translateY(-3px) scale(1.02);
}
.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: #f4f7fb;
  color: #20304A !important;
  padding: 20px 24px 20px 24px;
  border-radius: 18px;
  border: 1.5px solid #bfc8d4;
  box-shadow: 0 2px 10px 0 rgba(150, 155, 170, 0.12);
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 440px;
}
.testimonial-card strong {
  color: #20304A;
  font-weight: 700;
}
.testimonial-card img {
  width: 20px;
  margin-bottom: -2px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 22px 20px;
  flex: 1 1 220px;
  min-width: 170px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.feature-item:hover {
  box-shadow: 0 4px 24px 0 rgba(90,116,136,0.09);
  transform: translateY(-2px) scale(1.01);
}
.feature-item img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-bottom: 4px;
  filter: grayscale(30%) brightness(105%) contrast(120%);
}
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-list li {
  background: var(--card-bg);
  color: var(--text-main);
  border-radius: 12px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  margin-bottom: 20px;
  flex: 1 1 270px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1rem;
  letter-spacing: 0.013em;
  transition: box-shadow 0.18s, transform 0.13s;
}
.service-list li:hover {
  box-shadow: 0 3px 12px 0 rgba(76, 114, 135, 0.13);
  transform: translateY(-1px) scale(1.01);
}

ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}
ul li {
  padding-left: 28px;
  margin-bottom: 14px;
  position: relative;
  font-size: 1rem;
}
ul li:before {
  content: '';
  display: block;
  width: 8px; height: 8px;
  position: absolute;
  left: 6px; top: 7px;
  border-radius: 2px;
  background: var(--secondary);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* FOOTER */
footer {
  background: #191e29;
  color: #C5CED9;
  margin-top: 60px;
  padding: 36px 0 12px 0;
  border-top: 3px solid #313d4f;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  max-width: 320px;
}
.footer-logo-section img {
  width: 46px;
  margin-bottom: -4px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-top: 7px;
}
.footer-menu a {
  color: #afd0ef;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.17s;
}
.footer-menu a:hover {
  color: var(--secondary);
}
.footer-contact-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 260px;
  font-size: 0.97rem;
}
.footer-contact-section img {
  width: 17px;
  margin-bottom: -2px;
  margin-right: 6px;
}

/* BLOG & MISCELLANEOUS */
.blog-section, .gallery-section, .about-section {
  background: var(--bg-dark);
  border-radius: 14px;
  padding: 34px 20px;
  margin-bottom: 24px;
}

/* THANK-YOU / SUCCESS */
.text-section a.cta-btn {
  margin-top: 2px;
}

/* COOKIE CONSENT BANNER + MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #232c3a;
  color: #e3e9f1;
  padding: 24px 14px;
  z-index: 20000;
  box-shadow: 0 -4px 18px rgba(32,48,74,.18);
  gap: 24px;
  font-size: 1rem;
  transition: transform 0.34s cubic-bezier(0.55,0,0.1,1), opacity 0.23s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 8px;
  margin-left: 24px;
}
.cookie-btn {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 18px;
  border: none;
  padding: 8px 22px;
  margin-right: 2px;
  box-shadow: 0 2px 8px rgba(86, 112, 140, 0.07);
  background: #4C7287;
  color: #f2f8fd;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.13s;
}
.cookie-btn.cookie-settings {
  background: #F4F7FB;
  color: #20304A;
  border: 1px solid #bfc8d4;
}
.cookie-btn.cookie-settings:hover {
  background: #e2e8ef;
}
.cookie-btn.accept {
  background: #1ec67a;
  color: #fff;
}
.cookie-btn.accept:hover {
  background: #149659;
  color: #fff;
}
.cookie-btn.reject {
  background: #B02F3A;
  color: #fff;
}
.cookie-btn.reject:hover {
  background: #7a212a;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,48,74,0.69);
  z-index: 20001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.cookie-modal {
  background: #f4f7fb;
  color: #20304a;
  width: 94vw;
  max-width: 400px;
  border-radius: 16px;
  padding: 32px 26px 28px 26px;
  box-shadow: 0 6px 42px 0 rgba(32,48,74,0.17);
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 20010;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  color: #4C7287;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal-close:hover {
  color: #20304A;
}
.cookie-modal h3 {
  font-size: 1.18rem;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  color: #1c2331;
  margin-bottom: 10px;
}
.cookie-pref-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-pref-category {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #bfc8d4;
  border-radius: 22px;
  position: relative;
  transition: background 0.17s;
  outline: none;
  margin-left: 8px;
  vertical-align: middle;
}
.cookie-toggle:checked {
  background: #4C7287;
}
.cookie-toggle:disabled {
  background: #c7ccd2;
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-toggle:after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px; height: 16px;
  background: #FFF;
  border-radius: 50%;
  transition: left 0.15s;
  box-shadow: 0 1px 2px 0 rgba(50,60,70,0.11);
}
.cookie-toggle:checked:after {
  left: 20px;
}

/* FORMS (minimal) */
input, textarea {
  border: 1.5px solid #2b3a4c;
  border-radius: 8px;
  background: #181e28;
  color: #F4F7FB;
  font-family: inherit;
  padding: 10px 12px;
  font-size: 1rem;
  margin-bottom: 16px;
}
input:focus, textarea:focus {
  border-color: #4C7287;
  outline: none;
}

/* MEDIA QUERIES: RESPONSIVE DESIGN */
@media (max-width: 768px) {

  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .section {
    margin-bottom: 36px;
    padding: 22px 4px;
  }
  .hero {
    padding: 36px 0 28px 0;
    border-radius: 0;
  }
  .content-grid, .card-container, .feature-grid, .service-list, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-menu {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
  }
  footer .container {
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-logo-section, .footer-contact-section {
    max-width: 95vw;
  }
  .feature-item, .service-list li, .testimonial-card {
    min-width: 0;
    padding: 18px 12px;
  }
  .cookie-modal {
    padding: 18px 8px 16px 8px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.07rem;
  }
  h3 {
    font-size: 0.96rem;
  }
  .footer-logo-section img {
    width: 36px;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.cta-btn, .card, .feature-item, .service-list li, .testimonial-card, .cookie-btn {
  transition: box-shadow 0.17s, transform 0.12s, background 0.13s, color 0.14s;
}

/* VISUAL EFFECTS: METALLIC ACCENTS */
.card, .feature-item, .service-list li {
  border: 1.5px solid #4C728770;
  border-bottom: 2.5px solid #a9adb3;
  background:
    linear-gradient(120deg,rgba(145,155,165,.04) 0%, rgba(133,144,159,.04) 60%,rgba(44,60,88,0.12) 100%),
    var(--card-bg);
  /* Slight metallic shine on bottom border */
}
footer {
  border-top: 3px solid #a9adb3;
}

/* SCROLLBAR CUSTOMIZATION */
::-webkit-scrollbar {
  width: 10px;
  background: #20304A;
}
::-webkit-scrollbar-thumb {
  background: #4C7287;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #5c92b0;
}

/* HIDE ELEMENTS WHERE NEEDED */
@media (min-width: 1001px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
  .cta-btn {
    display: inline-block !important;
  }
}

/* Z-INDEX LAYERING */
header { z-index: 100; }
.mobile-menu { z-index: 9999; }
.cookie-banner { z-index: 20000; }
.cookie-modal-backdrop { z-index: 20001; }

/* UTILS */
.text-center {
  text-align: center;
}
.mt-2 { margin-top: 12px; }
.mb-2 { margin-bottom: 12px; }
.mt-4 { margin-top: 24px; }
.mb-4 { margin-bottom: 24px; }

/* PREVENT ABSOLUTE FOR CONTENT; N/A: Only used in modals/buttons */

/* ACCESSIBILITY: FOCUS VISIBLE */
:focus-visible {
  outline: 2px dashed #4C7287;
  outline-offset: 2px;
}

