/* 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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.4;
  background: #F7F9FC;
  color: #213047;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  color: #254F6E;
  font-weight: 600;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
p, ul, ol {
  font-size: 1rem;
  color: #304353;
  margin-bottom: 14px;
}
a {
  color: #386d9e;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #1B3A50;
  text-decoration: underline;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: none;
}
strong, b {
  font-weight: 600;
}
/* CONTAINER & WRAPPER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* SECTION SPACING & LAYOUT */
section {
  width: 100%;
  background: transparent;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: transparent;
}
@media (max-width: 768px) {
  .section, section {
    padding: 30px 0 30px 0;
    margin-bottom: 32px;
  }
}

/* HEADER/NAVIGATION */
header {
  width: 100%;
  min-height: 70px;
  background: #E7F3FB;
  box-shadow: 0 2px 18px 0 rgba(37,79,110,0.08);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0 0 0;
  position: relative;
  z-index: 20;
}
header > a img {
  height: 48px;
  margin: 8px 22px 8px 22px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex: 1;
  align-items: center;
}
header nav a {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #254F6E;
  opacity: 0.82;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #C7E6F5;
  color: #1B3A50;
  opacity: 1;
}
.cta-btn {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  background: linear-gradient(90deg, #FFE3F5 0%, #C9E3FF 100%);
  color: #254F6E;
  padding: 10px 24px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.08rem;
  box-shadow: 0 2px 10px rgba(37,79,110,0.07);
  cursor: pointer;
  margin-left: 16px;
  letter-spacing: 0.02em;
  transition: background 0.2s, box-shadow 0.25s, color 0.19s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #FFD3E3 0%, #B9CCEA 100%);
  color: #1B3A50;
  box-shadow: 0 6px 24px rgba(37,79,110,0.12);
  text-decoration: none;
}

/* MOBILE HEADER MENU */
header .mobile-menu-toggle {
  display: none;
}
@media (max-width: 1020px) {
  header nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  header .mobile-menu-toggle {
    display: block;
    background: linear-gradient(90deg, #DEE6FA 0%, #FFE3F5 100%);
    color: #234F6E;
    font-size: 2rem;
    border: none;
    border-radius: 8px;
    padding: 6px 19px 3px 19px;
    margin-left: auto;
    margin-right: 22px;
    transition: background 0.18s, box-shadow 0.2s;
    cursor: pointer;
    z-index: 41;
  }
  header .mobile-menu-toggle:focus, 
  header .mobile-menu-toggle:hover {
    background: linear-gradient(90deg, #FFD3E3 0%, #B9CCEA 100%);
    color: #1B3A50;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; 
  width: 100vw;
  height: 100vh;
  background: rgba(232,242,255,0.99);
  box-shadow: 0 10px 48px rgba(37,79,110,0.13);
  z-index: 100;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.57,.17,.63,1.32);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 26px 0 0;
  background: #E3D8FB;
  color: #1B3A50;
  border: none;
  font-size: 2.2rem;
  border-radius: 8px;
  cursor: pointer;
  padding: 0 14px;
  transition: background 0.2s;
  z-index: 102;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFD3E3;
  color: #254F6E;
}
.mobile-nav {
  width: 100%;
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: flex-start;
  padding-left: 39px;
}
.mobile-nav a {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.20rem;
  color: #254F6E;
  background: transparent;
  padding: 9px 4px;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.14s, color 0.17s;
  min-width: 220px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #EFE7F9;
  color: #1B3A50;
}
@media (min-width: 1021px) {
  .mobile-menu { display: none !important; }
}

/* SECTION, CARD, FLEX LAYOUTS (FLEX ONLY) */
.feature-grid, .service-cards, .service-list, .testimonial-slider, .testimonial-list, .client-logos, .about-preview ul.brand-values-list, .usp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
}
.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) {
  .feature-grid, .service-cards, .service-list, .testimonial-slider, .testimonial-list, .client-logos, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F2F7FA;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(138, 184, 229, 0.10);
  padding: 26px 20px 20px 20px;
  min-width: 220px;
  max-width: 325px;
  flex: 1 1 270px;
  transition: box-shadow 0.21s, background 0.19s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 0;
}
.feature-item h3 {
  font-size: 1.13rem;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 26px rgba(37,79,110,0.11);
  background: #E4F0FF;
}

/* SERVICES CARDs */
.service-cards, .service-list {
  gap: 24px;
  margin-bottom: 24px;
}
.service-card, .service-detail {
  background: #FFFFFF;
  border-radius: 17px;
  box-shadow: 0 2px 14px rgba(138,184,229,0.08);
  padding: 28px 22px 18px 22px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
  transition: box-shadow 0.21s, background 0.16s;
  position: relative;
}
.service-card img,
.service-detail img {
  height: 38px;
  width: 38px;
  margin-bottom: 0;
}
.service-card h3, .service-detail h3 {
  font-size: 1.10rem;
  margin-bottom: 4px;
}
.service-card .service-price,
.service-detail .service-price {
  font-size: 1rem;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  color: #6CA5CF;
  margin-top: 6px;
  font-weight: 500;
}
.service-card:hover, .service-detail:hover, .service-card:focus-within, .service-detail:focus-within {
  box-shadow: 0 6px 22px rgba(37, 79, 110, 0.15);
  background: #ECF5FD;
}

/* TABLES */
.service-table {
  width: 100%;
  background: #F2F7FA;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(138,184,229,0.09);
  margin-top: 18px;
  margin-bottom: 10px;
  border-spacing: 0;
  font-size: 1rem;
  color: #254F6E;
}
.service-table th, .service-table td {
  padding: 12px 17px;
  text-align: left;
}
.service-table thead th {
  background: #D2E8F9;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
}
.service-table tbody tr:nth-child(even) td {
  background: #F6F4FF;
}
.service-table tbody tr:hover td {
  background: #E4F2FA;
}

/* TESTIMONIALS */
.testimonials { width: 100%; }
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #FFFFFF;
  color: #234155;
  box-shadow: 0 4px 24px rgba(37,79,110,0.10);
  border-radius: 18px;
  padding: 24px 28px 19px 28px;
  min-width: 250px;
  max-width: 400px;
  flex: 1 1 300px;
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s, background 0.17s;
}
.testimonial-card p {
  font-size: 1.06rem;
  line-height: 1.55;
  color: #213047;
}
.testimonial-meta {
  font-size: 0.97rem;
  color: #365372;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.9;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 30px rgba(37,79,110,0.15);
  background: #F2F7FA;
}
/* Ensure contrast for testimonial text */
.testimonial-card p, .testimonial-card .testimonial-meta, .testimonial-card strong {
  color: #213047 !important;
}

.client-logos {
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin-top: 24px;
}
.client-logos img {
  height: 44px;
  opacity: 0.85;
}

/* CASE STUDY SUMMARIES */
.case-studies {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.project-summary {
  background: #E6F2FA;
  border-radius: 14px;
  box-shadow: 0 1px 12px rgba(37,79,110,0.07);
  padding: 24px 19px 20px 19px;
  margin-bottom: 20px;
  max-width: 520px;
}
.project-summary h3 { margin-bottom: 8px; }

/* FAQ ACCORDION */
.faq-accordion {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #F9F4FF;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(180,140,220,0.06);
  padding: 20px 18px 15px 18px;
  cursor: pointer;
  transition: box-shadow 0.15s, background 0.13s;
}
.faq-item h3 {
  font-size: 1.07rem;
  color: #2a3850;
  margin-bottom: 9px;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 4px 18px rgba(88,98,130,0.14);
  background: #E7F4F9;
}

/* brand-values / usp-list  */
.brand-values-list, .usp-list {
  flex-direction: column;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 17px;
}
.brand-values-list li, .usp-list li {
  font-size: 1.04rem;
  color: #254F6E;
  background: #ECF5FD;
  border-radius: 10px;
  padding: 8px 18px;
}

/* CONTACT INFO */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1.04rem;
  margin-bottom: 0;
  color: #254F6E;
}
.contact-info a {
  color: #487EAD;
  text-decoration: underline;
}
/* CONTENT CTA, ABOUT, LEGAL */
.cta, .contact-cta, .confirmation, .about-preview, .about-section, .legal {
  background: #F8F8FC;
  border-radius: 18px;
  padding: 28px 22px 24px 22px;
  box-shadow: 0 1px 10px rgba(138,184,229,0.09);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.confirmation {
  align-items: flex-start;
  max-width: 570px;
  margin: 0 auto 30px auto;
}
.cta h2, .contact-cta h2 {
  margin-bottom: 10px;
}

/* FOOTER */
footer {
  width: 100%;
  background: #F2F7FA;
  color: #254F6E;
  padding: 26px 0 16px 0;
  margin-top: 18px;
  box-shadow: 0 -2px 10px rgba(37,79,110,0.07);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer nav {
  display: flex;
  gap: 24px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
footer nav a {
  color: #254F6E;
  background: none;
  font-size: 1rem;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  opacity: 0.85;
  padding: 7px 13px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  background: #C7E6F5;
  opacity: 1;
}
.footer-contact {
  font-size: 0.99rem;
  color: #365372;
  opacity: 0.93;
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.footer-contact a {
  color: #487EAD;
  text-decoration: underline;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .container {
    max-width: 92vw;
    padding: 0 10px;
  }
  .service-card, .feature-item {
    min-width: 170px;
    max-width: 100%;
  }
}
@media (max-width: 820px) {
  header > a img { margin: 8px 11px 8px 11px; height: 42px; }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.20rem; }
  .feature-grid, .service-cards, .service-list,
  .testimonial-slider, .testimonial-list, .client-logos,
  .about-preview ul.brand-values-list, .usp-list { gap: 14px; }
  .feature-item, .service-card, .service-detail,
  .testimonial-card, .project-summary {
    min-width: 100px;
    padding: 16px 10px 12px 12px;
    max-width: 100vw;
  }
  .cta, .contact-cta, .confirmation, .about-preview, .about-section, .legal {
    padding: 12px 7px 13px 8px;
    border-radius: 12px;
  }
  .footer-contact { font-size: 0.97rem; }
  footer { padding: 18px 0 10px 0; }
}

/* MICRO-INTERACTIONS/TRANSITIONS */
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close, a {
  transition: background 0.19s, box-shadow 0.19s, color 0.16s, border 0.14s;
}

/* COOKIE CONSENT BANNER -----------------------------------*/
.cookie-banner {
  display: none;
}
.cookie-banner.hide {
  display: none;
}
.cookie-banner .cookie-text {
  font-size: 1.02rem;
  color: #213047;
  margin-right: 14px;
  max-width: 410px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.cookie-banner button {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  background: linear-gradient(90deg, #FFE3F5 0%, #C9E3FF 100%);
  color: #254F6E;
  border: none;
  border-radius: 22px;
  padding: 8px 19px;
  font-weight: 500;
  font-size: 1rem;
  margin-right: 0;
  box-shadow: 0 1px 8px rgba(138,184,229,0.08);
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: linear-gradient(90deg, #FFD3E3 0%, #B9CCEA 100%);
}
@keyframes cookie-slideup {
  from { transform: translateY(80px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 14px 3vw 8px 2vw;
    align-items: stretch;
    font-size: 0.93rem;
  }
  .cookie-banner .cookie-text { margin-right: 0; }
  .cookie-banner .cookie-btns { flex-direction: row; }
}

/* COOKIE MODAL POPUP --------------------------------------*/
.cookie-modal-overlay {
  position: fixed; top:0; left:0; right:0; bottom:0; 
  width: 100vw; height: 100vh;
  background: rgba(37,79,110,0.13);
  z-index: 1099;
  display: none;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.31s;
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes cookieModalFadeIn {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #FFF0FB;
  border-radius: 22px;
  box-shadow: 0 8px 42px rgba(180,165,220,0.18);
  max-width: 410px;
  padding: 26px 32px 23px 24px;
  z-index: 1100;
  animation: cookieModalPopIn 0.31s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
}
@keyframes cookieModalPopIn {
  from { transform: scale(0.85); opacity:0; }
  to   { transform: scale(1); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.2rem;
  color: #2C3988;
  margin-bottom: 5px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  background: #ECF5FD;
  border-radius: 12px;
  padding: 8px 14px 6px 12px;
  font-size: 1rem;
}
.cookie-category .cookie-toggle {
  width: 38px;
  height: 22px;
  background: #D2E8F9;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.15s;
}
.cookie-category .cookie-toggle[data-enabled="true"] {
  background: #BBD3F7;
}
.cookie-category .cookie-toggle-switch {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0px 1px 6px rgba(37,79,110,0.08);
  transition: left 0.18s;
}
.cookie-category .cookie-toggle[data-enabled="true"] .cookie-toggle-switch {
  left: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 7px;
}
.cookie-modal-actions button {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
  border-radius: 18px;
  padding: 7px 16px;
}
.cookie-modal .cookie-modal-close {
  background: none;
  color: #254F6E;
  border: none;
  font-size: 1.32rem;
  position: absolute;
  top: 12px;
  right: 21px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.14s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  opacity: 1;
}
@media (max-width: 600px) {
  .cookie-modal {
    max-width: 90vw;
    padding: 19px 8vw 14px 7vw;
  }
}

/* SCROLLBAR BEAUTIFY */
::-webkit-scrollbar {
  width: 8px;
  background: #F3F5FF;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: #D2E8F9;
  border-radius: 5px;
}

/* CUSTOM SELECTION */
::selection {
  background: #CEE3F6;
  color: #213047;
}

/* SOFT PASTEL GRADIENT BACKGROUNDS for HERO SECTIONS */
.hero, .section.hero {
  background: linear-gradient(120deg, #EAF6FF 60%, #FCE2F0 100%);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(37,79,110,0.08);
  padding: 42px 18px 30px 28px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.hero h1, .hero .subheadline, .hero .tagline {
  color: #1B3A50;
}
.hero .subheadline, .hero .tagline {
  font-size: 1.19rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 15px;
  letter-spacing: 0.015em;
  color: #385574;
}
@media (max-width: 768px) {
  .hero, .section.hero {
    padding: 22px 6px 14px 8px;
    border-radius: 12px;
  }
}

/* ACCESSIBLE FOCUS OUTLINES */
:focus {
  outline: 2px dashed #B6DEF7;
  outline-offset: 2px;
}

/* ANIMATIONS */
@media (prefers-reduced-motion: no-preference) {
  .cta-btn, button, a {
    transition: background 0.19s, box-shadow 0.21s, color 0.18s;
  }
}

/* Z-INDEX LAYERS */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 100;
}

/* ENSURE NO GRID OR COLUMN PROPERTIES AT ALL! */
/* DO NOT USE (display: grid), (grid-*) or (columns) ANYWHERE. HANDLED STRICTLY BY FLEXBOX. */
