/* CSS 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
}

/* ===== Brand Variables ===== */
:root {
  --color-primary: #264653;
  --color-secondary: #2A9D8F;
  --color-accent: #F4A261;
  --color-bg: #F9FAFB;
  --color-surface: #FFFFFF;
  --color-dark: #222831;
  --color-light: #F6F5F1;
  --color-gray: #D6D9DF;
  --color-text: #264653;
  --color-muted: #64707d;
  --card-radius: 16px;
  --card-shadow: 0 2px 16px 0 rgba(38, 70, 83, 0.10);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --gap-base: 20px;
  --gap-section: 40px;
  --transition: 0.22s cubic-bezier(.45,.04,.36,1);
}

/* ===== Typography ===== */
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-bg);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  margin-bottom: 0.5em;
}
h1 {
  font-size: 2rem;
  line-height: 1.1;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.18;
}
h3 {
  font-size: 1.25rem;
}
h4 { font-size: 1.125rem; }

p, li, ul, ol {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.6;
}
b, strong {
  font-weight: 600;
  color: var(--color-dark);
}
.text-section {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ========== Layout & Containers ========== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-surface);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: var(--gap-base);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--color-surface);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  gap: 16px;
  min-width: 270px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.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: var(--color-light);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(42,157,143,0.07);
  margin-bottom: 20px;
  flex-direction: column;
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-meta {
  color: var(--color-muted);
  font-size: 1rem;
  font-weight: 500;
  margin-top: 6px;
  align-self: flex-end;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== Header & Navigation Bar ========== */
header {
  width: 100%;
  background: var(--color-surface);
  box-shadow: 0 2px 12px 0 rgba(38,70,83,0.03);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-dark);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-bottom var(--transition), color var(--transition);
}
header nav a:hover,
header nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-accent);
}
.cta-primary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--color-secondary);
  border-radius: 8px;
  padding: 12px 32px;
  margin-left: 12px;
  box-shadow: 0 2px 8px 0 rgba(42,157,143,0.14);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  outline: none;
  display: inline-block;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 22px 0 rgba(42,157,143,0.14);
}

/* ========== Main Content Layout ========== */
main {
  width: 100%;
  min-height: 60vh;
  margin: 36px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

ul, ol {
  padding-left: 1.2em;
  margin-bottom: 16px;
}
ul li, ol li {
  position: relative;
  margin-bottom: 10px;
}
ul li img, ol li img {
  width: 26px;
  height: 26px;
  vertical-align: middle;
  margin-right: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 8px #ececec42;
  background: #fff;
}

/* FAQ and FAQ link highlighting */
.section a {
  color: var(--color-secondary);
  font-weight: 600;
  border-bottom: 1.5px dashed var(--color-accent);
  transition: border-bottom var(--transition);
}
.section a:hover {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-secondary);
}

/* ========== Footer ========== */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 40px 0 32px 0;
  box-shadow: 0 -2px 12px rgba(38,70,83,0.07);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
  justify-content: space-between;
  padding: 0 20px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #fff;
  opacity: 0.92;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-bottom var(--transition), opacity var(--transition);
}
footer nav a:hover,
footer nav a:focus {
  opacity: 1;
  border-bottom: 1.5px solid var(--color-accent);
}
footer .text-section {
  font-size: 0.98rem;
  color: var(--color-light);
  margin-bottom: 0;
}
footer img {
  height: 48px;
}

/* ========== Hamburger Menu & Mobile Navigation ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  font-size: 2rem;
  border-radius: 6px;
  padding: 6px 16px;
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 201;
  border: none;
  box-shadow: 0 3px 10px rgba(42,157,143, 0.19);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.mobile-menu-toggle:active {
  background: var(--color-primary);
  transform: scale(0.94);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: var(--color-primary);
  color: #fff;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.44s cubic-bezier(.49,.46,.51,1.07);
  box-shadow: 3px 0 34px rgba(38,70,83,0.26);
  padding-top: 12px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin: 16px 30px 12px 0;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 305;
}
.mobile-menu-close:hover {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 38px 0 0 42px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.2rem;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  width: fit-content;
  transition: border-bottom var(--transition), color var(--transition), background var(--transition);
  border-radius: 5px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}

/* ========== Cookie Consent Banner & Modal ========== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 -4px 16px rgba(38, 70, 83, 0.10);
  padding: 20px 24px;
  z-index: 1001;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  animation: fadeInUp 0.35s ease;
}
@keyframes fadeInUp {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner__text {
  flex: 1 1 220px;
  font-size: 1rem;
}
.cookie-consent-banner__actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  font-family: var(--font-display);
  border-radius: 7px;
  padding: 9px 28px;
  margin: 0 0 0 2px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--color-primary);
  color: #fff;
}

/* Cookie preferences modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1200;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(38,70,83,0.47);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.22s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 96vw;
  width: 392px;
  box-shadow: 0 13px 60px rgba(42,157,143,0.24);
  padding: 36px 30px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  animation: fadeInUp 0.25s cubic-bezier(.43,0,.52,1);
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 22px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-primary);
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal-close:hover { color: var(--color-accent); }
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 550;
}
.cookie-switch {
  appearance: none;
  width: 40px;
  height: 22px;
  background: var(--color-gray);
  border-radius: 13px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.22s;
}
.cookie-switch:checked {
  background: var(--color-secondary);
}
.cookie-switch:disabled {
  background: #dadada;
  cursor: not-allowed;
}
.cookie-switch::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.22s;
  box-shadow: 0 1px 5px #2646531b;
  position: absolute;
  left: 2px; top: 2px;
}
.cookie-switch:checked::after {
  transform: translateX(18px);
}
.cookie-category .desc {
  font-size: 0.98rem;
  color: var(--color-muted);
  margin-left: 6px;
}

/* ========== Geometric Decorations ========== */
.section {
  position: relative;
  overflow: visible;
}
.section::before {
  content: "";
  display: block;
  position: absolute;
  top: -28px; right: -18px;
  width: 60px;
  height: 60px;
  background: var(--color-secondary);
  opacity: 0.10;
  border-radius: 12px 4px 20px 40px;
  transform: rotate(38deg);
  z-index: 0;
  pointer-events: none;
}
.section:last-child::before {
  display: none;
}
.card::before {
  content: "";
  position: absolute;
  bottom: 8px; left: -14px;
  width: 40px; height: 40px;
  background: var(--color-accent);
  opacity: 0.08;
  border-radius: 36% 24% 48% 19%;
  z-index: 1;
  pointer-events: none;
}

/* ========== Buttons / Inputs ========== */
button {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  padding: 10px 30px;
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(42,157,143,0.11);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
button:hover, button:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 22px 0 rgba(42,157,143,0.11);
}

/* ========== Utility Classes ========== */
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }
.text-center { text-align: center !important; }
.d-flex { display: flex !important; }
.aic { align-items: center !important; }
.jcc { justify-content: center !important; }

/* ========== Responsive Styles ========== */
@media (max-width: 1100px) {
  .container { max-width: 960px; }
  footer .container { flex-direction: column; gap: 24px; align-items: flex-start; }
}
@media (max-width: 900px) {
  .container { max-width: 96vw; }
  header .container { flex-direction: column; align-items: flex-start; gap: 8px; }
  header nav { gap: 12px; }
  footer .container { flex-direction: column; align-items: flex-start; gap: 22px; }
}
@media (max-width: 768px) {
  .section { padding: 28px 7px; margin-bottom: 38px; }
  .container { padding: 0 6px; }
  .content-wrapper { gap: 16px; }
  .card-container, .card-grid, .content-grid { gap: 14px; }
  header nav, header .cta-primary { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  .testimonial-card { padding: 16px 8px; }
  .section::before { width: 34px; height: 34px; top: -12px; right: -8px; }
}
@media (max-width: 576px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.13rem; }
  .section { padding: 16px 2px; }
  .card { min-width: unset; padding: 14px 8px; }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px;
  }
}

/****** Accessibility Contrast: Testimonials & Review *******/
.testimonial-card p, .testimonial-card .testimonial-meta {
  color: #1c252a !important;
}

/* ========== Micro-Interactions and Transitions ========== */
a, button, .card, .cta-primary, .mobile-nav a, .cookie-btn {
  transition: color var(--transition), background var(--transition), border var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(42,157,143,0.13), 0 2px 8px rgba(38,70,83,0.09);
  transform: translateY(-4px) scale(1.016);
}

/* ========== Prevent Overlapping ========== */
.card, .card-container, .section, .content-wrapper, .testimonial-card {
  margin-bottom: 20px;
}
.card-container, .content-grid, .text-image-section, .feature-item {
  gap: 20px;
}

/* ========== Hide mobile menu when not active ========== */
.mobile-menu {
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  pointer-events: auto;
  opacity: 1;
}

/* ========== Custom Scrollbar ========== */
::-webkit-scrollbar {
  width: 12px; background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gray);
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover { background: #b3b8c2; }

/* ========== End of Styles ========== */
