/* ======================================================
   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.5;
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

img, svg {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--color-secondary);
  outline: none;
}

ul,ol {
  list-style: none;
}
strong, b {
  font-weight: 700;
}

/* ======================================================
   SOFT PASTEL BRAND VARIABLES
====================================================== */
:root {
  --color-primary: #21516B;
  --color-secondary: #8DD8F8;
  --color-accent: #F7F9FA;
  --color-bg: #F7F9FA;
  --color-bg-alt: #F2F5FB;
  --color-pastel-blue: #c3e6fa;
  --color-pastel-pink: #ffe6ef;
  --color-pastel-green: #d3f8e2;
  --color-pastel-yellow: #fff8bc;
  --color-pastel-lavender: #e7d9ff;
  --color-text-main: #2B3440;
  --color-text-soft: #6b798f;
  --color-btn-bg: #8DD8F8;
  --color-btn-text: #21516B;
  --color-btn-bg-hover: #21516B;
  --color-btn-text-hover: #fff;
  --color-card-bg: #fff;
  --color-shadow: rgba(33, 81, 107, 0.09);
  --color-shadow-strong: rgba(33, 81, 107, 0.13);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --radius-main: 20px;
}

/* ======================================================
   TYPOGRAPHY
====================================================== */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 1.25;
}
h4, .h4 {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-primary);
  font-size: 1.08rem;
  margin-bottom: 6px;
  line-height: 1.25;
}
p, .p {
  color: var(--color-text-main);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
small {
  font-size: 0.92rem;
  color: var(--color-text-soft);
}
li {
  font-size: 1rem;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

/* Typography scale for hierarchy */
.section h2, .section .h2 { margin-bottom: 24px; }
.content-wrapper h2 { margin-bottom: 22px; }
.section h3, .section .h3 { margin-bottom: 10px; }

/* ======================================================
   LAYOUT CONTAINERS & FLEXBOX
====================================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

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

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: var(--radius-main);
  box-shadow: 0 3px 24px var(--color-shadow);
  padding: 32px 24px;
  transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 28px var(--color-shadow-strong);
  transform: translateY(-5px);
}

.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 {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: 0 2px 10px var(--color-shadow);
  flex-direction: column;
  min-width: 0;
  transition: box-shadow 0.24s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 20px var(--color-shadow-strong);
}

.testimonial-text {
  color: #223044;
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-style: italic;
  margin-bottom: 12px;
  text-align: left;
}
.testimonial-info {
  color: var(--color-primary);
  font-size: 0.97rem;
  font-weight: 500;
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-card-bg);
  border-radius: var(--radius-main);
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  min-width: 210px;
  max-width: 300px;
  flex: 1 1 210px;
  transition: box-shadow 0.22s;
}
.feature-item img {
  width: 40px;
  height: 40px;
}
.feature-item:hover {
  box-shadow: 0 5px 18px var(--color-shadow-strong);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-item {
  background: var(--color-card-bg);
  border-radius: var(--radius-main);
  box-shadow: 0 1px 10px var(--color-shadow);
  padding: 27px 23px 25px 23px;
  margin-bottom: 20px;
  min-width: 210px;
  max-width: 290px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  transition: box-shadow 0.22s;
}
.service-item img {
  width: 36px;
  height: 36px;
}
.service-item:hover {
  box-shadow: 0 4px 16px var(--color-shadow-strong);
}

.service-categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-category {
  background: var(--color-card-bg);
  border-radius: var(--radius-main);
  box-shadow: 0 1px 10px var(--color-shadow);
  padding: 27px 23px 25px 23px;
  margin-bottom: 20px;
  min-width: 210px;
  max-width: 340px;
  flex: 1 1 295px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.22s;
}
.service-category img {
  width: 38px;
  height: 38px;
}
.service-category:hover {
  box-shadow: 0 4px 16px var(--color-shadow-strong);
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.team-member {
  background: var(--color-card-bg);
  border-radius: var(--radius-main);
  box-shadow: 0 1px 10px var(--color-shadow);
  padding: 24px 22px 18px 22px;
  margin-bottom: 20px;
  min-width: 210px;
  max-width: 270px;
  flex: 1 1 170px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.team-name {
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.13rem;
  color: var(--color-primary);
}
.team-role {
  color: var(--color-secondary);
  font-size: 1.01rem;
  margin-bottom: 3px;
}
.team-bio {
  color: var(--color-text-main);
  font-size: 0.97rem;
}

.reference-project-summary {
  background: var(--color-card-bg);
  border-radius: var(--radius-main);
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 17px 20px 14px 20px;
  margin-bottom: 18px;
  font-size: 1rem;
}

.blog-item {
  background: var(--color-card-bg);
  border-radius: var(--radius-main);
  box-shadow: 0 1px 10px var(--color-shadow);
  padding: 23px 20px 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-section table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  box-shadow: 0 1px 14px var(--color-shadow);
  background: var(--color-card-bg);
  border-radius: var(--radius-main);
  overflow: hidden;
}
.pricing-section th,
.pricing-section td {
  padding: 14px 12px;
  text-align: left;
  font-size: 1rem;
}
.pricing-section th {
  background: var(--color-pastel-blue);
  color: var(--color-primary);
  font-weight: 600;
}
.pricing-section tr:nth-child(even) {
  background: var(--color-bg-alt);
}
.pricing-section tr:nth-child(odd) {
  background: #fff;
}
.pricing-notes ul,
.package-descriptions ul {
  margin-left: 22px;
  margin-bottom: 10px;
  list-style: disc inside;
}

.contact-details > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--color-text-main);
}
.contact-details a {
  color: var(--color-primary);
  transition: color 0.2s;
}
.contact-details a:hover {
  color: var(--color-secondary);
}

/* ======================================================
   HEADER & MAIN NAVIGATION
====================================================== */
header {
  background: #fff;
  box-shadow: 0 1px 12px var(--color-shadow);
  width: 100%;
  z-index: 1003;
  position: relative;
}
header .container {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 9px;
  padding-bottom: 9px;
}
header a img {
  height: 45px;
  margin-right: 20px;
}

.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-primary);
  opacity: 0.88;
  transition: color 0.22s, opacity 0.18s;
  letter-spacing: 0.01em;
  padding: 5px 2px;
  border-radius: 4px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
  background: var(--color-bg-alt);
  outline: 0;
}

.cta-btn {
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  padding: 13px 32px;
  border-radius: 28px;
  border: none;
  box-shadow: 0 2px 6px var(--color-shadow);
  transition: background 0.2s, color 0.2s, transform 0.13s;
  cursor: pointer;
  outline: none;
  margin-left: 26px;
  margin-right: 12px;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--color-btn-bg-hover);
  color: var(--color-btn-text-hover);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 14px var(--color-shadow-strong);
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 8px;
  box-shadow: 0 2px 6px var(--color-shadow);
  transition: background 0.2s, transform 0.14s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-secondary);
}

/* ======================================================
   MOBILE MENU OVERLAY & NAVIGATION
====================================================== */
.mobile-menu {
  position: fixed;
  z-index: 1100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(247,249,250, 0.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(.4,1,.42,1);
  box-shadow: 4px 0 48px rgba(33,81,107,0.12);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 27px 25px 0 0;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, transform 0.16s;
  box-shadow: 0 2px 6px var(--color-shadow);
}
.mobile-menu-close:focus {
  outline: 2px solid var(--color-primary);
}
.mobile-nav {
  width: 100%;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: flex-start;
  padding-left: 40px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-family: var(--font-display);
  padding: 11px 0;
  line-height: 1.4;
  min-width: 90vw;
  border-radius: 9px;
  transition: background 0.2s, color 0.18s;
  font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-bg-alt);
  color: var(--color-secondary);
}

/* Only show mobile menu toggle on small screens */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Open mobile menu overlay z-index fix for header/footer harmony */
.mobile-menu {
  z-index: 3000;
}

/* ======================================================
   HERO SECTIONS & PAGE BANNER
====================================================== */
.hero-section {
  padding-top: 58px;
  padding-bottom: 64px;
  margin-bottom: 60px;
  background: linear-gradient(160deg, var(--color-pastel-blue) 60%, var(--color-pastel-pink) 100%);
  border-radius: 0 0 38px 38px;
  box-shadow: 0 10px 40px var(--color-shadow);
}
.hero-section .content-wrapper {
  max-width: 600px;
  text-align: left;
  align-items: flex-start;
}
.hero-section h1 {
  color: var(--color-primary);
}
.hero-section p {
  color: var(--color-text-soft);
  font-size: 1.13rem;
  margin-bottom: 28px;
}

.cta-banner-section {
  margin-bottom: 0;
  background: linear-gradient(90deg, var(--color-pastel-lavender) 60%, var(--color-pastel-blue) 100%);
  border-radius: 38px;
  box-shadow: 0 6px 40px var(--color-shadow);
  padding: 42px 20px 38px 20px;
  position: relative;
  margin-top: 44px;
}
.cta-banner-section .cta-btn {
  margin: 32px 0 0 0;
  background: var(--color-primary);
  color: #fff;
}
.cta-banner-section .cta-btn:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* ======================================================
   FOOTER
====================================================== */
footer {
  background: #fff;
  box-shadow: 0 -2px 22px var(--color-shadow);
  margin-top: 50px;
  padding-top: 40px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  flex: 2 1 230px;
}
.footer-brand img {
  height: 38px;
}
.footer-contact-details > div {
  font-size: 0.99rem;
  color: var(--color-primary);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 120px;
  margin-top: 3px;
}
.footer-menu a {
  color: var(--color-primary);
  font-size: 1rem;
  opacity: 0.86;
}
.footer-menu a:hover {
  color: var(--color-secondary);
  opacity: 1;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}
.footer-bottom {
  width: 100%;
  font-size: 0.99rem;
  color: var(--color-text-soft);
  text-align: center;
  padding: 24px 0 15px 0;
  margin-top: 12px;
  border-top: 1px solid var(--color-bg-alt);
  letter-spacing: 0.02em;
}

/* ======================================================
   COOKIE CONSENT BANNER & MODAL
====================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2200;
  background: #fff;
  box-shadow: 0 -2px 33px var(--color-shadow);
  padding: 22px 20px 20px 20px;
  display: flex;
  flex-direction: row;
  gap: 28px;
  justify-content: center;
  align-items: center;
  min-height: 72px;
  border-radius: 24px 24px 0 0;
  font-size: 1.07rem;
  transition: transform 0.32s cubic-bezier(.4,1,.42,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-btn {
  background: var(--color-secondary);
  color: var(--color-btn-text);
  border: none;
  border-radius: 26px;
  padding: 9px 24px;
  font-size: 1rem;
  margin: 0 7px;
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 1px 7px var(--color-shadow);
  cursor: pointer;
  transition: background 0.2s, color 0.14s, transform 0.1s;
}
.cookie-banner .cookie-btn.accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .cookie-btn.accept:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .cookie-btn.reject {
  background: var(--color-pastel-yellow);
  color: #705900;
}
.cookie-banner .cookie-btn.reject:hover {
  background: var(--color-secondary);
  color: var(--color-btn-text);
}
.cookie-banner .cookie-btn.settings {
  background: var(--color-pastel-green);
  color: #257753;
}
.cookie-banner .cookie-btn.settings:hover {
  background: var(--color-secondary);
  color: var(--color-btn-text);
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 3005;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(45,72,98,0.19);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: 0 7px 40px var(--color-shadow-strong);
  max-width: 99vw;
  width: 410px;
  padding: 36px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalAppear 0.4s cubic-bezier(.41,1,.51,1);
}
@keyframes modalAppear {
  0%   { transform: scale(0.93) translateY(70px); opacity: 0; }
  80%  { transform: scale(1.02) translateY(-7px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 7px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.cookie-option-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 19px;
  justify-content: space-between;
}
.cookie-option-label {
  font-size: 1.07rem;
  color: var(--color-text-main);
  font-family: var(--font-body);
}
.cookie-modal .cookie-btn {
  width: 47%;
  margin-top: 16px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 11px;
  justify-content: flex-end;
}

/* ======================================================
   TABLES
====================================================== */
table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-main);
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 12px 14px;
}
th {
  background: var(--color-pastel-blue);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.03rem;
}
td {
  background: #fff;
  font-size: 1rem;
  border-bottom: 1px solid var(--color-bg-alt);
}

@media (max-width: 700px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  th, td {
    padding: 10px 7px;
  }
  thead {
    display: none;
  }
  tr {
    margin-bottom: 14px;
    border: 1px solid var(--color-bg-alt);
    border-radius: 13px;
  }
  td {
    font-size: 0.99rem;
    border-bottom: 0;
    background: #fff;
  }
}

/* ======================================================
   LEGAL/STATIC PAGE SECTIONS
====================================================== */
.legal-section {
  background: var(--color-bg-alt);
  border-radius: var(--radius-main);
  box-shadow: 0 1px 18px var(--color-shadow);
  padding: 38px 26px;
  margin-bottom: 60px;
}
.legal-section h1,
.legal-section h2,
.legal-section h3 {
  color: var(--color-primary);
  margin-bottom: 13px;
}

/* ======================================================
   THANK YOU PAGE
====================================================== */
.thank-you-section {
  text-align: center;
  background: linear-gradient(120deg, var(--color-pastel-blue), var(--color-pastel-lavender) 100%);
  border-radius: var(--radius-main);
  padding: 60px 24px 70px;
  margin-bottom: 32px;
  box-shadow: 0 2px 36px var(--color-shadow);
  min-height: 340px;
}
.thank-you-section h1 {
  font-size: 2.3rem;
  margin-bottom: 18px;
}
.thank-you-section p {
  font-size: 1.13rem;
  color: var(--color-text-soft);
  margin-bottom: 34px;
}

/* ======================================================
   RESPONSIVE DESIGN
====================================================== */
@media (max-width: 1024px) {
  .footer-content {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .container {
    padding: 0 14px;
  }
}
@media (max-width: 900px) {
  .section {
    margin-bottom: 48px;
    padding: 28px 8px;
  }
  .hero-section {
    padding-top: 35px;
    padding-bottom: 45px;
    margin-bottom: 34px;
    border-radius: 0 0 26px 26px;
  }
  .feature-grid,
  .service-list,
  .service-categories-grid,
  .team-list,
  .card-container,
  .content-grid {
    flex-wrap: wrap;
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 25px;
    padding-bottom: 30px;
    margin-bottom: 29px;
    border-radius: 0 0 18px 18px;
  }

  .content-wrapper {
    padding: 0;
  }

  .feature-grid,
  .service-list,
  .service-categories-grid,
  .team-list,
  .card-container,
  .content-grid {
    gap: 12px;
  }

  .section {
    padding: 18px 5px;
    margin-bottom: 26px;
  }

  .card, .feature-item, .service-item, .service-category, .team-member, .reference-project-summary, .blog-item {
    min-width: unset;
    max-width: 100%;
    padding: 16px 10px 16px 10px;
  }
  .text-image-section,
  .content-grid {
    flex-direction: column;
    gap: 17px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 16px 10px 15px 10px;
  }
  .cta-banner-section {
    border-radius: 13px;
    padding: 20px 10px 20px 10px;
  }
}

@media (max-width: 520px) {
  h1 { font-size: 1.5rem!important; }
  h2 { font-size: 1.2rem!important; }
  h3 { font-size: 1rem!important; }
  header .container { min-height: 58px; }
}
/* Padding/margin between all cards & sections */
.card:not(:last-child), .feature-item:not(:last-child),
.service-item:not(:last-child), .service-category:not(:last-child),
.team-member:not(:last-child), .reference-project-summary:not(:last-child),
.blog-item:not(:last-child) {
  margin-bottom: 20px;
}
.section:not(:last-child), .legal-section:not(:last-child) {
  margin-bottom: 60px;
}

/* Ensure ALL elements never overlap */
*[class*='section'] + *[class*='section'], .section + .section {
  margin-top: 18px;
}

/* ======================================================
   SCROLLBAR STYLING (Soft Pastel Flavour)
====================================================== */
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-pastel-blue);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* ======================================================
   ANIMATIONS
====================================================== */
.card, .feature-item, .service-item, .service-category, .team-member, .blog-item, .testimonial-card {
  transition: box-shadow 0.24s, transform 0.15s;
}
.card:hover, .feature-item:hover, .service-item:hover, .service-category:hover, .team-member:hover, .blog-item:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 7px 24px var(--color-shadow-strong);
  z-index: 2;
}
.cta-btn, .cookie-btn {
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, transform 0.12s;
}

/* ======================================================
   FOCUS/RING STATES
====================================================== */
:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* END OF CSS */
