/* ----- CSS RESET & BASE ----- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #222;
  font-size: 1rem;
  line-height: 1.6;
  background-color: #F4ECE1;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  margin: 0 0 20px 0;
  color: #283158;
  letter-spacing: -1px;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4, h5, h6 { font-size: 1.1rem; font-weight: 700; }
p {
  margin-top: 0;
  margin-bottom: 16px;
}
ul, ol {
  margin: 0 0 24px 24px;
  padding: 0;
}
li {
  margin-bottom: 8px;
  font-size: 1rem;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}
a {
  color: #FFB100;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E76A13;
  text-decoration: underline;
}
blockquote {
  margin: 0 0 24px 0;
  padding: 16px 24px;
  border-left: 5px solid #FFB100;
  background: #fffbe6;
  color: #283158;
  font-style: italic;
  border-radius: 12px 0 0 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* ---- CONTAINER & GLOBAL FLEX ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ------ SECTIONS AND SPACING PATTERNS ------ */
section,
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 28px 0 rgba(40, 49, 88, 0.13);
  padding: 24px 20px;
  flex: 1 1 280px;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 12px 32px 0 rgba(255,177,0,0.09), 0 4px 24px rgba(40, 49, 88, 0.20);
  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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 18px 0 rgba(40,49,88,0.10), 0 1.5px 8px 0 rgba(255,177,0,0.11);
  margin-bottom: 24px;
  flex: 1 1 320px;
  max-width: 500px;
  border-left: 6px solid #FFB100;
  color: #283158;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---- LAYOUTS FOR NAV, FOOTER, HERO, FEATURES ETC. ---- */
header {
  position: relative;
  background: #283158;
  color: #fff;
  padding: 0;
  min-height: 68px;
  box-shadow: 0 2px 14px 0 rgba(40, 49, 88, 0.06);
  z-index: 98;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  padding: 8px 4px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFB100;
  color: #283158;
}
.btn-primary {
  display: inline-block;
  background: #FFB100;
  color: #283158;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: none;
  border-radius: 999px;
  padding: 12px 32px;
  box-shadow: 0 2px 12px rgba(255, 177, 0, 0.08);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform .14s;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #E76A13;
  color: #fff;
  box-shadow: 0 7px 24px rgba(255, 177, 0, 0.15), 0 1px 6px rgba(40, 49, 88, 0.10);
  transform: translateY(-2px) scale(1.04);
}

/* - Burger Menu Button - */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #FFB100;
  font-size: 2.1rem;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.18s;
  display: none;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFB100;
  color: #283158;
}

/* ---- HERO SECTION ---- */
.hero {
  background: linear-gradient(92deg, #ffe6a2 0%, #F4ECE1 57%, #B0C0FA 100%);
  border-radius: 0 0 28px 28px;
  box-shadow: 0 8px 52px 0 rgba(40,49,88,0.08);
  padding-top: 50px;
  padding-bottom: 50px;
}
.hero h1 {
  font-size: 2.25rem;
  font-weight: 900;
  color: #283158;
  margin-bottom: 14px;
}
.hero p {
  color: #283158;
  font-size: 1.15rem;
  margin-bottom: 28px;
}
.hero .btn-primary {
  font-size: 1.07rem;
}

/* ----- FEATURES/ICON-LISTS ETC. ----- */
.features ul,
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.features li,
.services li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 18px rgba(255,177,0,0.06), 0 1.5px 6px rgba(40,49,88,0.08);
  padding: 20px 20px 20px 22px;
  flex: 1 1 230px;
  min-width: 180px;
  display: flex;
  align-items: center;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.1rem;
  color: #283158;
  gap: 18px;
  margin-bottom: 0;
  position: relative;
  transition: box-shadow .22s, transform .14s;
}
.features li img, .services li img {
  width: 36px;
  height: 36px;
  display: block;
}
.features li:hover, .services li:hover {
  box-shadow: 0 8px 32px rgba(255,177,0,0.13), 0 3px 8px rgba(40,49,88,0.14);
  transform: translateY(-3px) scale(1.03);
}

.services li strong {
  color: #283158;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  font-weight: 800;
}
.services li em {
  font-style: normal;
  font-weight: 700;
  color: #FFB100;
  margin-left: 8px;
}
.services li span {
  color: #4c4c60;
  font-size: 1rem;
  margin-left: 0;
}

/* ----- TESTIMONIALS ----- */
.testimonials .container > h2 {
  margin-bottom: 24px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  font-size: 1.1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #283158;
  border-left: 6px solid #FFB100;
  border-radius: 16px;
  box-shadow: 0 3px 18px rgba(255,177,0,0.08), 0 1.5px 8px rgba(40,49,88,0.11);
  padding: 32px 28px 20px 28px;
  margin-bottom: 0;
  transition: box-shadow 0.22s, transform .18s;
}
.testimonial-card strong {
  display: block;
  font-size: 1rem;
  margin-top: 14px;
  letter-spacing: 0.3px;
  color: #283158;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 10px 34px rgba(40, 49, 88, 0.15), 0 2.5px 10px rgba(255,177,0,0.13);
}

/* ----- CTA ----- */
.cta {
  background: #283158;
  text-align: center;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(40,49,88,0.10);
}
.cta .btn-primary {
  margin: 0 auto;
  margin-top: 16px;
}

/* ----- FOOTER ----- */
footer {
  background: #21264A;
  color: #fff;
  padding-top: 36px;
  padding-bottom: 20px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: #FFB100;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-branding {
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  margin-top: 8px;
}
.footer-branding img {
  height: 34px;
  width: auto;
}
.footer-branding span {
  color: #fff;
  font-weight: 600;
}

/* ---- LEGAL PAGE STYLING ---- */
section.legal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(40,49,88,0.07);
}
section.legal h1, section.legal h2 {
  color: #283158;
}
section.legal ul {
  margin-left: 20px;
}
section.legal a {
  color: #283158;
  text-decoration: underline;
}

/* ---- CONTACT DETAILS ---- */
.contact-details p {
  margin: 6px 0 16px 0;
  font-size: 1.1rem;
}
.contact-details a {
  color: #FFB100;
  word-break: break-all;
}
/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #283158;
  box-shadow: 0 -3px 18px rgba(40,49,88,0.14);
  z-index: 999;
  padding: 24px 16px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(0.53,1.24,0.76,1), opacity 0.2s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 auto;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}
.cookie-banner button {
  border: none;
  outline: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 1rem;
  cursor: pointer;
  margin: 0;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 10px rgba(255, 177, 0, 0.09);
}
.cookie-banner .btn-accept {
  background: #FFB100;
  color: #283158;
}
.cookie-banner .btn-accept:hover {
  background: #E76A13;
  color: #fff;
}
.cookie-banner .btn-reject, .cookie-banner .btn-settings {
  background: #F4ECE1;
  color: #283158;
  border: 2px solid #FFB100;
}
.cookie-banner .btn-reject:hover,
.cookie-banner .btn-settings:hover {
  background: #fff3cf;
  color: #283158;
}

/* ---- COOKIE MODAL ---- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(40,49,88,0.45);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.25s cubic-bezier(0.53,1.24,0.76,1);
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 48px 2px rgba(40,49,88,0.20);
  max-width: 400px;
  width: 94vw;
  padding: 32px 24px 22px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalIn 0.24s;
}
@keyframes cookieModalIn {
  0% { transform: scale(0.92) translateY(120px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.3rem;
  color: #283158;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.04rem;
}
.cookie-modal .cookie-category .mandatory {
  color: #31b181;
  font-weight: 600;
  font-size: 0.98rem;
}
.cookie-modal .cookie-toggle {
  display: inline-block;
  width: 38px;
  height: 22px;
  border-radius: 14px;
  background: #cacaca;
  position: relative;
  margin-left: 6px;
  vertical-align: middle;
  transition: background .17s;
  cursor: pointer;
}
.cookie-modal .cookie-toggle.checked {
  background: #FFB100;
}
.cookie-modal .cookie-toggle .handle {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.16s;
  box-shadow: 0 1px 3px rgba(40,49,88,0.08);
}
.cookie-modal .cookie-toggle.checked .handle {
  left: 18px;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  right: 12px;
  top: 11px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #FFB100;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.17s;
}
.cookie-modal .close-modal-btn:hover, .cookie-modal .close-modal-btn:focus {
  background: #FFB100;
  color: #fff;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 8px 20px;
  border-radius: 999px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  background: #FFB100;
  color: #283158;
  transition: background 0.16s;
  box-shadow: 0 2px 6px rgba(255, 177, 0, 0.09);
}
.cookie-modal button:hover {
  background: #E76A13;
  color: #fff;
}

/* ---- MOBILE MENU (BURGER) ---- */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #21264A;
  z-index: 1500;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.53,1.24,0.76,1);
  box-shadow: -8px 0 62px 0 rgba(40,49,88,0.25);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFB100;
  font-size: 2.2rem;
  align-self: flex-end;
  padding: 24px 26px 8px 0;
  cursor: pointer;
  z-index: 1600;
  transition: background 0.12s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFB100;
  color: #283158;
  border-radius: 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.4px;
  padding: 12px 8px;
  border-radius: 10px;
  margin-right: 20px;
  transition: background 0.18s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFB100;
  color: #283158;
}

/* ----- UTILITY SPACING (AVOID OVERLAP) ----- */
main > section,
main > .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section > .container > .content-wrapper,
section > .container > ul,
section > .content-wrapper {
  margin-bottom: 0;
  padding: 0;
}
.content-wrapper > * {
  margin-bottom: 0;
}
.features .content-wrapper,
.services .content-wrapper,
.testimonials .content-wrapper {
  gap: 24px;
}
.content-wrapper, .text-section {
  margin-bottom: 0;
}

/* ----- RESPONSIVE DESIGN (MOBILE-FIRST) ----- */
@media (max-width: 1020px) {
  .container {
    max-width: 94vw;
    padding: 0 12px;
  }
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    font-size: 0.95rem;
    gap: 10px;
  }
  .hero h1 { font-size: 2rem; }
  .btn-primary {
    font-size: 1rem;
    padding: 11px 18px;
  }
  .features ul, .services ul,
  .content-grid {
    gap: 15px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  /* Hide desktop menu, show burger */
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .footer-branding, .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .features ul,
  .services ul,
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    padding: 20px 14px 14px 14px;
  }
  .hero {
    padding-top: 28px;
    padding-bottom: 32px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  .btn-primary {
    font-size: 0.94rem;
    padding: 10px 12px;
  }
  section, .section {
    padding: 22px 6px;
    margin-bottom: 32px;
  }
  .footer-branding img {
    height: 24px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 14px 5px 18px 5px;
  }
  .cookie-modal {
    padding: 20px 6px 16px 12px;
  }
}

/* ---- ELEVATED ENERGETIC MICRO-ANIMATIONS ---- */
.card, .testimonial-card, .features li, .services li, .btn-primary,
.cookie-banner button, .cookie-modal button {
  transition: box-shadow 0.22s, transform 0.14s, background 0.22s, color 0.22s;
}
.card:active, .testimonial-card:active, .features li:active, .services li:active, 
.btn-primary:active, .cookie-banner button:active, .cookie-modal button:active {
  transform: scale(0.98);
}

/* ---- SCROLLBAR ---- */
body::-webkit-scrollbar {
  width: 13px;
  background: #f8fafc;
}
body::-webkit-scrollbar-thumb {
  background: #FFB100;
  border-radius: 8px;
}

/* ---- CUSTOM FOCUS STYLES ---- */
:focus{
  outline: 2px solid #FFB100 !important;
  outline-offset: 2px;
}

/* ---- ELECTRIC COLOR TWEAKS TO ENHANCE ENERGY ---- */
section.hero {
  background: linear-gradient(95deg, #fffbe6 0%, #FFB100 50%, #F4ECE1 100%);
}
section.features {
  background: #fffbe6;
  box-shadow: 0 2px 28px 0 rgba(255,177,0,0.06);
  border-radius: 16px;
}
section.cta {
  background: linear-gradient(95deg,#FFB100 10%,#FFDD4D 100%);
  color: #283158;
}

/* --- VIBRANT BADGE, IF WANTED FOR NEW --- */
.badge-new {
  background: #E76A13;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 2px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  box-shadow: 0 1px 5px rgba(231, 106, 19, 0.11);
  display: inline-block;
  margin-left: 10px;
}

/* ---- ANIMATION SHADOW PULSE EFFECT (DECO ONLY) ---- */
.card:hover, .testimonial-card:hover, .features li:hover, .services li:hover {
  box-shadow: 0 8px 32px 0 rgba(255,177,0,0.11), 0 3px 10px rgba(40,49,88,0.08);
}

/* ---- HIDE VISUALLY-ONLY (FOR ACCORDANCE) ---- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0; margin: -1px;
}

/* ---- PRINT (MINIMAL) ---- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .container { box-shadow: none !important; }
  body { background: #fff !important; color: #000 !important; }
}
li.fade-in {
    display: flex;
    flex-direction: column;
}