/* ===============================
   BASE RESET & 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,
b, u, i, center,
dl, dt, dd, menu, 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;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F9F9F9;
  color: #232a33;
  min-height: 100vh;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #27408B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4CB944;
  outline: none;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ===============================
   CSS VARIABLE DEFINITIONS (with fallbacks)
   =============================== */
:root {
  --color-primary: #27408B;
  --color-secondary: #4CB944;
  --color-accent: #F9F9F9;
  --color-electric: #00AEEF;
  --color-energy: #ff3366;
  --color-black: #0D1117;
  --color-dark: #232a33;
  --color-light: #ffffff;
  --color-warning: #FFD600;
  --color-info: #00AEEF;
  --color-shadow: rgba(39,64,139,0.08);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ===============================
   CONTAINER/LAYOUT
   =============================== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--color-light);
  border-radius: 18px;
  box-shadow: 0 6px 36px 0 var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 30px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  min-width: 240px;
}
.card:hover {
  box-shadow: 0 12px 45px 0 rgba(39,64,139,0.15);
  transform: translateY(-6px) scale(1.025);
  z-index: 2;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 var(--color-shadow);
  color: #232a33;
  font-size: 18px;
  line-height: 1.6;
  position: relative;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-size: 16px;
  font-family: var(--font-display);
  letter-spacing: .02em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.info-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-info);
  color: #fff;
  padding: 20px 24px;
  border-radius: 12px;
  font-size: 17px;
  margin-bottom: 18px;
  box-shadow: 0 3px 18px 0 var(--color-shadow);
}

/* ===============================
   TYPOGRAPHY (Hierarchy & Vibrancy)
   =============================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  letter-spacing: .01em;
  font-weight: bold;
}
h1 {
  font-size: 2.8rem;
  color: var(--color-energy);
  text-shadow: 0 4px 28px #f9c1d4b0;
  margin-bottom: 12px;
}
h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}
h3 {
  font-size: 1.37rem;
  color: var(--color-secondary);
  margin-bottom: 10px;
}
h4 {
  font-size: 1.18rem;
  color: var(--color-electric);
  margin-bottom: 10px;
}
p, ul, ol, li, small {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-dark);
}
strong {
  font-weight: 700;
  font-family: var(--font-display);
}
small {
  font-size: 13px;
  opacity: .88;
}

ul, ol {
  margin-left: 20px;
  margin-bottom: 10px;
}
ul li, ol li {
  padding-left: 0.5em;
  margin-bottom: 12px;
  position: relative;
}
ul li img, ol li img {
  vertical-align: middle;
  height: 20px;
  margin-right: 10px;
  display: inline-block;
}

ol {
  list-style: decimal inside;
}
ul {
  list-style: disc inside;
}

/* Electric bullet for vibrancy */
ul li::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  background: linear-gradient(120deg,var(--color-energy),var(--color-electric));
  border-radius: 50%;
  vertical-align: middle;
  box-shadow: 0 2px 8px var(--color-electric);
  position: relative;
  top: -1px;
}
ul li img, ol li img {
  margin-right: 8px;
  margin-left: -18px;
}
ul li img:first-child, ol li img:first-child {
  margin-right: 10px;
  margin-left: 0;
}

ol li::before {
  display: none !important;
}

/* ===============================
   HEADER & NAVIGATION
   =============================== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 4px solid var(--color-energy);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 72px;
}
header img {
  height: 48px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  padding: 8px 14px;
  color: var(--color-primary);
  border-radius: 5px;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 2px 10px 0 var(--color-shadow);
}

/* CTA BUTTON */
.cta-btn {
  background: var(--color-energy);
  color: #fff !important;
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 13px 24px;
  border-radius: 100px;
  margin-left: 22px;
  box-shadow: 0 4px 20px 0 #ffd3e7be;
  transition: background 0.18s, color 0.2s, transform 0.18s, box-shadow 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  position: relative;
}
.cta-btn::after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 90%;
  left: 0;
  bottom: 0;
  z-index: -1;
  border-radius: inherit;
  box-shadow: 0 7px 22px #ff336650;
  opacity: 0.55;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: #fff!important;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 8px 40px 0 #86d5fe48;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  font-size: 2rem;
  color: var(--color-primary);
  background: none;
  border: none;
  display: none;
  padding: 4px 14px;
  margin-left: 16px;
  border-radius: 8px;
  transition: background 0.12s, color 0.18s;
  z-index: 45;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f0f6ff;
  color: var(--color-energy);
  outline: 2px solid var(--color-energy);
}

@media (max-width: 992px) {
  header .container {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 13px;
  }
  .cta-btn {
    margin-left: 10px;
    padding: 10px 18px;
    font-size: 1rem;
  }
  header img {
    height: 41px;
  }
}

@media (max-width: 768px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}


/* ===============================
   MOBILE MENU (Slide-in Drawer)
   =============================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,64,139,.92);
  z-index: 1005;
  transform: translateX(100vw);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
  display: flex;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.6rem;
  background: none;
  border: none;
  color: #fff;
  margin: 30px 32px 12px 0;
  transition: color 0.18s;
  cursor: pointer;
  z-index: 1202;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-energy);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  margin: 0 0 0 40px;
}
.mobile-nav a {
  font-size: 1.45rem;
  font-family: var(--font-display);
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  padding: 15px 0;
  border-radius: 7px;
  transition: color 0.2s, background 0.18s;
  display: block;
  min-width: 200px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-energy);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 500px) {
  .mobile-nav {
    margin-left: 18px;
  }
}

/* ===============================
   FOOTER
   =============================== */
footer {
  background: #232a33;
  color: #fff;
  font-size: 15px;
  margin-top: 54px;
  padding: 0;
}
footer .container {
  padding-top: 40px;
  padding-bottom: 15px;
}
.footer-cols {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid #2d3757;
  padding-bottom: 22px;
}

.footer-cols p{
	color: #fff
}
.footer-cols > div {
  min-width: 200px;
  margin-bottom: 20px;
}
.footer-cols img {
  height: 42px;
  margin-bottom: 10px;
  filter: brightness(93%) contrast(111%);
}
.footer-cols nav {
  margin-bottom: 9px;
  margin-top: 2px;
}
.footer-cols nav a {
  color: #f9f9f9;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  padding: 0 3px;
  transition: color 0.16s;
}
.footer-cols nav a:hover {
  color: var(--color-energy);
}
.footer-cols a img {
  display: inline-block;
  height: 28px;
  margin-right: 8px;
  transition: filter 0.16s;
  filter: brightness(1.2) saturate(1.4);
}
.footer-cols a img:hover {
  filter: brightness(1.4) saturate(2);
}
footer small {
  color: #9e9fad;
  display: block;
  margin-top: 18px;
  font-size: 13px;
  font-family: var(--font-body);
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-cols {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .footer-cols {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 12px;
  }
  footer .container {
    padding-top: 26px;
  }
}

/* ===============================
   MAIN SECTION SPACING & LAYOUT
   =============================== */
main > section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
main > section:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  main > section, .section {
    padding: 18px 0;
    margin-bottom: 36px;
  }
}

/* ===============================
   RESPONSIVE FLEX DIRECTION
   =============================== */
@media (max-width: 900px) {
  .content-wrapper, .content-grid {
    flex-direction: column;
    gap: 21px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .testimonial-card,
  .card {
    padding: 14px 10px;
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.39rem;
  }
  h3 {
    font-size: 1.08rem;
  }
}

/* ===============================
   FORM ELEMENTS (Used for Contact)
   =============================== */
input, textarea, select {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  font-size: 16px;
  padding: 11px 16px;
  border: 1.5px solid #dbe6ee;
  margin-bottom: 16px;
  color: var(--color-dark);
  transition: border 0.18s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-electric);
  box-shadow: 0 0 3px var(--color-electric);
}
label {
  font-family: var(--font-display); 
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--color-primary);
  display: block;
}

/* ===============================
   INFO BANNER & INDICATIONS
   =============================== */
.info-banner img {
  height: 32px;
  margin-right: 14px;
}

/* ===============================
   VIBRANT ENERGETIC ANIMATIONS & SHADOWS
   =============================== */
.card, .testimonial-card, .cta-btn,
.info-banner, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.18s, transform 0.14s, background 0.16s, color 0.14s;
}

.cta-btn {
  transition: background 0.18s, color 0.2s, transform 0.18s, box-shadow 0.2s;
  cursor: pointer;
}

.cta-btn:active {
  transform: scale(0.975);
}

/* ===============================
   COOKIE CONSENT BANNER (FIXED BOTTOM)
   =============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 12040;
  background: #232A33;
  color: #fff;
  width: 100%;
  padding: 28px 16px 18px 16px;
  box-shadow: 0 -4px 20px 0 rgba(39,64,139,.09);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  min-height: 80px;
  font-size: 16px;
  font-family: var(--font-body);
  opacity: 1;
  transition: bottom 0.24s, opacity 0.24s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  bottom: -200px;
}
.cookie-banner p {
  max-width: 440px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  margin-left: 10px;
}
.cookie-btn {
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 22px;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  margin-right: 8px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: background 0.18s, color 0.15s;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--color-energy);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #f7f8fa;
  color: var(--color-energy);
  border-color: var(--color-energy);
}

@media (max-width: 900px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 6px 16px 6px;
  }
  .cookie-banner p {
    max-width: unset;
  }
}
/* ===============================
   COOKIE CONSENT MODAL
   =============================== */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12505;
  background: rgba(39,64,139,.60);
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 56px #27408B19, 0 2px 14px #4CB94415;
  z-index: 12615;
  padding: 36px 32px 24px 32px;
  width: 96%;
  max-width: 400px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-modal-in 0.28s cubic-bezier(.74,.03,.51,.96);
}
@keyframes cookie-modal-in {
  from { transform: translate(-50%,-60%) scale(0.88); opacity: 0; }
  to   { transform: translate(-50%,-50%) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.52rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.cookie-modal ul {
  margin: 0 0 18px 0;
  padding: 0;
}
.cookie-modal li {
  font-size: 15px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #eee;
  border-radius: 12px;
  position: relative;
  transition: background 0.19s;
  flex-shrink: 0;
}
.cookie-toggle input {
  appearance: none;
  width: 38px;
  height: 22px;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0; top: 0;
  cursor: pointer;
  z-index: 1;
}
.cookie-toggle span {
  position: absolute;
  left: 0; top: 0;
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: #eee;
  transition: background 0.19s;
}
.cookie-toggle input:checked + span {
  background: var(--color-secondary);
}
.cookie-toggle .dot {
  content: '';
  position: absolute;
  left: 2px;
  top: 2.2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s, background 0.18s, box-shadow 0.14s;
  box-shadow: 0 1px 5px #84eeae2c;
  z-index: 2;
}
.cookie-toggle input:checked + span .dot {
  left: 18px;
  background: #fff;
  box-shadow: 0 1px 7px #7cf4733a;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  margin-right: 0;
}

/* Essential cookies always enabled */
.cookie-modal li.essential {
  opacity: 0.7;
  color: #8e929f;
  font-style: italic;
}
.cookie-modal li.essential .cookie-toggle {
  opacity: 0.5;
  pointer-events: none;
}


/* ===============================
   ANIMATIONS & MICROINTERACTIONS
   =============================== */
.card, .testimonial-card, .feature-item, .info-banner, .cta-btn, .cookie-btn,
.cookie-modal {
  transition: box-shadow 0.18s, transform 0.17s, background 0.17s, color 0.14s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 12px 45px 0 #00aeef1b, 0 1.5px 16px 0 #ff33661a;
  transform: translateY(-3px) scale(1.02);
  z-index: 1;
}
.testimonial-card:hover {
  background: #f7fbff;
  transition: background 0.18s, box-shadow 0.18s;
}
.cta-btn:focus {
  outline: 3px solid var(--color-electric);
  outline-offset: 1.5px;
}

/* ===============================
   UTILS
   =============================== */
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* ===============================
   SCROLLBAR STYLES
   =============================== */
::-webkit-scrollbar { width: 9px; background: #F9F9F9; }
::-webkit-scrollbar-thumb { background: #e7eafc; border-radius: 15px; }
::-webkit-scrollbar-thumb:hover { background: #d3e4ff; }

/* ===============================
   OVERRIDES FOR COLOR CONTRAST IN TESTIMONIALS
   =============================== */
.testimonial-card {
  background: #fff;
  color: #232a33;
}
.testimonial-card strong {
  color: var(--color-primary);
}

/* ===============================
   VIBRANT ENERGETIC CUSTOM COLOR USES
   =============================== */
section {
  border-radius: 10px;
}
main > section:nth-child(odd) {
  background: #F9F9F9;
}
main > section:nth-child(even) {
  background: #fff0fb;
}
section {
  box-shadow: 0 2px 18px #4CB94411;
}

.card {
  border: 2.5px solid #27408B11;
}

.info-banner {
  background: var(--color-electric);
  color: #fff;
}

/* ===============================
   MEDIA QUERIES FOR MOBILE
   =============================== */
@media (max-width: 768px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .section {
    margin-bottom: 38px;
    padding: 18px 5px;
  }
  .info-banner {
    flex-direction: column;
    gap: 10px;
    padding: 13px 10px;
    font-size: 15px;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }
}

/* ===============================
   ACCESSIBILITY & SELECTION
   =============================== */
::selection {
  background: var(--color-electric);
  color: #fff;
}

/* ===============================
   PRINT SAFETY
   =============================== */
@media print {
  header, nav, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-backdrop {
    display: none !important;
  }
}
