/* === CSS RESET & NORMALIZE === */
html, body, div, section, header, main, nav, footer, h1, h2, h3, h4, h5, h6, p, ul, ol, li, a, img, figure, table, thead, tbody, tr, th, td, button, strong, span, article, aside { margin: 0; padding: 0; border: 0; font: inherit; vertical-align: baseline; box-sizing: border-box; }
html { box-sizing: border-box; -webkit-text-size-adjust:100%; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body { background: #F4F4F2; color: #133B5C; font-family: 'Roboto', Arial, sans-serif; font-size: 16px; line-height: 1.6; min-height: 100vh; }
img { max-width:100%; height:auto; display:block; }
a { color: #1E5F74; text-decoration: none; transition: color .2s cubic-bezier(.6,0,.4,1); }
a:hover, a:focus { color: #FF5E57; text-decoration: underline; }
strong { font-weight: bold; }
ul,ol { margin-left: 1.5em; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: inherit; }
table { width: 100%; border-collapse: collapse; margin: 20px 0; }
th,td { padding: 12px 10px; border-bottom: 1px solid #e3e9f2; text-align: left; }

/* === UTILITIES & GLOBALS === */
:root {
  --brand-primary: #133B5C;
  --brand-secondary: #1E5F74;
  --brand-accent: #F4F4F2;
  --brand-electric: #FF5E57;
  --brand-highlight: #19C8FA;
  --brand-lime: #36FF7A;
  --brand-purple: #945BF5;
  --brand-yellow: #FFD600;
  --shadow-card: 0 4px 24px 0 rgba(30,95,116,0.16);
  --radius: 18px;
}

body {
  background: var(--brand-accent);
  color: var(--brand-primary);
}

.container {
  width: 100%;
  max-width: 1232px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--brand-primary);
}
h1 {
  font-size: 2rem;
  color: var(--brand-electric);
  line-height: 1.12;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.5rem;
  color: var(--brand-secondary);
  margin-bottom: 14px;
}
h3 {
  font-size: 1.15rem;
  color: var(--brand-primary);
}
p,li {
  font-size: 1rem;
  color: var(--brand-primary);
}
@media (min-width: 600px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
  p,li { font-size: 1.1rem; }
}
@media (min-width: 992px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.4rem; }
  p,li { font-size: 1.15rem; }
}

/* === LAYOUT FLEXBOX PATTERNS === */
.features-grid,
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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: var(--radius);
  box-shadow: 0 4px 20px rgba(19,59,92,.11), 0 0px 0px rgba(0,0,0,0);
  margin-bottom: 20px;
  min-width: 0;
  max-width: 640px;
  border-left: 8px solid var(--brand-electric);
  z-index: 1;
}
.testimonial-card p {
  color: #211e2b;
  font-size: 1.1rem;
  font-weight: 500;
}
.testimonial-meta {
  color: var(--brand-primary);
  font-size: 1rem;
  font-style: italic;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 20px;
  min-width: 260px;
  flex: 1 1 230px;
}
.card .icon {
  font-size:2.5rem;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--brand-primary);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 3px 12px 0 rgba(30,95,116,0.08);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
header nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .15s cubic-bezier(.6,0,.4,1), color .16s cubic-bezier(.6,0,.4,1);
}
header nav a:hover, header nav a:focus {
  background: var(--brand-highlight);
  color: #133B5C;
  text-decoration: none;
}
.cta-primary {
  background: linear-gradient(90deg, #FF5E57 0%, #19C8FA 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border-radius: 999px;
  padding: 12px 32px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(19,59,92,0.10);
  transition: transform .18s cubic-bezier(.6,0,.4,1), box-shadow .18s;
  display: inline-block;
  margin-left: 18px;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #19C8FA 30%, #945BF5 100%);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 4px 24px 0 #945bf540, 0 1px 16px 0 #19C8FA22;
}
.mobile-menu-toggle {
  display: block;
  background: var(--brand-electric);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  border-radius: 8px;
  width: 50px; height: 50px;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 24px;
  top: 14px;
  z-index: 1020;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(255,94,87,0.18);
  transition: background .15s;
  outline: none;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #19C8FA;
  color: #133B5C;
}

/* Hide menu toggle and show desktop nav above 992px */
@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex;
  }
}
/* Hide desktop nav, show mobile nav on small screens */
@media (max-width: 991px) {
  header nav, .cta-primary {
    display: none !important;
  }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: #133B5C;
  box-shadow: 0 6px 32px #1e5f74a0;
  transform: translateX(-110%);
  transition: transform .36s cubic-bezier(.40,0,.6,1);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 0;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0%);
  transition: transform .34s cubic-bezier(.7,0,.4,1);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 8px 0;
  background: transparent;
  border: none;
  font-size: 2.25rem;
  color: #fff;
  cursor: pointer;
  z-index: 2002;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFD600;
}
.mobile-nav {
  display: flex !important;
  flex-direction: column;
  width:100%;
  margin-top: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 18px 40px 16px 34px;
  border-radius: 0 32px 32px 0;
  margin-bottom: 4px;
  transition: background .16s, color .14s;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #19C8FA;
  color: var(--brand-primary);
}

/* === MAIN CONTENT === */
main {
  margin-bottom: 60px;
}

/* Blog List */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.blog-list article {
  flex: 1 1 280px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px 20px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.blog-list article h3 {
  color: var(--brand-electric);
  margin-bottom: 5px;
}
.blog-list article a {
  color: var(--brand-highlight);
  font-weight: 700;
  margin-top: 10px;
  transition: color .14s;
}
.blog-list article a:hover, .blog-list article a:focus {
  color: #FFD600;
}

/* Table Design */
table {
  margin: 24px 0 16px 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 24px 0 rgba(30,95,116,0.10);
  overflow: hidden;
}
th {
  background: var(--brand-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 14px 10px;
}
tbody tr:hover {
  background: #e8fafe;
  transition: background .15s;
}

/* === CARDS & FLEXCONTAINERS === */
.features-grid > div {
  flex: 1 1 200px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: flex-start;
  min-width: 180px;
  border-left: 8px solid #19C8FA;
  margin-bottom: 20px;
  transition: box-shadow .2s, border-color .2s;
}
.features-grid > div:hover {
  box-shadow: 0 9px 28px #19c8fa1a, 0 1.5px 24px #945bf514;
  border-left-color: #FF5E57;
}
.features-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 8px #19C8FA22);
}
.features-grid h3 {
  margin: 8px 0 3px 0;
  color: var(--brand-electric);
  font-size: 1.1rem;
  font-weight: 700;
}
.features-grid p {
  font-size: 0.98rem;
}

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

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* === BUTTON STYLES === */
.button, button, .cta-secondary {
  border: none;
  border-radius: 999px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  background: var(--brand-highlight);
  color: #fff;
  padding: 11px 28px;
  font-size: 1rem;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .18s, color .18s, transform .16s;
  box-shadow: 0 2px 8px rgba(19,59,92,0.06);
  margin: 8px 0;
}
.button:hover, .button:focus, .cta-secondary:hover, .cta-secondary:focus, button:hover, button:focus {
  background: var(--brand-purple);
  color: #fff;
  transform: scale(1.035);
}

/* === FOOTER === */
footer {
  background: var(--brand-secondary);
  color: #fff;
}
footer p {
  color: white;
}
.footer-top, .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 10px 0;
}
.footer-top nav {
  display: flex;
  gap: 14px;
}
.footer-top nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color .16s;
}
.footer-top nav a:hover, .footer-top nav a:focus {
  color: #FFD600;
}
.footer-bottom {
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.97rem;
  opacity: .87;
  padding-bottom: 20px;
}
footer a {
  color: #19C8FA;
  font-weight: 600;
}
footer a:hover, footer a:focus {
  color: #FFD600;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 3000;
  background: #fff;
  color: var(--brand-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -3px 24px 0 #1e5f7422;
  padding: 20px 18px 20px 18px;
  gap: 18px;
  animation: cookieIn .6s cubic-bezier(.4,0,.5,1);
}
@keyframes cookieIn {
  0% { transform: translateY(110%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.15rem;
  color: var(--brand-primary);
  margin-bottom: 12px;
}
.cookie-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  align-items: center;
  justify-content: center;
}
.cookie-banner button {
  border-radius: 999px;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0 2px;
  border: none;
  cursor: pointer;
  transition: background .18s, color .17s, transform .14s;
}
.cookie-accept-btn {
  background: linear-gradient(90deg, #36FF7A 30%, #19C8FA 100%);
  color: #133B5C;
}
.cookie-accept-btn:hover, .cookie-accept-btn:focus {
  background: #19C8FA;
  color: #fff;
  transform:scale(1.02);
}
.cookie-reject-btn {
  background: #FF5E57;
  color: #fff;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: #133B5C;
  color: #fff;
  transform:scale(1.02);
}
.cookie-settings-btn {
  background: #FFD600;
  color: #133B5C;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #133B5C;
  color: #FFD600;
  transform:scale(1.02);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: #1E5F74cc;
  z-index: 4001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeinModal .35s cubic-bezier(.4,0,.6,1);
}
@keyframes fadeinModal {
  0% { opacity:0; } 100% { opacity:1; }
}
.cookie-modal {
  background: #fff;
  color: var(--brand-primary);
  border-radius: var(--radius);
  max-width: 470px;
  width: 96vw;
  box-shadow: 0 8px 38px #1e5f7426;
  padding: 32px 28px 24px 28px;
  z-index: 4002;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalPop .34s cubic-bezier(.55,0,.25,1);
}
@keyframes modalPop {
  0% { transform: translateY(48px) scale(0.92); opacity:0; }
  100% { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #133B5C;
  cursor: pointer;
  z-index: 4003;
  transition: color .18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #FF5E57;
}
.cookie-modal h2 {
  font-size: 1.45rem;
  color: var(--brand-primary);
  margin-bottom: 8px;
}
.cookie-modal ul {
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 18px;
  display: flex;
  flex-direction: column;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 6px;
}
.cookie-modal-label {
  font-family: 'Montserrat';
  font-size: 1.10rem;
  color: #1E5F74;
  font-weight: 700;
}
.cookie-modal-toggle {
  width: 48px; height: 28px;
  background: #e3e9f3;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  transition: background .17s;
  margin-left: 8px;
}
.cookie-modal-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal-toggle span {
  position: absolute; left: 4px; top: 4px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px #133b5c11;
  transition: transform .17s cubic-bezier(.64,0,.4,1), background .14s;
}
.cookie-modal-toggle input[type="checkbox"]:checked + span {
  transform: translateX(18px);
  background: #19C8FA;
}
.cookie-modal-toggle input[type="checkbox"]:disabled + span {
  background: #bededb;
}
.cookie-modal-desc {
  color: #666a7c;
  font-size: 0.96rem;
}

/* === SPACING & FLEX ADJUSTMENTS === */
.section, .features-grid > div, .card, .testimonial-card {
  margin-bottom: 20px;
}
.content-grid, .features-grid, .card-container, .blog-list {
  gap: 20px;
}
.text-image-section { gap: 30px; }

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .footer-top, .footer-bottom, .container, .features-grid, .blog-list {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px;
  }
  .features-grid > div, .card, .testimonial-card, .blog-list article {
    width: 100%;
    min-width: 0;
    flex: 1 1 98vw;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 26px 8px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.28rem; }
  h3 { font-size: 1.13rem; }
  main { margin-bottom: 35px; }
  .blog-list { gap: 14px; }
  .features-grid { gap: 16px; }
  .footer-top, .footer-bottom { padding: 16px 0; }
}

@media (max-width: 420px) {
  .cookie-modal { padding: 18px 7px 16px 14px; }
  .cookie-banner { padding: 10px 4px 8px 4px; }
  .cta-primary, .button, .cta-secondary { padding: 8px 18px; font-size: 0.98rem; }
}

/* === MICRO-INTERACTIONS & TRANSITIONS === */
.section, .features-grid > div, .card, .testimonial-card, .blog-list article {
  transition: box-shadow .19s cubic-bezier(.6,0,.4,1), transform .16s cubic-bezier(.65,0,.2,1);
}
.section:hover, .features-grid > div:hover, .card:hover, .testimonial-card:hover, .blog-list article:hover {
  box-shadow: 0 12px 38px #1e5f7422, 0 2px 20px #945bf515;
  transform: translateY(-3px) scale(1.014);
}

input:focus, textarea:focus, select:focus, button:focus {
  outline: 2px dashed #19C8FA;
  outline-offset: 2px;
}

::-webkit-scrollbar {
  width:7px; background: #e7e7ed;
}
::-webkit-scrollbar-thumb {
  background: #19C8FA; border-radius: 8px;
}

/* === ACCESSIBILITY === */
[tabindex]:focus, a:focus-visible, button:focus-visible {
  outline: 2.5px solid #FF5E57;
  outline-offset: 1.5px;
}

/* === Hide element utility === */
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); border:0; padding:0; margin:-1px; }

/* === EYE-CATCHING HIGHLIGHTS === */
.color-electric { color: var(--brand-electric); }
.color-highlight { color: var(--brand-highlight); }
.bg-electric { background: var(--brand-electric); color: #fff; }
.bg-highlight { background: var(--brand-highlight); color: #fff; }
.bg-lime { background: var(--brand-lime); color: #133B5C; }
.bg-yellow { background: var(--brand-yellow); color: #133B5C; }
.bg-purple { background: var(--brand-purple); color: #fff; }

/* === HIGH CONTRAST FOR REVIEWS === */
.testimonial-card {
  background: #fff;
  color: #211e2b;
  border-left: 8px solid #FF5E57;
}

/* === FORMS (if any are used in future) === */
input, textarea, select {
  background: #f4f4f2;
  border: 1.5px solid #e3e9f3;
  border-radius: 8px;
  padding: 11px 13px;
  font-family: inherit;
  margin-bottom: 12px;
  font-size: 1rem;
  transition: border .14s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-highlight);
}

/* === Z-INDEX LAYERING === */
header { z-index: 30; }
.mobile-menu { z-index: 2001; }
.mobile-menu-close { z-index: 2002; }
.cookie-banner { z-index: 3000; }
.cookie-modal-overlay { z-index: 4001; }
.cookie-modal { z-index: 4002; }

/* === MISCELLANEOUS === */
::-moz-selection { background: #19C8FA; color: #fff; }
::selection { background: #19C8FA; color: #fff; }

/* --- END CSS --- */