/* ==================== RESET & BASE ==================== */
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,
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background-color: #181F28;
  color: #F2F5F8;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  /* urban feel with subtle "steel" effect */
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #37A8C8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2F5F8;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F2F5F8;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}
p, li {
  font-size: 1.07rem;
  line-height: 1.7;
  color: #E0E6ED;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== INDUSTRIAL MODERN SKIN ==================== */
body {
  background-color: #181F28;
  /* Dark, urban industrial */
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ============= FLEXIBLE FEATURE GRIDS, CARDS, ETC. =============== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 16px;
      flex-direction: row;
}
.feature-grid > div, .article-card {
  background: #212B39;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(20, 49, 90, 0.15), 0 1.5px 0 #495866;
  padding: 32px 24px 24px 24px;
  min-width: 250px;
  max-width: 330px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #313C4F;
  position: relative;
  transition: transform 0.18s cubic-bezier(.42,0,.58,1),
              box-shadow 0.2s cubic-bezier(.42,0,.58,1);
}
.feature-grid > div:hover, .article-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 6px 32px rgba(55,168,200, 0.11), 0 3px 0 #21a0c3;
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  filter: grayscale(20%) contrast(1.1) drop-shadow(0 1px 2px #181F28);
}
.feature-grid h3 {
  font-size: 1.18rem;
  margin-bottom: 7px;
  color: #37A8C8;
  letter-spacing: 0.01em;
}

.article-card h3 {
  color: #F2F5F8;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #212B39;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(20, 49, 90, 0.15);
  padding: 24px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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-slider {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  margin-top: 16px;
        flex-direction: row;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F2F5F8;
  color: #181F28;
  border-radius: 10px;
  border-left: 6px solid #37A8C8;
  min-width: 250px;
  max-width: 350px;
  box-shadow: 0 2px 10px rgba(20,49,90,0.10);
  font-size: 1.1em;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #222C36;
  font-style: italic;
  font-size: 1.04rem;
}
.testimonial-card strong {
  color: #14315A;
}

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

/* CTA/Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8em 2em;
  border-radius: 25px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.11rem;
  letter-spacing: 0.03em;
  border: none;
  outline: none;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1.5px 0 #313C4F;
  transition: background 0.16s, color 0.17s, box-shadow 0.2s;
}
.btn-primary {
  background: linear-gradient(90deg,#14315A 80%,#37A8C8 120%);
  color: #F2F5F8;
  border: 1.5px solid #37A8C8;
}
.btn-primary:hover, .btn-primary:focus {
  background: #181F28;
  color: #37A8C8;
  box-shadow: 0 4px 24px 0 rgba(55,168,200,.16);
}
.btn-secondary {
  background: #F2F5F8;
  color: #14315A;
  border: 1.5px solid #14315A;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #37A8C8;
  color: #fff;
  border-color: #1f364f;
}

/* ==================== HEADER / NAVIGATION ==================== */
header {
  background: #181F28;
  box-shadow: 0 1.5px 0 #313C4F;
  position: relative;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.main-nav .logo img {
  width: 164px;
  height: auto;
}
.main-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #F2F5F8;
  font-size: 1rem;
  position: relative;
}
.main-nav ul li a:after {
  content: '';
  display: block;
  width: 0%;
  height: 1.5px;
  background: #37A8C8;
  transition: width 0.18s;
  border-radius: 1.5px;
  margin-top: 1.5px;
}
.main-nav ul li a:hover:after, .main-nav ul li a:focus:after {
  width: 80%;
}
.main-nav .btn-primary {
  margin-left: 28px;
}

.mobile-menu-toggle {
  background: none;
  color: #37A8C8;
  border: none;
  font-size: 2.15rem;
  cursor: pointer;
  display: none;
  padding: 6px 12px;
  z-index: 51;
}

/* ============== MOBILE NAVIGATION (BURGER MENU) =============== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 100%;
  width: 100vw;
  height: 100vh;
  background: #181F28;
  box-shadow: -4px 0 16px rgba(20,49,90,.07);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.33s cubic-bezier(.42,0,.58,1);
  pointer-events: none;
  visibility: hidden;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(-100vw);
  left: 0;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #F2F5F8;
  align-self: flex-end;
  margin: 22px 22px 16px 0;
  cursor: pointer;
  transition: color .17s;
}
.mobile-menu-close:hover {
  color: #37A8C8;
}
.mobile-nav {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  align-items: flex-start;
  padding: 0 36px;
}
.mobile-nav a {
  color: #F2F5F8;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 8px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s, color 0.13s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #37A8C8;
  border-bottom: 1.5px solid #37A8C8;
}

@media (max-width: 1024px) {
  .main-nav ul {
    gap: 18px;
  }
  .main-nav .btn-primary {
    margin-left: 12px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
  }
  .main-nav .logo img {
    width: 140px;
  }
  .feature-grid > div, .article-card {
    min-width: 200px;
    padding: 22px 14px 18px 14px;
  }
}
@media (max-width: 768px) {
  .main-nav ul, .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 12px;
    right: 20px;
  }
  .main-nav {
    gap: 12px;
  }
  .feature-grid {
    gap: 18px;
  }
  .feature-grid > div, .article-card, .testimonial-card {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
  }
  .testimonial-slider {
    gap: 16px;
  }
  .section {
    padding: 30px 8px;
  }
  .content-wrapper, .content-grid, .feature-grid, .testimonial-slider {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.67rem;
    margin-bottom: 15px;
  }
  h2 {
    font-size: 1.29rem;
    margin-bottom: 11px;
  }
  .container {
    padding: 0 6vw;
  }
}

/* =========================== HERO SECTIONS ===================== */
.hero {
  background: #121924;
  border-bottom: 1.5px solid #313C4F;
  padding-top: 44px;
  padding-bottom: 60px;
  margin-bottom: 60px;
}
.hero h1 {
  color: #F2F5F8;
  text-shadow: 0 2px 16px #14315A44;
}
.hero .btn-primary {
  margin-top: 18px;
}
@media (max-width: 768px) {
  .hero {
    padding-top: 18px;
    padding-bottom: 28px;
    margin-bottom: 30px;
  }
}

/* ================== FOOTER ================== */
footer {
  background: #181F28;
  border-top: 1.5px solid #313C4F;
  margin-top: 64px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 0 24px 0;
}
.logo-footer img {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  font-size: 1rem;
  color: #E0E6ED;
  letter-spacing: 0.01em;
  padding: 3px 0;
  position: relative;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #37A8C8;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #B7C2CD;
  font-size: 0.97rem;
}
.footer-contact a {
  color: #37A8C8;
  font-weight: 500;
}
.footer-social {
  display: flex;
  gap: 22px;
  margin-top: 10px;
}
.footer-social a img {
  width: 26px;
  height: 26px;
  filter: grayscale(50%) brightness(1.1) drop-shadow(0 1px 2px #232f40);
  transition: filter 0.14s;
}
.footer-social a:hover img {
  filter: sepia(.6) brightness(1.4) drop-shadow(0 1px 3px #14315A);
}
@media (max-width: 900px) {
  footer .content-wrapper {
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0 20px 0;
  }
  .footer-social {
    margin-bottom: 12px;
  }
}

/* ==================== BLOG ARTICLE CARDS =================== */
.article-card {
  padding: 24px 22px 24px 22px;
  background: #242F3F;
  border-left: 4px solid #37A8C8;
  border-radius: 10px;
  color: #E0E6ED;
  box-shadow: 0 2px 10px rgba(20,49,90,0.10);
}
.article-card .btn-secondary {
  margin-top: 16px;
  font-size: 0.98em;
}

/* =================== COOKIES CONSENT BANNER =================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: #212B39;
  color: #F2F5F8;
  box-shadow: 0 -1.5px 16px rgba(20,49,90,0.09);
  padding: 24px 5vw 18px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
  border-top: 3.5px solid #37A8C8;
  animation: slideupBanner 0.2s ease-out;
}
@keyframes slideupBanner {
  from { transform: translateY(100%); }
  to { transform: translateY(0%); }
}
.cookie-consent-banner .cookie-consent-actions {
  display: flex;
  gap: 12px;
}
.cookie-consent-banner .btn-primary, 
.cookie-consent-banner .btn-secondary {
  padding: 0.5em 1.25em;
  font-size: 1rem;
  border-radius: 18px;
  box-shadow: none;
}
.cookie-consent-banner .btn-secondary {
  border: 1.2px solid #37A8C8;
  background: none;
  color: #37A8C8;
}
.cookie-consent-banner .btn-secondary:hover {
  background: #37A8C8;
  color: #fff;
}
.cookie-consent-banner .btn-primary:active, 
.cookie-consent-banner .btn-secondary:active {
  box-shadow: 0 1px 2px #14315A;
}
@media (max-width: 650px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 19px 8vw 21px 8vw;
    gap: 12px;
    font-size: 0.965rem;
  }
  .cookie-consent-banner .cookie-consent-actions {
    width: 100%;
    gap: 7px;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,31,40,0.92);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #212B39;
  color: #F2F5F8;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(20,49,90,0.15);
  max-width: 340px;
  min-width: 270px;
  padding: 32px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content h2 {
  margin-bottom: 0;
  font-size: 1.19rem;
  color: #37A8C8;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #293648;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 0.98em;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #37A8C8;
  width: 18px;
  height: 18px;
}
.cookie-modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  border-radius: 18px;
  padding: 0.45em 1.25em;
  font-size: 0.99rem;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  color: #E0E6ED;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color .15s;
  outline: none;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #37A8C8;
}

/* ==================== TABLES, BLOCKQUOTES, ETC. ================== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #212B39;
  color: #F2F5F8;
}
th, td {
  padding: 11px 8px;
  border: 1px solid #313C4F;
}
blockquote {
  background: #212B39;
  border-left: 5px solid #37A8C8;
  color: #B7C2CD;
  font-size: 1.15em;
  padding: 16px 24px;
  border-radius: 9px;
  margin: 20px 0;
}

/* ================== UTILITIES / SPACING / OTHERS ================ */
.section:not(:last-child) {
  margin-bottom: 60px;
}
.feature-grid > div:not(:last-child), .article-card:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}
.text-section ul, .text-section ol {
  padding-left: 1.33em;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 8px;
  list-style: outside disc;
}
.text-section ul li strong {
  color: #37A8C8;
}

/* Headings accent */
h2, h3, h4 {
  border-left: 4px solid #37A8C8;
  padding-left: 12px;
}
h2 {
  margin-top: 6px;
}

/* ========================= MICRO-INTERACTIONS ======================= */
.btn-primary, .btn-secondary {
  transition: background 0.13s, color 0.13s, box-shadow 0.16s;
}
.card, .feature-grid > div, .testimonial-card, .article-card {
  transition: transform .13s, box-shadow 0.14s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover, .article-card:hover {
  box-shadow: 0 7px 32px rgba(55,168,200, 0.12), 0 3.5px 0 #313C4F;
  transform: translateY(-2px);
}

/* ============= Accessibility: focus ============= */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px dashed #37A8C8;
  outline-offset: 2px;
}

/* =================== PRINT ===================== */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
  .container { max-width: none; padding: 0; }
}

/* === END STYLES === */
