/* RESET & NORMALIZE (Mobile First, Flex Only) */
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;
}

/* Set box-sizing for all elements */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  width: 100%;
  min-height: 100%;
  background: #F2F2F2;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F2F2F2;
  color: #233346;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

ul, ol {
  list-style: none;
}
a {
  color: #14C7A3;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #233346;
}
button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid #d1d7de;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

/* GEOMETRIC STRUCTURED ESSENCE */
:root {
  --primary: #233346;
  --secondary: #F2F2F2;
  --accent: #14C7A3;
  --surface: #fff;
  --card-radius: 16px;
  --card-shadow: 0 6px 16px rgba(35,51,70,0.08), 0 1.5px 4px rgba(35,51,70,0.06);
  --border: 2.5px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #233346;
  margin-bottom: 24px;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

p, ul li, ol li {
  font-size: 1rem;
  color: #233346;
  margin-bottom: 12px;
}
strong {
  font-weight: 600;
}

.section {
  background: var(--surface);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 22px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.text-section {
  gap: 10px;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* FLEX PATTERNS from Requirements */
.card-container, .card-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--surface);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO */
.hero {
  background: linear-gradient(115deg, #F2F2F2 84%, #14C7A3 100%);
  padding: 40px 0 40px 0;
  border-bottom: solid var(--border) #14C7A3;
  margin-bottom: 48px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  color: #233346;
  margin-bottom: 8px;
}
.hero p {
  color: #233346;
  font-size: 1.15rem;
  margin-bottom: 24px;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.85em 2.2em;
  border-radius: 32px;
  background: #14C7A3;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(20,199,163,0.08);
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.14s;
  cursor: pointer;
  letter-spacing: 0.09em;
  outline: none;
  text-transform: uppercase;
}
.btn-primary:hover, .btn-primary:focus {
  background: #233346;
  color: #14C7A3;
  box-shadow: 0 4px 18px rgba(35,51,70,0.14);
  transform: translateY(-2px) scale(1.02);
}

/* NAVIGATION */
header {
  box-shadow: 0 2px 12px rgba(35,51,70,0.04);
  background: #fff;
  border-bottom: solid 2px #f1f1f1;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 22px;
}
.logo img{
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #233346;
  position: relative;
  padding: 2px 0;
  letter-spacing: 0.05em;
  transition: color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #14C7A3;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
  font-size: 2rem;
  color: #233346;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(35,51,70,0.09);
  position: absolute;
  right: 20px;
  top: 16px;
  z-index: 101;
  transition: background 0.19s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F2F2F2;
  color: #14C7A3;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,51,70,0.98);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 2000;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #14C7A3;
  font-size: 2.2rem;
  padding: 20px 28px 6px 0;
  border: none;
  cursor: pointer;
  outline: none;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  margin-top: 32px;
  padding: 0 36px;
}
.mobile-nav a {
  color: #F2F2F2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #14C7A3;
  border-bottom: 2px solid #14C7A3;
}

/* Hide main nav and show hamburger button on mobile */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* Responsive container padding */
@media (max-width: 800px) {
  .container { padding-left: 10px; padding-right: 10px; }
}

/* SECTION/BLOCKS/LIST STYLES */
ul {
  margin-bottom: 16px;
}
ul li {
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.55;
}
ul li img {
  height: 26px;
  width: 26px;
  flex-shrink: 0;
  margin-top: 2px;
  margin-right: 6px;
}
.feature-icons {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}
.feature-icons img {
  height: 38px;
  width: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 8px rgba(20,199,163,0.10);
  padding: 4px;
  border: 1px solid #D5EDEE;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 26px;
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  border-left: 6px solid #14C7A3;
  max-width: 620px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card p {
  font-size: 1.09rem;
  color: #233346;
  margin-bottom: 10px;
}
.testimonial-card strong {
  color: #233346;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-left: 6px solid #233346;
  box-shadow: 0 6px 24px 0px rgba(20,199,163,0.20);
}

/* FOOTER */
footer {
  background: #233346;
  color: #F2F2F2;
  padding-top: 40px;
  padding-bottom: 28px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
footer .logo img {
  height: 34px;
}
.footer-nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 0;
  transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #14C7A3;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  color: #F2F2F2;
}
.contact-details img {
  height: 22px;
  width: 22px;
}
.footer-note {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #98a3b2;
}

/* COOKIE CONSENT BANNER (Mobile First) */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #F2F2F2;
  border-top: 3px solid #14C7A3;
  box-shadow: 0 -2px 16px rgba(35,51,70,0.12);
  padding: 24px 22px;
  z-index: 9900;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  font-size: 1rem;
  transition: transform 0.36s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.2s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0.4;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 28px;
  padding: 8px 24px;
  margin-right: 4px;
  transition: background 0.16s, color 0.16s;
  cursor: pointer;
}
.cookie-banner .accept {
  background: #14C7A3;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #233346;
  color: #14C7A3;
}
.cookie-banner .reject {
  background: #233346;
  color: #fff;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #fff;
  color: #233346;
  border: 1px solid #233346;
}
.cookie-banner .settings {
  background: #fff;
  color: #14C7A3;
  border: 1.5px solid #14C7A3;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #14C7A3;
  color: #fff;
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,51,70,0.55);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 22px;
  animation: fadein 0.36s cubic-bezier(.68,-0.55,.27,1.55);
}
.cookie-modal.show {
  display: flex;
  animation: fadein 0.36s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 18px;
  max-width: 430px;
  min-width: 0;
  width: 97vw;
  box-shadow: 0 2px 32px rgba(20,199,163,0.18);
  padding: 30px 28px 25px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal h2 {
  margin-top: 0;
  margin-bottom: 6px;
  color: #233346;
  text-transform: uppercase;
  font-size: 1.35rem;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #e6e9ec;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category-label {
  font-weight: 600;
  color: #233346;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #14C7A3;
}
.cookie-category .always-on {
  color: #14C7A3;
  font-size: 0.97rem;
  font-weight: 600;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  border-radius: 22px;
  padding: 8px 22px;
  background: #233346;
  color: #fff;
  border: none;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal .modal-actions .accept {
  background: #14C7A3;
  color: #fff;
}
.cookie-modal .modal-actions .accept:hover, .cookie-modal .modal-actions .accept:focus {
  background: #233346;
  color: #14C7A3;
}
.cookie-modal .modal-actions .cancel {
  background: #fff;
  color: #233346;
  border: 1.5px solid #233346;
}
.cookie-modal .modal-actions .cancel:hover, .cookie-modal .modal-actions .cancel:focus {
  background: #233346;
  color: #fff;
}

/* Responsive adjustments for modal */
@media (max-width: 480px) {
  .cookie-modal .modal-content { padding: 18px 6vw 18px 6vw; }
}

/* CARDS */
.card, .testimonial-card {
  border-radius: var(--card-radius);
  margin-bottom: 20px;
}

/* CONTACT-BRIEF SECTION */
.contact-brief {
  background: #14C7A3;
  color: #fff;
  text-align: left;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  align-items: center;
}
.contact-brief h2, .contact-brief p {
  color: #fff;
}
.contact-brief .btn-primary {
  background: #fff;
  color: #14C7A3;
  margin-top: 18px;
}
.contact-brief .btn-primary:hover, .contact-brief .btn-primary:focus {
  background: #233346;
  color: #fff;
}

/* DECORATIVE ANGULAR TREATMENT */
.section, .hero, .contact-brief, .testimonial-card, .card {
  position: relative;
  overflow: hidden;
}
.section::before, .hero::before, .contact-brief::before {
  /* Triangle angle accent */
  content: '';
  display: block;
  position: absolute;
  top: -38px; right: -42px;
  width: 92px; height: 92px;
  background: #14C7A3;
  transform: rotate(24deg);
  opacity: 0.07;
}

/* =========================================== */
/* RESPONSIVE FLEX + LAYOUT GEOMETRY           */
/* =========================================== */
@media (max-width: 900px) {
  .section, .contact-brief {
    padding: 28px 10px;
    margin-bottom: 46px;
  }
  .footer-nav { gap: 10px; }
}
@media (max-width: 768px) {
  .container { max-width: 98vw; }
  .content-wrapper, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .main-nav {
    display: none; /* Shown via mobile nav */
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 6px;
  }
  .footer-note {
    margin-bottom: 8px;
  }
  .contact-brief {
    text-align: left;
    align-items: flex-start;
    padding: 26px 8px;
  }
}
@media (max-width: 600px) {
  .section, .contact-brief {
    padding: 17px 3vw;
  }
  .hero {
    padding-top: 20px;
    padding-bottom: 18px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
}
@media (max-width: 400px) {
  .cookie-banner { font-size: 0.98rem; padding: 14px 2vw; }
  .footer-note, .footer-nav a { font-size: 0.90rem; }
}

/* GEOMETRIC BUTTON + FOCUS VISIBLE */
:focus-visible {
  outline: 2.5px solid #14C7A3;
  outline-offset: 2px;
}

/* FORM FIELDS (for contact forms) */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  font-size: 1rem;
  line-height: 1.4;
  background: #F2F2F2;
  border: 1.5px solid #14C7A3;
  border-radius: 10px;
  padding: 10px 15px;
  color: #233346;
  margin-bottom: 16px;
  transition: border 0.18s;
}
input:focus, textarea:focus {
  border: 1.5px solid #233346;
}

/* ---------------------------------------- */
/* MICRO-INTERACTIONS (TRANSITIONS)         */
/* ---------------------------------------- */
.card, .testimonial-card, .btn-primary, .cookie-banner button,
.cookie-modal .modal-actions button, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: box-shadow 0.17s, background .14s, color .13s, border 0.16s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0px rgba(35,51,70,0.19);
  transform: translateY(-2px) scale(1.012);
}

/***** GEOMETRIC ANGULAR FONTS ******/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

/* Hide unnecessary focus ring for mouse input */
:focus:not(:focus-visible) {
  outline: none;
}

/* Z-INDEX LAYERS */
header { z-index: 100; }
.mobile-menu { z-index: 2000; }
.cookie-modal { z-index: 9999; }
.cookie-banner { z-index: 9980; }

/* Ensure card/section spacing (no overlap) */
main section, .section, .card, .testimonial-card {
  margin-bottom: 20px;
}

/* -- END OF CSS -- */
