/* =====================
   CSS RESET & BASELINE
   ===================== */
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;
  color: #222C36;
  background: #F9FAFB;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* =====================
   BRAND COLORS & FONTS
   ===================== */
:root {
  --primary: #15317E;
  --secondary: #219EBC;
  --accent: #F9FAFB;
  --natural: #f7f7f5;
  --border: #e1e5eb;
  --text: #222C36;
  --muted: #768198;
  --shadow: 0 2px 24px 0 rgba(21,49,126,0.07), 0px 2px 10px 0 rgba(33,158,188,0.08);
  --radius: 14px;
  --card-radius: 16px;
  --focus: #3154b4;
  --cta-hover: #172768;
  --cta-active: #101b46;
  --card-bg: #fff;
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
}

/* Google Fonts Import (for demo - move to HTML on production) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
}
p {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 12px;
  font-weight: 400;
}
strong {
  font-weight: 600;
}
small {
  font-size: 0.92em;
  color: var(--muted);
}

/* Visual hierarchy: spacing */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  width: 100%;
  background: white;
  box-shadow: 0 2px 6px 0 rgba(21,49,126,0.04);
  position: relative;
  z-index: 20;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.header-flex > a img {
  height: 40px;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
nav a {
  padding: 8px 4px;
  border-radius: 4px;
  color: var(--primary);
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a:focus {
  background: var(--accent);
  color: var(--secondary);
  outline: none;
}
.cta-btn {
  background: var(--secondary);
  color: #fff;
  border-radius: 26px;
  padding: 10px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(21,49,126,0.07);
  border: none;
  transition: background 0.16s, box-shadow 0.18s, transform 0.12s;
  cursor: pointer;
  margin-left: 16px;
  display: inline-block;
  letter-spacing: 0.02em;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 22px rgba(33,158,188,0.09);
  transform: translateY(-2px) scale(1.03);
}
.cta-btn:active {
  background: var(--cta-active);
  color: #fff;
  transform: scale(0.98);
}

/* ===============
   MOBILE NAV
   =============== */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.7rem;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  border: none;
  transition: background 0.16s;
  z-index: 101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
  outline: none;
}
@media (max-width: 1024px) {
  nav:not(.mobile-nav) {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,49,126,0.97);
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.87,0,0.13,1);
  z-index: 1003;
  box-shadow: 0 0 20px 0 rgba(21,49,126,0.2);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 20px 0 16px 22px;
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  align-self: flex-start;
  padding: 4px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 90vw;
  padding: 18px 22px;
  gap: 24px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 7px;
  transition: background 0.14s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
  outline: none;
}

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


/* ========================
   HERO + SECTION LAYOUTS
   ======================== */
.hero-section {
  background: linear-gradient(120deg, #F9FAFB 89%, #f0f5fb 100%);
  padding: 52px 0 46px 0;
  margin-bottom: 44px;
}
.hero-section .container {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}
.hero-section .content-wrapper {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.hero-section h1 {
  color: var(--primary);
  font-size: 2.7rem;
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.hero-section p {
  font-size: 1.18rem;
  margin-bottom: 16px;
  color: var(--muted);
}
@media (max-width: 768px) {
  .hero-section {
    padding: 28px 0 16px 0;
    margin-bottom: 28px;
  }
  .hero-section .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-section h1 {
    font-size: 1.5rem;
  }
}

/* ========================
   FLEX LAYOUT UTILITIES
   ======================== */
.feature-grid,
.service-grid,
.case-study-grid,
.blog-list,
.team-list,
.testimonial-slider,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 4px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.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-grid,
  .case-study-grid,
  .blog-list,
  .team-list,
  .testimonial-slider,
  .testimonial-list,
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* ========================
   FEATURE, SERVICE, CARD
   ======================== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px 20px 22px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 340px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 26px 0 rgba(21,49,126,0.13);
  transform: translateY(-4px) scale(1.02);
}
.feature-item img {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: #f5fafc;
  object-fit: contain;
  margin-bottom: 8px;
}
.feature-item h3 {
  color: var(--secondary);
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}

.service-list {
  margin-top: 16px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-list li {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 220px;
}
.service-list h3 {
  color: var(--primary);
  font-size: 1.17rem;
  margin-bottom: 0;
}
.service-list span {
  color: var(--muted);
  font-size: 0.98rem;
  margin-top: 3px;
}
/* .service-grid for /services page */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 20px 22px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.14s, transform 0.13s;
}
.service-item h2 {
  font-size: 1.12rem;
  color: var(--secondary);
  margin-bottom: 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
.service-item:hover, .service-item:focus-within {
  box-shadow: 0 8px 32px 0 rgba(21,49,126,0.15);
  transform: translateY(-4px) scale(1.017);
}

.case-study-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 18px;
}
.case-study-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 20px 16px 22px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 280px;
}


/* =========================
   TESTIMONIALS & REVIEWS
   ========================= */
.testimonial-slider,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px 18px 24px;
  min-width: 220px;
  flex: 1 1 300px;
  margin-bottom: 20px;
  color: var(--text);
  transition: box-shadow 0.17s, transform 0.13s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(33,158,188,0.13);
  transform: translateY(-4px) scale(1.01);
}
.star-rating {
  color: var(--secondary);
  font-size: 1.35em;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  font-weight: 700;
}
.testimonial-card p {
  color: var(--text);
  font-size: 1.03rem;
  font-style: italic;
  margin-bottom: 6px;
  line-height: 1.6;
}
.testimonial-card span {
  color: var(--muted);
  font-size: 0.99rem;
}

/* =========================
   BLOG / ARTICLE HIGHLIGHT
   ========================= */
.blog-list {
  margin-top: 14px;
  gap: 20px;
}
.blog-list li {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 220px;
}
.featured-post {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px 20px 26px;
  margin: 20px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cta-link {
  color: var(--secondary);
  text-decoration: underline;
  font-weight: 600;
  padding: 4px 0;
  transition: color 0.17s;
}
.cta-link:hover, .cta-link:focus {
  color: var(--primary);
}

/* =========================
   TEAM SECTION
   ========================= */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0 24px 0;
}
.team-list li {
  background: #f7fafe;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1.07em;
  font-family: 'Roboto', Arial, sans-serif;
}

/* ========================== 
   CONTACT, HINT, MISC
   ========================== */
.contact-info, .contact-hint {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 22px 13px 22px;
  margin-bottom: 18px;
}
.contact-info p a {
  color: var(--secondary);
  text-decoration: underline;
}
.contact-hint {
  background: #f5fafc;
  color: var(--muted);
  font-size: 1em;
}

/* ========================== 
   LEAD/CTA SECTION
   ========================== */
.lead-cta {
  background: var(--secondary);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 7px 36px 0 rgba(33,158,188,0.07);
  padding: 50px 18px 46px 18px;
  margin-bottom: 45px;
}
.lead-cta h2, .lead-cta p {
  color: #fff;
}
.lead-cta .cta-btn {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
  margin-top: 22px;
}
.lead-cta .cta-btn:hover {
  background: var(--primary);
  color: #fff;
}
@media (max-width: 768px) {
  .lead-cta {
    padding: 26px 7px 26px 7px;
    border-radius: 10px;
  }
}

/* =========================
   FOOTER
   ========================= */
footer {
  width: 100%;
  background: #f7f9fd;
  border-top: 1px solid #e2e5ec;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 36px 0 24px 0;
}
.brand-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 180px;
}
.brand-footer img {
  height: 36px;
  margin-bottom: 7px;
}
.brand-footer p {
  color: var(--muted);
  font-size: 1.02em;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: var(--secondary);
  font-size: 1em;
  font-family: 'Roboto', Arial, sans-serif;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--primary);
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.97em;
  color: var(--muted);
}
.footer-contact a {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.footer-social a img {
  width: 26px;
  height: 26px;
  opacity: 0.9;
  transition: opacity 0.16s, transform 0.15s;
}
.footer-social a:hover img, .footer-social a:focus img {
  opacity: 1;
  transform: scale(1.14);
}
@media (max-width: 980px) {
  .footer-flex {
    flex-direction: column;
    gap: 21px;
    align-items: flex-start;
    padding: 30px 0 16px 0;
  }
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10050;
  background: #fff;
  color: var(--text);
  box-shadow: 0 -8px 32px 0 rgba(21,49,126,0.11);
  padding: 24px 16px 18px 16px;
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  max-width: 530px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.85,0.06,0.16,0.91), opacity 0.2s;
}
.cookie-banner.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  font-size: 1.01em;
  color: var(--text);
  margin-right: 15px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}
.cookie-btn {
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 8px 17px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98em;
  font-weight: 600;
  cursor: pointer;
  margin-right: 6px;
  transition: background 0.17s, color 0.09s, box-shadow 0.18s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.reject {
  background: #e5e8f0;
  color: var(--primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ced8ea;
  color: var(--primary);
}
.cookie-btn.settings {
  background: #f7f9fd;
  color: var(--secondary);
  border: 1px solid #ced8ea;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #e6efff;
  color: var(--primary);
  border-color: var(--primary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px 16px 12px;
    font-size: 0.98em;
    max-width: 97vw;
    border-radius: 14px 14px 0 0;
  }
  .cookie-banner .cookie-btns {
    gap: 8px;
  }
}

/* =========================
   COOKIE PREFERENCE MODAL
   ========================= */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(21,49,126,0.36);
  z-index: 10051;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: var(--text);
  border-radius: 18px;
  box-shadow: 0 10px 42px 0 rgba(21,49,126,0.17);
  max-width: 450px;
  width: 98vw;
  padding: 32px 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalSlideIn 0.38s cubic-bezier(0.83,0,0.17,1);
}
@keyframes modalSlideIn {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.22em;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 10px 0 5px 0;
  border-bottom: 1px solid #e1e5eb;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-toggle {
  width: 42px;
  height: 24px;
  background: #eceff4;
  border-radius: 13px;
  margin-left: auto;
  position: relative;
  transition: background 0.17s;
  display: inline-block;
}
.cookie-toggle[data-checked="true"] {
  background: var(--secondary);
}
.cookie-toggle[data-checked="true"] .toggle-slider {
  background: #fff;
  left: 21px;
  box-shadow: 0 4px 12px rgba(33,158,188,0.09);
}
.cookie-toggle .toggle-slider {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left 0.18s cubic-bezier(0.77,0,0.18,1);
  box-shadow: 0 1px 4px 0 rgba(21,49,126,0.07);
}
.cookie-modal .close-modal {
  margin-top: 18px;
  align-self: flex-end;
  background: var(--secondary);
  color: #fff;
  border-radius: 8px;
  border: none;
  padding: 8px 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 700;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  background: var(--primary);
}
@media (max-width: 550px) {
  .cookie-modal {
    max-width: 98vw;
    padding: 18px 7px 18px 12px;
    border-radius: 11px;
  }
}

/* =========================
   MISCELLANEOUS UTILITIES
   ========================= */
.text-section {
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul {
  margin-left: 18px;
  margin-bottom: 12px;
  color: var(--text);
  list-style-type: disc;
}
.text-section li {
  margin-bottom: 7px;
  font-size: 1em;
}

/* ===============
   SPACING HELPERS
   =============== */
.mb-0 { margin-bottom: 0!important; }
.mb-8 { margin-bottom: 8px!important; }
.mb-16 { margin-bottom: 16px!important; }
.mt-16 { margin-top: 16px!important; }
.mt-32 { margin-top: 32px!important; }
@media (max-width: 768px) {
  .mb-16, .mt-16 { margin-bottom: 10px!important; margin-top: 10px!important; }
  .mt-32 { margin-top: 18px!important; }
}

/* ============
   FORMS BASIC
   ============ */
input, textarea, select {
  font-family: inherit;
  font-size: 1em;
  border: 1.5px solid #c8d0e6;
  border-radius: 6px;
  padding: 9px 13px;
  background: #fff;
  color: var(--text);
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.15s;
}
input:focus,
textarea:focus {
  border-color: var(--secondary);
  outline: 1px solid var(--secondary);
}

/* ============
   ANIMATIONS
   ============ */
.card, .feature-item, .service-item, .case-study-item, .testimonial-card {
  transition: box-shadow 0.14s, transform 0.13s;
}

/* =========================
   A11Y: FOCUS MANAGEMENT
   ========================= */
a:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* A11y: visually hide but accessible for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* =========================
   RESPONSIVE MEDIA BREAKS
   ========================= */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .container {
    padding: 0 8px;
  }
  .card, .feature-item, .service-item, .case-study-item, .testimonial-card, .blog-list li {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 450px) {
  .footer-flex {
    padding-left: 0;
    padding-right: 0;
  }
  .brand-footer img {
    height: 28px;
  }
}
