/* ===================
   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;
  background: #fafbfc;
  color: #2C4066;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #497853;
  outline-offset: 2px;
}
/* ================
   BRAND VARIABLES 
   ================ */
:root {
  --primary: #2C4066;
  --secondary: #E1E8F0;
  --accent: #497853;
  --bg-light: #FFFFFF;
  --bg-card: #F7F9FA;
  --heading: 'Montserrat', 'Arial Rounded MT Bold', 'Arial', sans-serif;
  --body: 'Open Sans', Arial, sans-serif;
  --font-feature: 'Caveat', 'Pacifico', cursive, sans-serif;
}

/* =====================
   CONTAINER & LAYOUTS
   ===================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 32px 8px 32px 8px;
  box-shadow: 0 5px 32px 2px rgba(44,64,102,0.09), 0 1px 3px 0 rgba(116,165,127,0.11);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 24px;
  margin-bottom: 40px;
  position: relative;
}
.text-section {
  background: var(--bg-light);
  box-shadow: none;
  border-radius: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--bg-card);
  border-radius: 24px 3px 24px 3px;
  box-shadow: 0 4px 20px 1px rgba(44,64,102,0.09), 0 1.5px 2px 0 rgba(116,165,127,0.11);
  margin-bottom: 20px;
  padding: 28px 20px 24px 20px;
  flex: 1 0 260px;
  max-width: 340px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.18s cubic-bezier(.63,-0.14,.55,1.45), box-shadow .2s;
}
.card:hover {
  transform: translateY(-7px) scale(1.03) rotate(-1deg);
  box-shadow: 0 10px 32px 0 rgba(44,64,102,0.19);
}
.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;
  margin-bottom: 20px;
  background: #fff;
  border-left: 6px solid var(--accent);
  border-radius: 0 24px 16px 6px;
  box-shadow: 0 2px 12px 0 rgba(44,64,102,0.09);
  font-size: 1.125rem;
  transition: box-shadow .18s;
  color: #222;
}
.testimonial-card p {
  color: #222;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-card > span:last-child {
  color: var(--primary);
  letter-spacing: 2px;
  font-family: var(--display), var(--body);
  font-size: 1.15em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}
.feature-item img {
  width: 32px;
  height: 32px;
}
/*==========
   HEADER
 ==========*/
header {
  background: var(--primary);
  color: #fff;
  padding: 0;
  box-shadow: 0 0 16px 0 rgba(60,80,112,0.09);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading);
  font-size: 2rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: #fff;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  color: #fff;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 6px;
  transition: background .13s, color .13s, box-shadow .1s;
  position: relative;
}
nav a:hover,
nav a:focus {
  color: var(--accent);
  background: #e1e8f046;
  box-shadow: 0 1px 8px 0 rgba(89,154,117,0.06);
}
/* ========== CTA BUTTONS ========== */
.cta {
  display: inline-block;
  font-family: var(--heading);
  font-size: 1.15rem;
  padding: 13px 34px;
  border-radius: 24px 4px 20px 4px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-left: 20px;
  box-shadow: 0 6px 22px 0 rgba(116,165,127,0.16);
  transition: transform 0.13s, background 0.13s, box-shadow .15s;
  cursor: pointer;
  position: relative;
  z-index: 3;
  text-align: center;
  text-decoration: none;
}
.cta.primary {
  background: linear-gradient(87deg, var(--primary) 60%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 8px 24px 2px rgba(44,64,102,0.16);
}
.cta:hover,
.cta:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px) scale(1.04) rotate(-2deg);
  box-shadow: 0 16px 38px 2px rgba(44,64,102,0.23);
}
/* =============
  HERO SECTION
=============== */
h1, h2, h3, h4 {
  font-family: var(--heading);
  color: var(--primary);
  text-shadow: 0 2px 12px #e1e8f0b9;
}
h1 {
  font-size: 2.8rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-family: var(--heading), var(--font-feature);
  font-weight: 800;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent);
}
h3 {
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.text-section p, .content-wrapper p, .content-wrapper ul, .content-wrapper li {
  font-family: var(--body);
  color: #263142;
  font-size: 1.14rem;
  margin-bottom: 10px;
  line-height: 1.68;
}
p {
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
}
ul img {
  width: 26px;
  height: 26px;
  vertical-align: middle;
  margin-right: 8px !important;
}
strong {
  color: var(--primary);
  font-weight: 700;
}
small {
  color: var(--accent);
  font-size: 0.98em;
  letter-spacing: 0.1em;
  margin-left: 6px;
}
.table th, table th {
  font-family: var(--heading);
  color: var(--accent);
  font-size: 1.16em;
  text-align: left;
  border-bottom: 2px solid var(--accent);
  padding: 12px 10px;
  background: var(--bg-card);
}
table {
  width: 100%;
  margin: 24px 0 12px 0;
  box-shadow: 0 2px 12px 0 rgba(44,64,102,0.05);
  border-radius: 17px;
  overflow: hidden;
}
tbody tr {
  background: #fff;
  border-bottom: 1px solid #e6ecf1;
}
td {
  padding: 14px 10px;
  font-size: 1.08em;
}
tbody tr:nth-child(even) {
  background: #f7f9fa;
}
/* ============
   FOOTER
 ============ */
footer {
  background: var(--primary);
  color: #fff;
  padding: 32px 0 16px 0;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 120px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--display);
  color: #fff;
}
footer nav a {
  color: #e1e8f0;
  font-size: 1.08em;
  font-weight: 500;
  border-radius: 5px;
  padding: 4px 0px;
  margin-bottom: 4px;
  transition: color 0.14s;
}
footer nav a:hover {
  color: var(--accent);
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 1em;
  color: #f7f9fa;
}
.footer-brand img {
  max-width: 56px;
  margin-top: 12px;
  filter: drop-shadow(0 2px 9px #74a57f84);
}
/* ===================
   RESPONSIVE DESIGN
   =================== */
@media (max-width: 1000px) {
  .container { max-width: 95vw; }
}
@media (max-width: 900px) {
  .content-grid, .footer .container {
    flex-direction: column;
    gap: 20px;
  }
  .container { max-width: 100vw; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
    min-height: 60px;
    gap: 0;
  }
  nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .content-wrapper, .section {
    padding: 25px 8px;
    border-radius: 13px;
  }
  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  h2 {
    font-size: 1.4rem;
  }
}
@media (max-width: 600px) {
  .container, .footer .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .card {
    padding: 17px 10px;
    min-width: 0;
  }
}
@media (max-width: 768px) {
  .card-container, .content-grid, .footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
/* ==========
  MOBILE MENU
 ========== */
.mobile-menu-toggle {
  display: inline-block;
  color: #fff;
  background: var(--accent);
  border-radius: 12px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background .16s, box-shadow .15s;
  box-shadow: 0 2px 10px 0 rgba(44,64,102,0.12);
  margin-left: 22px;
  border: none;
  z-index: 61;
  position: relative;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus  {
  background: var(--primary);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  z-index: 9999;
  background: linear-gradient(96deg, #497853 0%, #E1E8F0 100%);
  flex-direction: column;
  align-items: flex-start;
  padding-top: 64px;
  padding-left: 0;
  transform: translateX(100vw);
  transition: transform .43s cubic-bezier(.9,.09,.19,.92);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  font-size: 2.1rem;
  border-radius: 10px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 36px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  background: #e1e8f0d2;
  border-radius: 10px;
  padding: 18px 12px 17px 20px;
  margin-bottom: 10px;
  transition: background .12s, color .13s;
  box-shadow: 0 2px 12px 0 rgba(44,64,102,0.09);
  text-align: left;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--accent);
  color: #fff;
}
@media (min-width: 769px) {
  .mobile-menu-toggle, .mobile-menu { display: none !important; }
  nav { display: flex !important; }
  .cta.primary { display: inline-block;}
}

/* ================
   COOKIE CONSENT
   ================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #222;
  padding: 28px 19px 28px 32px;
  box-shadow: 0 -2px 18px 1px rgba(44,64,102,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  z-index: 50000;
  transition: transform .29s cubic-bezier(.72,0,.38,1.13);
  font-family: var(--body);
}
.cookie-banner.hide {
  transform: translateY(150%);
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.cookie-banner button {
  font-family: var(--heading);
  font-size: 1.09rem;
  border: none;
  padding: 12px 24px;
  border-radius: 22px 5px 17px 5px;
  margin: 0 4px;
  box-shadow: 0 2px 8px 0 rgba(44,64,102,0.09);
  cursor: pointer;
  transition: background .14s, color .14s, box-shadow .15s;
}
.cookie-banner .accept {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: var(--primary);
}
.cookie-banner .reject {
  background: #e1e8f0;
  color: var(--primary);
  font-weight: 600;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #dde9ed;
}
.cookie-banner .settings {
  background: transparent;
  color: var(--accent);
  font-weight: 600;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  color: var(--primary);
  text-decoration: underline;
}
@media (max-width: 900px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 25px 7px 25px 15px;
    font-size: 1em;
  }
}

/* ================
   COOKIE MODAL
   ================ */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,64,102,0.31);
  align-items: center;
  justify-content: center;
  z-index: 51000;
  transition: background .18s;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 36px 27px 28px 27px;
  min-width: 310px;
  max-width: 95vw;
  box-shadow: 0 8px 28px 2px rgba(44,64,102,0.17);
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;

}
.cookie-modal-content h2 {
  font-size: 1.35rem;
  font-family: var(--heading);
  margin-bottom: 7px;
  color: var(--accent);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 14px 0 17px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.08em;
}
.cookie-category input[type=checkbox][disabled] {
  accent-color: var(--primary);
}
.cookie-category label {
  font-weight: 500;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal-actions button {
  font-family: var(--heading);
  font-size: 1em;
  padding: 11px 21px;
  border-radius: 17px 4px 13px 4px;
  border: none;
  margin: 0 5px;
  cursor: pointer;
  background: var(--secondary);
  color: var(--primary);
  transition: background .12s, color .12s;
}
.cookie-modal-actions .accept {
  background: var(--accent);
  color: #fff;
}
.cookie-modal-actions .accept:hover {
  background: var(--primary);
}
.cookie-modal-actions .close {
  background: transparent;
  color: var(--accent);
  font-weight: 600;
}
.cookie-modal-actions .close:hover,
.cookie-modal-actions .close:focus {
  color: var(--primary);
  text-decoration: underline;
}
@media (max-width: 600px) {
  .cookie-modal-content {
    padding: 18px 8px 16px 8px;
    min-width: 80vw;
  }
}

/* ============
Typography Extras (Artistic)
============= */
h1, h2, .cta, .mobile-nav a, .logo {
  font-family: var(--heading), var(--font-feature), var(--body);
  letter-spacing: 1.5px;
}
h1::after, h2::after {
  content: '';
  display: block;
  margin-top: 7px;
  width: 55px;
  height: 6px;
  border-radius: 14px 8px 8px 24px;
  background: var(--accent);
  opacity: 0.22;
}
@media (max-width: 600px) {
  h1::after, h2::after { width: 38px; height: 4px; }
}

.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;
}

/* === Misc Extra Details for Artistic Touches === */
.cta.primary {
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.cta.primary::before {
  content: '';
  position: absolute;
  left: -18px; top: -18px; right: -18px; bottom: -18px;
  border: 3.5px dashed #e1e8f050;
  border-radius: 37px 8px 27px 8px;
  pointer-events: none;
  z-index: 1;
}
.cta { position: relative; }
.cta::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 4px; left: 12px;
  width: 24px;
  height: 7px;
  border-radius: 99px;
  background: #74A57F44;
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
  transform: rotate(-7deg);
}

/* ===== Scrollbar Styling for Artistic Look ===== */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) #e1e8f0;
}
::-webkit-scrollbar {
    width: 10px;
    background: #e1e8f0;
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 8px;
    border: 3px solid #e1e8f0;
}
/* ===========
   FORMS
 =========== */
input, textarea, select {
  border: 2px solid var(--secondary);
  border-radius: 9px;
  padding: 10px 14px;
  font-family: var(--body);
  font-size: 1rem;
  background: #f8fafc;
  transition: border .14s, background .14s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--accent);
  background: #fff;
}
/* ===========
   CONTACT BOX
 =========== */
.contact-box {
  display: flex;
  flex-direction: column;
  gap: 13px;
  background: #f8fafc;
  border-radius: 12px 24px 8px 22px;
  padding: 17px 28px;
  margin-bottom: 16px;
  box-shadow: 0 2px 9px 0px #c9dad2a1;
  border-left: 6px solid var(--accent);
}
.contact-box a { color: var(--primary); }
.contact-box strong { color: var(--accent); }

/* == Table Artistic Borders == */
table, .table {
  border-radius: 19px;
  overflow: hidden;
  border: 2.5px solid #e1e8f0;
}

/* ===============
   MICRO EFFECTS
 =============== */
a, .cta, button, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal-actions button {
  transition: color .12s, background .12s, box-shadow .13s, transform .11s;
}

/* =======
   MISC
 ======= */
::-moz-selection, ::selection {
  background: var(--accent);
  color: #fff;
}

/*  === END CSS ===  */
