/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #f6f8fa;
  color: #21314B;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1645c2;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
  font-weight: 500;
}
a:hover, a:focus {
  color: #FFEB3B;
  text-shadow: 0 2px 8px rgba(33,49,75,0.10);
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 1.5em;
}
ul li, ol li {
  margin-bottom: 0.5em;
}

/* BRAND COLORS */
:root {
  --primary: #21314B;
  --secondary: #8797AF;
  --accent: #FFEB3B;
  --heading: #15203A;
  --white: #fff;
  --body-bg: #f6f8fa;
  --gray-bg: #f2f6fc;
  --shadow: 0 4px 24px 0 rgba(33, 49, 75, 0.13);
  --radius: 18px;
}

/* TYPOGRAPHY SCALE */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol {
  font-size: 1rem;
}
strong, b {
  font-weight: 700;
}
blockquote {
  background: var(--accent);
  color: var(--primary);
  border-left: 4px solid #21314B;
  font-style: italic;
  margin: 24px 0;
  padding: 18px 30px;
  border-radius: var(--radius);
  font-size: 1.18rem;
}

/* CONTAINER & SECTIONS */
.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
main {
  margin-top: 32px;
  margin-bottom: 32px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  section {
    margin-bottom: 40px;
    padding: 26px 8px;
  }
}

/* FLEX LAYOUTS */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--gray-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  min-width: 250px;
  transition: box-shadow 0.18s cubic-bezier(.4,0,.2,1), transform 0.18s cubic-bezier(.4,0,.2,1);
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 34px 0 rgba(255,235,59,0.17), 0 8px 28px 0 rgba(33,49,75,0.19);
  transform: translateY(-2px) scale(1.02);
}
.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;
    gap: 24px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: var(--gray-bg);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(33,49,75,0.11);
  margin-bottom: 22px;
  color: #1a2235;
  transition: box-shadow 0.18s cubic-bezier(.4,0,.2,1), transform 0.18s cubic-bezier(.4,0,.2,1);
}
.testimonial-card strong {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card span {
  color: #ffb300;
  letter-spacing: 2px;
  font-size: 1.2rem;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px 0 rgba(255,235,59,0.17), 0 5px 18px 0 rgba(33,49,75,0.15);
  transform: scale(1.015);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--gray-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 24px 20px;
}

/* BUTTONS */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(95deg, var(--accent) 70%, #ffd600 100%);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 32px;
  padding: 13px 34px;
  box-shadow: 0 4px 18px 0 rgba(255,235,59,0.18);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  margin-top: 12px;
  margin-bottom: 6px;
  transition: background 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s cubic-bezier(.4,0,.2,1), transform 0.13s cubic-bezier(.4,0,.2,1);
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 6px 28px 0 rgba(33,49,75,0.23);
  transform: translateY(-2px) scale(1.03);
}

button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--primary);
  color: var(--accent);
  border: none;
  border-radius: 24px;
  padding: 10px 26px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(33,49,75,0.13);
  margin-right: 8px;
  transition: background 0.16s cubic-bezier(.4,0,.2,1), color 0.13s cubic-bezier(.4,0,.2,1);
}
button:hover, button:focus, .button:hover, .button:focus {
  background: var(--accent);
  color: var(--primary);
}

/* HEADER & NAVIGATION */
header {
  background: var(--primary);
  color: var(--accent);
  padding: 0 0 0 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 24px rgba(33,49,75,0.12);
}
header img {
  height: 44px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
header nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  font-size: 1rem;
  position: relative;
  padding: 8px 0 8px 0;
  border-radius: 8px;
  transition: background 0.12s, color 0.13s;
  margin-right: 4px;
}
header nav a:hover, header nav a:focus {
  background: rgba(255,235,59,0.13);
  color: #fff;
}
header .cta-primary {
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 16px;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 18px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 2rem;
  z-index: 120;
  box-shadow: var(--shadow);
  transition: background 0.13s;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-menu-toggle:active {
  background: #ffe54d;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 101vw;
  height: 100vh;
  background: var(--primary);
  z-index: 199;
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(0.7, 0, 0.23, 1);
  box-shadow: 0 8px 30px 0 rgba(33,49,75,0.19);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: var(--accent);
  color: var(--primary);
  font-size: 2.2rem;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 201;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 90px 28px 40px 28px;
}
.mobile-nav a {
  color: var(--accent);
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 0;
  width: 100%;
  border-radius: 8px;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,235,59,0.10);
  color: #fff;
}

@media (max-width: 1024px) {
  header nav, header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 32px 0 24px 0;
  display: flex;
  flex-direction: row;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
}
footer img {
  height: 35px;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
footer nav a {
  color: var(--accent);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 2px;
  transition: color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  text-decoration: underline;
}
footer div:last-child p {
  color: #ffe900;
  font-size: 0.97rem;
  opacity: 0.93;
  margin-bottom: 2px;
}
@media (max-width: 900px) {
  footer {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
    padding: 32px 14px 22px 14px;
  }
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
  font-size: 1rem;
  background: var(--gray-bg);
  border-radius: var(--radius);
}
thead th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  background: var(--primary);
  color: var(--accent);
  padding: 12px 8px;
  text-align: left;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
tbody td {
  padding: 11px 8px;
  border-bottom: 1px solid #eee;
}
tr:last-child td {
  border-bottom: none;
}

/* ICONS IN LISTS */
li img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin-right: 9px;
  display: inline-block;
}

/* SPACING & GAPS */
ul, ol {
  margin-bottom: 18px;
  gap: 12px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 700px) {
  .container {
    padding: 0 6px;
  }
  section {
    padding: 16px 4px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  color: var(--accent);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 18px 18px 24px;
  box-shadow: 0 -6px 28px rgba(33,49,75,0.11);
  gap: 16px;
  font-size: 1.06rem;
  transition: transform 0.32s cubic-bezier(.7,0,.2,1);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
.cookie-banner.hide {
  transform: translateY(120px);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 11px;
}
.cookie-banner button, .cookie-banner .button {
  background: var(--accent);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
  border-radius: 21px;
  padding: 8px 22px;
  box-shadow: 0 3px 13px 0 rgba(255,235,59,0.10);
  transition: background 0.13s, color 0.13s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--secondary);
  color: #fff;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 4000;
  top: 0;
  left: 0;
  min-width: 100vw;
  min-height: 100vh;
  background: rgba(21,32,58,0.51);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
}
.cookie-modal {
  background: var(--white);
  border-radius: 26px;
  box-shadow: 0 8px 34px 0 rgba(33,49,75,0.18);
  padding: 30px 28px 28px 28px;
  min-width: 330px;
  max-width: 98vw;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: modalIn 0.36s cubic-bezier(.7,0,.2,1) both;
  position: relative;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.85) translateY(40px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}
.cookie-modal .cookie-cat label {
  font-weight: 600;
  color: var(--primary);
}
.cookie-modal .cookie-cat input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  accent-color: var(--accent);
}
.cookie-modal .cookie-cat .always-on {
  color: var(--secondary);
  font-size: 0.97rem;
  font-style: italic;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 10px;
  flex-direction: row;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 14px;
  background: none;
  color: var(--primary);
  border: none;
  font-size: 1.45rem;
  cursor: pointer;
  opacity: 0.71;
}
.cookie-modal .close-modal:hover {
  color: var(--accent);
}

@media (max-width:530px) {
  .cookie-modal {
    padding: 18px 3vw 14px 3vw;
    min-width: 0;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.cta-primary, button, .button, .testimonial-card, .card {
  transition: box-shadow 0.15s, background 0.18s, color 0.14s, transform 0.14s;
}

/* FORMS (for future use or expansion) */
input, textarea, select {
  border-radius: 8px;
  border: 1px solid var(--secondary);
  padding: 13px 14px;
  font-size: 1.09rem;
  outline: none;
  margin-bottom: 18px;
  width: 100%;
  background: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  box-shadow: 0 2px 6px 0 rgba(33,49,75,0.06);
  transition: border 0.18s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 3px 10px 0 rgba(255,235,59,0.11);
}
label {
  display: block;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 7px;
}

/* DYNAMIC "VIBRANT_ENERGETIC" ELEMENTS */
section {
  border-left: 7px solid var(--accent);
}
@media (max-width: 700px) {
  section {
    border-left: 4px solid var(--accent);
  }
}
.cta-primary {
  box-shadow: 0 4px 14px 0 rgba(255,235,59,0.23); /* Electric shadow */
  letter-spacing: 0.03em;
}
section:nth-child(even) {
  background: #FFFDE7;
  border-left: 7px solid var(--primary);
}

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

/* VISUAL INDICATORS FOR BOLD FOCUS */
a:focus, button:focus, .cta-primary:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/****** RESPONSIVE FONT SIZES & LAYOUTS ******/
@media (max-width: 500px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.13rem; }
  section { padding: 13px 2px; }
  footer div:last-child p { font-size: 0.91rem; }
}

/* Hide visually (for accessibility helpers if needed) */
.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  top: auto;
}

/********** END VIBRANT ENERGETIC CSS **********/
