/* === CSS RESET & NORMALIZATION === */
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, 
main, 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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  background: #f7f9fb;
  color: #213040;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1769AA;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #23894C;
  outline: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #18304b;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.2rem; margin-bottom: 20px; }
h2 { font-size: 1.6rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }
p, li, dd {
  font-size: 1rem;
  line-height: 1.7;
  color: #213040;
}
small { font-size: 0.9em; color: #8091a8; }

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(28,49,72,0.05);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
  .content-wrapper { gap: 24px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(23,105,170,0.07);
  position: relative;
  padding: 28px 22px;
  flex: 1 1 310px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(23,105,170,0.13);
}
.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) {
  .text-image-section { flex-direction: column; gap: 18px; align-items: flex-start; }
  .card-container, .content-grid { gap: 12px; }
}

/* === FLEX SPACING PATTERNS === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #F2F7FC;
  border: 1px solid #E0E7EF;
  box-shadow: 0 2px 16px rgba(20,48,80,0.06);
  padding: 20px;
  border-radius: 12px;
  min-width: 240px;
  max-width: 370px;
  margin-right: 20px;
  margin-bottom: 20px;
  flex: 1 1 290px;
  color: #18304b;
}
.testimonial-card span {
  font-size: 1em;
  font-weight: 600;
  color: #1769AA;
  margin-top: 2px;
}
.testimonials-preview .content-wrapper, .case-studies .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
@media (max-width: 1024px) {
  .testimonials-preview .content-wrapper, .case-studies .content-wrapper {
    gap: 16px;
  }
  .testimonial-card { max-width: 100%; min-width: 0; }
}
@media (max-width: 768px) {
  .testimonial-card { margin-right: 0; margin-bottom: 18px; }
  .testimonials-preview .content-wrapper, .case-studies .content-wrapper {
    flex-direction: column;
    gap: 12px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 1px 12px rgba(23,105,170,0.08);
  padding: 0 0;
  position: sticky;
  top: 0; z-index: 120;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 74px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img { height: 44px; width: auto; display: block; }
nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
nav a {
  color: #213040;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
nav a:hover, nav a:focus {
  background: #E9F1FA;
  color: #1769AA;
}
nav a.btn-primary {
  background: #1769AA;
  color: #fff;
  padding: 9px 18px;
  border-radius: 6px;
  margin-left: 12px;
  transition: background 0.15s;
  box-shadow: 0 2px 10px rgba(20,85,180,0.07);
  font-weight: 700;
  letter-spacing: 0.01em;
}
nav a.btn-primary:hover, nav a.btn-primary:focus {
  background: #23894C;
  color: #fff;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #1769AA;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 6px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  margin-left: 10px;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { background: #23894C; }
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #f7f9fb;
  box-shadow: 0 0 0 9999px rgba(20,40,80,0.13);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.5,1.62,.42,1);
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.5rem;
  margin: 18px 22px 4px 0;
  color: #1769AA;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #23894C; }
.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
  padding: 0 25px;
}
.mobile-nav a {
  color: #1769AA;
  background: #fff;
  border-radius: 6px;
  font-size: 1.18rem;
  font-weight: 500;
  padding: 14px 18px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus { background: #E9F1FA; color: #23894C; }

@media (max-width: 1100px) {
  nav { gap: 10px; }
}
@media (max-width: 900px) {
  nav { gap: 5px; }
  nav a { font-size: 0.98rem; }
}
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(96deg, #1769AA 80%, #23894C 100%);
  color: #fff;
  min-height: 320px;
  padding: 64px 0 54px 0;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  color: #fff;
  font-size: 2.3rem;
  margin-bottom: 16px;
  font-weight: 800;
}
.hero p {
  color: #eaf6fd;
  font-size: 1.15rem;
  margin-bottom: 32px;
  max-width: 600px;
}
.hero .btn-primary {
  background: #23894C;
  color: #fff;
  font-size: 1.1rem;
  padding: 13px 32px;
  border-radius: 7px;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(35,137,76,0.14);
  transition: background 0.15s, box-shadow 0.18s;
}
.hero .btn-primary:hover, .hero .btn-primary:focus {
  background: #1769AA;
  box-shadow: 0 6px 26px rgba(23,105,170,0.20);
}
@media (max-width: 768px) {
  .hero {
    padding: 38px 0 32px 0;
    min-height: 170px;
  }
  .hero h1 { font-size: 1.48rem; }
  .hero p { font-size: 1rem; margin-bottom: 22px; }
}

/* === FEATURES (WHY CHOOSE US) === */
.features ul,
.services-preview ul,
.about ul,
.team ul,
.why-us ul,
.clients-list ul,
.services-list ul,
.faq dl,
.sectors ul,
.privacy-policy ul,
.cookies-policy ul,
.gdpr-info ul,
.terms-of-use ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}
.features ul li,
.services-preview ul li,
.about ul li,
.team ul li,
.why-us ul li,
.clients-list ul li,
.sectors ul li,
.privacy-policy ul li,
.cookies-policy ul li,
.gdpr-info ul li,
.terms-of-use ul li {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #f2f7fc;
  border-radius: 9px;
  padding: 11px 18px;
  font-weight: 500;
  color: #18304b;
  min-width: 220px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.features ul li img, .services-preview ul li img, .clients-list ul li img {
  width: 27px;
  height: 27px;
}

/* === SERVICES LIST PAGE === */
.services-list ul {
  gap: 25px;
  flex-direction: row;
}
.services-list ul li {
  flex: 1 1 360px;
  background: #f2f7fc;
  margin-bottom: 20px;
  min-width: 250px;
  box-shadow: 0 1px 9px rgba(23,105,170,0.05);
  border: 1px solid #e3ebf5;
  border-radius: 9px;
  padding: 24px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.services-list ul li h2 {
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #1769AA;
}

/* === CTA === */
.cta {
  background: #f1f7fb;
  margin-bottom: 0px;
  border-radius: 14px;
}
.cta h2 {
  color: #1769AA;
  font-size: 1.42rem;
}
.cta p {
  font-size: 1.08rem;
  color: #18304b;
  margin-bottom: 14px;
}
.cta .btn-primary {
  font-size: 1.05rem;
  padding: 12px 30px;
  background: #1769AA;
  color: #fff;
  border-radius: 7px;
  border: none;
  transition: background 0.18s;
  font-weight: 600;
}
.cta .btn-primary:hover, .cta .btn-primary:focus {
  background: #23894C;
}

/* === CARDS, BLOG, SEARCH === */
.blog-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 30px 0 0 0;
}
.blog-previews article {
  flex: 1 1 260px;
  background: #fff;
  padding: 22px 18px 15px 18px;
  border-radius: 10px;
  box-shadow: 0 1px 12px rgba(23,105,170,0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 200px;
  transition: box-shadow 0.18s;
}
.blog-previews article h2 {
  font-size: 1.15rem;
  color: #1769AA;
  margin-bottom: 7px;
}
.blog-previews article a {
  color: #23894C;
  font-weight: 500;
  font-size: 1em;
  align-self: flex-start;
  margin-top: 4px;
}
.blog-previews article:hover {
  box-shadow: 0 4px 20px rgba(23,105,170,0.10);
}

.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}
.search-bar input[type="search"] {
  padding: 10px 14px;
  border: 1px solid #B5CBDF;
  border-radius: 8px;
  font-size: 1rem;
  width: 240px;
  transition: border 0.16s;
}
.search-bar input[type="search"]:focus {
  outline: none;
  border: 1.5px solid #1769AA;
}

.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin: 10px 0 24px 0;
}
.categories-list li a {
  background: #e8eff7;
  color: #1769AA;
  border-radius: 7px;
  font-size: 1em;
  padding: 8px 18px;
  font-weight: 500;
  transition: background 0.14s, color 0.13s;
}
.categories-list li a:hover, .categories-list li a:focus {
  background: #1769AA;
  color: #fff;
}

/* === FAQ === */
.faq dl {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}
.faq dt {
  font-weight: 700;
  color: #1769AA;
  font-size: 1.05em;
  margin-bottom: 2px;
}
.faq dd {
  margin-left: 0;
  font-size: 1rem;
  color: #18304b;
  margin-bottom: 10px;
}

/* === FORM / CONTACT === */
.contact-information p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.05em;
  margin-bottom: 12px;
}
.contact-information img {
  width: 23px;
  height: 23px;
}
.map-placeholder {
  margin-top: 26px;
  background: #e8eff7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 16px;
}
.map-placeholder p {
  margin: 0;
  font-size: 1em;
  color: #18304b;
}

/* === BUTTONS === */
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  padding: 10px 25px;
  font-size: 1.07rem;
  transition: background 0.13s, color 0.13s, box-shadow 0.18s;
}
.btn-primary {
  background: #1769AA;
  color: #fff;
  box-shadow: 0 2px 11px rgba(23,105,170,0.13);
  letter-spacing: 0.01em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #23894C;
  color: #fff;
  box-shadow: 0 4px 24px rgba(35,137,76,0.08);
}
.btn-secondary {
  background: #e8eff7;
  color: #1769AA;
  font-weight: 600;
  border: 1px solid transparent;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #1769AA;
  color: #fff;
  border: 1px solid #1769AA;
}

/* Cookie consent buttons reuse */
.cookie-btn-accept {
  background: #23894C;
  color: #fff;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #1769AA;
}
.cookie-btn-reject {
  background: #fff;
  color: #1769AA;
  border: 1.5px solid #1769AA;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #e8eff7;
  color: #23894C;
  border-color: #23894C;
}
.cookie-btn-settings {
  background: #f2f7fc;
  color: #18304b;
  border: 1px solid #b5cbdf;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #e8eff7;
  color: #1769AA;
  border-color: #1769AA;
}

/* === FOOTER === */
footer {
  background: #1769AA;
  color: #fff;
  padding-top: 38px;
  padding-bottom: 18px;
  margin-top: 48px;
}
footer .container { max-width: 1240px; }
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #f7fafe;
  font-size: 1em;
  font-weight: 400;
  margin-bottom: 3px;
  padding: 4px 2px;
  border-radius: 4px;
  transition: background 0.18s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  background: #fff;
  color: #1769AA;
}
.footer-contact p {
  color: #e0eefa;
  font-size: 0.98em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
}
.footer-legal {
  margin-top: 26px;
  flex-basis: 100%;
}
.footer-legal small {
  color: #c8deed;
}

@media (max-width: 1050px) {
  footer .content-wrapper {
    gap: 18px;
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}

/* === MISC === */
strong { font-weight: 700; color: #1769AA; }
/* Placeholder map icon size */
.map-placeholder img {
  width: 44px;
  height: 44px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: #213040;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 24px 18px;
  z-index: 10000;
  box-shadow: 0 -2px 12px rgba(33,48,64,0.16);
  transition: transform 0.35s cubic-bezier(.5,1.4,.52,1);
  font-size: 1.08em;
}
.cookie-banner.hide { transform: translateY(120%); }
.cookie-banner .cookie-banner-content {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  max-width: 950px;
}
.cookie-banner-msg {
  max-width: 530px;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

@media (max-width: 670px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 18px; padding: 18px 8px; }
  .cookie-banner .cookie-banner-content { flex-direction: column; gap: 10px; }
}

/* COOKIE CONSENT MODAL POPUP */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(29,38,57,0.22);
  z-index: 20000;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s, visibility 0.22s;
}
.cookie-modal.open { display: flex; }
.cookie-modal-dialog {
  background: #fff;
  box-shadow: 0 6px 32px rgba(23,105,170,0.15);
  border-radius: 16px;
  max-width: 420px;
  width: 96%;
  padding: 34px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #213040;
  position: relative;
  animation: fadeIn 0.34s cubic-bezier(.5,1.52,.46,1);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none;
  font-size: 1.7rem;
  color: #1769AA;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover { color: #23894C; }
.cookie-switch-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 0 0;
}
.cookie-switch-label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.04em;
  font-weight: 500;
}
.cookie-switch input[type="checkbox"] {
  appearance: none;
  width: 42px; height: 22px;
  background: #e8eff7;
  border-radius: 11px;
  position: relative;
  outline: none;
  transition: background 0.13s;
  cursor: pointer;
}
.cookie-switch input[type="checkbox"]:checked {
  background: #1769AA;
}
.cookie-switch input[type="checkbox"]:disabled {
  background: #e5e5e5; cursor: not-allowed;
}
.cookie-switch input[type="checkbox"]:before {
  content: "";
  position: absolute;
  left: 3px; top: 2.5px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(23,105,170,0.10);
  transition: left 0.13s;
}
.cookie-switch input[type="checkbox"]:checked:before {
  left: 22px;
}
.cookie-switch input[type="checkbox"]:disabled:before {
  background: #ddd;
}

/* === UTILITY & RESPONSIVE ========== */
@media (max-width: 768px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .footer-legal { margin-top: 16px; }
}
/* Hide .hero in non-index pages if present by utility */
.page-inner .hero { display: none; }

/* === THANK YOU === */
.thank-you .btn-primary { margin-top: 18px; }
.thank-you h1 { color: #1769AA; }

/* === TWEAKS FOR EDGE CASES (NO OVERLAP) === */
.section, .about, .team, .why-us, .privacy-policy, .gdpr-info, .cookies-policy, .terms-of-use, .faq, .contact, .thank-you, .clients-list, .case-studies {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section, .about, .team, .why-us, .privacy-policy, .gdpr-info, .cookies-policy, .terms-of-use, .faq, .contact, .thank-you, .clients-list, .case-studies {
    margin-bottom: 36px;
    padding: 24px 4px;
  }
}

/* === FADE ANIMATIONS (for microinteractions) === */
.fade-in {
  opacity: 0;
  animation: fadein 0.6s forwards;
}
@keyframes fadein {
  to { opacity: 1; }
}

.fade-slide-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeSlideUp .6s forwards cubic-bezier(.5,1.52,.52,1);
}
@keyframes fadeSlideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* === CUSTOM SCROLLBAR FOR PROFESSIONAL CORPORATE LOOK === */
::-webkit-scrollbar { width: 10px; background: #f1f7fb; }
::-webkit-scrollbar-thumb {
  background: #ddeaf5;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b5cbdf;
}

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

/* === END OF CSS === */
