/* 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
  height: 100%;
}
* {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F3F6F2;
  color: #163853;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #30B1AB;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #163853;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #163853;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-transform: none;
}
h1 {
  font-size: 2.25rem;  /* 36px */
  line-height: 1.2;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 12px;
}

@media (min-width: 769px) {
  h1 { font-size: 3rem; }  /* 48px */
  h2 { font-size: 2rem; }  /* 32px */
  h3 { font-size: 1.5rem; }
}

.text-section h1,
.text-section h2,
.text-section h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}

/* UTILITY */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  margin-bottom: 32px;
}

@media (min-width: 769px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

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

@media (min-width: 769px) {
  .section {
    padding: 60px 0px;
    margin-bottom: 80px;
  }
}

/* GEOMETRIC STRUCTURED STYLE */
body {
  letter-spacing: 0.01em;
  background-color: #F3F6F2;
}

h1, h2, h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.05em;
}

h1 {
  border-left: 8px solid #30B1AB;
  padding-left: 18px;
}

h2 {
  border-left: 6px solid #30B1AB;
  padding-left: 12px;
}

h3 {
  border-left: 4px solid #30B1AB;
  padding-left: 8px;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #30B1AB;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(22,56,83,0.08);
  cursor: pointer;
  transition: background 0.16s, color 0.16s, transform 0.17s;
  margin-top: 12px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #163853;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
}

/* HEADER STRUCTURE & MAIN NAVIGATION */
header {
  width: 100%;
  background: #fff;
  border-bottom: 2px solid #E7ECEB;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px 0 rgba(22,56,83,0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

header img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #163853;
  padding: 7px 12px 5px 12px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #30B1AB;
  color: #fff;
}

header .btn-primary {
  margin: 0 10px;
  padding: 10px 24px;
  font-size: 0.98rem;
  box-shadow: none;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: inline-flex;
  background: none;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  color: #163853;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.16s;
  z-index: 2002;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E0EEEB;
  color: #30B1AB;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  height: 100vh;
  width: 100vw;
  background: #163853;
  z-index: 2001;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform 0.5s cubic-bezier(.77,0,.18,1);
  transform: translateX(-100%);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: slidein-menu 0.35s cubic-bezier(.77,0,.18,1);
}
@keyframes slidein-menu {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  padding: 6px 12px 8px 12px;
  transition: background 0.17s;
  z-index: 2100;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #30B1AB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  width: 100%;
  gap: 16px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F3F6F2;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 0 10px 8px;
  border-left: 4px solid transparent;
  border-radius: 0 8px 8px 0;
  transition: background 0.16s, border-color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #30B1AB;
  border-left: 4px solid #fff;
  color: #fff;
}

@media (max-width: 1020px) {
  .main-nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
  .main-nav, header .btn-primary {
    display: flex;
  }
}

/* MAIN SECTION LAYOUTS */
main {
  padding-bottom: 54px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

@media (min-width: 769px) {
  .content-wrapper {
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .text-section {
    flex-direction: column;
    gap: 16px;
    max-width: 850px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 28px 0 rgba(36, 66, 107, 0.13);
  padding: 28px 24px;
  min-width: 260px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 34px 0 rgba(48, 177, 171, 0.10);
  transform: translateY(-2px) scale(1.01);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* ICON STYLING */
ul li > img, .contact-short-info img {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px 0 rgba(22,56,83,0.07);
}

/* LISTS */
ul, ol {
  margin-left: 0;
  margin-bottom: 24px;
  padding-left: 0;
}
ul li, ol li {
  padding-left: 36px;
  position: relative;
  margin-bottom: 10px;
  color: #163853;
  font-size: 1rem;
}
ul li::before {
  content: '';
  display: block;
  position: absolute;
  left: 10px; top: 13px;
  width: 12px; height: 12px;
  background: #30B1AB;
  border-radius: 3px;
  transform: rotate(13deg);
}

ol li {
  counter-increment: item;
}
ol li::before {
  content: counter(item) ". ";
  position: absolute;
  left: 10px;
  color: #30B1AB;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  top: 0;
}

/* SECTION and CARD PATTERNS (required) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 2px 18px 0 rgba(22,56,83,0.05);
}
.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;
  background: #F3F6F2;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(22,56,83,0.07);
  margin-bottom: 24px;
  border-left: 6px solid #30B1AB;
  max-width: 700px;
  flex-direction: column;
}
.testimonial-card p {
  color: #163853;
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #163853;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(22,56,83,0.04);
  padding: 18px 22px;
}

/* TEAM MEMBER PROFILE */
.team-member-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1.5px solid #30B1AB;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(23,64,100,0.07);
  padding: 20px 28px;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 420px;
}
.team-member-profile h3 {
  margin-bottom: 10px;
  border-left: 4px solid #163853;
  padding-left: 8px;
  color: #30B1AB;
}
.team-member-profile p {
  font-size: 1rem;
  color: #163853;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 200px;
  max-width: 360px;
}
.contact-details p,
.address-information p {
  margin-bottom: 8px;
  font-size: 1rem;
}
.address-information {
  flex: 1 1 200px;
}

/* FOOTER */
footer {
  background: #163853;
  color: #F3F6F2;
  padding: 42px 0 24px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-menu a {
  color: #30B1AB;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  border-left: 3px solid #30B1AB;
  padding-left: 9px;
  transition: color 0.16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
}
.footer-brand-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.footer-brand-info img {
  height: 38px;
  margin-bottom: 8px;
}
.contact-short-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.98rem;
}
.contact-short-info span {
  display: flex;
  align-items: center;
  color: #F3F6F2;
  gap: 7px;
}
.social-media-links {
  display: flex;
  gap: 18px;
}
.social-media-links a img {
  width: 26px;
  height: 26px;
  filter: grayscale(0);
  transition: filter 0.16s;
}
.social-media-links a:hover img {
  filter: brightness(1.8) contrast(1.6);
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
  }
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
  html { font-size: 100%; }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.07rem; }
  .section { padding: 26px 6px; margin-bottom: 38px; }
  .card, .feature-item, .team-member-profile { min-width: unset; max-width: 100%; padding: 16px 12px; }
  .footer-brand-info img { height: 28px; }
}

/* MICRO INTERACTIONS + SHADOWS */
.card, .feature-item, .section, .team-member-profile, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover, .feature-item:hover, .section:hover, .team-member-profile:hover {
  box-shadow: 0 8px 32px 0 rgba(48,177,171,0.14);
  transform: translateY(-2px) scale(1.01);
}

/* CODE FOR COOKIE BANNER & SETTINGS MODAL */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #163853;
  color: #F3F6F2;
  padding: 20px 32px;
  width: 100vw;
  z-index: 4000;
  box-shadow: 0 -6px 24px 0 rgba(36, 66, 107, 0.16);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  gap: 18px;
  animation: cookieBannerSlideUp 0.34s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieBannerSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner__text {
  flex: 1 1 220px;
  margin-right: 24px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 22px;
  margin: 0;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.12s;
}
.cookie-btn.accept {
  background: #30B1AB;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #25a29d;
  color: #fff;
}
.cookie-btn.reject {
  background: #E84D4A;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #cb3c39;
}
.cookie-btn.settings {
  background: #F3F6F2;
  color: #163853;
  border: 1.5px solid #30B1AB;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #30B1AB;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 4100;
  top: 0; left: 0; right: 0; bottom: 0;
  height: 100vh; width: 100vw;
  background: rgba(22,56,83,0.74);
  align-items: center;
  justify-content: center;
  animation: fadeInModal .26s;
}
.cookie-modal-overlay.show {
  display: flex;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #163853;
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 rgba(22,56,83,0.19);
  padding: 38px 38px;
  min-width: 340px;
  max-width: 94vw;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popupScale .33s;
}
@keyframes popupScale {
  from { transform: scale(0.94); opacity: 0.5; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.38rem;
  color: #30B1AB;
  border-left: 5px solid #30B1AB;
  padding-left: 12px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #163853;
}
.cookie-category input[type="checkbox"] {
  accent-color: #30B1AB;
  width: 21px; height: 21px;
  border-radius: 5px;
  margin-right: 6px;
}
.cookie-category .always-on {
  font-size: 1rem;
  color: #30B1AB;
  margin-left: 10px;
}
.cookie-modal .cookie-btn {
  min-width: 110px;
  font-size: 1.01rem;
}
.cookie-modal-close-btn {
  position: absolute;
  top: 10px; right: 10px;
  background: none;
  border: none;
  font-size: 1.64rem;
  color: #30B1AB;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.13s;
  padding: 4px 12px 4px 12px;
}
.cookie-modal-close-btn:hover, .cookie-modal-close-btn:focus {
  background: #163853;
  color: #fff;
}
@media (max-width: 550px) {
  .cookie-modal {
    padding: 22px 11px;
    min-width: 90vw;
  }
}

/* GEOMETRIC/STRUCTURED SPACING GAPS */
.section > .container,
.section > div,
.card-container,
.content-grid,
.text-image-section,
.content-wrapper {
  gap: 20px;
}

.section + .section {
  margin-top: 32px;
}

/* MINIMUM SPACING RULES */
.section,
.card, .feature-item, .testimonial-card, .team-member-profile, .footer-brand-info, .content-wrapper, .contact-short-info {
  margin-bottom: 20px;
}
/* Prevent overlapping and stacking issues */
.section, .card, .feature-item, .testimonial-card, .team-member-profile {
  z-index: 1;
}

/* Z-INDEX LAYERS */
header { z-index: 1000; }
.mobile-menu { z-index: 2001; }
.cookie-banner { z-index: 4000; }
.cookie-modal-overlay { z-index: 4100; }

/* FORM & INTERACTIVE INPUTS (if any forms added) */
input, textarea, select {
  border: 1.5px solid #30B1AB;
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  width: 100%;
  margin-bottom: 16px;
  outline: none;
  transition: border 0.16s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #163853;
  box-shadow: 0 0 0 1.5px #30B1AB;
}

/* ENSURE DARK TEXT ON LIGHT BG IN TESTIMONIALS (accessibility) */
.testimonial-card {
  background: #F3F6F2;
  color: #163853;
  border-left: 6px solid #30B1AB;
  box-shadow: 0 2px 19px 0 rgba(22,56,83,0.14);
}

/* HIDE Cookie Banner and Modal by default (add .show to display via JS) */
.cookie-banner, .cookie-modal-overlay { display: none; }
.cookie-banner.show { display: flex; }
.cookie-modal-overlay.show { display: flex; }

/* MISC */
hr {
  border: 0; border-top: 1.5px solid #30B1AB; margin: 32px 0;
}

::-webkit-scrollbar {
  width: 10px;
  background: #E7ECEB;
}
::-webkit-scrollbar-thumb {
  background: #30B1AB;
  border-radius: 8px;
}

/* END OF CSS */
