/* 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 {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F8F8F8;
  color: #102542;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #102542;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #6D9DC5;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
}
button {
  border: none;
  cursor: pointer;
  background: none;
  padding: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

:root {
  --primary: #102542;
  --secondary: #6D9DC5;
  --accent: #F8F8F8;
  --danger: #d7263d;
  --success: #28854f;
  --gray-light: #E0E2E6;
  --black: #142434;
  --white: #FFF;
  --shadow: 0 4px 24px 0 rgba(16, 37, 66, 0.09);
  --radius: 18px;
}

/* TYPOGRAPHY - BOLD, MODERN */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #102542;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.15;
}
h3 {
  font-size: 1.325rem;
  margin-bottom: 15px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
p, ul, ol {
  font-size: 1rem;
  color: #102542;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 20px;
}
li {
  margin-bottom: 7px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* LAYOUT: SECTIONS + SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  min-width: 260px;
  transition: transform 0.17s cubic-bezier(.44,.13,.48,.87), box-shadow 0.17s;
}
.card:hover, .card:focus {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 8px 40px rgba(16,37,66,0.16);
}

.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 {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 22px;
  flex-direction: column;
  border-left: 6px solid var(--secondary);
  color: #1e2d43;
}
.testimonial-card strong {
  color: #102542;
  margin-top: 12px;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(120deg, #6D9DC5 0%, #F8F8F8 100%);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 6px 34px rgba(67, 91, 150, 0.12);
  margin-bottom: 48px;
  padding: 56px 0 48px 0;
}
.hero .content-wrapper {
  max-width: 650px;
  align-items: flex-start;
}
.hero h1 {
  color: #102542;
}
.hero p {
  font-size: 1.22rem;
  color: #102542;
  margin-bottom: 24px;
}

/* MAIN NAVIGATION */
header {
  background: var(--white);
  border-bottom: 2px solid var(--gray-light);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 32px;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--white);
}
.primary-cta {
  padding: 10px 26px;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 100px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 24px rgba(94, 143, 184, 0.18);
  font-size: 1.12rem;
  border: 2px solid var(--primary);
  transition: background 0.22s, color 0.22s, border 0.22s, transform 0.17s;
}
.primary-cta:hover, .primary-cta:focus {
  background: var(--secondary);
  color: #102542 !important;
  border-color: var(--secondary);
  transform: translateY(-2px) scale(1.02);
}

/* MOBILE MENU & HAMBURGER */
.mobile-menu-toggle {
  display: none;
  z-index: 101;
  font-size: 2.1rem;
  color: var(--primary);
  background: var(--accent);
  border-radius: 50%;
  padding: 8px 12px;
  line-height: 1;
  margin-left: auto;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: #FFF;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(16,37,66,0.95);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(0.7,0,0.32,1);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.4rem;
  color: #F8F8F8;
  background: transparent;
  border-radius: 100px;
  margin: 28px 0 16px 24px;
  align-self: flex-start;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
  background: #fff1;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 24px 34px;
}
.mobile-nav a {
  font-size: 1.5rem;
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  border-radius: 10px;
  padding: 10px 18px;
  transition: background 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #102542;
}

@media (max-width: 992px) {
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 6px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 10px;
  }
}

/* LAYOUT COMPONENTS: SERVICES, FEATURES, SOLUTIONS*/
.features .feature-grid, .services .service-grid, .solutions .solution-tiles, .services-preview .service-list, .case-studies .case-study-list, .brands .partner-logos, .testimonials .testimonial-slider, .client-logos, .post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features .feature-grid > div, .services .service-grid > div, .solutions .solution-tiles > div, .services-preview .service-list > div, .case-studies .case-study-list > div, .brands .partner-logos > img, .post-grid > div {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px 22px 20px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 20px;
  transition: transform 0.15s, box-shadow 0.14s;
  position: relative;
}
.features .feature-grid > div:hover, .services .service-grid > div:hover, .solutions .solution-tiles > div:hover, .services-preview .service-list > div:hover, .case-studies .case-study-list > div:hover, .post-grid > div:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 8px 32px rgba(16,37,66,0.17);
}
.features .feature-grid > div img, .services .service-grid > div img, .solutions .solution-tiles > div img, .services-preview .service-list > div img {
  margin-bottom: 18px;
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 8px #6D9DC550);
}

.features .feature-grid > div h3, .services .service-grid > div h3, .solutions .solution-tiles > div h3, .services-preview .service-list > div h3 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 1.225rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
}
.features .feature-grid > div p, .services .service-grid > div p, .solutions .solution-tiles > div p, .services-preview .service-list > div p {
  font-size: 1rem;
  color: #243859;
}

/* TESTIMONIALS */
.testimonials .testimonial-slider {
  flex-direction: row;
  gap: 24px;
}
.testimonials .testimonial-card {
  flex: 1 1 300px;
  min-width: 240px;
  max-width: 340px;
}
.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  align-items: center;
}
.client-logos img {
  width: 62px;
  background: #F8F8F8;
  border-radius: 12px;
  padding: 7px;
  box-shadow: 0 0 8px #b1cbdf25;
}

.testimonial-card p {
  font-size: 1.1rem;
  color: #1e2d43;
  font-style: italic;
}

/* CTA */
.cta {
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius);
  margin-top: 32px;
  margin-bottom: 48px;
  box-shadow: 0 4px 18px #6D9DC542;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 16px;
}
.cta h2 {
  color: var(--primary);
}
.cta p {
  font-size: 1.125rem;
  color: #274059;
  margin-bottom: 18px;
}

/* TEAM + PROFILE DISPLAY */
.team {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.team-profiles > div {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px;
  width: 240px;
  min-width: 180px;
  margin-bottom: 20px;
  flex: 1 1 240px;
}
.team-philosophy {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  background: #edf4fb;
  border-radius: 12px;
  padding: 18px 14px;
}

/* ABOUT SECTION + MINI TEAM */
.mini-team-section {
  background: #e0e7f4;
  border-radius: 10px;
  margin-top: 18px;
  padding: 18px 14px;
  box-shadow: 0 2px 8px #6D9DC525;
}

/* CASE STUDIES */
.case-studies .case-study-list > div {
  padding: 28px 20px 20px 20px;
  min-width: 280px;
  flex: 1 1 290px;
  position: relative;
}

/* BENEFITS, BRANDS */
.benefit-icons, .partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
}
.benefit-icons img, .partner-logos img {
  width: 46px;
  height: 46px;
  background: #F8F8F8;
  border-radius: 11px;
  padding: 7px;
  box-shadow: 0 0 8px #b1cbdf22;
}

.short-partnership-descriptions {
  background: #F5F9FF;
  border-radius: 10px;
  padding: 16px 14px;
  margin-top: 20px;
}

/* BLOG OVERVIEW */
.blog-overview .search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 1px 8px #6D9DC520;
  padding: 12px 16px;
  width: 100%;
  max-width: 420px;
  margin-bottom: 18px;
}
.blog-overview .search-bar input[type="text"] {
  border: 1.5px solid #dae0e7;
  border-radius: 9px;
  font-size: 1rem;
  padding: 6px 14px;
  width: 100%;
  transition: border 0.19s;
}
.blog-overview .search-bar input[type="text"]:focus {
  border-color: var(--secondary);
}
.blog-overview .categories {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
}
.blog-overview .categories span {
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 7px;
  transition: background 0.18s;
}
.blog-overview .categories span:hover, .blog-overview .categories span:focus {
  background: var(--secondary);
  color: var(--white);
}
.post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.post-grid > div {
  flex: 1 1 275px;
  min-width: 220px;
  max-width: 340px;
  cursor: pointer;
}
.post-grid > div a {
  margin-top: 16px;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.16s;
  display: inline-block;
}
.post-grid > div a:hover, .post-grid > div a:focus {
  color: var(--primary);
}

/* CONTACT PAGE */
.contact-information {
  background: #f1f6fc;
  border-radius: 11px;
  padding: 19px 15px;
  box-shadow: 0 2px 8px #6D9DC523;
  margin-bottom: 17px;
  max-width: 340px;
}
.contact-information p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}
.map {
  background: #edf1fa;
  border-radius: 11px;
  padding: 15px 11px;
  box-shadow: 0 1px 6px #6D9DC517;
  margin-bottom: 17px;
}
.social-links {
  display: flex;
  gap: 14px;
  margin-bottom: 13px;
}
.social-links a img {
  width: 35px;
  height: 35px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px #6D9DC522;
  padding: 5px;
  transition: background 0.16s;
}
.social-links a img:hover, .social-links a img:focus {
  background: var(--secondary);
}
.contact-note {
  color: #112137;
  background: #f3f6fa;
  border-radius: 10px;
  padding: 16px 12px;
  margin-top: 18px;
  font-size: 1.04rem;
  max-width: 350px;
}

/* PRIVACY AND LEGAL */
.privacy-policy, .gdpr-policy, .cookie-policy, .terms-policy {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px #6D9DC51A;
  margin-top: 38px;
  margin-bottom: 48px;
  padding: 36px 24px 44px 24px;
}
.privacy-policy ul, .gdpr-policy ul, .terms-policy ul {
  margin-bottom: 28px;
}
.privacy-policy h1, .gdpr-policy h1, .terms-policy h1, .cookie-policy h1 {
  font-size: 2.1rem;
  margin-bottom: 16px;
}
.privacy-policy h2, .gdpr-policy h2, .terms-policy h2, .cookie-policy h2 {
  font-size: 1.33rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--secondary);
}

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 38px 0 18px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo {
  flex: 0 0 auto;
  margin-right: 30px;
}
.footer-logo img {
  width: 66px;
  border-radius: 14px;
  box-shadow: 0 1px 8px #214E7455;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #F8F8F8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 4px 0;
  border-radius: 5px;
  transition: background 0.16s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: #102542;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  margin-bottom: 6px;
  color: #e7f0f8;
}
.footer-contact img {
  width: 20px;
  height: 20px;
}

/* THANK YOU PAGE */
.thankyou {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 60px;
  margin-bottom: 60px;
  padding: 48px 34px;
  max-width: 690px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.thankyou h1 {
  color: var(--secondary);
  margin-bottom: 16px;
}
.next-steps ul {
  padding-left: 1.2em;
  list-style-type: disc;
  color: var(--primary);
}
.next-steps li {
  font-size: 1rem;
  color: #214e74;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: var(--primary);
  color: #F8F8F8;
  z-index: 10000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  justify-content: center;
  padding: 22px 20px 22px 20px;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 -6px 40px #10254245;
  animation: slideInUp 0.5s cubic-bezier(.57,-0.28,.56,1.32);
}
.cookie-consent-banner p {
  color: #F8F8F8;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 36px;
  margin-right: 9px;
  padding: 8px 20px;
  font-size: 1rem;
  border: none;
  margin-bottom: 0;
  transition: background 0.19s, color 0.19s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: var(--secondary);
}
.cookie-btn.reject {
  background: var(--danger);
  color: #FFF;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff;
  color: var(--danger);
}
.cookie-btn.settings {
  background: #F8F8F8;
  color: var(--primary);
  border: 1.5px solid #DAE0E7;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  color: #FFF;
}
@keyframes slideInUp {
  from { transform: translateY(60%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-backdrop {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(16,37,66, .77);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .27s ease;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #FFF;
  color: #102542;
  border-radius: var(--radius);
  max-width: 420px;
  min-width: 295px;
  box-shadow: 0 12px 64px #10254250;
  padding: 32px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalPop .24s cubic-bezier(.6,-0.4,.57,1.36);
}
@keyframes modalPop {
  from { transform: scale(.85); opacity: 0; }
  to { transform: scale(1); opacity: 1;}
}
.cookie-modal h3 {
  font-size: 1.32rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-bottom: 9px;
  font-size: 1rem;
}
.cookie-modal .category-label {
  font-weight: 600;
  margin-right: 9px;
}
.cookie-modal .category-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.cookie-modal .switch {
  display: inline-flex;
  align-items: center;
  height: 22px;
}
.cookie-modal .switch input {
  display: none;
}
.cookie-modal .slider {
  display: inline-block;
  width: 38px;
  height: 22px;
  background: #dde6f7;
  border-radius: 18px;
  position: relative;
  transition: background 0.13s;
}
.cookie-modal .switch input:checked + .slider {
  background: var(--secondary);
}
.cookie-modal .slider:before {
  content: '';
  display: block;
  position: absolute;
  left: 2px;
  top: 2.5px;
  width: 17px;
  height: 17px;
  background: #FFF;
  border-radius: 50%;
  box-shadow: 0 2px 6px #10254233;
  transition: left 0.17s;
}
.cookie-modal .switch input:checked + .slider:before {
  left: 19px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 100px;
}
.cookie-modal .cookie-btn.cancel {
  background: #f1f5fa;
  color: var(--primary);
}
.cookie-modal .cookie-btn.cancel:hover, .cookie-modal .cookie-btn.cancel:focus {
  background: var(--secondary);
  color: #FFF;
}

/* GENERIC TRANSITIONS */
.card, .testimonial-card,
.features .feature-grid > div,
.services .service-grid > div,
.solutions .solution-tiles > div,
.services-preview .service-list > div,
.case-studies .case-study-list > div,
.blog-overview .search-bar,
.post-grid > div,
.input,
button,
a {
  transition: box-shadow 0.15s, transform 0.14s, background 0.17s, color 0.15s;
}

/* RESPONSIVE FLEXBOX LAYOUTS */
@media (max-width: 1100px) {
  .container {
    max-width: 97vw;
  }
  .features .feature-grid, .services .service-grid, .solutions .solution-tiles, .services-preview .service-list, .case-studies .case-study-list, .brands .partner-logos, .testimonials .testimonial-slider, .client-logos, .post-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .features .feature-grid, .services .service-grid, .solutions .solution-tiles, .services-preview .service-list, .case-studies .case-study-list, .brands .partner-logos, .testimonials .testimonial-slider, .client-logos, .post-grid {
    flex-direction: column;
    gap: 18px;
  }
  .team-profiles {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 2.12rem;
  }
  h2 {
    font-size: 1.65rem;
  }
  .hero {
    padding: 34px 0 28px 0;
    text-align: left;
  }
  .section, .team {
    margin-bottom: 38px;
    padding: 26px 8px;
  }
  .footer-logo img {
    width: 56px;
  }
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 620px) {
  .content-wrapper {
    gap: 13px;
  }
  .hero .content-wrapper {
    gap: 8px;
  }
  .footer-contact p {
    font-size: 0.96rem;
  }
  .cta {
    padding: 35px 7px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 22px 7px;
  }
}

@media (max-width: 540px) {
  html {
    font-size: 14px;
  }
  h1 {
    font-size: 1.65rem;
  }
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .case-studies .case-study-list > div, .post-grid > div, .card-container .card {
    padding: 17px 7px;
  }
}

/* FLEX DIRECTION FOR RESPONSIVE CONTENT */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .about-preview ul, .short-partnership-descriptions ul, .privacy-policy ul {
    padding-left: 1.1em;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
  }
  footer .container {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
    padding: 4px 0 10px 0;
  }
}

/* ACCESSIBILITY & OVERRIDES */
:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  z-index: 3;
}
[role="dialog"], .cookie-modal {
  outline: none;
}

/* UTILITY CLASSES */
.text-center {
  text-align: center;
}
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }

/* Hide mobile nav overlay on desktop */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}
