/* CSS Reset & Normalize */
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: #F7F7F7;
  color: #244260;
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #234E70;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3CA6A6;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
}
img {
  max-width: 100%;
  display: block;
  border-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: #234E70;
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
p {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #316187;
}
strong { font-weight: 700; }

/* Pastel Palette */
:root {
  --color-primary: #234E70;
  --color-secondary: #3CA6A6;
  --color-accent: #F7F7F7;
  --pastel-blue: #e6f0fa;
  --pastel-turquoise: #d8faf4;
  --pastel-lilac: #f7eafd;
  --pastel-peach: #fdeeee;
  --pastel-mint: #e4fff6;
  --pastel-yellow: #fefae4;
}

/* Container and Section Spacing */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section {
  background: #fff;
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 24px 0 rgba(60, 166, 166, 0.09);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section,
.map-address,
.contact-details {
  margin-bottom: 24px;
  color: #316187;
  font-size: 1.08rem;
}

/* Navbar */
.navbar {
  background: var(--pastel-blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 2px 14px 0 rgba(60, 166, 166, 0.09);
  position: relative;
  z-index: 20;
}
.navbar img {
  height: 48px;
  width: auto;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  padding: 4px 8px;
  border-radius: 8px;
  color: #234E70;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-turquoise);
  color: #3CA6A6;
}
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  background: linear-gradient(90deg, #3CA6A6 60%, #e6f0fa 110%);
  background-color: #3CA6A6;
  border: none;
  border-radius: 18px;
  font-size: 1.07rem;
  padding: 11px 28px;
  box-shadow: 0 2px 10px rgba(60,166,166,0.08);
  cursor: pointer;
  letter-spacing: 0.01em;
  outline: none;
  margin-left: 18px;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #234E70;
  color: #fff;
  box-shadow: 0 3px 18px rgba(35,78,112,0.16);
}

/* Mobile Burger Menu */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  padding: 7px 16px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 16px;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1010;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 12px 0 rgba(60,166,166,.09);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #234E70;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37, 78, 112, .94);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open { 
  transform: translateX(0); 
}
.mobile-menu-close {
  font-size: 2rem;
  padding: 12px 20px;
  background: transparent;
  color: #fff;
  border: none;
  align-self: flex-end;
  margin: 24px 32px 8px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover { color: #3CA6A6; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 30px 40px;
  margin-top: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #F7F7F7;
  font-size: 1.3rem;
  padding: 10px 8px;
  transition: background 0.18s, color 0.18s;
  border-radius: 11px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff !important;
}
@media (max-width: 1060px) {
  .container { max-width: 95vw; }
  .main-nav { gap: 18px; }
  .btn-primary { margin-left: 8px; }
}
@media (max-width: 900px) {
  .navbar img { height: 38px; }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.55rem; }
}
@media (max-width: 850px) {
  .navbar {
    flex-direction: column;
    padding: 12px 8px 6px 8px;
    align-items: stretch;
    gap: 10px;
  }
  .main-nav {
    gap: 13px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .btn-primary { margin-left: 0; }
}

/* Section & Card Containers */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 28px;
  box-shadow: 0 8px 40px 0 rgba(60,166,166,0.07);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--pastel-lilac);
  border-radius: 20px;
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px 22px 20px;
  box-shadow: 0 2px 16px rgba(60,166,166,0.11);
  transition: box-shadow 0.19s, transform 0.19s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px rgba(60,166,166,0.18);
  transform: translateY(-2px) scale(1.01);
}
.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;
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* Feature Grids & Lists */
.feature-grid, .industry-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-top: 20px;
  margin-bottom: 8px;
  justify-content: flex-start;
}
.feature-grid li, .industry-grid li, .service-list li {
  flex: 1 1 320px;
  min-width: 230px;
  background: var(--pastel-turquoise);
  padding: 24px 20px 20px 20px;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(60,166,166,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, background 0.17s;
}
.feature-grid li:hover, .industry-grid li:hover, .service-list li:hover {
  background: var(--pastel-blue);
  box-shadow: 0 4px 20px 0 rgba(60,166,166,0.15);
}
.feature-grid img, .industry-grid img {
  height: 48px;
  margin-bottom: 10px;
}
.feature-grid h3, .industry-grid strong, .service-list strong {
  color: #234E70;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 24px;
  background: var(--pastel-yellow);
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(60,166,166,0.09);
  min-width: 220px;
  color: #244260;
  font-size: 1.07rem;
}
.testimonial-card blockquote {
  margin: 0 0 8px 0;
  color: #234E70;
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.5;
}
.testimonial-card span {
  font-size: 1rem;
  color: #326398;
  letter-spacing: 0.01em;
  opacity: 0.7;
}

/* Footer */
footer {
  background: var(--pastel-lilac);
  padding: 38px 0 28px 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 20px 0 rgba(60,166,166,0.06);
  margin-top: 76px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-bottom: 19px;
  justify-content: center;
}
.footer-nav a {
  color: #3CA6A6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #234E70; }
.brand-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #244260;
  text-align: center;
}
.brand-info img {
  height: 40px;
  margin-bottom: 10px;
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--pastel-peach);
  color: #234E70;
  box-shadow: 0 -3px 18px 0 rgba(60,166,166,0.13);
  z-index: 2600;
  padding: 22px 10px 22px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.08rem;
  transition: transform 0.3s cubic-bezier(.41,1.3,.33,1.04), opacity 0.3s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-cookie,
.btn-cookie-settings,
.btn-cookie-reject {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  padding: 8px 18px;
  transition: background 0.17s, color 0.17s;
  margin-left: 4px;
}
.btn-cookie {
  background: #3CA6A6;
  color: #fff;
}
.btn-cookie:hover, .btn-cookie:focus {
  background: #234E70;
}
.btn-cookie-settings {
  background: #fff;
  color: #234E70;
  border: 1.5px solid #3CA6A6;
}
.btn-cookie-settings:hover, .btn-cookie-settings:focus {
  background: #3CA6A6;
  color: #fff;
}
.btn-cookie-reject {
  background: #fff4f3;
  color: #c1455e;
  border: 1.2px solid #ffcacf;
}
.btn-cookie-reject:hover, .btn-cookie-reject:focus {
  background: #fcc0c5;
  color: #70000f;
  border-color: #ffa1b3;
}

/* Cookie Banner Modal */
.cookie-modal-bg {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(35,78,112,0.23);
  z-index: 2700;
  justify-content: center;
  align-items: center;
}
.cookie-modal-bg.active { display: flex; }
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  padding: 36px 26px;
  max-width: 410px;
  min-width: 280px;
  box-shadow: 0 6px 40px 0 rgba(60,166,166,.13);
  color: #234E70;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalFadeIn .35s cubic-bezier(.18,1.12,.88,.94);
}
@keyframes modalFadeIn { from{opacity:.1; transform:translateY(44px);} to{opacity:1; transform:translateY(0);} }
.cookie-modal h2 { font-size: 1.25rem; margin-bottom: 11px; color: #234E70; }
.cookie-modal .cookie-category {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-modal label { font-size: 1rem; color: #234E70; }
.cookie-modal .toggle-switch {
  position: relative;
  width: 38px; height: 20px;
  display: inline-block;
}
.toggle-switch input { display:none; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e6f0fa;
  border-radius: 22px; 
  transition: background 0.18s;
  box-shadow: 0 1px 4px rgba(60,166,166,.03);
}
.toggle-slider:before {
  position: absolute;
  content: '';
  height: 16px; width: 16px;
  left: 2px; bottom: 2px;
  background: #3CA6A6;
  border-radius: 50%;
  transition: transform 0.18s;
}
.toggle-switch input:checked + .toggle-slider { background: #cbeee4; }
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(18px); background: #234E70; }
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top:8px;
  justify-content: flex-end;
}
.cookie-modal .btn-cookie {
  min-width: 99px;
}
.cookie-modal-close {
  position: absolute;
  right: 12px; top: 10px;
  background: transparent;
  border: none;
  font-size: 1.64rem;
  color: #8399cd;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #234E70;
}

@media (max-width: 700px) {
  .section { padding: 24px 7px; border-radius: 13px; }
  .card, .feature-grid li, .industry-grid li, .service-list li { padding: 16px 8px; border-radius: 12px; }
  .footer-nav { gap: 10px; }
  .cookie-banner { flex-direction: column; gap: 8px; font-size: 1rem; padding: 11px 3px 19px 7px; }
}
@media (max-width: 500px) {
  .navbar { padding: 8px 2vw; }
  .section { margin-bottom: 30px; padding: 16px 1px; }
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.09rem; }
  .container { padding: 0 4px; }
  .footer-nav { font-size: .97rem; }
  .brand-info { font-size: .88rem; }
  .btn-primary, .btn-cookie, .btn-cookie-settings, .btn-cookie-reject { padding: 8px 8px; font-size: 0.99rem; }
  .mobile-nav { padding: 18px 11px; font-size: 1.1rem; gap: 16px; }
}

/* Micro-interactions & Card Animations */
.card, .feature-grid li, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.19s, background 0.15s;
}
.card:focus-within, .feature-grid li:focus-within, .testimonial-card:focus-within {
  box-shadow: 0 3px 18px 0 rgba(35,78,112,0.17);
  outline: 2px dashed #3ca6a6;
}

/* Misc Content Enhancements */
.text-section ul, .content-wrapper ul, .content-wrapper ol {
  margin-bottom: 16px;
  margin-top: 10px;
}
.text-section li, .content-wrapper li, .content-wrapper ol > li {
  margin-bottom: 8px;
  padding-left: 0.1em;
  font-size: 1.06rem;
  color: #316187;
}
.contact-details ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 11px;
}
.contact-details img {
  height: 24px;
  width: 24px;
  filter: grayscale(14%) opacity(0.65);
}
.map-address { font-size: 1rem; margin-bottom: 9px; color: #316187; }

/* Fix for minimal required spacing */
.card, .feature-grid li, .industry-grid li, .service-list li, .testimonial-card {
  margin-bottom: 20px;
}
.card-container, .feature-grid, .industry-grid, .service-list {
  gap: 24px;
}

/* Feature Item Example (for content flexibility) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Accessibility */
:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Hide visually but keep focusable (for a11y skip links if used) */
.visually-hidden { position: absolute!important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Z-index Stacking for overlays */
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 2600; }
.cookie-modal-bg { z-index: 2700; }

/* End of CSS */
