/* =======================================================
   Scandinavian Clean Design CSS for AiryStock Marketing
   ======================================================= */

/* RESET & BASE STYLES */
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;
}
html {
  box-sizing: border-box; /* for easier sizing and spacing */
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F6F8FA;
  color: #243C5A;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
a {
  color: #009688;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #243C5A;
  outline: none;
}

.main-nav a.cta, .content-wrapper .cta, .mobile-nav .cta {
  font-family: 'Montserrat', Arial, sans-serif;
}

button, .cta {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 24px;
}
ul li, ol li {
  margin-bottom: 10px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #243C5A;
  margin-bottom: 18px;
  font-weight: 600;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 30px; }
h2 { font-size: 2rem; margin-bottom: 24px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
h4 { font-size: 1.1rem; }

/* SPACING & LAYOUT */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(36,60,90,0.04);
}

/* FLEXBOX LAYOUT CLASSES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(36,60,90,0.06);
  padding: 30px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  flex: 1 1 240px;
  transition: box-shadow 0.25s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(36,60,90,0.10);
  transform: translateY(-3px) scale(1.012);
}
.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: #FAFCFD;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(36,60,90,0.04);
  margin-bottom: 20px;
  color: #243C5A;
  font-size: 1rem;
  font-style: italic;
  transition: box-shadow 0.25s, background 0.2s;
}
.testimonial-card:hover {
  background: #F6F8FA;
  box-shadow: 0 6px 16px rgba(36,60,90,0.06);
}
.testimonial-card p {
  flex:1; margin-right: 8px; font-style: italic; color: #263857;
}
.testimonial-card span {
  min-width: 120px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #009688;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Grids for features, case studies etc. */
.feature-grid, .benefit-grid, .blog-post-grid, .case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .benefit-grid > div, .case-study {
  background: #FAFCFD;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(36,60,90,0.04);
  padding: 24px 18px;
  min-width: 250px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.feature-grid > div:hover, .benefit-grid > div:hover, .case-study:hover {
  box-shadow: 0 6px 18px rgba(36,60,90,0.08);
}
.blog-post-grid {
  gap: 24px;
}
.blog-post-grid article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(36,60,90,0.05);
  padding: 26px 18px;
  margin-bottom: 20px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.featured-article {
  background: #FAFCFD;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(36,60,90,0.05);
  padding: 30px 24px;
  margin-top: 12px;
  flex:1;
}

.case-study {
  background: #FFF;
  border: 1px solid #F1F1F4;
  border-radius: 12px;
  padding: 24px 16px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.case-study h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* BUTTONS & CTAs */
.cta, .cookie-btn {
  display: inline-block;
  padding: 12px 32px;
  background: #009688;
  color: #fff;
  border: none;
  border-radius: 26px;
  letter-spacing: 0.01em;
  font-size: 1em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(36,60,90,0.08);
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
}
.cta:hover, .cta:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #243C5A;
  color: #fff;
  box-shadow: 0 4px 24px rgba(36,60,90,0.14);
  outline: none;
  transform: translateY(-1.5px) scale(1.03);
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(36,60,90,0.04);
  margin-bottom: 0;
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 42px;
  max-width: 160px;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  color: #243C5A;
  font-weight: 500;
  font-size: 1em;
  padding: 8px 6px;
  border-radius: 8px;
  transition: background 0.13s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F6F8FA;
  color: #009688;
}
.main-nav a.cta {
  background: #009688;
  color: #fff;
  padding: 10px 24px;
  border-radius: 22px;
  margin-left: 16px;
  box-shadow: 0 2px 10px rgba(36,60,90,0.08);
}
.main-nav a.cta:hover {
  background: #243C5A;
  color: #fff;
}

/* Hamburger Menu for Mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #243C5A;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 7px;
  transition: background 0.15s;
  z-index: 305;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F6F8FA;
  outline: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 94vw;
  max-width: 340px;
  background: #fff;
  box-shadow: -8px 0 24px rgba(36,60,90,0.08), 0 0 0 8000px rgba(36,60,90,0.18);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.59,.01,.5,1), box-shadow 0.21s;
  z-index: 2030;
  padding: 30px 24px 40px 24px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0%);
  box-shadow: -8px 0 32px rgba(36,60,90,0.13), 0 0 0 100vw rgba(36,60,90,0.23);
}
.mobile-menu-close {
  position: absolute;
  top: 14px;
  right: 17px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #243C5A;
  cursor: pointer;
  z-index: 2050;
  padding: 6px 8px;
  border-radius: 8px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F6F8FA;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
}
.mobile-nav a {
  color: #243C5A;
  font-size: 1.08em;
  font-weight: 500;
  padding: 13px 10px;
  border-radius: 10px;
  transition: background 0.12s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F8FA;
  color: #009688;
}
.mobile-nav a.cta {
  background: #009688;
  color: #fff;
  font-weight: 700;
  margin-top: 16px;
  padding: 14px 24px;
  border-radius: 22px;
}
.mobile-nav a.cta:hover {
  background: #243C5A;
  color: #fff;
}

/* FOOTER */
footer {
  background: #fff;
  box-shadow: 0 -2px 12px rgba(36,60,90,0.05);
  padding: 42px 0 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 18px;
}
.footer-logo img {
  height: 38px;
  width: auto;
  margin: 0 0 10px 0;
}
.footer-links {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: .98em;
  color: #243C5A;
  font-weight: 500;
  opacity: 0.8;
  transition: color 0.18s, opacity 0.15s;
  margin-bottom: 10px;
}
.footer-links a:hover, .footer-links a:focus {
  color: #009688;
  opacity: 1;
  outline: none;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: .98em;
  opacity: 0.86;
  line-height: 1.7;
  min-width: 210px;
}
.contact-info img {
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
}
.social-media {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.social-media a img {
  height: 26px;
  width: 26px;
  filter: grayscale(40%);
  transition: filter 0.15s;
}
.social-media a:hover img, .social-media a:focus img {
  filter: grayscale(0%) brightness(0.9);
}
.copyright {
  flex: 1 1 100%;
  font-size: 0.95em;
  color: #7C8BA1;
  opacity: 0.75;
  text-align: center;
  padding: 16px 0 6px 0;
}

/* --- Responsive Design --- */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
  .feature-grid > div, .benefit-grid > div, .case-study {
    min-width: 200px;
  }
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding-top: 0;
  }
  .footer-links {
    margin-bottom: 8px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-grid, .feature-grid, .benefit-grid, .blog-post-grid, .card-container, .case-study-list {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 8px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    font-size: 0.98rem;
  }
  .card, .feature-grid > div, .benefit-grid > div, .case-study {
    min-width: 0;
    padding: 18px 10px;
  }

  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 6px;
  }
  .section {
    padding: 15px 2px;
  }
  h1, h2, h3, h4 {
    word-break: break-word;
  }
  .mobile-menu {
    max-width: 100vw;
    width: 100vw;
    padding: 18px 6px 36px 14px;
  }
  .mobile-menu-close {
    top: 6px; right: 8px;
  }
}

/* --- Miscellaneous --- */
.text-section h2 {
  font-size: 1.2rem;
  margin-top: 22px;
  margin-bottom: 10px;
}
.text-section p {
  margin-bottom: 18px;
}
.feature-grid img, .benefit-grid img, .case-study img {
  height: 44px;
  margin-bottom: 12px;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #DBE1EA;
  box-shadow: 0 -3px 20px rgba(36,60,90,0.11);
  padding: 22px 12px;
  z-index: 2222;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: 0.98em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.32s, transform 0.32s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner .cookie-message {
  flex: 1 1 360px;
  max-width: 540px;
  color: #243C5A;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
}
.cookie-btn {
  margin: 0 2px;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: .96em;
  border: none;
  background: #009688;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-btn.rej {
  background: #f7f7f7;
  color: #243C5A;
  border: 1px solid #DBE1EA;
}
.cookie-btn.rej:hover, .cookie-btn.rej:focus {
  background: #F6F8FA;
  color: #009688;
}
.cookie-btn.settings {
  background: #243C5A;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #009688;
}

/* --- Cookie Preferences Modal --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 3000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,60,90,0.16);
  align-items: center;
  justify-content: center;
  animation: fade-in 0.26s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fade-in {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 48px rgba(36,60,90,0.22);
  max-width: 400px;
  width: 95vw;
  padding: 32px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: pop-in 0.23s cubic-bezier(.3,1.5,.7,1);
}
@keyframes pop-in {
  from { transform: scale(0.93) translateY(50px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  padding: 9px 0;
}
.cookie-category-label {
  font-size: 1em;
  color: #243C5A;
  font-weight: 500;
}
.cookie-switch {
  appearance: none;
  width: 38px;
  height: 20px;
  border-radius: 13px;
  background: #DBE1EA;
  outline: none;
  cursor: pointer;
  transition: background 0.17s;
  position: relative;
}
.cookie-switch:checked {
  background: #009688;
}
.cookie-switch::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.17s;
}
.cookie-switch:checked::before {
  transform: translateX(16px);
}
.close-cookie-modal-btn {
  position: absolute;
  right: 18px;
  top: 16px;
  font-size: 1.6rem;
  color: #7C8BA1;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 11px;
  border-radius: 8px;
}
.close-cookie-modal-btn:hover, .close-cookie-modal-btn:focus {
  background: #F6F8FA;
  color: #243C5A;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}
@media (max-width: 420px) {
  .cookie-modal {
    padding: 18px 7px 14px 10px;
  }
  .cookie-modal h2 {
    font-size: 1em;
  }
}

/* --- Utilities & Misc --- */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mb-30 { margin-bottom: 30px!important; }
.flex { display: flex!important; }
.flex-center { align-items: center!important; }
.flex-column { flex-direction: column!important; }
.gap-10 { gap: 10px!important; }
.gap-20 { gap: 20px!important; }

/* Hide visually but keep accessible */
.visually-hidden {
  position: absolute!important;
  height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
}

/* --- End of Scandinavian Clean CSS --- */
