/* 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 {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  color: #232159;
  background: #fff;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #232159;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #0BB88D;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
:focus {
  outline: 2px solid #232159;
  outline-offset: 2px;
}

/* BRAND FONTS (Elegant Classic: serif) */
h1, h2, h3, h4 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #232159;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 600; }
p, li, ul, ol, blockquote { font-family: 'Georgia', 'Times New Roman', Times, serif; }
p { font-size: 1rem; margin-bottom: 16px; color: #353560; }
blockquote {
  font-style: italic;
  color: #232159;
  background: #F8F9FB;
  border-left: 4px solid #0BB88D;
  padding: 16px 24px;
  margin-bottom: 12px;
  border-radius: 4px;
}
strong, b { font-weight: bold; }
em, i { font-style: italic; }

/* CONTAINER SYSTEM */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #ececf2;
  width: 100%;
  z-index: 1000;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  height: 44px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.04rem;
  color: #232159;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: border, color .2s;
}
header nav a:hover, header nav a:focus {
  color: #0BB88D;
  border-bottom: 2px solid #0BB88D;
}
.cta-primary {
  display: inline-block;
  background: #232159;
  color: #fff !important;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 11px 32px;
  border-radius: 22px;
  margin-left: 12px;
  box-shadow: 0 2px 8px rgba(35,33,89,0.07);
  border: none;
  transition: background .2s, color .2s, box-shadow .25s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #0BB88D;
  color: #fff;
  box-shadow: 0 4px 16px rgba(11,184,141,.18);
}
.cta-secondary {
  display: inline-block;
  background: #fff;
  color: #232159 !important;
  border: 2px solid #232159;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 9px 28px;
  border-radius: 22px;
  margin-left: 8px;
  box-shadow: 0 1px 5px rgba(35,33,89,.08);
  transition: background .25s, border .2s, color .2s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #232159;
  color: #fff !important;
  border-color: #0BB88D;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #232159;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #ececf2;
  padding: 8px 16px;
  margin-left: 14px;
  transition: background .2s, box-shadow .2s;
  z-index: 1102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F4F8FB;
  outline: 2px solid #0BB88D;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 8px 44px rgba(35,33,89,0.10);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.7,.3,.3,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 30px 0 0 0;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 12px 24px 20px 0;
  font-size: 2rem;
  color: #232159;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 12px;
  transition: color .20s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #0BB88D;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0px;
  padding: 0 32px;
}
.mobile-nav a {
  font-size: 1.22rem;
  line-height: 2.3;
  border-bottom: 1px solid #ececf2;
  color: #232159;
  padding: 7px 0 7px 0;
  transition: color .17s, background .14s;
  border-radius: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4F8FB;
  color: #0BB88D;
}

@media (max-width: 1024px) {
  header .container nav {
    display: none;
  }
  .cta-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* SECTIONS GENERAL */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  position: relative;
  border-radius: 10px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section.accent, .cta-section.accent {
  background: #F4F8FB;
}
.cta-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  text-align: center;
}

/* FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(35,33,89,.08);
  background: #fff;
  padding: 28px 20px;
  flex: 1 1 300px;
  transition: box-shadow .19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(35,33,89,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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F4F8FB;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 9px rgba(35,33,89,0.06);
  flex-wrap: wrap;
  color: #232159;
}
.testimonial-meta {
  color: #59598c;
  font-size: 1rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  margin-left: 14px;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}

/* INDEX LIST SECTIONS */
.feature-grid, .benefit-boxes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 24px;
}
.feature-grid li, .benefit-boxes .callout-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(35,33,89,0.05);
  padding: 24px 20px;
  flex: 1 1 240px;
  min-width: 230px;
  transition: box-shadow .22s, border .2s;
}
.feature-grid li:hover, .feature-grid li:focus-within, .benefit-boxes .callout-box:hover {
  box-shadow: 0 8px 26px rgba(35,33,89,0.10);
  border-color: #0BB88D;
}
.feature-grid img {
  width: 36px;
  margin-bottom: 12px;
}

.callouts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 22px;
}
.callout-box {
  flex: 1 1 210px;
  background: #F4F8FB;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(35,33,89,.05);
  padding: 22px 18px 16px 18px;
  transition: box-shadow .18s;
  margin-bottom: 0;
  border-left: 4px solid #0BB88D;
}

/* PROJECT CARD LAYOUT */
.projects-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 10px;
}
.project-card {
  background: #fff;
  border: 1.4px solid #ececf2;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(35,33,89,0.05);
  padding: 22px 20px 18px 20px;
  flex: 1 1 340px;
  min-width: 270px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: box-shadow .16s, border-color .16s;
}
.project-card:hover, .project-card:focus-within {
  border-color: #0BB88D;
  box-shadow: 0 8px 24px rgba(11,184,141,0.10);
}

/* BLOG CARDS */
.article-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}
.article-cards article {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(35,33,89,0.06);
  padding: 22px 16px 18px 16px;
  flex: 1 1 300px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1.1px solid #ececf2;
  transition: box-shadow .15s, border-color .17s;
}
.article-cards article:hover, .article-cards article:focus-within {
  border-color: #0BB88D;
  box-shadow: 0 6px 28px rgba(11,184,141,0.08);
}

/* SEARCH FILTERS & SELECTS */
.search-filter, .categories-filter {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 24px;
}
.search-filter input[type="text"], .categories-filter select, .search-filter select {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  border-radius: 7px;
  border: 1.3px solid #ececf2;
  padding: 10px 18px;
  background-color: #F4F8FB;
  font-size: 1rem;
  color: #232159;
  transition: border-color .2s;
}
.search-filter input[type="text"]:focus, .categories-filter select:focus {
  border-color: #0BB88D;
}

/* SECTION VARIANT OVERRIDES */
.faq {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 60px;
  padding: 40px 20px 30px 20px;
  box-shadow: 0 1px 8px rgba(35,33,89,0.06);
}
.text-section {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.team-section {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.team-section .text-section {
  flex: 1 1 280px;
  min-width: 220px;
  background: #F4F8FB;
  border-radius: 10px;
  padding: 18px 16px 12px 16px;
  box-shadow: 0 1px 8px rgba(35,33,89,0.04);
}

.statistics ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
  margin-bottom: 16px;
}
.statistics li {
  font-size: 1.25rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(35,33,89,0.03);
  padding: 18px 16px;
  min-width: 130px;
}
.milestones ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 6px;
}

.contact-section .contact-details {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.08rem;
}
.contact-section a {
  color: #0BB88D;
  text-decoration: underline;
  font-weight: 600;
}
.cta-box {
  background: #F4F8FB;
  padding: 24px 18px;
  border-radius: 11px;
  box-shadow: 0 1px 8px rgba(11,184,141,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.map-section .address-info {
  background: #fff;
  border-radius: 10px;
  margin-top: 18px;
  padding: 18px 14px;
  box-shadow: 0 1px 4px rgba(35,33,89,0.05);
}

/* FOOTER */
footer {
  background: #232159;
  color: #fff;
  padding: 44px 0 20px 0;
  position: relative;
}
footer .container {
  display: flex;
  flex-direction: column;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  justify-content: space-between;
}
.footer-columns > div {
  flex: 1 1 210px;
  min-width: 170px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
}
footer img {
  margin-bottom: 10px;
}
footer h4 {
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #F4F8FB;
  font-size: 1rem;
  padding: 4px 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .17s, border-bottom .23s;
}
footer nav a:hover, footer nav a:focus {
  color: #0BB88D;
  border-bottom: 1px solid #0BB88D;
}
footer ul {
  margin-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
footer ul li, footer p {
  color: #d8d9ef;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  gap: 8px;
}
footer ul img {
  width: 19px;
  margin: 0 8px 0 0;
}

footer .footer-columns > div:first-child p {
  margin-top: 8px;
  color: #b6b8d8;
}

/* THANK YOU SECTION */
.thank-you-section {
  text-align: center;
  background: #F4F8FB;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(11,184,141,0.07);
  margin: 80px auto 60px auto;
  max-width: 540px;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #232159;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 -2px 22px rgba(35,33,89,0.15);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 18px 18px 18px 18px;
  gap: 26px;
  z-index: 2000;
  animation: cookie-slidein .6s cubic-bezier(.6,.14,.71,.95);
}
@keyframes cookie-slidein {
  0% { transform: translateY(110%); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-consent-text {
  max-width: 520px;
  font-size: 1rem;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  margin-right: 20px;
}
.cookie-btns {
  display: flex;
  gap: 12px;
}
.cookie-btn, .cookie-btn-primary {
  border-radius: 22px;
  border: none;
  padding: 9px 22px;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.02rem;
  font-weight: 700;
  transition: background .18s, color .2s, box-shadow .22s;
  margin: 0 2px;
}
.cookie-btn-primary {
  background: #0BB88D;
  color: #fff;
  box-shadow: 0 2px 8px rgba(11,184,141,0.14);
}
.cookie-btn-primary:hover, .cookie-btn-primary:focus {
  background: #095b4e;
  color: #fff;
}
.cookie-btn {
  background: #fff;
  color: #232159;
  border: 1.2px solid #0BB88D;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #0BB88D;
  color: #fff;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  z-index: 2100;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(35,33,89,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein .25s cubic-bezier(.7,.3,.3,1);
}
@keyframes fadein {
  0% { opacity:0; }
  100% { opacity:1; }
}
.cookie-modal-content {
  background: #fff;
  color: #232159;
  border-radius: 13px;
  box-shadow: 0 2px 28px rgba(11,184,141,0.11);
  padding: 40px 26px 30px 26px;
  max-width: 400px;
  width: 92vw;
  font-size: 1rem;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  animation: modal-slide .33s cubic-bezier(.58,1.1,.13,.97);
}
@keyframes modal-slide {
  0% { transform: translateY(56px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal-content h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  color: #0BB88D;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-toggle {
  accent-color: #0BB88D;
  width: 28px;
  height: 20px;
}
.cookie-modal-close {
  position: absolute;
  right: 22px;
  top: 20px;
  font-size: 1.5rem;
  background: transparent;
  color: #232159;
  border: none;
  cursor: pointer;
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.cta-primary, .cta-secondary, .card, .feature-grid li, .article-cards article, .project-card {
  transition: box-shadow .2s, border-color .15s, background .18s, color .18s;
}
.cta-primary:active, .cta-secondary:active {
  transform: scale(.97);
}

/* SPACING, GAP & FLEX ADJUSTMENTS */
@media (max-width: 1024px) {
  .container { max-width: 97vw; }
  .feature-grid, .benefit-boxes, .callouts, .team-section, .footer-columns, .projects-list, .article-cards, .statistics ul {
    gap: 16px;
  }
}
@media (max-width: 950px) {
  .footer-columns {
    flex-direction: column;
    gap: 28px;
  }
}
@media (max-width: 750px) {
  .content-wrapper {
    gap: 20px;
  }
  .callouts, .benefit-boxes, .feature-grid, .projects-list, .article-cards, .statistics ul {
    flex-direction: column;
    gap: 12px;
  }
  .projects-list .project-card, .article-cards article { min-width: 90vw; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.02rem; }
  .content-wrapper {
    gap: 14px;
  }
  .section, section {
    padding: 25px 6vw;
    margin-bottom: 28px;
  }
  .cta-section, .cta-section.accent {
    padding: 22px 5vw;
    margin-bottom: 24px;
  }
  .feature-grid li, .project-card, .article-cards article, .callout-box {
    padding: 14px 9px;
    min-width: 0;
  }
  .team-section {
    flex-direction: column;
    gap: 12px;
  }
}

/* RESPONSIVE FLEX ADJUSTMENTS */
@media (max-width: 768px) {
  .content-grid, .projects-list, .team-section, .article-cards, .feature-grid, .callouts, .benefit-boxes, .footer-columns, .statistics ul {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  footer .container, .footer-columns {
    flex-direction: column;
    gap: 18px;
  }
  .search-filter, .categories-filter {
    flex-direction: column;
    gap: 14px;
  }
}
/* Hide cookie banner modal on small height screens if needed */
@media (max-width:576px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 14px;
    text-align: left;
    padding: 11px 6vw 14px 6vw;
  }
}

/* ACCORDION FAQ (for .faq h3) */
.faq .text-section h3 {
  cursor: pointer;
  position: relative;
  padding-right: 25px;
}
.faq .text-section h3:after {
  content: '+';
  position: absolute;
  right: 0;
  font-weight: bold;
  color: #0BB88D;
  font-size: 1.2rem;
  transition: transform .25s;
}
.faq .text-section h3.active:after {
  content: '-';
  transform: rotate(180deg);
}

/* UTILITIES */
.hide { display: none !important; }
.visible { display: block !important; }

/* SELECTION COLOURS for accessibility */
::selection {
  background: #0BB88D;
  color: #fff;
}

/* Print-friendly tweaks */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #222; }
}
