/* ========================
   CSS RESET & BASE STYLES
   ======================== */

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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F2F2F2;
  color: #183153;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #22A699;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #183153;
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #183153;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

h1 {font-size: 2.5rem; line-height: 1.1; margin-bottom: 24px;}
h2 {font-size: 2rem; margin-bottom: 20px;}
h3 {font-size: 1.3rem; margin-bottom: 16px;}
h4 {font-size: 1.1rem; margin-bottom: 10px;}

p, ul, ol {font-size: 1rem; margin-bottom: 16px;}

ul, ol {padding-left: 28px; margin-bottom: 24px;}
li + li {margin-top: 8px;}

blockquote {
  border-left: 5px solid #22A699;
  padding: 8px 24px;
  background: #eafceb;
  color: #183153;
  border-radius: 12px;
  margin: 24px 0;
  font-style: italic;
}

em {font-style: italic;}
strong {font-weight: 700;}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 24px 0;
  background: white;
  border-radius: 16px;
  overflow: hidden;
}
th, td {
  padding: 12px 16px;
  border-bottom: 1px solid #e1e3e5;
  text-align: left;
}
th {
  background: #22A699;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}
tr:last-child td {border-bottom: none;}

hr {
  margin: 32px 0;
  border: none;
  border-bottom: 1px solid #d9dadb;
}

/* ============
   TYPOGRAPHY
   ============ */
.body, .text-section, .content-wrapper {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #183153;
  line-height: 1.65;
}

.text-section h2, .text-section h3, .content-wrapper h2, .content-wrapper h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22A699;
}
.text-section ul li, .content-wrapper ul li {
  font-size: 1rem;
}

/* ===============================
   LAYOUT: CONTAINER & FLEX PATTERNS
   =============================== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 2px 16px 0 rgba(33,65,113,0.08);
  position: relative;
  transition: box-shadow 0.3s;
}
.section:hover {
  box-shadow: 0 6px 24px 0 rgba(33,65,113,0.15);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 8px 0 rgba(33,65,98,0.10);
  position: relative;
  padding: 32px 24px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(33,65,98,0.14);
  transform: translateY(-5px) scale(1.03);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(33,65,113,0.13);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 420px;
  border: 2px solid #22A699;
  color: #183153 !important;
}
.testimonial-card p {
  color: #183153;
  font-size: 1.12rem;
}
.testimonial-card span {
  color: #22A699;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 16px 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid, .service-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}
.feature-grid li, .service-list li, .faq-list li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(33,65,98,0.09);
  padding: 28px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid li:hover, .service-list li:hover {
  box-shadow: 0 6px 24px 0 rgba(33,65,98,0.15);
  transform: translateY(-4px) scale(1.02);
}
.mini-case-teasers {
  margin-top: 24px;
  background: #22A6990F;
  border-radius: 16px;
  padding: 16px 20px;
}
.faq-list li p {
  margin-top: 6px;
  font-size: 1rem;
}

.case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}
.case-study {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 10px 0 rgba(33,65,98,0.10);
  padding: 28px 22px;
  min-width: 260px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  position: relative;
  border-left: 8px solid #22A699;
  transition: box-shadow 0.2s;
}
.case-study:hover {
  box-shadow: 0 8px 32px 0 rgba(33,65,98,0.16);
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-list article {
  background: #fff;
  box-shadow: 0 1px 10px 0 rgba(33,65,98,0.10);
  border-radius: 18px;
  flex: 1 1 330px;
  min-width: 260px;
  padding: 28px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  position: relative;
}
.blog-list article:hover {
  box-shadow: 0 8px 26px 0 rgba(33,65,98,0.15);
  transform: translateY(-4px) scale(1.02);
}
.categories {
  margin-top: 28px;
  background: #22A6991C;
  border-radius: 14px;
  padding: 14px 20px;
  width: 100%;
}
.categories h3 {
  font-size: 1.12rem;
  color: #183153;
  margin-bottom: 8px;
}
.categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
}
.categories li {
  background: #fff;
  padding: 7px 18px;
  border-radius: 32px;
  color: #183153;
  font-size: 0.96rem;
  box-shadow: 0 1px 6px 0 rgba(33,65,98,0.07);
  transition: background 0.20s, color 0.20s;
}
.categories li:hover {
  background: #22A699;
  color: #fff;
}

.newsletter-benefits ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style-type: square;
  padding-left: 24px;
}
.newsletter-benefits li {
  font-size: 1rem;
  background: #22A69916;
  border-radius: 9px;
  padding: 8px 15px;
}

/* ================================
   HEADER, NAV, MOBILE BURGER MENU
   ================================ */
header {
  background: #183153;
  padding: 0;
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 80;
  box-shadow: 0 2px 16px rgba(33,65,113,0.09);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  height: 76px;
}
header a img {
  height: 38px;
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 500;
  font-size: 1.03rem;
  border-radius: 6px;
  padding: 8px 15px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: #22A699;
  color: #fff;
}
.cta-button {
  background: #22A699;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.14rem;
  margin-left: 20px;
  box-shadow: 0 2px 8px 0 rgba(33,65,98,0.13);
  cursor: pointer;
  transition: background 0.23s, color 0.13s, box-shadow 0.23s;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: #183153;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(33,65,98,0.15);
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 22px;
  right: 28px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #22A699;
  z-index: 150;
  cursor: pointer;
  transition: color 0.16s;
  padding: 4px 12px 2px 12px;
  border-radius: 12px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #fff;
  background: #22A699;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #183153CC;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.57,.21,.69,1.25);
  z-index: 400;
  padding-top: 0;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 1.85rem;
  position: absolute;
  right: 22px;
  top: 20px;
  background: #22A699;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: background 0.17s;
  z-index: 405;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover {
  background: #183153;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 80px;
  width: 100vw;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.16rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 16px 40px;
  border-radius: 10px;
  text-align: left;
  background: none;
  font-weight: 500;
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #22A699;
  color: #fff;
}

/* Hide desktop nav, show burger on mobile */
@media (max-width: 1020px) {
  header .container nav {display: none;}
  .cta-button {display: none;}
  .mobile-menu-toggle {display: block;}
}

@media (min-width:1021px) {
  .mobile-menu {display: none !important;}
}

/* ===================
   HERO SECTION
   =================== */
.hero {
  background:
    linear-gradient(110deg,#22A69911 60%,#fff 100%),
    #F2F2F2;
  padding: 70px 0 48px 0;
  width: 100%;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 650px;
}
.hero h1 {
  font-size: 2.3rem;
  color: #183153;
  line-height: 1.13;
  letter-spacing: -2px;
  text-shadow: 0 4px 16px rgba(34,166,153,0.11);
}
.hero p {
  color: #183153;
  font-size: 1.15rem;
  margin-bottom: 30px;
}
.hero .cta-button {
  font-size: 1.17rem;
  padding: 14px 38px;
}

/* ===================
   FOOTER
   =================== */
footer {
  background: #183153;
  color: #fff;
  width: 100%;
  padding: 48px 0 0 0;
  position: relative;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-brand img {height: 38px;}
.footer-brand span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #fff;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: #22A699;
  font-size: 0.98rem;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 4px 0;
  border-radius: 4px;
  transition: color 0.18s, background 0.12s;
}
.footer-nav a:hover {
  color: #fff;
  background: #22A699;
  text-decoration: none;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 8px;
}
.footer-social img {
  width: 32px;
  height: 32px;
  filter: grayscale(0.3) brightness(1.2) drop-shadow(0 2px 8px #22A69933);
  transition: filter 0.13s, transform 0.13s;
  cursor: pointer;
}
.footer-social img:hover {
  filter: grayscale(0) brightness(1.4) drop-shadow(0 8px 20px #22A69944);
  transform: scale(1.05) rotate(-5deg);
}
footer p {
  color: #c9e4e6;
  font-size: 0.95rem;
  margin: 26px 0 16px 0;
  width: 100vw;
}

/* ===================
   COOKIE CONSENT
   =================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #183153;
  color: #fff;
  z-index: 9999;
  box-shadow: 0 -2px 18px 0 rgba(33,65,113,0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 23px 16px 20px 16px;
  gap: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  animation: bannerAppear 0.7s cubic-bezier(.26,1,.53,1);
}
@keyframes bannerAppear {
  from {transform: translateY(120%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  color: #fff;
  font-size: 1.07rem;
  margin-bottom: 2px;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  margin: 0;
  transition: background 0.18s, color 0.18s;
  outline: none;
}
.cookie-banner .acceptCookiesBtn {
  background: #22A699;
  color: #fff;
  font-weight: bold;
}
.cookie-banner .acceptCookiesBtn:hover {
  background: #16a085;
}
.cookie-banner .rejectCookiesBtn {
  background: #fff;
  color: #183153;
  border: 1px solid #22A699;
  font-weight: 500;
}
.cookie-banner .rejectCookiesBtn:hover {
  background: #22A699;
  color: #fff;
}
.cookie-banner .cookieSettingsBtn {
  background: none;
  color: #22A699;
  font-weight: 500;
  border: 1px solid #22A699;
}
.cookie-banner .cookieSettingsBtn:hover {
  background: #22A699;
  color: #fff;
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: flex-end;
  background: rgba(24,49,83,0.65);
  z-index: 12000;
  animation: fadeInBlur 0.45s cubic-bezier(.26,1,.53,1);
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeInBlur {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 36px 22px 24px 22px;
  box-shadow: 0 -6px 40px 0 rgba(33,65,98,0.27);
  width: 90vw;
  max-width: 410px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideUpModal 0.64s cubic-bezier(.34,1.4,.65,1);
}
@keyframes slideUpModal {
  from {transform: translateY(130px); opacity:0;}
  to {transform: translateY(0); opacity:1;}
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #183153;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-modal-category label {
  font-size: 1rem;
  color: #22A699;
}
.toggle-switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin-left: 7px;
}
.toggle-switch input[type="checkbox"] {
  display: none;
}
.toggle-slider {
  width: 36px;
  height: 20px;
  background: #eafbfb;
  border-radius: 12px;
  position: relative;
  transition: background 0.16s;
}
.toggle-switch input[type="checkbox"]:checked + .toggle-slider {
  background: #22A699;
}
.toggle-slider:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.17s;
}
.toggle-switch input[type="checkbox"]:checked + .toggle-slider:before {
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  font-size: 1rem;
  border-radius: 22px;
  box-shadow: 0 3px 14px #22A69916;
  padding: 9px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
}
.cookie-modal-actions .cookieAccept {
  background: #22A699;
  color: #fff;
}
.cookie-modal-actions .cookieAccept:hover {
  background: #16a085;
}
.cookie-modal-actions .cookieClose {
  background: #fff;
  color: #22A699;
  border: 1px solid #22A699;
}
.cookie-modal-actions .cookieClose:hover {
  background: #f3f9fa;
}

/* ==================================
   SPECIAL: CTA, BUTTONS, SHADOWS
   ================================== */
.cta-button:active {transform: scale(0.96);}

button:focus-visible, .cta-button:focus-visible {
  outline: 2px solid #22A699;
  outline-offset: 2px;
}

/* Animated underline for links */
a:not(.cta-button):after {
  display: block;
  content: '';
  border-bottom: 2px solid #22A699;
  transform: scaleX(0);
  transition: transform 0.2s;
}
a:not(.cta-button):hover:after, a:not(.cta-button):focus:after {
  transform: scaleX(1);
}

/* ==================================
   CREATIVE, ARTISTIC HIEROGLYPHICS / ELEMENTS
   ================================== */
.section::before, .section::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.section::before {
  top: 16px;
  left: -28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #22A69933;
  opacity: .16;
  filter: blur(2.5px);
}
.section::after {
  bottom: -20px;
  right: -34px;
  width: 54px;
  height: 28px;
  border-radius: 16px 60px 60px 16px;
  background: #18315325;
  opacity: .20;
  filter: blur(1.4px);
}

/* Artistic font tweaks for headers */
h1, h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -1.6px;
  text-shadow: 0 4px 20px #22a69922;
}
/* Unique accent stripe under certain headings */
.content-wrapper > h2,
.text-section > h2,
.section > h2,
.hero h1 {
  position: relative;
}
.content-wrapper > h2:after,
.text-section > h2:after,
.section > h2:after,
.hero h1:after {
  content: '';
  display: block;
  width: 45px;
  height: 5px;
  border-radius: 4px;
  background: #22A699;
  position: absolute;
  left: 0;
  bottom: -12px;
}

/* ===================
   RESPONSIVE DESIGN
   =================== */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
  .card-container, .content-grid {
    gap: 16px;
  }
  .section {padding: 32px 10px;}
  .case-study-list {gap: 20px;}
}

@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .hero {padding: 44px 0 27px 0;}
  .hero h1 {font-size: 1.55rem;}
  .hero .container {align-items: flex-start;}
  .hero .content-wrapper {max-width: 98vw;}
  .feature-grid, .service-list, .faq-list, .card-container, .case-study-list, .blog-list {
    flex-direction: column;
    gap: 18px;
  }
  .categories ul, .newsletter-benefits ul {
    flex-direction: column;
    gap: 10px;
  }
  .section {padding: 22px 4px;}
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .footer-contact {gap: 7px;}
  .footer-brand img {height: 32px;}
  .footer-social img {width: 27px; height: 27px;}
  footer .container {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .section {margin-bottom: 32px;}
  .hero {padding: 19px 0 16px 0;}
  h1 {font-size: 1.14rem;}
  h2 {font-size: 1.05rem;}
  .blog-list article, .case-study, .testimonial-card, .card {
    padding: 14px 6px;
    min-width: 98vw;
  }
}

/* ===================
   MISCELLANEOUS
   =================== */
.location-map {
  margin-top: 24px;
  background: #eafbfb;
  border-radius: 12px;
  padding: 12px 17px;
  color: #183153;
}
.location-map h3 {
  color: #183153;
}
.text-section {
  background: none;
  padding: 0;
  border-radius: 0;
  margin-bottom: 18px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  align-items: center;
  justify-content: flex-start;
}

/* Hide scroll under modals, mobile-menu open */
body.menu-opened, body.modal-opened {
  overflow: hidden;
  height: 100vh;
}
