/* CSS RESET / NORMALIZE */
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #222;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #18406A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #5893C7;
}
:focus {
  outline: 2px solid #18406A;
  outline-offset: 2px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #18406A;
  font-weight: 600;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6{
  font-size: 1rem;
  margin-bottom: 10px;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #283040;
}
ul, ol {
  padding-left: 24px;
}
strong, b {
  font-weight: 600;
  color: #18406A;
}

/* GENERAL SPACING CLASSES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(24,64,106,0.04);
  position: relative;
  padding: 28px 24px;
  min-width: 250px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px 0 rgba(24,64,106,0.10);
  transform: translateY(-3px);
}
.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;
  padding: 20px 24px;
  background: #F7FAFB;
  box-shadow: 0 2px 16px 0 rgba(24,64,106,0.08);
  border-radius: 16px;
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px 0 rgba(88,147,199,0.18);
  transform: translateY(-3px);
}
.testimonial-name {
  color: #18406A;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(24,64,106,0.04);
  padding: 24px 20px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  min-width: 200px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item:hover {
  box-shadow: 0 4px 18px 0 rgba(88,147,199,0.10);
  transform: translateY(-2px);
}

/* HERO SECTION */
.hero-section {
  background: #E2F1F7;
  padding: 64px 0 48px 0;
  margin-bottom: 40px;
}
.hero-section h1 {
  font-size: 2.25rem;
}
.hero-section p {
  font-size: 1.2rem;
  color: #18406A;
  margin-bottom: 28px;
}

/* CTA Button */
.primary-cta, .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #18406A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 8px;
  padding: 13px 28px;
  margin-top: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(24,64,106,0.08);
  transition: background 0.18s, box-shadow 0.2s, transform 0.18s;
}
.primary-cta:hover,
.primary-cta:focus,
.nav-cta:hover,
.nav-cta:focus {
  background: #5893C7;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(24,64,106,0.14);
  transform: translateY(-2px);
}

/* NAVIGATION */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E2F1F7;
  box-shadow: 0 2px 12px 0 rgba(24,64,106,0.03);
  position: sticky;
  top: 0;
  z-index: 12;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 20px 16px 20px 16px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.main-nav img {
  width: 161px;
  max-width: 100%;
  margin-right: 24px;
  height: 36px;
  object-fit: contain;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #18406A;
  padding: 6px 14px;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E2F1F7;
  color: #5893C7;
}
.main-nav .nav-cta {
  margin-left: auto;
  margin-right: 0;
}

/* Hide main nav on mobile */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
}

/* BURGER MOBILE MENU */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 50;
  background: none;
  border: none;
  font-size: 2rem;
  color: #18406A;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.12s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E2F1F7;
}

@media (min-width: 991px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 30px rgba(24,64,106,0.18);
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 0 0;
  will-change: transform;
}
.mobile-menu.open { /* open state (must be toggled by JS) */
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #18406A;
  padding: 25px 22px 0 0;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 200;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #5893C7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 50px 40px 32px 40px;
  margin-top: 0;
}
.mobile-nav a {
  color: #18406A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 14px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E2F1F7;
  color: #5893C7;
}

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

/* COOKIES CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  color: #222;
  border-top: 1px solid #E2F1F7;
  box-shadow: 0 -4px 24px rgba(24,64,106,0.08);
  z-index: 9999;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 24px 16px;
  gap: 16px;
  width: 100vw;
  max-width: 100vw;
  transition: transform 0.4s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner-message {
  flex: 1 1 250px;
  font-size: 1rem;
  color: #283040;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  padding: 9px 22px;
  margin: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn.accept {
  background: #18406A;
  color: #fff;
  font-weight: 600;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #5893C7;
}
.cookie-btn.reject {
  background: transparent;
  border: 1.2px solid #E2F1F7;
  color: #18406A;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #E2F1F7;
}
.cookie-btn.settings {
  background: #F7FAFB;
  color: #18406A;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #E2F1F7;
}

/* COOKIES SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(30,48,60,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(24,64,106,0.21);
  padding: 38px 32px 28px 32px;
  min-width: 320px;
  max-width: 95vw;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #18406A;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #5893C7;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}
.cookie-category-label {
  font-size: 1rem;
  color: #18406A;
  font-weight: 500;
}
.cookie-toggle {
  width: 44px;
  height: 22px;
  background: #E2F1F7;
  border-radius: 999px;
  border: none;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-toggle[aria-checked='true'] {
  background: #5893C7;
}
.cookie-toggle-thumb {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1.5px 8px rgba(24,64,106,0.05);
  position: absolute;
  left: 2px;
  top: 1px;
  transition: left 0.18s;
}
.cookie-toggle[aria-checked='true'] .cookie-toggle-thumb {
  left: 22px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 18px;
}

/* SERVICES / SOLUTIONS / INDUSTRY / TECHNOLOGY / CARD GRIDS */
.feature-grid,
.solution-grid,
.technology-grid,
.industry-tiles,
.case-tiles,
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-grid > *,
.solution-grid > *,
.technology-grid > *,
.industry-tiles > *,
.case-tiles > *,
.service-cards > * {
  min-width: 220px;
  flex: 1 1 250px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(24,64,106,0.05);
  padding: 24px 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > *:hover, .solution-grid > *:hover,
.technology-grid > *:hover, .industry-tiles > *:hover,
.case-tiles > *:hover, .service-cards > *:hover {
  box-shadow: 0 4px 20px 0 rgba(88,147,199,0.13);
  transform: translateY(-2px);
}

/* TESTIMONIAL SLIDER CARDS */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}

/* INDIVIDUAL CARDS for CASES/INDUSTRIES/SERVICES */
.industry-tile, .case-tile, .service-card, .solution-item, .technology-item {
  margin-bottom: 20px;
}

/* VALUES LIST */
.value-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: disc inside;
  margin-bottom: 20px;
}
.value-list li {
  background: #F7FAFB;
  border-radius: 7px;
  padding: 10px 16px;
  color: #18406A;
  font-size: 1rem;
}

/* CONTACT BLOCKS */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.contact-block {
  background: #F7FAFB;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(24,64,106,0.03);
  padding: 18px 24px;
  flex: 1 1 240px;
  min-width: 168px;
}
.contact-block h3 {
  margin-bottom: 10px;
}

/* FOOTER */
footer {
  background: #F7FAFB;
  border-top: 1px solid #E2F1F7;
  padding: 32px 0 24px 0;
  margin-top: 60px;
  width: 100vw;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 32px;
  padding: 0 16px;
}
.footer-wrapper img {
  width: 65px;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: #18406A;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #5893C7; }
.footer-contact {
  color: #384353;
  font-size: 0.97rem;
}
.footer-contact img {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
}
.footer-contact span {
  margin-bottom: 4px;
  display: inline-block;
  color: #18406A;
}

/* POLICY & GENERIC TEXT SECTIONS */
.policy-section, .confirmation-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  margin-bottom: 32px;
}
.text-section p, .text-section ul, .text-section li {
  color: #283040;
  font-size: 1rem;
  margin-bottom: 14px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
  }
  .footer-wrapper {
    max-width: 96vw;
  }
}
@media (max-width: 990px) {
  .feature-grid, .solution-grid, .technology-grid, .industry-tiles, .case-tiles, .service-cards, .testimonial-slider, .contact-details {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .hero-section { padding: 38px 0 28px 0; margin-bottom: 18px; }
  .section, .policy-section, .confirmation-section { padding: 26px 4vw; }
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 0 4vw;
  }
  .footer-nav { flex-direction: column; gap: 6px; }
  .mobile-nav { padding: 49px 16px 25px 16px; }
  .text-image-section { flex-direction: column; gap: 20px; }
  .container { padding: 0 4vw; }
  .content-grid { flex-direction: column; gap: 16px; }
}
@media (max-width: 520px) {
  .primary-cta, .nav-cta { width: 100%; justify-content: center; font-size: 1rem;}
  .feature-grid > *, .solution-grid > *, .industry-tiles > *, .case-tiles > *, .service-cards > *, .technology-grid > * {
    padding: 18px 8px;
  }
  .testimonials-slider, .testimonial-card {
    min-width: 0;
    padding: 16px 8px;
  }
  body {
    font-size: 15px;
  }
}

/* ACCESSIBILITY: VISUAL FOCUS STATES */
a:focus, .primary-cta:focus, .nav-cta:focus, button:focus, .cookie-btn:focus {
  outline: 2px solid #18406A;
  outline-offset: 2px;
}

/* SUBTLE MICRO-INTERACTIONS & TRANSITIONS */
button, .primary-cta, .nav-cta, .feature-item, .card, .service-card, .solution-item, .case-tile, .industry-tile, .technology-item {
  transition: box-shadow 0.18s, transform 0.18s, background 0.16s, color 0.14s;
}

/* CATCH-ALL: Ensure all major gaps/margins */
section, .section, .policy-section, .confirmation-section {
  margin-bottom: 60px;
  padding-bottom: 12px;
}

/* Hide cookie settings modal on page load */
.cookie-modal-overlay { display: none; }
.cookie-modal-overlay.open { display: flex; }

/* END */
