/* -------------------------------------
   CSS RESET & BASELINE NORMALIZATION
   ------------------------------------- */
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,
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #F5F5F7;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #134265;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  transition: background 0.2s, color 0.2s;
}
:focus {
  outline: 2px solid #FDA62B;
  outline-offset: 2px;
}

/* -------------------------------------
   BRAND VARIABLES (fallbacks for safety)
   ------------------------------------- */
:root {
  --color-primary: #134265;
  --color-secondary: #F5F5F7;
  --color-accent: #FDA62B;
  --color-text: #134265;
  --color-bg-light: #FFFFFF;
  --color-bg-alt: #F5F5F7;
  --color-shadow: rgba(19,66,101,0.08);
  --border-radius: 18px;
  --transition: all 0.25s cubic-bezier(.37,.18,.61,1.52);
  --font-heading: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* -------------------------------------
   LAYOUT CONTAINERS
   ------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-alt);
  border-radius: var(--border-radius);
}

/* -------------------------------------
   TYPOGRAPHY
   ------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.1;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, li, dd {
  font-size: 1rem;
  color: var(--color-text);
}
p {
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}
blockquote {
  font-style: italic;
  color: #222e3a;
  margin: 0 0 10px 0;
  background: #F5F5F7;
  padding: 18px 28px;
  border-left: 5px solid var(--color-accent);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}
table {
  width: 100%;
  background: #fff;
  border-collapse: collapse;
  border-radius: 12px;
  box-shadow: 0 2px 14px var(--color-shadow);
  overflow: hidden;
}
th, td {
  padding: 18px 12px;
  text-align: left;
  border-bottom: 1px solid #e6eaf2;
  font-size: 1rem;
  color: #233d56;
}
th {
  background: #efefef;
  color: #134265;
}
tr:last-child td {
  border-bottom: none;
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1rem;
  }
  th, td {
    padding: 10px 6px;
    font-size: 0.95rem;
  }
}

/* -------------------------------------
   NAVIGATION AND HEADER
   ------------------------------------- */
header {
  width: 100%;
  background: linear-gradient(90deg,#F5F5F7 75%,#FFF7E4 100%);
  box-shadow: 0 4px 26px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 60;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 14px 0;
  justify-content: flex-start;
}
header nav a {
  color: var(--color-primary);
  font-weight: 500;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: #e6eaf2;
  color: var(--color-accent);
}

.cta-button {
  background: linear-gradient(90deg, var(--color-accent) 72%, #FFD67C 100%);
  color: #134265 !important;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 10px 22px;
  margin-left: 8px;
  transition: var(--transition);
  border: none;
  letter-spacing: 0.01em;
  display: inline-block;
}
.cta-button:hover,
.cta-button:focus {
  background: linear-gradient(90deg, #FFD67C 60%, var(--color-accent) 100%);
  color: #134265;
  box-shadow: 0 6px 18px var(--color-shadow);
  transform: translateY(-2px) scale(1.03);
}

header img {
  height: 44px;
  width: auto;
  margin-right: 22px;
}

/* Hide nav on mobile, show burger */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: #134265;
  padding: 8px 14px;
  border-radius: 7px;
  font-size: 1.7rem;
  line-height: 1.2;
  margin-left: auto;
  z-index: 152;
  transition: var(--transition);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #FFD67C;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(19, 66, 101, 0.97);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px 24px 28px;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.42,0,0.58,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: #fff;
  background: none;
  margin-bottom: 32px;
  border-radius: 7px;
  padding: 0 8px;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #FDA62B;
  color: #134265;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  padding: 12px 0;
  border-radius: 5px;
  transition: background 0.13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #f5f5f7;
  color: var(--color-primary);
}

/* Only show burger on mobile */
@media (max-width: 980px) {
  .mobile-menu-toggle {
    display: block;
  }
  header nav {
    display: none;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* -------------------------------------
   HERO SECTION (Gradient Modern)
   ------------------------------------- */
.hero {
  background: linear-gradient(100deg, #F5F5F7 65%, #FFD67C 120%);
  min-height: 340px;
  padding: 60px 0 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  background: rgba(255,255,255,0.92);
  padding: 40px 32px;
  border-radius: 18px;
  box-shadow: 0 8px 38px var(--color-shadow);
  max-width: 660px;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.2rem;
  margin-bottom: 6px;
}
.hero p {
  font-size: 1.15rem;
  color: #27425c;
  margin-bottom: 18px;
}

/* -------------------------------------
   FLEXBOX CARD & CONTENT LAYOUTS
   ------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 26px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  background: #fff;
  color: #222e3a;
  box-shadow: 0 2px 14px var(--color-shadow);
  border-radius: 13px;
  margin-bottom: 14px;
  padding: 20px;
  min-width: 0;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px var(--color-shadow);
  transform: translateY(-3px) scale(1.016);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.service-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 28px 22px;
  flex: 1 1 320px;
  max-width: 360px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
  transition: box-shadow 0.22s, transform 0.18s;
}
.service-card:hover {
  box-shadow: 0 12px 38px var(--color-shadow);
  transform: translateY(-4px) scale(1.03);
}

@media (max-width: 1024px) {
  .service-cards {
    flex-direction: column;
    gap: 20px;
  }
  .service-card {
    max-width: 100%;
    min-width: 0;
  }
}

/* -------------------------------------
   LISTS AND ICONS
   ------------------------------------- */
ul li, ol li {
  padding-left: 36px;
  position: relative;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #233d56;
  font-family: var(--font-body);
  min-height: 32px;
  display: flex;
  align-items: center;
}
ul li img {
  position: absolute;
  left: 0;
  width: 26px;
  height: 26px;
  object-fit: contain;
  margin-right: 8px;
  display: inline-block;
}

@media (max-width: 600px) {
  ul li {
    font-size: 0.98rem;
    padding-left: 32px;
  }
  ul li img {
    width: 20px;
    height: 20px;
  }
}

ol {
  list-style: decimal inside;
}
dt {
  font-weight: bold;
  color: #214366;
  margin-top: 12px;
}
dd {
  margin-bottom: 10px;
  margin-left: 10px;
}

/* -------------------------------------
   FOOTER
   ------------------------------------- */
footer {
  background: linear-gradient(90deg, #F5F5F7 70%, #FFD67C 100%);
  width: 100%;
  padding: 0 0 16px 0;
  margin-top: 42px;
  box-shadow: 0 -3px 12px var(--color-shadow);
}
footer .container {
  padding: 0 16px;
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px 0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
footer nav a {
  color: #214366;
  font-size: 1rem;
  font-family: var(--font-body);
  opacity: 0.93;
}
footer nav a:hover,
footer nav a:focus {
  color: var(--color-accent);
}
footer img {
  height: 50px;
  width: auto;
  margin-right: 16px;
  margin-bottom: 10px;
}
footer .company-details {
  color: #546F95;
  font-size: 0.95rem;
  font-family: var(--font-body);
  opacity: 0.95;
}

@media (max-width: 880px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* -------------------------------------
   PRICING TABLES
   ------------------------------------- */
.pricing-table {
  margin: 14px 0 30px 0;
  border-radius: 12px;
  box-shadow: 0 1px 10px var(--color-shadow);
  background: #fff;
}
.pricing-table th, .pricing-table td {
  padding: 14px 12px;
}

@media (max-width: 600px) {
  .pricing-table th, .pricing-table td {
    padding: 9px 5px;
    font-size: 0.92rem;
  }
}

/* -------------------------------------
   RESPONSIVE FLEX DIRECTION & GAPS
   ------------------------------------- */
@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .service-cards,
  .footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .hero .content-wrapper {
    padding: 30px 8px;
  }
  .section {
    padding: 28px 7px;
  }
}

@media (max-width: 430px) {
  .hero .content-wrapper {
    padding: 14px 2vw;
  }
}

/* -------------------------------------
   BUTTONS & INTERACTIVE ELEMENTS
   ------------------------------------- */
button, .cta-button {
  transition: var(--transition);
}
button:active, .cta-button:active {
  filter: brightness(0.97);
  transform: scale(0.99);
}

/* -------------------------------------
   COOKIE CONSENT BANNER
   ------------------------------------- */
.cookie-banner-wrapper {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg,#F5F5F7 75%,#FFD67C 100%);
  box-shadow: 0 -2px 33px var(--color-shadow);
  z-index: 2500;
  display: flex;
  justify-content: center;
  transition: transform 0.38s cubic-bezier(0.37,0.21,0.6,1.09) 0s, opacity 0.35s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-wrapper.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner {
  max-width: 740px;
  width: 100%;
  padding: 32px 24px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: flex-start;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #1a3550;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-banner button {
  padding: 9px 18px;
  border-radius: 7px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  background: #fff;
  color: #134265;
  border: 1px solid #e6eaf2;
  box-shadow: 0 1px 6px var(--color-shadow);
  transition: var(--transition);
  margin-bottom: 8px;
}
.cookie-banner .accept {
  background: linear-gradient(90deg, var(--color-accent) 75%, #FFD67C 100%);
  color: #134265;
  border: none;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: linear-gradient(90deg, #FFD67C 50%, var(--color-accent) 100%);
}
.cookie-banner .reject {
  background: #fff;
  color: #B33;
  border: 1px solid var(--color-accent);
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #FFD67C;
  color: #134265;
}
.cookie-banner .settings {
  background: #F5F5F7;
  color: #134265;
  border: 1px solid #c7c7c7;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #FFD67C;
}
@media (max-width: 700px) {
  .cookie-banner {
    padding: 18px 5vw 8px 5vw;
    font-size: 0.97rem;
    gap: 12px;
  }
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  left:0;top:0;right:0;bottom:0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,42,65,.55);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 44px rgba(19,66,101,0.15);
  max-width: 430px;
  width: 98vw;
  padding: 38px 28px 23px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;

  font-family: var(--font-body);
  position: relative;
  transform: translateY(40px);
  opacity: 0;
  transition: opacity 0.23s, transform 0.23s;
}
.cookie-modal-overlay.show .cookie-modal {
  opacity: 1;
  transform: translateY(0);
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  font-size: 1.6rem;
  color: #FDA62B;
  border: none;
}
.cookie-modal-close:hover {
  color: #134265;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}
.cookie-preference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1rem;
  padding: 8px 0;
}
.cookie-switch {
  width: 46px;
  height: 26px;
  background: #e9eef7;
  border-radius: 26px;
  position: relative;
  margin-left: 10px;
  display: inline-block;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-switch input {
  display: none;
}
.cookie-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  background: var(--color-accent);
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  left: 22px;
  background: #134265;
}
.cookie-category-desc {
  color: #848EA2;
  font-size: 0.95rem;
  margin-bottom: 9px;
}
.cookie-modal .save-cookies {
  margin-top: 15px;
  background: linear-gradient(90deg, var(--color-accent) 75%, #FFD67C 100%);
  color: #134265;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 1px 8px var(--color-shadow);
  align-self: flex-end;
}
.cookie-modal .save-cookies:hover {
  background: linear-gradient(90deg, #FFD67C 60%, var(--color-accent) 100%);
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 20px 6vw;
    font-size: 0.95rem;
  }
}

/* --------------
  EXTRA: UTILS
  -------------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mb-2 { margin-bottom: 2px !important; }
.mt-8 { margin-top: 8px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }

/* --------------
  FORMS, INPUTS
  -------------- */
input, select, textarea {
  border-radius: 6px;
  border: 1px solid #e6eaf2;
  padding: 11px 13px;
  font-size: 1rem;
  outline: transparent;
  background: #F5F5F7;
  font-family: var(--font-body);
  color: #134265;
  margin-bottom: 8px;
  transition: border-color 0.22s, background 0.12s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--color-accent);
  background: #fff7e4;
}
label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #21384d;
  margin-bottom: 4px;
  display: block;
}

/* --------------
  MICROINTERACTIONS
  -------------- */
a, button, .cta-button {
  transition: color 0.25s, background 0.25s, box-shadow 0.22s, transform 0.18s;
}

/* --------------
  SCROLLBAR (modern look)
  -------------- */
::-webkit-scrollbar {
  width: 8px;
  background: #F5F5F7;
}
::-webkit-scrollbar-thumb {
  background: #e6eaf2;
  border-radius: 8px;
}

/* --------------
  VISUAL HIERARCHY
  -------------- */
@media (min-width: 1100px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.6rem; }
}

/* --------------
  GENERAL SPACING & BREATHING ROOM
  -------------- */
section:not(.hero) {
  margin-top: 34px;
}
.container {
  margin-bottom: 0;
}

/* --------------
  DARK MODE PREP (for future)  
  -------------- */
/*
@media (prefers-color-scheme: dark) {
}
*/

/* ------------------------------------
 FINISH: NO GRID, NO ABSOLUTE (content)
 ------------------------------------- */