/* ===== CSS 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, 
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.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7FAFC;
  color: #26314d;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #2592d4;
  text-decoration: none;
  transition: color 0.15s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #00B5E2;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
}
address {
  font-style: normal;
  margin-bottom: 24px;
}

/* ===== BRAND FONTS ===== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:wght@600;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:wght@400;500&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #173455;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 14px; }
h4 { font-size: 1.14rem; margin-bottom: 12px; }
p, li, address, span, table, th, td {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  line-height: 1.7;
  color: #2b3552;
}
p {
  margin-bottom: 16px;
}

strong, b {
  font-weight: 600;
}
.text-section h1, .text-section h2, .text-section h3, .text-section h4, .text-section h5, .text-section h6 {
  color: #173455;
}

/* ===== COLORS & PASTEL PALETTE VARIANTS ===== */
:root {
  --primary: #173455;
  --secondary: #00B5E2;
  --accent: #F4F8FB;
  --pastel-blue: #C6E5F8;
  --pastel-mint: #DFF7EF;
  --pastel-pink: #F8E4EC;
  --pastel-lavender: #E7E7FB;
  --pastel-yellow: #FBF9E6;
  --pastel-mauve: #E3E8F0;
  --cta-dark: #0f2b4d;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(47,68,119,0.06);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 20px;
}
.text-section {
  background: var(--accent);
}

@media (max-width: 1040px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    padding: 24px 10px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 26px 8px;
    margin-bottom: 38px;
  }
  .content-wrapper {
    padding: 12px 5px;
    border-radius: 13px;
  }
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: linear-gradient(90deg, var(--pastel-blue) 0%, var(--pastel-mint) 100%);
  box-shadow: 0 2px 20px 0 rgba(23,52,85,0.08);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1001;
}
header > nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px 14px 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #214476;
  padding: 6px 14px;
  border-radius: 21px;
  transition: background 0.2s, color 0.14s;
}
header nav a.cta {
  background: var(--secondary);
  color: #fff;
  border: none;
  box-shadow: 0 1px 8px 0 rgba(0,181,226,0.10);
  font-size: 1rem;
  letter-spacing: .02em;
  margin-left: 10px;
  transition: background 0.22s, color 0.14s, box-shadow 0.18s;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(23,52,85,0.14);
}
header nav a:hover, header nav a:focus {
  background: var(--pastel-blue);
  color: var(--primary);
}
header nav img {
  height: 40px;
  width: auto;
  vertical-align: middle;
  margin-right: 9px;
  margin-top: -3px;
}
@media (max-width: 880px) {
  header > nav {
    gap: 8px;
    padding: 16px 4px 10px 4px;
  }
  header nav img {
    height: 32px;
    margin-right: 3px;
  }
  header nav a {
    padding: 6px 7px;
    font-size: 0.97rem;
  }
}

/* Hide nav links on mobile, show menu toggle */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 26px;
  top: 17px;
  background: var(--secondary);
  color: #fff;
  border: none;
  padding: 11px 13px;
  font-size: 1.65rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,181,226,.13);
  cursor: pointer;
  z-index: 1017;
  transition: background 0.20s, color 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 890px) {
  header > nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85vw;
  max-width: 350px;
  background: linear-gradient(120deg, var(--pastel-mint) 48%, var(--pastel-yellow) 100%);
  z-index: 1050;
  box-shadow: -3px 0 20px 6px rgba(68,91,157, 0.09);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.54,.01,.5,.91);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.29s cubic-bezier(.44,.02,.28,1.03);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 19px 19px 7px 0;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(0,181,226,0.13);
  transition: background 0.19s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 13px 34px 22px 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
  color: var(--primary);
  background: #fff;
  padding: 13px 13px;
  border-radius: 16px;
  margin-bottom: 2.5px;
  transition: background 0.14s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

@media (min-width: 891px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* Overlay when menu open */
.mobile-menu.open::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(48,54,69,0.18);
  z-index: -1;
  pointer-events: none;
}

/* ===== MAIN LAYOUTS (FLEXBOX ONLY) ===== */
.service-cards, .industry-cards, .solution-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.service-cards > div, .industry-cards > div, .solution-grid > div {
  flex: 1 1 240px;
  min-width: 240px;
  max-width: 340px;
  background: linear-gradient(135deg, var(--pastel-lavender) 60%, var(--accent) 100%);
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 rgba(41,66,92,0.05);
  padding: 23px 22px 22px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  transition: box-shadow 0.18s, transform 0.17s, background 0.23s;
}
.solution-grid > div img {
  height: 38px;
  margin-bottom: 14px;
}
.service-cards > div:hover, .industry-cards > div:hover, .solution-grid > div:hover {
  box-shadow: 0 7px 22px 3px rgba(22,46,82,0.08);
  background: linear-gradient(120deg, #e9fafd 70%, #ecf6ff 100%);
  transform: translateY(-3px) scale(1.025);
}
@media (max-width: 950px) {
  .service-cards, .industry-cards, .solution-grid {
    flex-direction: column;
    gap: 18px;
  }
  .service-cards > div, .industry-cards > div, .solution-grid > div {
    min-width: 0; max-width: 100%;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: linear-gradient(126deg, var(--pastel-pink) 39%, var(--accent) 100%);
  box-shadow: 0 3px 17px 0 rgba(51,28,68,.05);
  border-radius: 18px;
  padding: 26px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow 0.16s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 8px 30px 0 rgba(41,33,82,0.14);
  transform: translateY(-2.5px) scale(1.02);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

@media (max-width: 800px) {
  .text-image-section,
  .content-grid,
  .service-cards,
  .industry-cards,
  .solution-grid,
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: linear-gradient(98deg, var(--pastel-mint) 60%, #fff 100%);
  color: #242f47;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 9px 0 rgba(0,0,0,0.05);
  margin-bottom: 20px;
  font-style: italic;
  font-size: 1.08rem;
  min-width: 200px;
}
.testimonial-card span {
  font-weight: 600;
  color: var(--primary);
  background: #fffbed;
  padding: 6px 13px;
  border-radius: 14px;
  font-size: 0.99rem;
  margin-left: 16px;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    padding: 15px 11px;
    margin-bottom: 17px;
  }
  .testimonial-card span {
    margin-left: 0;
    margin-top: 3px;
  }
}

/* ===== BUTTONS & CTAS ===== */
.cta,
.cta.primary,
.cta.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 13px 36px 13px 34px;
  font-size: 1.12rem;
  min-width: 130px;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 12px 0 rgba(90,182,229,0.10);
  transition: background 0.18s, color 0.16s, box-shadow 0.21s, transform 0.11s;
  cursor: pointer;
  outline: none;
  border: none;
  background: var(--secondary);
  color: #fff;
}
.cta.secondary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(23,52,85,0.09);
}
.cta:hover, .cta:focus,
.cta.primary:hover, .cta.primary:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 7px 24px 0 rgba(23,52,85,0.16);
  transform: translateY(-2px) scale(1.047);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--secondary);
  color: #fff;
}

/* ===== PRICING TAGS ===== */
.price {
  display: inline-block;
  border-radius: 14px;
  background: var(--pastel-yellow);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 14px;
  margin-top: 7px;
  margin-bottom: 2px;
  box-shadow: 0 1px 6px rgba(255,229,114,0.06);
  letter-spacing: .03em;
}

/* ===== TABLE STYLE ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 19px 0 22px 0;
  background: var(--pastel-lavender);
  border-radius: 12px;
  overflow: hidden;
  font-size: 1rem;
  box-shadow: 0 1px 5px rgba(0,38,90,.07);
}
th, td {
  padding: 12px 11px;
  text-align: left;
}
th {
  background: var(--pastel-blue);
  color: var(--primary);
  font-weight: 700;
}
td {
  border-top: 1px solid #e9edfa;
}
@media (max-width: 700px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  th, td {
    padding: 8px 2px;
    font-size: 0.98rem;
  }
  tr {
    margin-bottom: 7px;
  }
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(90deg, var(--pastel-lavender) 0%, var(--pastel-blue) 100%);
  color: var(--primary);
  font-size: 1rem;
  padding: 38px 0 14px 0;
  text-align: center;
  border-top-left-radius: 38px;
  border-top-right-radius: 38px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 1rem;
}
footer nav a {
  color: var(--primary);
  background: none;
  border-radius: 11px;
  padding: 5px 13px;
  transition: background .18s, color .13s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
footer nav a:hover, footer nav a:focus {
  background: var(--secondary);
  color: #fff;
}
footer p {
  font-size: 0.96rem;
  color: #295389;
}
@media (max-width: 700px) {
  footer {
    padding: 28px 0 6px 0;
    font-size: 0.99rem;
    border-radius: 0;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  background: linear-gradient(94deg, var(--pastel-yellow) 60%, var(--pastel-pink) 100%);
  border-top: 2.5px solid #f6dadf;
  box-shadow: 0 -2px 18px 0 rgba(180,162,188,0.17);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 18px 38px 18px 44px;
  font-size: 1.07rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform 0.31s cubic-bezier(.97,.32,.29,.91), opacity 0.18s;
  opacity: 1;
  transform: translateY(0);
}
#cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
#cookie-banner p {
  flex: 1 1 280px;
  margin-bottom: 0;
  color: #26314d;
}
#cookie-banner .cookie-btn {
  min-width: 110px;
  padding: 8px 22px;
  font-size: 1rem;
  border-radius: 20px;
  margin: 0 5px;
  background: var(--secondary);
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: 0 1px 6px rgba(0,181,226,0.12);
  cursor: pointer;
  transition: background 0.17s, color .13s, box-shadow 0.18s;
}
#cookie-banner .cookie-btn:hover, #cookie-banner .cookie-btn:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4.5px 12px #91bedf44;
}
#cookie-banner .cookie-btn.settings {
  background: var(--accent);
  color: var(--primary);
  border: 1.5px solid var(--secondary);
}
#cookie-banner .cookie-btn.settings:hover {
  background: var(--secondary);
  color: #fff;
}
@media (max-width: 650px) {
  #cookie-banner {
    flex-direction: column;
    gap: 11px;
    text-align: left;
    padding: 13px 10px;
    font-size: 0.99rem;
  }
  #cookie-banner .cookie-btn {
    width: 100%;
    margin: 4px 0;
  }
}

/* Cookie Modal (Settings) */
#cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(30,40,68,0.36);
  z-index: 6100;
  display: none;
  align-items: center;
  justify-content: center;
  animation: cookieOverlayFadeIn 0.21s;
}
#cookie-modal-overlay.open {
  display: flex;
}
@keyframes cookieOverlayFadeIn { from { opacity: 0; } to { opacity: 1; } }
#cookie-modal {
  background: linear-gradient(108deg, var(--pastel-mint) 62%, var(--pastel-blue) 100%);
  color: var(--primary);
  padding: 36px 44px 30px 44px;
  border-radius: 21px;
  box-shadow: 0 4px 38px 0 rgba(41,55,72,0.11);
  min-width: 320px; max-width: 92vw;
  font-size: 1.09rem;
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: cookieModalEntry 0.30s cubic-bezier(.61,.01,.44,1.14);
}
@keyframes cookieModalEntry { from { transform: scale(0.93) translateY(60px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
#cookie-modal h2 {
  font-size: 1.33rem;
  margin-bottom: 6px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
#cookie-modal .modal-close {
  position: absolute;
  right: 15px; top: 9px;
  background: var(--secondary);
  color: #fff;
  font-size: 1.17rem;
  border: none;
  border-radius: 40%;
  width: 31px; height: 31px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 8px rgba(0,181,226,0.09);
  cursor: pointer;
  transition: background 0.14s;
}
#cookie-modal .modal-close:hover, #cookie-modal .modal-close:focus {
  background: var(--primary);
  color: #fff;
}
#cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin: 10px 0 8px 0;
  gap: 14px;
}
#cookie-modal .cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
}
#cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 21px; height: 21px;
  border-radius: 5px;
  border: 1.2px solid #98e3f4;
  cursor: pointer;
  margin-right: 4px;
}
#cookie-modal .cookie-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
#cookie-modal .cookie-actions button {
  padding: 9px 22px;
  border-radius: 17px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  font-weight: 700;
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 1px 8px rgba(0,181,226,0.13);
  cursor: pointer;
  margin-left: 6px;
  margin-top: 0;
  transition: background 0.16s, color 0.16s;
}
#cookie-modal .cookie-actions button.settings {
  background: var(--accent);
  color: var(--primary);
  border: 1.5px solid var(--secondary);
}
#cookie-modal .cookie-actions button.settings:hover {
  background: var(--secondary);
  color: #fff;
}
#cookie-modal .cookie-actions button:hover {
  background: var(--primary);
  color: #fff;
}
#cookie-modal .cookie-category input[disabled],
#cookie-modal .cookie-category input[readonly] {
  opacity: 0.56;
  cursor: not-allowed;
}
@media (max-width: 540px) {
  #cookie-modal {
    min-width: 0;
    padding: 13px 7px 17px 7px;
    font-size: 0.98rem;
    border-radius: 11px;
  }
  #cookie-modal .cookie-actions {
    flex-direction: column;
    gap: 9px;
    align-items: stretch;
  }
  #cookie-modal .cookie-category {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 12px;
  }
}

/* ===== GLOBAL MICRO-INTERACTIONS ===== */
button, .cta, .cookie-btn {
  transition: background 0.16s, color 0.14s, transform 0.13s, box-shadow 0.13s;
}

/* ===== SPECIAL FLEX CLASSES ===== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ===== MISC CLASSES/STRUCTURE SUPPORT ===== */
.office-location {
  margin: 18px 0 0 0;
  background: var(--pastel-lavender);
  border-radius: 10px;
  padding: 12px 19px;
  font-size: 0.99rem;
}

/* ===== RESPONSIVE TYPE SCALE/TEXT ===== */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.39rem; }
  h3 { font-size: 1.1rem; }
  .container, .content-wrapper { padding: 0 2px; }
}

/* ===== OVERFLOW CONTROL & MISC ===== */
body, html {
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 8px;
  background: #e6f4fb;
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-blue);
  border-radius: 6px;
}

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