/* ===============================
   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,
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: var(--accent-bg);
  color: var(--primary-text);
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
ol, ul {
  list-style: none;
}
a {
  background-color: transparent;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--secondary);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
button:focus {
  outline: 2px dashed var(--primary);
  outline-offset: 2px;
}

/* ===============================
   CSS VARIABLES: BRAND COLORS & FONTS
   =============================== */
:root {
  --primary: #24597A;
  --secondary: #F2B134;
  --accent-bg: #F7F4EF;
  --primary-text: #1A2342;
  --secondary-text: #695607;
  --light-text: #fff;
  --card-bg: #fff;
  --card-shadow: 0 4px 20px rgba(36,89,122,0.10), 0 1.5px 6px rgba(242,177,52,0.05);
  --border-radius: 20px;
  --border-radius-sm: 12px;
  --transition: 0.25s cubic-bezier(0.77,0,0.175,1);
  --shadow-lg: 0 8px 32px rgba(36,89,122,.14);
  --shadow-md: 0 4px 16px rgba(36,89,122,.07);
  --shadow-card: 0 6px 32px rgba(36,89,122,0.09);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ===============================
   BASE TYPOGRAPHY
   =============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.13;
  margin-bottom: 20px;
  text-shadow: 2px 3px 0 #F2B13422;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 9px;
}
p, ul, ol {
  margin-bottom: 20px;
  color: var(--primary-text);
  font-size: 1rem;
  font-family: var(--font-body);
}
ul, ol {
  padding-left: 16px;
}
strong {
  color: var(--secondary-text);
  font-weight: 700;
}
em {
  color: var(--primary);
}

/* ===============================
   LAYOUT: CONTAINERS & SECTIONS
   =============================== */
.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 40px 28px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
@media (max-width: 600px) {
  .content-wrapper {
    padding: 28px 12px;
  }
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
@media (max-width: 600px) {
  .section {
    padding: 24px 0 24px 0;
    margin-bottom: 40px;
  }
}

/* ===============================
   FLEXBOX CARD AND FEATURE LAYOUTS
   =============================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  min-width: 270px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px) scale(1.025);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: var(--border-radius-sm);
  background: #fff;
  box-shadow: 0 4px 12px rgba(36,89,122,0.11);
  border-left: 6px solid var(--secondary);
  max-width: 600px;
  color: var(--primary-text);
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card p {
  font-size: 1.1rem;
  font-family: var(--font-body);
  margin-bottom: 0;
  color: var(--primary-text);
}
.testimonial-card strong {
  color: var(--secondary-text);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
  border-left: 6px solid var(--primary);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 22px 18px;
  background: var(--card-bg);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 220px;
}

/* ===============================
   HEADER & NAVIGATION
   =============================== */
header {
  background: var(--accent-bg);
  box-shadow: 0 4px 12px rgba(36,89,122,0.04);
  padding: 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 55;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 18px;
  padding: 22px 0 18px 0;
}
.main-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-radius: 8px;
  padding: 7px 13px;
  line-height: 1.3;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a.cta-btn {
  background: var(--secondary);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.08rem;
  border-radius: 12px;
  padding: 9px 22px;
  box-shadow: 0 2px 8px #F2B13433;
  transition: transform 0.18s, box-shadow 0.18s;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-2px) scale(1.04) rotate(-1.5deg);
  box-shadow: 0 5px 16px #24597A22;
}
.main-nav a:not(.cta-btn):hover, .main-nav a:not(.cta-btn):focus {
  background: #F2B13438;
  color: var(--primary);
}
.main-nav img {
  height: 44px;
  width: auto;
  margin-right: 10px;
}

/* Burger Button */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 22px;
  padding: 10px 13px;
  font-size: 2rem;
  background: var(--secondary);
  color: #fff;
  border-radius: 9px;
  z-index: 170;
  border: none;
  box-shadow: 0 2px 8px #F2B13422;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px #24597A44;
  outline: none;
}
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: var(--accent-bg);
  position: fixed;
  z-index: 500;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.77,0,0.175,1);
  box-shadow: 2px 0 14px #24597A22;
  padding: 0 0 60px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 20px 8px 0;
  font-size: 2.2rem;
  color: var(--primary);
  background: transparent;
  border-radius: 7px;
  padding: 7px 15px;
  transition: background 0.15s;
  z-index: 510;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 40px;
  padding-top: 12px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--primary);
  background: none;
  padding: 8px 6px 8px 0;
  border-radius: 0;
  transition: color 0.09s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  text-decoration: underline wavy var(--secondary) 1.5px;
}

/* ===============================
   MAIN CONTENT & SECTIONS
   =============================== */
main {
  margin-top: 22px;
  margin-bottom: 65px;
  min-height: 65vh;
  width: 100%;
}
section {
  width: 100%;
  margin: 0 auto 60px auto;
  padding: 0;
  background: transparent;
}
@media (max-width: 660px) {
  section {
    margin-bottom: 36px;
  }
}

/* ===============================
   BUTTONS & CTA
   =============================== */
.cta-btn, button.cta-btn {
  background: var(--secondary);
  color: var(--light-text);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: 14px;
  padding: 13px 36px;
  font-size: 1.08rem;
  box-shadow: 0 4px 22px #24597A19;
  border: none;
  cursor: pointer;
  display: inline-block;
  margin-top: 12px;
  transition: background 0.22s, color 0.22s, box-shadow var(--transition), transform var(--transition);
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 6px 28px #F2B13444;
  transform: translateY(-2px) scale(1.06) rotate(-1.5deg);
}

/* ===============================
   FOOTER
   =============================== */
footer {
  width: 100%;
  background: var(--primary);
  padding: 34px 0 22px 0;
  color: #fff;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -2px 14px #24597A18;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  background: transparent;
  border-radius: 8px;
  padding: 8px 6px;
  transition: background 0.18s, color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.footer-contact {
  font-size: 0.94rem;
  color: #ffe;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}
.footer-contact a {
  color: #ffe;
  text-decoration: underline dotted #fff;
  font-weight: 600;
  transition: color 0.13s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: var(--secondary);
}

/* ===============================
   RESPONSIVE UTILITIES
   =============================== */
@media (max-width: 780px) {
  .container {
    max-width: 97vw;
    padding-right: 6px;
    padding-left: 6px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .main-nav a.cta-btn {
    font-size: 0.94rem;
    padding: 8px 15px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .container {
    max-width: 100vw;
    padding: 0 2px;
  }
  footer {
    border-radius: 18px 18px 0 0;
    padding: 32px 0 18px 0;
  }
}

/* ===============================
   COOKIE CONSENT BANNER & MODAL
   =============================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--accent-bg);
  color: var(--primary-text);
  box-shadow: 0 -2px 16px #24597A11;
  padding: 20px 12px 20px 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.27s, transform 0.32s;
}
.cookie-consent-banner.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-consent-banner p {
  margin-bottom: 13px;
  font-size: 1rem;
}
.cookie-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.cookie-btn {
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 11px;
  padding: 8px 26px;
  border: none;
  font-weight: 700;
  transition: background 0.15s, color 0.16s, box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  box-shadow: 0 2px 13px #F2B13438;
}
.cookie-btn.reject {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  border: 2px dashed var(--primary);
  color: var(--primary);
  font-weight: 700;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: var(--secondary);
  transform: scale(1.05);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,89,122,0.33);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: var(--primary-text);
  border-radius: var(--border-radius);
  padding: 34px 38px 28px 38px;
  max-width: 430px;
  width: 92vw;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.26rem;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--primary);
  font-family: var(--font-display);
  cursor: pointer;
}
.cookie-modal .cookie-checkbox {
  width: 20px; height: 20px;
  accent-color: var(--secondary);
  cursor: pointer;
}
.cookie-modal .always-on {
  background: #e1e8ff;
  color: #24597A;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 12px 3px 12px;
  font-size: 0.97rem;
  margin-left: 10px;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 13px;
}
.cookie-modal .cookie-modal-close {
  position: absolute; right: 9px; top: 9px;
  background: transparent;
  border: none;
  color: #24597A;
  font-size: 2rem;
  border-radius: 8px;
  padding: 5px 13px;
  transition: background 0.15s;
}
.cookie-modal .cookie-modal-close:hover {
  background: #F2B13422;
  color: #F2B134;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 19px 13px 16px 13px;
  }
}

/* ===============================
   ARTISTIC ELEMENTS & EFFECTS
   =============================== */
/* Fun Colorful Artistic Border for Sections */
.content-wrapper {
  border: 3px dashed #F2B134;
  border-left: 8px solid #24597A;
  position: relative;
  overflow: hidden;
}
.content-wrapper::after {
  content: '';
  position: absolute; right: -45px; top: -38px;
  width: 109px; height: 109px;
  background: #F2B13422;
  border-radius: 51% 49% 65% 35% / 40% 73% 27% 60%;
  z-index: 0;
  pointer-events: none;
}
.content-wrapper h1, .content-wrapper h2, .content-wrapper h3 {
  position: relative;
  z-index: 2;
}
@media (max-width: 700px) {
  .content-wrapper {
    border-width: 2px 2px 2px 6px;
    padding: 18px 6px;
  }
  .content-wrapper::after {
    width: 67px; height: 67px; right: -21px; top: -23px;
  }
}

/* Artistic Accent Underline for Display Titles */
h1, h2 {
  display: inline-block;
  border-bottom: 7px wavy var(--secondary);
  padding-bottom: 5px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, #F7F4EF00 60%, #F2B13433 100%);
  border-radius: 0 0 15px 15px;
}
h1 {
  border-bottom-width: 10px;
  padding-bottom: 7px;
}
@media (max-width: 540px) {
  h1, h2 {
    border-bottom-width: 5px;
    padding-bottom: 4px;
    font-size: 1.1em;
  }
}

/* Animated Button Shadow Artistic Effect */
.cta-btn {
  box-shadow: 0 6px 32px #F2B13433, 0 1.5px 4px #24597A18;
  position: relative;
  overflow: hidden;
}
.cta-btn::after {
  content: '';
  display: block;
  position: absolute;
  left: -70%; top: 0;
  width: 60%; height: 100%;
  background: #fff7ce55;
  transform: skewX(-15deg);
  filter: blur(2.5px);
  opacity: 0.6;
  pointer-events: none;
  animation: cta-btn-glow 2.8s linear infinite;
}
@keyframes cta-btn-glow {
  0% { left: -70%; }
  45% { left: 110%; }
  100% { left: 110%; }
}

/* Artistic List Dots */
ul > li::before {
  content: '\25A0';
  color: var(--secondary);
  font-size: 1.2em;
  margin-right: 8px;
  font-weight: 900;
}
ol > li {
  counter-increment: olc;
}
ol {
  counter-reset: olc;
}
ol > li::before {
  content: counter(olc) '.';
  color: var(--primary);
  margin-right: 6px;
  font-weight: 700;
}

/* ===============================
   ARTISTIC FONT LOADING (WEB SAFE)
   =============================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;800&family=Open+Sans:wght@400;700&display=swap');

body {
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--accent-bg);
}

/* ===============================
   SMALL MICRO-INTERACTIONS
   =============================== */
.card, .testimonial-card, .feature-item, .cta-btn {
  transition: box-shadow .18s, transform .19s;
}
.card:active, .testimonial-card:active, .feature-item:active, .cta-btn:active {
  transform: scale(0.99) rotate(-0.5deg);
}

/* ===============================
   ACCESSIBILITY & PRINT
   =============================== */
a:focus-visible, button:focus-visible {
  outline: 2.5px dashed var(--secondary);
  outline-offset: 3px;
}
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  body, html { background: #fff !important; color: #000 !important; }
  .content-wrapper, .card, .testimonial-card { box-shadow: none; border: none; }
}

/* ===============================
   END OF STYLE.CSS
   =============================== */
