/* Reset & Normalize (Mobile First) */
html, body { box-sizing: border-box; height: 100%; margin: 0; padding: 0; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body { min-height: 100%; font-family: 'Roboto', Arial, sans-serif; background: #F0EFEA; color: #264057; line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; border: 0; }
ul, ol { list-style: none; padding: 0; margin: 0; }
a { color: #17407B; text-decoration: none; transition: color .18s; }
a:hover, a:focus { color: #27A89B; }
:focus { outline: 2px solid #27A89B; outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; color: #17407B; font-weight: 700; letter-spacing: 0.01em; }
h1 { font-size: 2.25rem; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.12rem; margin-bottom: 12px; }
p, ul, li, small { font-family: 'Roboto', Arial, sans-serif; }
small { font-size: 0.93em; color: #555; }
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/********** LAYOUT: Sections & Wrappers **********/
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: none;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 0px;
}
.text-section { max-width: 720px; margin: 0 auto; }

/********** HEADER & NAVIGATION **********/
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(23,64,123,.06);
  font-family: 'Montserrat', Arial, sans-serif;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 20;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  max-width: 1200px;
  margin: 0 auto;
}
nav > a > img {
  height: 44px;
  width: auto;
  display: block;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-left: 14px;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 12px;
  color: #17407B;
  border-radius: 6px;
  transition: background .12s, color .18s;
}
nav ul li a:hover, nav ul li a.active { background: #e2f3f1; color: #27A89B; }
nav .cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #27A89B;
  color: #fff;
  border: none;
  border-radius: 22px;
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 26px;
  cursor: pointer;
  box-shadow: 0 4px 16px 0 rgba(39,168,155,.07);
  transition: background .18s, color .18s, transform .12s;
  margin-left: 18px;
  display: inline-block;
}
nav .cta-primary:hover, nav .cta-primary:focus {
  background: #17407B;
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}

/***** MOBILE NAVIGATION *****/
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #27A89B;
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .15s;
  margin-left: auto;
  z-index: 44;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus { background: #17407B; color: #fff; }

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(248,249,252,0.98);
  box-shadow: 0 8px 32px rgba(23,64,123, .16);
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.6,.08,.24,1);
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 30px 24px 24px 20px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #17407B;
  margin-bottom: 32px;
  margin-left: auto;
  cursor: pointer;
  transition: color .17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { color: #27A89B; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #17407B;
  font-size: 1.25rem;
  padding: 12px 0;
  border-radius: 8px;
  transition: background .16s, color .17s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus { background: #e2f3f1; color: #27A89B; }

/***** Hide desktop nav on mobile *****/
@media (max-width: 1023px) {
  nav ul, nav .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width:1024px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
  nav ul, nav .cta-primary {
    display: flex;
  }
}

/*************** SECTION: Features & Grids ***************/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 12px;
  width: 100%;
}
.feature-grid > div {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 14px 0 rgba(39,168,155,0.07);
  padding: 30px 20px 22px 20px;
  flex: 1 1 260px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 0;
  transition: box-shadow .16s, transform .14s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px 0 rgba(39,168,155,.14);
  transform: translateY(-4px) scale(1.025);
}
.feature-grid img {
  height: 40px; width: 40px;
  margin-bottom: 5px;
}

/*************** TESTIMONIALS ***************/
.testimonial-carousel, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #eaf6f6;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 rgba(23,64,123,0.09);
  padding: 20px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 250px;
  max-width: 340px;
  color: #17407B;
  font-size: 1.05rem;
  line-height: 1.7;
  transition: box-shadow .15s, transform .13s;
}
.testimonial-card strong {
  color: #27A89B;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 6px;
  font-size: 1em;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(39,168,155,.17);
  transform: translateY(-2px) scale(1.017);
}
.rating-summary {
  margin-top: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #17407B;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}
.rating-summary img {
  height: 28px;
  vertical-align: middle;
}

/*************** CARDS, CASE STUDIES, SPECIAL GRIDS ***************/
.card-container, .card-grid, .case-study-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card, .case-study-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(23,64,123,0.07);
  margin-bottom: 20px;
  padding: 28px 24px;
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: box-shadow .18s, transform .13s;
}
.card:hover, .case-study-card:hover {
  box-shadow: 0 8px 32px 0 rgba(39,168,155,.17);
  transform: translateY(-4px) scale(1.024);
}

/*************** FAqs & Accordions ***************/
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #f7fafc;
  border-radius: 15px;
  padding: 18px 22px;
  box-shadow: 0 1px 8px 0 rgba(23,64,123,0.06);
  margin-bottom: 0;
}
.faq-item h3 {
  font-size: 1.08rem;
  color: #17407B;
  margin-bottom: 8px;
}
.faq-item p {
  color: #264057;
  font-size: 0.99rem;
}

/*************** TEAMS ***************/
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  align-items: flex-start;
}
.team-member {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 7px 0 rgba(23,64,123,0.06);
  padding: 22px 18px;
  min-width: 170px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
}
.team-member strong {
  color: #27A89B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07em;
}

/*************** CONTACT DETAILS ***************/
.contact-details {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 1.08rem;
  color: #17407B;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

/********** BUTTONS **********/
.cta-primary {
  background: #27A89B;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  transition: background .15s, color .1s, transform .12s;
  box-shadow: 0 6px 24px 0 rgba(39,168,155,.17);
  margin-top: 20px;
  margin-bottom: 6px;
  display: inline-block;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #17407B;
  color: #fff;
  transform: scale(1.045) translateY(-2px);
}
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  background: #27A89B;
  color: #fff;
  border-radius: 8px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background .13s, transform .13s;
}
button:hover, button:focus {
  background: #17407B;
  color: #fff;
  transform: translateY(-1px);
}

/*************** FOOTER ***************/
footer {
  background: #f3f6fc;
  padding: 0;
  width: 100%;
  font-size: 0.98rem;
  color: #264057;
  border-top: 1px solid #e7eefa;
  box-shadow: 0 -1px 16px 0 rgba(23,64,123,0.065);
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 16px 28px 16px;
}
.footer-wrapper > div {
  min-width: 170px;
}
.footer-wrapper nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 0.99em;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #17407B;
}
.footer-wrapper nav a {
  color: #17407B;
  font-size: 1em;
  opacity: .88;
  transition: color .17s, opacity .17s;
}
.footer-wrapper nav a:hover { color: #27A89B; opacity: 1; }
.footer-contact {
  font-size: 1em;
  color: #264057;
  line-height: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact img {
  height: 19px;
  width: 19px;
  vertical-align: middle;
  margin-right: 5px;
}

/***** UNIQUE APPROACH / TEXT CARDS *****/
.unique-approach {
  background: #eaf6f6;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 1px 7px 0 rgba(23,64,123,0.045);
  color: #17407B;
  font-size: 1.03rem;
  margin-top: 18px;
  margin-bottom: 18px;
}

/************** Cookie Banner & Modal **************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #f9fcfe;
  color: #17407B;
  box-shadow: 0 -2px 24px 0 rgba(23,64,123,0.11);
  z-index: 99;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 22px 18px 20px 28px;
  gap: 18px;
  font-size: 1rem;
  border-radius: 28px 28px 0 0;
  animation: banner-slide-in 0.8s cubic-bezier(.74,0,.3,1);
}
@keyframes banner-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  flex: 1 1 230px;
  margin-right: 18px;
  font-size: 1.06rem;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 22px;
  padding: 10px 22px;
  font-size: 1.04rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(39,168,155,.079);
  background: #27A89B;
  color: #fff;
  cursor: pointer;
  transition: background .12s, color .09s, transform .12s;
}
.cookie-btn:hover, .cookie-btn:focus { background: #17407B; color: #fff; }
.cookie-btn.reject { background: #df465c; }
.cookie-btn.reject:hover { background: #b01c33; }
.cookie-btn.settings { background: #fff; color: #17407B; border: 1.5px solid #27A89B; }
.cookie-btn.settings:hover { background: #e2f3f1; color: #27A89B; }

/**** Cookie Modal Popup ****/
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(40,50,70, 0.24);
  z-index: 1999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.22s;
}
@keyframes fadeIn {
  from { opacity: 0; } 
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 48px 0 rgba(23,64,123,0.18);
  padding: 30px 28px 22px 28px;
  min-width: 320px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: modalIn 0.35s cubic-bezier(.74,0,.3,1);
}
@keyframes modalIn {
  from { transform: scale(0.95) translateY(56px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 17px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #27A89B;
  cursor: pointer;
  transition: color .11s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #17407B; }
.cookie-modal h3 { color: #17407B; font-size: 1.15rem; margin-bottom: 12px;}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
  font-size: 1.03rem;
}
.cookie-category input[type="checkbox"]:disabled { opacity: 0.62; }
.cookie-category label {
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  justify-content: flex-end;
}

/*********** RESPONSIVE DESIGN (mobile-first) ***********/
@media (max-width: 767px) {
  body { font-size: 15px; }
  .container { padding: 0 8px; }
  section { padding: 26px 0 0 0; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1rem; }
  .content-wrapper, .footer-wrapper { padding: 0; }
  .feature-grid { gap: 16px; flex-direction: column; }
  .testimonial-list, .testimonial-carousel, .card-container, .card-grid, .case-study-cards, .team-list { gap: 16px; flex-direction: column; }
  .card, .case-study-card, .testimonial-card, .feature-grid > div { min-width: 0; width: 100%; max-width: 100%; }
  .footer-wrapper { flex-direction: column; gap: 22px; padding: 22px 9px 19px 9px; }
  .footer-contact { gap: 5px; }
  .mobile-menu { padding: 22px 9px 12px 9px; }
  .cookie-banner { flex-direction: column; gap: 14px; padding: 15px 7px 12px 7px; font-size: 0.98rem; }
  .cookie-banner-text { margin-right: 0; }
  .cookie-modal-content { padding: 14px 9px 18px 9px; min-width: 0; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.13rem; }
  .footer-wrapper { font-size: 0.93em; }
}

/**** FLEXBOX MANDATES for supplied classes ****/
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/**** TEXT-IMAGE SECTION (responsive flex) ****/
.text-image-section {
  flex-direction: column;
}
@media (min-width: 870px) {
  .text-image-section { flex-direction: row; align-items: center; }
}

/*************** SPACING ************************/
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.8em;
}
p, ul, ol, .feature-item, .card, .footer-contact, .testimonial-card, .faq-item {
  margin-bottom: 12px;
}
section:last-child { margin-bottom: 0; }

/*************** MICRO-INTERACTIONS ***************/
a, button, .cta-primary, .cookie-btn {
  transition: background .18s, color .18s, box-shadow .15s, transform .13s;
}
.card, .testimonial-card, .case-study-card, .feature-grid > div:hover { cursor: pointer; }

/************* DREAMY TOUCH: Pastel BGs ************/
h1, h2, h3, h4, h5, h6, .cta-primary, .cookie-btn {
  letter-spacing: 0.01em;
}
.feature-grid > div, .testimonial-card, .faq-item, .unique-approach {
  background: linear-gradient(105deg, #fff, #eaf6f6 60%, #f9fafc);
}
.card, .case-study-card { background: linear-gradient(105deg, #fff, #f6f8fa 45%, #eaf6f6); }

/**** ELEVATION SHADOWS and RADIUS (soft/pastel) ****/
.card, .case-study-card, .testimonial-card, .faq-item, .feature-grid>div,
.team-member, .unique-approach {
  box-shadow: 0 1px 12px 0 rgba(39,168,155,0.07);
  border-radius: 20px;
}

/***** DREAMY FOCUS RING *****/
a:focus-visible, button:focus-visible, .cta-primary:focus-visible, .cookie-btn:focus-visible {
  outline: 2.5px solid #27A89B;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #e7f7fa;
}

/********** PSEUDO DECORATIVE & HIGHLIGHTS **********/
.cta-primary::after, .cookie-btn::after {
 content: '';
 display: none;
}

/********** PRINT **********/
@media print {
  *, *:before, *:after { box-shadow:none !important; background: none !important; color: #222 !important; }
  header, nav, footer, .mobile-menu, .cookie-banner, .cookie-modal { display:none !important; }
  section, .container, .content-wrapper { padding:0 !important; margin:0 !important; }
}
