/* ------------------------------------------------------------
   CSS RESET + NORMALIZE: Start with a clean, consistent baseline
---------------------------------------------------------------*/
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.6;
    background: #fff;
    color: #16324F;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    min-height: 100vh;
    min-width: 320px;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
    border: none;
}
a {
    color: #2284A1;
    text-decoration: none;
    transition: color 0.18s;
}
a:hover, a:focus {
    color: #16324F;
    text-decoration: underline;
}
ul, ol {
    margin-left: 1.2em;
    margin-bottom: 1.2em;
}
li {
    margin-bottom: 8px;
}
strong { font-weight: 600; }

/* ------------------------------------------------------------
   Typography
---------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #16324F;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; line-height: 1.15; }
h2 { font-size: 1.8rem; margin-bottom: 20px; line-height: 1.2; }
h3 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.3; }
h4 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 600; }
p, ul, ol, li, label, input, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #16324F;
}
p { margin-bottom: 18px; color: #16324F; }

/* ------------------------------------------------------------
   Containers, Sections, Layout
---------------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px rgba(22,50,79,0.04);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ------------------------------------------------------------
   Header & Navigation (Desktop)
---------------------------------------------------------------*/
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(22,50,79,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  letter-spacing: 0.02em;
  font-weight: 500;
  color: #16324F;
  opacity: 0.90;
  padding: 6px 0;
  position: relative;
}
nav a.active, nav a:focus, nav a:hover {
  color: #2284A1;
  opacity: 1;
}
.cta-button {
  background: #2284A1;
  color: #fff;
  padding: 11px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 26px;
  transition: background 0.22s, box-shadow 0.18s, transform 0.13s;
  box-shadow: 0 2px 8px rgba(34,132,161,0.08);
  cursor: pointer;
  outline: none;
  text-align: center;
}
.cta-button:hover,.cta-button:focus {
  background: #16324F;
  color: #fff;
  box-shadow: 0 4px 16px rgba(22,50,79,0.10);
  transform: translateY(-2px) scale(1.02);
}

/* Hide burger menu desktop */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

/* ------------------------------------------------------------
   Main Layout Features & Cards (Homepage, Solutions, Industries etc.)
---------------------------------------------------------------*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(22,50,79,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 18px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 300px;
  transition: box-shadow 0.18s, border-color 0.13s;
  border: 1.5px solid #f7f9fa;
  margin-bottom: 20px;
}
.feature-item img {
  height: 40px;
  width: 40px;
  margin-bottom: 4px;
  opacity: 0.95;
}
.feature-item h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}
.feature-item p {
  color: #547187;
  font-size: 0.98rem;
  margin-bottom: 0;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 24px rgba(34,132,161,0.13);
  border-color: #f2e9d6;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(34,132,161,0.07);
  margin-bottom: 20px;
  padding: 24px 16px;
  position: relative;
  flex: 1 1 290px;
  min-width: 250px;
  transition: box-shadow 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 16px rgba(34,132,161,0.14);
}

.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;
  margin-bottom: 40px;
}

/* ------------------------------------------------------------
   Testimonials
---------------------------------------------------------------*/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #f9fbfd;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(34,132,161,0.06);
  margin-bottom: 20px;
  border-left: 4px solid #F6C85F;
  position: relative;
  max-width: 600px;
}
.testimonial-card p {
  color: #16324F;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial-details span {
  font-size: 0.97rem;
  color: #2284A1;
  font-style: normal;
  font-weight: 500;
}

/* ------------------------------------------------------------
   Buttons, Inputs, Forms
---------------------------------------------------------------*/
button, input[type="submit"], .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 26px;
  background: #2284A1;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 11px 28px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 1.5px 8px rgba(34,132,161,0.09);
  transition: background 0.16s, color 0.13s, box-shadow 0.15s;
  outline: none;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: #16324F;
  color: #fff;
  box-shadow: 0 3px 14px rgba(22,50,79,0.15);
}
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 8px;
  border: 1.2px solid #D8E3EA;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 1rem;
  background: #fff;
  color: #16324F;
  transition: border-color 0.14s, box-shadow 0.15s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #2284A1;
  box-shadow: 0 1px 3px rgba(34,132,161,0.08);
}

/* Newsletter signup */
.newsletter-signup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.newsletter-signup label {
  font-size: 1rem;
  color: #16324F;
}
.newsletter-signup input[type="email"] {
  flex: 1 1 180px;
  min-width: 140px;
  margin-bottom: 0;
}
.newsletter-signup button {
  min-width: 112px;
  border-radius: 26px;
}

/* ------------------------------------------------------------
   Blog, Posts, Resources Lists
---------------------------------------------------------------*/
.blog-feed {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-post {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(34,132,161,0.08);
  padding: 20px 16px;
  flex: 1 1 280px;
  min-width: 220px;
  transition: box-shadow 0.18s;
}
.blog-post:hover, .blog-post:focus-within {
  box-shadow: 0 5px 16px rgba(34,132,161,0.13);
}
.blog-post h3 {
  margin-bottom: 8px;
}

/* ------------------------------------------------------------
   Footer Styling
---------------------------------------------------------------*/
footer {
  background: #f9fbfd;
  margin-top: 72px;
  border-top: 1.5px solid #F4F5F7;
  font-size: 1rem;
  color: #16324F;
}
footer section {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 0;
  padding: 40px 20px 16px 20px;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 12px;
}
.footer-logo img {
  height: 36px;
  width: auto;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.footer-contact p {
  margin-bottom: 8px;
  color: #547187;
  font-size: 0.97rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.social-links a img {
  height: 22px;
  opacity: 0.87;
  transition: opacity 0.13s;
}
.social-links a:hover img,
.social-links a:focus img {
  opacity: 1;
}

footer p {
  color: #96a0a9;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------
   Mobile Menu (Burger/Nav Overlay) Styling
---------------------------------------------------------------*/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #16324F;
  font-size: 2rem;
  margin-left: 10px;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.12s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f5f7fa;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 36px rgba(22,50,79,0.20);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.33,1,.68,1);
  padding: 32px 20px 20px 32px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #16324F;
  align-self: flex-end;
  margin-bottom: 20px;
  cursor: pointer;
  border-radius: 4px;
  padding: 3px 10px;
  transition: background 0.10s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f7f8ff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav a {
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #16324F;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 10px 0;
  transition: background 0.16s, color 0.18s;
  border-radius: 8px;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #2284A1;
  background: #f5f9ff;
  padding-left: 5px;
}

/* ------------------------------------------------------------
   Cookie Consent Banner (fixed bottom)
---------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1.5px solid #f4f5f7;
  box-shadow: 0 -2px 16px rgba(22,50,79,0.09);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: cookie-slide-in 0.6s cubic-bezier(.55,1.2,.66,1) both;
}
@keyframes cookie-slide-in {
  from { transform: translateY(120%); opacity: 0.5; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  color: #16324F;
  margin-bottom: 0;
  text-align: center;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 0;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 24px;
  border-radius: 20px;
  margin: 0;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.13s, box-shadow 0.13s;
}
.cookie-btn.accept {
  background: #2284A1;
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #16324F;
  color: #fff;
}
.cookie-btn.reject {
  background: #f4f5f8;
  color: #16324F;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #e9eef3;
}
.cookie-btn.settings {
  background: #fff7e0;
  color: #2284A1;
  border: 1.3px solid #F6C85F;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #fbeed6;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(16,34,68,0.27);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-fade-in 0.35s;
}
@keyframes cookie-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px 28px 28px;
  min-width: 290px;
  max-width: 410px;
  box-shadow: 0 6px 44px rgba(34,132,161,0.12);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-pop-in 0.34s cubic-bezier(.66,-0.3,.58,1.2);
}
@keyframes modal-pop-in {
  0% { transform: scale(0.94); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.23rem;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #F6C85F1A;
}
.cookie-category .toggle {
  pointer-events: all;
}
.cookie-category .toggle[disabled] {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  align-self: flex-end;
}

/* Custom Toggle Switch */
.cookie-modal input[type="checkbox"] {
  display: none;
}
.toggle {
  width: 44px;
  height: 24px;
  background: #f2f2f7;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  border: 1.2px solid #eee;
  transition: background 0.16s, border 0.13s;
}
.toggle:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ddd;
  transition: left 0.22s cubic-bezier(.73,1.5,.99,-0.12), background 0.18s;
}
input[type="checkbox"]:checked + .toggle {
  background: #2284A1;
  border-color: #2284A1;
}
input[type="checkbox"]:checked + .toggle:before {
  left: 22px;
  background: #fff;
}
.cookie-modal .essential .toggle {
  background: #F6C85F;
  border-color: #F6C85F;
}
.cookie-modal .essential .toggle:before {
  background: #fffde9;
}

/* ------------------------------------------------------------
   Utility Classes for Spacing/Flexbox: Exact as per requirements
---------------------------------------------------------------*/
.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;
}

/* ------------------------------------------------------------
   Responsive Design – Mobile-First (max-width: 900px & 768px)
---------------------------------------------------------------*/
@media (max-width: 1050px) {
  .feature-grid, .blog-feed, .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  header > .container, footer .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  :root {
    font-size: 15px;
  }
  header > .container {
    height: 64px;
    padding: 0 12px;
  }
  nav {
    display: none;
  }
  .cta-button {
    padding: 10px 16px;
    font-size: 0.97rem;
  }
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: #2284A1;
  }
  .logo img {
    height: 32px;
  }
  .feature-grid, .blog-feed, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item, .card, .blog-post {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
  section, .section {
    padding: 28px 7vw;
    margin-bottom: 36px;
    border-radius: 9px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 17px 12px;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-logo img {
    height: 26px;
  }
}
@media (max-width: 540px) {
  section, .section {
    padding: 18px 3vw;
    margin-bottom: 18px;
  }
  .feature-item, .card, .blog-post {
    padding: 16px 8px;
  }
  .cookie-banner {
    padding: 18px 7px;
  }
  .cookie-modal {
    padding: 16px 8px 13px 8px;
    min-width: unset;
    max-width: 98vw;
  }
}

/* ----------------------------------------------------------------
   Accessibility & Focus Styles
-----------------------------------------------------------------*/
a, button, input, .cta-button, nav a, .mobile-nav a, .cookie-btn, .toggle {
  outline: none;
}
:is(a, button, .cta-button, .cookie-btn, .toggle):focus-visible {
  box-shadow: 0 0 0 3px #F6C85F55;
  border-radius: 4px;
  z-index: 1;
}

/* ------------------------------------------------------------
   Micro-interactions and Transitions
---------------------------------------------------------------*/
*:where(.feature-item, .card, .blog-post, .testimonial-card, .cta-button) {
  transition: box-shadow 0.18s, background 0.16s, transform 0.10s;
}

/* -------------------------------------------------------------
   Hide scroll on mobile menu open (add .no-scroll to body)
--------------------------------------------------------------*/
body.no-scroll {
  overflow: hidden;
}

/* ------------------------------------------------------------
   Misc Spacing/Utility
---------------------------------------------------------------*/
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mt-8 { margin-top: 8px; }
.mb-8 { margin-bottom: 8px; }

/* ------------------------------------------------------------
   Hide/Show classes (for JS toggling)
---------------------------------------------------------------*/
.hide { display: none !important; }
.show { display: block !important; }

/*--------------------------------------------------------------
   END OF STYLE.CSS - SpryGlide Digital Minimalist CSS
---------------------------------------------------------------*/
