/* RESET & BASELINE ----------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #223259;
  background: #fff;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #223259;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
  border: none;
  background: none;
  color: inherit;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 12px 14px;
}
th {
  background: #223259;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
}
tr:nth-child(even) td {
  background: #F7F8FA;
}
tr:nth-child(odd) td {
  background: #fff;
}

/* TYPOGRAPHY ----------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: #223259;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}
h3 {
  font-size: 1.34rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
p, ul, ol, table {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: #223259;
}

/* CREATIVE ARTISTIC ELEMENTS -------------------------- */
:root {
  --primary: #223259;
  --secondary: #F2B441;
  --accent: #E5ECF4;
  --cta-gradient: #f2b441;
  --card-shadow: 0 3px 20px rgba(34,50,89,0.07), 0 1.5px 10px rgba(34,50,89,0.09);
  --radius-main: 22px;
  --radius-btn: 30px;
  --radius-card: 16px;
  --danger: #D54A28;
  --success: #5FB760;
  --surface: #fff;
  --surface-dark: #ebeef5;
}

body {
  background-color: #fff;
  /* Subtle angled color accent */
  background-image: linear-gradient(120deg, transparent 80%, var(--accent) 100%);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* HEADER --------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(34,50,89,0.05);
  z-index: 30;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo-link img {
  height: 44px;
  width: auto;
  margin-right: 8px;
  transition: transform 0.18s;
}
.logo-link:hover img {
  transform: rotate(-5deg) scale(1.06);
}
.main-nav {
  display: flex;
  gap: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
}
.main-nav a {
  padding: 9px 10px;
  border-radius: 14px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.footer-nav a:hover,
.mobile-nav a:hover {
  background: var(--secondary);
  color: #223259;
}
.cta-primary {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  border-radius: var(--radius-btn);
  padding: 13px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 12px rgba(242,180,65,0.13);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #223259;
  color: #fff;
  box-shadow: 0 4px 16px rgba(34,50,89,0.10);
}
.cta-secondary {
  display: inline-block;
  border: 2px solid var(--secondary);
  color: var(--primary);
  font-weight: 700;
  border-radius: var(--radius-btn);
  padding: 11px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
  margin-top: 18px;
}
.cta-secondary:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(242,180,65,0.22);
}

/* MOBILE NAVIGATION ----------------------------------- */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: #223259;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  z-index: 1002;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #223259;
  color: #fff;
}
.main-nav {
  flex: 1 1 auto;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
    font-size: 1rem;
  }
}
@media (max-width: 820px) {
  .main-nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 821px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #223259;
  color: #fff;
  z-index: 2002;
  padding: 24px 0 0 0;
  transition: transform 0.33s cubic-bezier(.68,-0.35,.35,1.36), opacity 0.22s;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  margin-right: 28px;
  margin-bottom: 18px;
  border-radius: 50%;
  padding: 3px 10px;
  cursor: pointer;
  transition: background 0.14s, color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F2B441;
  color: #223259;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.06em;
  font-weight: 600;
  transition: color 0.14s, background 0.14s;
  padding: 11px 12px 11px 6px;
  border-radius: 12px;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #F2B441;
  color: #223259;
}
@media (min-width: 821px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO ----------------------------------------------- */
.hero {
  background: linear-gradient(113deg, var(--secondary) 0%, #fff 76%, var(--accent) 100%);
  position: relative;
  padding-top: 54px;
  padding-bottom: 54px;
  overflow: hidden;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.6rem;
  color: var(--primary);
  margin-bottom: 13px;
}
.hero p {
  font-size: 1.22rem;
  max-width: 650px;
  margin-bottom: 26px;
  color: #323e5c;
}

/* FEATURE BLOCKS ------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 8px;
  width: 100%;
}
.feature-grid > div {
  flex: 1 1 200px;
  min-width: 230px;
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: 0 2px 12px rgba(34,50,89,0.07);
  padding: 30px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-left: 8px solid var(--secondary);
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div img {
  width: 42px; height: 42px;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 28px rgba(34,50,89,0.14);
  transform: translateY(-2px) scale(1.04);
}
.feature-grid h3 {
  font-size: 1.18rem;
  color: var(--primary);
}

/* ARTISTIC BADGES ------------------------------------ */
.trust-badges, .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
}
.trust-badges img, .badges img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 1.5px 10px #e5ecf480);
  background: #fff;
  border-radius: 50%;
}
.badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  padding: 7px 18px;
  border-radius: var(--radius-btn);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  box-shadow: 0 1.2px 8px rgba(242,180,65,0.13);
  margin-top: 13px;
}

/* SERVICES PREVIEW ----------------------------------- */
.service-list-short {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 6px 0;
}
.service-list-short > div {
  flex: 1 1 120px;
  min-width: 147px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 1px 7px rgba(34,50,89,0.07);
  padding: 18px 8px 16px 8px;
  border-bottom: 4px solid var(--secondary);
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-list-short > div img {
  width: 32px;
  height: 32px;
}
.service-list-short > div span {
  color: #223259;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
}
.service-list-short > div:hover {
  box-shadow: 0 5px 19px rgba(34,50,89,0.15);
  transform: scale(1.045) translateY(-1px);
}

/* CARDS & CARD-CONTAINER ----------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  max-width: 100%;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* CONTENT-GRID / FLEX UTILS -------------------------- */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TESTIMONIALS --------------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #223259;
  border-radius: var(--radius-main);
  box-shadow: 0 1.5px 8px rgba(34,50,89,.10);
  padding: 20px;
  margin-bottom: 24px;
  min-height: 82px;
  font-style: italic;
  font-size: 1.07rem;
  position: relative;
  border-left: 6px solid var(--secondary);
  transition: box-shadow 0.17s, transform 0.16s;
}
.testimonial-card p {
  margin-bottom: 0;
}
.testimonial-card span {
  font-style: normal;
  font-weight: 600;
  font-size: 1.01rem;
  color: var(--primary);
}
.testimonial-card:hover {
  box-shadow: 0 4px 22px rgba(242,180,65,0.12);
  transform: translateY(-2px) scale(1.03);
}

/* CTA BANNER ----------------------------------------- */
.cta-banner {
  background: linear-gradient(100deg, #E5ECF4 77%, #F2B441 100%);
  border-radius: var(--radius-main);
  box-shadow: 0 3px 16px #e5ecf47c;
  margin-top: 30px;
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
}
.cta-banner h2 {
  color: #223259;
  font-size: 2.1rem;
  margin-bottom: 14px;
}
.cta-banner p {
  font-size: 1.11rem;
  color: #444d6a;
  margin-bottom: 20px;
}
.cta-banner .cta-primary {
  margin: 0 auto;
  display: inline-block;
}

/* PRICING TABLE -------------------------------------- */
table {
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: 0 1.7px 10px #e5ecf453;
  overflow: hidden;
}
th, td {
  font-size: 1.06rem;
}
th {
  letter-spacing: 0.04em;
}
td {
  vertical-align: top;
}

/* CASE/STUDY, PROJECT LISTS -------------------------- */
.case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.case-study-list > div {
  flex: 1 1 270px;
  min-width: 250px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 21px 20px 17px 20px;
  margin-bottom: 20px;
  border-top: 6px solid var(--secondary);
  transition: box-shadow 0.18s, transform 0.17s;
}
.case-study-list > div:hover {
  box-shadow: 0 7px 24px rgba(34,50,89,0.11);
  transform: translateY(-3px) scale(1.05) rotate(-0.7deg);
}

/* FOOTER --------------------------------------------- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 38px 0 22px 0;
  border-top-left-radius: 44px;
  border-top-right-radius: 44px;
  margin-top: 24px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  margin-right: 10px;
  text-decoration: underline dotted transparent 2px;
  transition: color 0.16s, text-decoration-color 0.18s;
}
footer a:hover {
  color: var(--secondary);
  text-decoration-color: var(--secondary);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 10px 0 0 0;
}
.footer-contact {
  font-size: 0.99rem;
  text-align: center;
  color: #ecebf8;
  margin-top: 5px;
}
.footer-contact a {
  color: var(--secondary);
  text-decoration: underline;
}
footer img {
  margin-bottom: 6px;
  width: 36px;
}

/* RESPONSIVENESS ------------------------------------- */
@media (max-width: 1024px) {
  .feature-grid > div, .case-study-list > div {
    min-width: 160px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .case-study-list {
    flex-direction: column;
    gap: 20px;
  }
  .container {
    max-width: 98vw;
    padding-left: 9px;
    padding-right: 9px;
  }
  .content-grid {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  .section, section, main > section {
    padding: 26px 4px;
  }
  .content-wrapper {
    gap: 11px;
  }
  .feature-grid, .service-list-short {
    gap: 15px;
  }
  .feature-grid > div, .service-list-short > div {
    min-width: unset;
    padding: 18px 7px 13px 13px;
  }
  .case-study-list > div {
    min-width: unset;
    padding: 15px 9px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 15px;
    min-height: 55px;
  }
  .hero {
    padding-top: 28px; padding-bottom: 32px;
  }
  .cta-banner {
    padding-top: 22px;
    padding-bottom: 22px;
  }
}
@media (max-width: 540px) {
  .container {
    padding-left: 3px; padding-right: 3px;
  }
}
@media (max-width: 450px) {
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.12rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 4px;
  }
}

/* INTERACTIVE & HOVER/FOCUS STATES ------------------- */
a, .cta-primary, .cta-secondary, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s;
}
*:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* COOKIE CONSENT BANNER (fixed bottom) --------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 17px 28px;
  box-shadow: 0 -3px 24px rgba(34,50,89,0.20);
  font-size: 1.02rem;
  animation: cookie-fadein 0.7s ease;
  gap: 18px;
}
@keyframes cookie-fadein {
  0% { opacity: 0; transform: translateY(45px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  flex: 1 1 auto;
  margin-right: 12px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-banner__btn {
  border-radius: var(--radius-btn);
  padding: 9px 20px;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.13s, color 0.14s;
}
.cookie-banner__btn--accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner__btn--accept:hover {
  background: #fff2d9;
  color: var(--primary);
}
.cookie-banner__btn--reject {
  background: #fff;
  color: var(--danger);
  border: 2px solid var(--danger);
}
.cookie-banner__btn--reject:hover {
  background: var(--danger);
  color: #fff;
}
.cookie-banner__btn--settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-banner__btn--settings:hover {
  background: #fff2d9;
  color: var(--secondary);
}
@media (max-width: 750px) {
  .cookie-banner {
    flex-direction: column;
    padding: 14px 9px;
    gap: 10px;
    align-items: flex-start;
  }
  .cookie-banner__actions {
    gap: 9px;
    width: 100%;
  }
}

/* COOKIE SETTINGS MODAL ------------------------------ */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: #223259d3;
  z-index: 10001;
  display: none;
  align-items: flex-end;
  justify-content: center;
  animation: cookie-modal-fadein 0.37s;
}
.cookie-modal-overlay.show {
  display: flex;
}
@keyframes cookie-modal-fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #223259;
  width: 94vw;
  max-width: 530px;
  border-radius: var(--radius-main);
  box-shadow: 0 3px 32px #22325950;
  padding: 32px 24px 19px 24px;
  margin-bottom: 11vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-pop 0.46s cubic-bezier(.51,.13,.41,.99);
}
@keyframes cookie-pop {
  0% { opacity: 0; transform: scale(0.89) translateY(80px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.cookie-modal__title {
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.cookie-modal__close {
  background: transparent;
  color: var(--primary);
  font-size: 1.85rem;
  border-radius: 50%;
  padding: 2px 13px;
  cursor: pointer;
  transition: background 0.15s, color 0.14s;
}
.cookie-modal__close:hover {
  background: #E5ECF4;
  color: var(--secondary);
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 9px 0 17px 0;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 1.01rem;
}
.cookie-modal__category input[type=checkbox] {
  width: 21px;
  height: 21px;
  border-radius: 6px;
  accent-color: var(--secondary);
}
.cookie-modal__category--essential label {
  font-weight: 700;
}
.cookie-modal__actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal__actions .cookie-banner__btn {
  font-size: 0.98rem;
  padding: 8px 18px;
}
@media (max-width: 542px) {
  .cookie-modal {
    max-width: 99vw;
    padding: 14px 6px 16px 9px;
  }
}

/* MISC UTILS ----------------------------------------- */
::-webkit-scrollbar {
  width: 12px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: #e5ecf4;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:active {
  background: #d1d6e0;
}

/* ARTISTIC TOUCHES ----------------------------------- */
.section, section, main > section {
  position: relative;
}
.section:before, .section:after, main > section:before, main > section:after {
  content: '';
  display: block;
  position: absolute;
  pointer-events: none;
}
.section:before, main > section:before {
  top: -27px;
  left: -24px;
  width: 74px;
  height: 37px;
  border-radius: 40px 24px 28px 66px / 50px 20px 40px 36px;
  background: #F2B44122;
  z-index: 0;
}
.section:after, main > section:after {
  bottom: -32px;
  right: -25px;
  width: 68px;
  height: 33px;
  border-radius: 36px 70px 50px 20px / 40px 54px 20px 18px;
  background: #22325911;
  z-index: 0;
}

/* STYLE ADJUSTMENTS FOR TABLES AND LISTS ------------- */
table {
  margin-top: 14px;
  margin-bottom: 23px;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 2px;
  position: relative;
}
ul li:before {
  content: '• ';
  color: var(--secondary);
  font-size: 1.05em;
  margin-right: 4px;
  position: absolute;
  left: 0;
}
ul {
  padding-left: 22px;
}
.contact-details li:before {
  content: '' !important;
}

/* SPECIAL CLASSES FOR FLEXBOXS ----------------------- */
/* Already included .section, .card-container, .card, .content-grid, .text-image-section, .testimonial-card, .feature-item per flexbox patterns */

/* END OF CSS */