/* ========================
   RESET & BASE TYPOGRAPHY
   ======================== */
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,
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.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg, #ECEFF1 0%, #fff 100%);
  color: #113357;
  min-height: 100vh;
  font-size: 16px;
}
ul, ol {
  list-style: inside disc;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: #113357;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #F3A622;
}

/* ==============
   BRAND FONTS
   ============== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #113357;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h1 { font-size: 2.125rem; font-weight: 700; margin-bottom: 24px; }
h2 { font-size: 1.625rem; font-weight: 700; margin-bottom: 20px; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; font-weight: 500; }
p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #113357;
}
strong, b {
  font-weight: 700;
  color: #113357;
}

/* ==============
   LAYOUT WRAPPERS
   ============== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.text-section {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(17, 51, 87, 0.08);
  transition: box-shadow 0.2s;
}
.section:last-child {
  margin-bottom: 0;
}

/* =============
   HEADER
   ============= */
header {
  background: linear-gradient(96deg, #113357 65%, #F3A622 100%);
  color: #fff;
  padding: 0;
  box-shadow: 0 2px 16px 0 rgba(58, 65, 90, 0.10);
}
header .container {
  padding: 0 20px;
}
header .content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding: 18px 0;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
header a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s, background 0.2s;
  border-radius: 4px;
}
header nav a:hover,
header nav a:focus {
  color: #F3A622;
  background: rgba(243, 166, 34, 0.08);
  outline: none;
}
header img {
  height: 44px;
  width: auto;
}

.btn-primary {
  background: linear-gradient(90deg, #F3A622 60%, #FFCB47 100%);
  color: #113357;
  border: none;
  border-radius: 50px;
  padding: 12px 34px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.1s;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(243,166,34,0.06);
  margin-left: 16px;
  margin-top: 0;
  text-align: center;
  display: inline-block;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, #FFCB47 30%, #F3A622 100%);
  color: #113357;
  box-shadow: 0 2px 16px rgba(243,166,34,0.14);
  transform: translateY(-2px) scale(1.025);
  outline: none;
}

/* ===========================
   MOBILE MENU & BURGER BUTTON
   =========================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1010;
  background: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 2rem;
  color: #113357;
  box-shadow: 0px 2px 10px rgba(17,51,87,0.13);
  cursor: pointer;
  transition: background 0.22s, color 0.22s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #F3A622;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(120deg,#113357 80%, #F3A622 120%);
  transform: translateX(-100vw);
  z-index: 1020;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transition: transform 0.32s cubic-bezier(.87,-.41,.19,1.44);
  box-shadow: 0 12px 40px rgba(17,51,87,0.23);
}
.mobile-menu.active {
  transform: translateX(0);
  transition: transform 0.32s cubic-bezier(.87,-.41,.19,1.44);
}
.mobile-menu-close {
  margin: 18px 0 0 18px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F3A622;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 20px;
  margin-top: 36px;
  padding-left: 28px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  padding: 12px 0 12px 6px;
  border-radius: 6px;
  transition: background 0.21s, color 0.21s;
  width: 90vw;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(243,166,34,0.19);
  color: #F3A622;
  outline: none;
}

@media (max-width: 990px) {
  header .content-wrapper nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  header .content-wrapper nav {
    display: flex;
  }
}

/* =================
   MAIN + SECTIONS
   ================= */
main {
  min-height: 60vh;
  margin-top: 16px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}
section:last-child {
  margin-bottom: 0;
}

/* ===================
   FLEXBOX UTILITIES
   =================== */
.card-container, .feature-grid, .cards, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .feature-item {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(17,51,87,0.08);
  padding: 32px 26px 28px 26px;
  transition: box-shadow 0.22s, transform 0.13s;
}
.card:hover, .card:focus, .feature-item:hover, .feature-item:focus {
  box-shadow: 0 8px 30px 0 rgba(17,51,87,0.16);
  transform: translateY(-3px) scale(1.012);
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #ECEFF1;
  border-radius: 14px;
  box-shadow: 0 0px 10px rgba(17,51,87,0.10);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid > div {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(17,51,87,0.08);
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.12s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 30px 0 rgba(17,51,87,0.16);
  transform: translateY(-2px) scale(1.017);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
}

.price {
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #F3A622;
  background: #FFF5E0;
  display: inline-block;
  border-radius: 7px;
  padding: 2px 12px;
}

blockquote {
  font-size: 1.1rem;
  color: #113357;
  font-style: italic;
  margin-bottom: 0;
}
cite {
  font-size: 1rem;
  color: #50678A;
  margin-left: 10px;
  font-style: normal;
  font-family: 'Roboto', sans-serif;
}

/* ================
   RESPONSIVE
   ================ */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper, .text-section {
    padding: 0 4px;
  }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.07rem; }
  .btn-primary {
    font-size: 0.97rem;
    padding: 11px 18px;
    margin: 18px 0 0 0;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .card {
    min-width: 0;
    width: 100%;
    margin-bottom: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 3px;
  }
  .feature-grid > div, .card {
    padding: 18px 6px 16px 6px;
  }
  .btn-primary {
    width: 100%;
    margin-top: 12px;
  }
}

/* ============
   FOOTER
   ============ */
footer {
  background: #113357;
  color: #fff;
  padding: 38px 0 18px 0;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  margin-top: 30px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  opacity: 0.93;
}
footer nav a:hover,
footer nav a:focus {
  color: #F3A622;
  text-decoration: underline;
  outline: none;
}
footer p, footer a {
  color: #fff;
}
footer a {
  text-decoration: underline;
  transition: color 0.16s;
}
footer a:hover {
  color: #F3A622;
}
@media(max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  footer {
    padding: 26px 0 17px 0;
  }
}

/* ================
   COOKIES BANNER
   ================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fff;
  color: #113357;
  box-shadow: 0 -2px 28px rgba(17, 51, 87, 0.13);
  padding: 22px 20px 18px 20px;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  transition: transform 0.34s cubic-bezier(.87,-.41,.19,1.44);
  font-size: 1.05rem;
  animation: fadeInUp 0.6s;
}
@keyframes fadeInUp {
  0% { transform: translateY(100px); opacity: 0; }
  80% { transform: translateY(-8px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__buttons {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  border: none;
  border-radius: 45px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 22px;
  cursor: pointer;
  background: #F3A622;
  color: #113357;
  transition: background 0.21s, color 0.21s, transform 0.11s;
}
.cookie-btn.settings {
  background: #ECEFF1;
  color: #113357;
}
.cookie-btn.accept {
  background: linear-gradient(90deg, #FFD973, #F3A622);
  color: #113357;
}
.cookie-btn.reject {
  background: #E0EBEF;
  color: #113357;
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(0.97);
  outline: none;
  transform: translateY(-2px) scale(1.022);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.98rem;
    padding: 17px 6px 13px 9px;
  }
  .cookie-banner__buttons {
    gap: 8px;
    width: 100%;
    flex-wrap: wrap;
  }
  .cookie-btn {
    width: 100%;
    margin-bottom: 4px;
    font-size: 0.98rem;
    padding: 10px 0;
  }
}

/* COOKIES MODAL */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(17, 51, 87, 0.25);
  z-index: 4010;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.35s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 26px 24px 14px 24px;
  min-width: 320px;
  max-width: 400px;
  box-shadow: 0 10px 40px 0 rgba(17,51,87,0.18);
  z-index: 4100;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: moveInScale 0.38s;
}
@keyframes moveInScale {
  0% { opacity: 0; transform: scale(0.92) translateY(48px);} 
  80% { opacity: 1; transform: scale(1.02) translateY(-12px);} 
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.cookie-modal ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-category-toggle {
  accent-color: #F3A622;
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-category-label {
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}
.cookie-modal .cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
}
.cookie-modal .essential-note {
  font-size: 0.98rem;
  color: #888;
  margin-left: 4px;
}

@media(max-width:520px){
  .cookie-modal {
    padding: 20px 9px 10px 12px;
    min-width: 0;
    max-width: 97vw;
  }
}

/* =============
   MISCELLANEOUS
   ============= */
::-webkit-scrollbar { width: 10px; background: #ECEFF1; }
::-webkit-scrollbar-thumb { background: #B3BCC8; border-radius: 10px; }

/* List Styles */
ul, ol {
  margin-left: 23px;
  margin-bottom: 18px;
}
li {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #113357;
  font-family: 'Roboto', sans-serif;
}

/* Accessibility Focus */
a:focus, .btn-primary:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #F3A622;
  outline-offset: 1px;
}

/* Code, Pre, etc. (just in case) */
code, pre {
  font-family: 'Roboto Mono', monospace;
  background: #ECEFF1;
  color: #113357;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.99rem;
}

/* Cards/Features On Blog */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.card {
  width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(17,51,87,0.08);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.15s;
}

/* Helper: Prevent Image Overflow */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ===============
   VISUAL HIERARCHY
   =============== */
.text-section h1,
.text-section h2,
.text-section h3 {
  text-align: left;
}

.text-section {
  margin-bottom: 24px;
}
.feature-grid h3 {
  color: #113357;
}
.feature-grid p {
  color: #50678A;
}

/* ============
   HOVER/ANIMATIONS
   ============ */
.card, .feature-item, .feature-grid > div, .btn-primary, .cookie-btn {
  transition: box-shadow 0.21s, transform 0.13s, background 0.2s;
}

/* ============
   ACCENT COLOR USAGE
   ============ */
::selection {
  background: #F3A622;
  color: #113357;
}

/******* END OF CSS *******/
