/* =======================
   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;
  color: #263047;
  background: #EEF2F7;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 1em; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 10px; }

/* =======================
   BRAND & ARTISTIC COLOR PALETTE
   ======================= */
:root {
  --pri: #134574;
  --pri-dark: #10345a;
  --sec: #EEF2F7;
  --accent: #FCAC0A;
  --accent-dark: #e29407;
  --bg: #f5f6fb;
  --card: #fff;
  --txt: #263047;
  --txt-invert: #fff;
  --shadow: rgba(19,69,116,0.07);
}

/* =======================
   FONTS
   ======================= */
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  color: var(--pri);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; }
p, li, td, th {
  font-size: 1rem;
}
strong {
  color: var(--accent);
  font-weight: 700;
  font-family: 'Roboto Slab', serif;
}

/* =======================
   GENERAL LAYOUT
   ======================= */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg);
  border-radius: 36px;
  box-shadow: 0 2px 16px 0 var(--shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card);
  border-radius: 22px;
  box-shadow: 0 4px 18px 0 var(--shadow);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  min-width: 260px;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(252,172,10,0.22);
  transform: translateY(-3px) scale(1.025);
  z-index: 1;
}
.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: #fff;
  border-left: 6px solid var(--accent);
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 var(--shadow);
  color: #222;
}
.testimonial-card p {
  flex: 1;
  font-style: italic;
  color: #222;
  font-size: 1.06rem;
}
.testimonial-card span {
  color: var(--pri);
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =======================
   HERO SECTION
   ======================= */
.hero {
  background: linear-gradient(120deg, #EEF2F7 55%, #fdf6e7 100%);
  padding: 68px 0 56px 0;
  border-radius: 0 0 44px 44px;
  box-shadow: 0 6px 36px 0 var(--shadow);
  margin-bottom: 40px;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 18px;
  color: var(--pri);
  text-shadow: 2px 4px 8px rgba(19,69,116,.06);
}
.hero p {
  font-size: 1.25rem;
  color: #445066;
  margin-bottom: 26px;
}

/* =======================
   NAVIGATION/BURGER MENU
   ======================= */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 var(--shadow);
  border-radius: 0 0 30px 30px;
  padding: 0 0 0 0;
  position:sticky; top:0; z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 34px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
header nav a {
  padding: 7px 18px;
  border-radius: 18px;
  color: var(--pri);
  font-family: 'Roboto Slab', serif;
  font-size: 1.05rem;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: var(--accent);
  color: var(--txt-invert);
}
.button-primary {
  background: var(--accent);
  color: var(--pri);
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  border:none;
  padding: 12px 30px;
  border-radius: 99px;
  box-shadow: 0 2px 8px 0 var(--shadow);
  font-size: 1.04rem;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
  cursor: pointer;
  letter-spacing: 0.02em;
  margin-left: 18px;
  outline: none;
  display: inline-block;
}
.button-primary:hover,
.button-primary:focus {
  background: var(--pri);
  color: var(--txt-invert);
  box-shadow: 0 4px 18px 0 rgba(252,172,10,0.24);
  transform: translateY(-2px) scale(1.03);
}
.button-secondary {
  background: var(--pri);
  color: var(--txt-invert);
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  border:none;
  padding: 11px 26px;
  border-radius: 60px;
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
  box-shadow: 0 2px 12px 0 var(--shadow);
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.button-secondary:hover,
.button-secondary:focus {
  background: var(--accent);
  color: var(--pri);
  box-shadow: 0 3px 14px 0 rgba(19,69,116,0.20);
  transform: scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--pri);
  cursor: pointer;
  margin-left: 20px;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background:rgba(19,69,116, 0.97);
  transition: transform 0.33s cubic-bezier(.72,2.06,.24,1), opacity 0.2s;
  transform: translateX(-120%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events:none;
}
.mobile-menu.menu-open {
  transform: translateX(0%);
  opacity:1;
  pointer-events:auto;
}
.mobile-menu-close {
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  font-size: 2.1rem;
  width: 46px;
  height: 46px;
  align-self: flex-end;
  margin: 18px 22px 12px 0;
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--pri);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  margin-top: 34px;
}
.mobile-nav a {
  color: #fff;
  background: none;
  font-family: 'Roboto Slab', serif;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 12px 34px;
  border-radius: 27px;
  transition: background 0.16s, color 0.16s;
  outline: none;
  min-width: 180px;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--pri-dark);
}

@media (max-width: 1080px) {
  .container { max-width: 99vw; }
}
@media (max-width: 920px) {
  header nav { gap: 8px; }
  .container { padding: 0 7vw; }
}
@media (max-width: 850px) {
  header .container { gap:13px; }
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* =======================
   MAIN CONTENT
   ======================= */
section {
  background: none;
  margin-bottom: 60px;
  padding: 40px 0px;
}
section > .container {
  padding: 0;
}
ul li, ol li {
  padding-left: 0;
  position: relative;
  margin-bottom: 18px;
  color: #263047;
  font-size: 1.07rem;
  line-height: 1.7;
  display: flex;
  align-items: center;
}
ul li img {
  width: 30px;
  height: 30px;
  margin-right: 14px;
}
ul li strong {
  color: var(--accent);
  margin-right: 4px;
  font-weight: 600;
}
ol li {
  margin-bottom: 12px;
}
table {
  margin: 20px 0 18px 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px 0 var(--shadow);
}
th {
  background: var(--pri);
  color: #fff;
  font-family: 'Roboto Slab', serif;
  font-size: 1.02rem;
  font-weight: 700;
}
td {
  border-bottom:1px solid #e5e9f0;
}
tr:last-child td {
  border-bottom: none;
}

/* =======================
   FOOTER
   ======================= */
footer {
  background: var(--pri);
  color: #fff;
  padding: 36px 0 12px 0;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -3px 24px 0 var(--shadow);
  margin-top: 70px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer img {
  height: 38px;
  width: auto;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
footer nav a {
  color: var(--accent);
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  font-size: 1.08rem;
  border-radius: 8px;
  padding: 3px 12px;
  transition: background 0.17s, color 0.17s;
}
footer nav a:hover,
footer nav a:focus {
  background: #fff;
  color: var(--pri-dark);
}
footer div p {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #e3e8f0;
  font-size: 0.98rem;
  margin-bottom:6px;
}

@media (max-width: 900px) {
  .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  footer .content-wrapper { gap: 22px; align-items: flex-start; }
}
@media (max-width: 500px) {
  .container, section > .container {
    padding: 0 6vw;
  }
  .hero {
    padding: 36px 0 33px 0;
    border-radius: 0 0 20px 20px;
  }
  .section { padding: 24px 9px; margin-bottom: 34px; }
}

/* =======================
   RESPONSIVE FLEXBOX ADJUSTMENTS
   ======================= */
@media (max-width: 768px) {
  .content-wrapper, .content-grid, .card-container, .text-image-section, .feature-item, .footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card { flex-direction: column; gap: 12px; }
}

.text-image-section {
  transition: flex-direction 0.2s;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* =======================
   GENERAL INTERACTIVITY & ANIMATION
   ======================= */
a, .button-primary, .button-secondary, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.19s, color 0.19s, box-shadow 0.14s, transform 0.11s;
}

/* Subtle float/animation for creative flair, e.g. cards on hover */
@media (hover: hover) {
  .card:hover, .testimonial-card:hover {
    transform: translateY(-6px) scale(1.035) rotate(-1deg);
    box-shadow: 0 10px 22px 0 rgba(252,172,10,0.16);
  }
}

/* =======================
   COOKIE CONSENT BANNER
   ======================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 14500;
  background: #fffbe6;
  border-top: 3px solid var(--accent);
  box-shadow: 0 -2px 18px rgba(19,69,116,.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 6vw 18px 6vw;
  font-size: 1.01rem;
  color: #333;
  animation: slideUp 0.8s cubic-bezier(.6,1.8,.28,1) both;
}
@keyframes slideUp {
  0% { opacity: 0; transform: translateY(100%); }
  80% { opacity: 1; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Roboto Slab', serif;
  border: none;
  outline: none;
  border-radius: 30px;
  padding: 9px 22px;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 4px;
  box-shadow: 0 1px 5px 0 var(--shadow);
  cursor: pointer;
}
.cookie-banner .accept {
  color: var(--pri-dark);
  background: var(--accent);
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: var(--pri);
  color: #fff;
}
.cookie-banner .reject {
  background: #e5e7ed;
  color: #ca5a1e;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #ffcba4;
  color: #222;
}
.cookie-banner .settings {
  background: var(--pri);
  color: #fff;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--accent);
  color: var(--pri);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  z-index: 15000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(19,69,116,0.77);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-in both;
}
@keyframes fadeIn {
  0% { opacity:0; }
  100% { opacity:1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 40px #26304722;
  padding: 35px 28px 28px 28px;
  width: 95vw; max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  color: #192542;
}
.cookie-modal-content h2 {
  color: var(--pri);
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.cookie-modal-content label {
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}
.cookie-modal-content input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}
.cookie-modal-content .close-cookie-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: var(--pri);
  font-size: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 6px #ffd98c55;
  transition: background 0.13s;
}
.cookie-modal-content .close-cookie-modal:hover {
  background: var(--pri);
  color: #fff;
}
.cookie-modal-content .modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.cookie-modal-content .modal-actions button {
  flex: 1;
  min-width: 0;
}

/* =======================
   ARTISTIC ACCENTS/UNIQUENESS
   ======================= */
.card, .testimonial-card, .section {
  border-radius: 28px 60px 42px 28px/30px 64px 60px 20px;
  /* Unconventional, artistic look */
}
h1,h2 {
  position: relative;
}
h2:before {
  content: '';
  display: block;
  width: 46px;
  height: 7px;
  border-radius: 8px;
  background: var(--accent);
  position: absolute;
  left: -60px;
  top: 55%;
  transform: translateY(-50%);
}
@media (max-width: 510px) {
  h2:before { display: none; }
}
.button-primary, .button-secondary {
  box-shadow: 0 3px 12px 0 var(--shadow), 0 2px 0 0 #fff6;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  position: relative;
}
.button-primary:active,
.button-secondary:active {
  border-color: var(--accent-dark);
}

/* Decorative dots/art spots for creative flair - non-intrusive */
.section {
  position: relative;
}
.section::after {
  content: '';
  display: block;
  position: absolute;
  right: 35px; bottom: 34px;
  width: 38px; height: 38px;
  background: var(--accent);
  opacity: 0.11;
  border-radius: 100%;
  z-index: 0;
  pointer-events: none;
}

.testimonial-card::before {
  content: "\201C";
  font-family: 'Roboto Slab',serif;
  font-size: 2.9rem;
  color: var(--accent);
  font-weight: 900;
  margin-right: 15px;
  opacity: 0.22;
}
.testimonial-card p {
  position: relative;
  z-index: 1;
}

/* =======================
   UTILITY/HELPER CLASSES
   ======================= */
.mt-0 { margin-top: 0 !important; }
.no-shadow { box-shadow: none!important; }
.fs-14 { font-size: 0.9rem; }
.fs-18 { font-size: 1.13rem; }
.text-accent { color: var(--accent) !important; }
.text-pri { color: var(--pri) !important; }


/* =======================
   ACCESSIBILITY/FOCUS STYLES
   ======================= */
a:focus, button:focus, .button-primary:focus, .button-secondary:focus {
  outline: 2px dashed var(--accent-dark);
  outline-offset: 2px;
  background: #fff7e6 !important;
}


/* =======================
   SPECIAL SECTIONS (eg. FAQ, Tables)
   ======================= */
.content-wrapper > div > h2 {
  margin-top: 16px;
}
.faq-section div {
  background: #fff;
  padding: 16px 20px;
  border-radius: 18px;
  box-shadow: 0 1px 16px #eef2f766;
  margin-bottom: 20px;
}

/* =======================
   FOR PRINT
   ======================= */
@media print {
  header, footer, .mobile-menu, .cookie-banner,.cookie-modal { display:none !important; }
  body { background: #fff; color:#222; }
}
