/* ===== CSS RESET & NORMALIZE ===== */
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, font, 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F5F6FA;
  color: #223A4C;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
}
h1 { font-size: 2.5rem; letter-spacing: -1px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
strong { font-weight: 700; }

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: #223A4C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD24C;
  outline: none;
}

ul, ol {
  margin-bottom: 20px;
  margin-left: 1.2em;
  padding-left: 1em;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.6;
}

blockquote {
  font-style: italic;
  border-left: 4px solid #FFD24C;
  background: #fffbe7;
  margin: 20px 0;
  padding: 18px 20px 18px 28px;
  color: #223A4C;
}

button, .cta-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 36px;
  border: none;
  background: #FFD24C;
  color: #223A4C;
  box-shadow: 0 4px 24px -6px #FFD24C99;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  text-shadow: 0 1px 2px #ffffff95;
}
button:focus,
.cta-btn:focus {
  outline: 2px solid #223A4C;
}
.cta-btn:hover, button:hover {
  background: #223A4C;
  color: #FFD24C;
  box-shadow: 0 2px 16px -5px #223A4C66;
  transform: translateY(-2px) scale(1.04);
}

p, .subtitle, .notice {
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.subtitle {
  font-size: 1.2rem;
  color: #223A4C;
  opacity: 0.9;
}
.notice {
  color: #e15a00;
  background: #fff3e0;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  margin-top: 8px;
  display: inline-block;
}

/* ===== GENERAL CONTAINER & FLEX SPACING ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

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

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

.text-section {
  margin-bottom: 20px;
}

/* ===== FLEXBOX LAYOUT PATTERNS (NO GRID!!) ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px -8px #223A4C22;
  position: relative;
  padding: 28px 22px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px -10px #223A4C44;
  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;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px -8px #223A4C18;
  margin-bottom: 24px;
  min-width: 270px;
  max-width: 380px;
  flex: 1 1 250px;
  position: relative;
  border: 2px solid #FFD24C55;
  transition: box-shadow 0.2s, border 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px -8px #FFD24C33;
  border: 2px solid #FFD24C;
}
.testimonial-card .testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #223A4C;
}
.testimonial-card strong {
  font-size: 1.07rem;
  color: #223A4C;
}
.testimonial-card span {
  font-size: 1.2rem;
  color: #FFD24C;
  letter-spacing: 1px;
}
.testimonial-card p {
  color: #223A4C;
  font-size: 1rem;
  margin-bottom: 0;
  font-weight: 500;
}

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

/* ===== SPECIAL: HERO ===== */
.hero {
  background: #223A4C;
  color: #FFD24C;
  border-bottom: 7px solid #FFD24C;
  padding: 58px 0 48px 0;
  margin-bottom: 60px;
  text-align: left;
  position: relative;
  box-shadow: 0 4px 48px -16px #223A4C99;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  gap: 18px;
}
.hero h1 {
  color: #FFD24C;
  font-size: 2.8rem;
  line-height: 112%;
}
.hero .subtitle {
  color: #F5F6FA;
  opacity: 0.96;
  font-size: 1.18rem;
}
.hero .cta-btn {
  background: #FFD24C;
  color: #223A4C;
  font-size: 1.15rem;
  margin-top: 12px;
}
.hero .cta-btn:hover {
  background: #fff;
  color: #223A4C;
}

/* ===== NAVIGATION & HEADER ===== */
header {
  background: #fff;
  border-bottom: 3px solid #FFD24C;
  padding: 0;
  box-shadow: 0 2px 24px -9px #223A4C16;
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 12px 20px 12px 20px;
}
header img {
  max-height: 40px;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  font-size: 1rem;
  color: #223A4C;
  transition: color 0.16s, background 0.16s, border 0.16s;
  border-radius: 16px;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFD24C;
  text-decoration: none;
}

.mobile-menu-toggle {
  background: #FFD24C;
  color: #223A4C;
  font-size: 2rem;
  padding: 8px 16px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  display: none;
  margin-left: 20px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 105;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #223A4C;
}
.mobile-menu-toggle:hover {
  background: #223A4C;
  color: #FFD24C;
  transform: scale(1.08) rotate(-6deg);
}

/* ==== MOBILE MENU / OVERLAY ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: #223A4C;
  color: #FFD24C;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.52,1,.4,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 24px;
  gap: 30px;
  box-shadow: -6px 0 50px -8px #223A4C99;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FFD24C;
  color: #223A4C;
  border: none;
  font-size: 2.5rem;
  font-weight: 700;
  border-radius: 50%;
  width: 48px; height: 48px;
  line-height: 1;
  margin-left: 20px;
  margin-bottom: 16px;
  transition: background 0.2s, color 0.2s, transform 0.16s;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #223A4C;
  color: #FFD24C;
  transform: rotate(17deg) scale(1.07);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 22px;
  width: 90vw;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  color: #FFD24C;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.14s, border-bottom 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  border-bottom: 2px solid #FFD24C;
}

/* ======= SECTIONS & CARDS ======= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-top: 20px;
  margin-bottom: 0;
}
.feature-grid li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px -10px #FFD24C55;
  padding: 22px 18px 18px 18px;
  min-width: 200px;
  flex: 1 1 220px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: #223A4C;
  transition: box-shadow 0.17s, border 0.13s;
  border: 2px solid #F5F6FA;
  font-size: 1.05rem;
}
.feature-grid li strong {
  color: #223A4C;
  font-size: 1.13rem;
  margin-bottom: 2px;
}
.feature-grid li img {
  width: 32px;
  margin-bottom: 4px;
}
.feature-grid li:hover {
  border: 2px solid #FFD24C;
  box-shadow: 0 2px 24px -10px #FFD24C77;
}

.cta-section, .cta-final, .thankyou-section {
  background: #FFD24C;
  color: #223A4C;
  padding: 48px 0;
  text-align: center;
  margin-bottom: 0;
}
.cta-final h2, .cta-section h2, .thankyou-section h1 {
  font-size: 2.2rem;
  color: #223A4C;
}
.cta-final .cta-btn, .cta-section .cta-btn, .thankyou-section .cta-btn {
  margin-top: 20px;
  background: #223A4C;
  color: #FFD24C;
  box-shadow: 0 6px 36px -10px #223A4C77;
}
.cta-final .cta-btn:hover, .cta-section .cta-btn:hover, .thankyou-section .cta-btn:hover {
  background: #FFD24C;
  color: #223A4C;
  box-shadow: 0 2px 12px -5px #FFD24C99;
}

/* Blog Article Cards */
article {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px -8px #FFD24C33;
  padding: 24px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
article h2 {
  font-size: 1.2rem;
  color: #223A4C;
}
article span {
  font-size: 0.96rem;
  color: #FFD24C;
  font-weight: 700;
  text-transform: uppercase;
}
article:hover {
  box-shadow: 0 6px 24px -10px #FFD24C88;
}

/* ====== FOOTER ======= */
footer {
  background: #223A4C;
  color: #FFD24C;
  padding: 44px 0 22px 0;
  margin-top: 60px;
  font-size: 1rem;
  box-shadow: 0 -2px 44px -12px #223A4C33;
  position: relative;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #FFD24C;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 1.01rem;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FFD24C;
  color: #223A4C;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFD24C;
  font-size: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}
.footer-brand img {
  max-height: 34px;
}
.footer-brand span {
  font-size: 0.9rem;
  color: #FFD24C;
  opacity: 0.7;
}

/* ====== SPACING & ALIGNMENT REQUIREMENTS ====== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

section .container > h1,
section .container > h2 {
  margin-bottom: 20px;
  color: #223A4C;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

.content-wrapper, .feature-grid, .card-container, .content-grid, .text-image-section, .testimonial-row {
  gap: 24px;
}

@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .container { max-width: 100vw; }
  .feature-grid li, .card {
    min-width: 48%;
    flex: 1 1 48%;
  }
}
@media (max-width: 768px) {
  header .container { flex-direction: row; gap: 10px; }
  .main-nav {
    display: none;
  }
  .cta-btn {
    font-size: 1.05rem;
    padding: 10px 22px;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  section, .section {
    padding: 28px 0;
    margin-bottom: 36px;
  }
  .hero {
    padding: 32px 0 24px 0;
  }
  .hero h1 { font-size: 2.1rem; }
  .feature-grid {
    gap: 16px;
  }
  .content-grid, .card-container, .feature-grid, .testimonial-row {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    min-width: 90vw;
    max-width: 100vw;
  }
  .footer-contact { flex-direction: column; gap: 10px; }
  footer .container { gap: 20px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.35rem; }
  .feature-grid li, .card { min-width: 98%; flex: 1 1 98%; }
  .cta-final, .cta-section, .thankyou-section { padding: 35px 0; }
  section, .section { padding: 20px 0; }
  article { padding: 14px 6px; }
  .footer-brand img { max-height: 25px; }
}


/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 3000;
  background: #223A4C;
  color: #FFD24C;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 24px;
  box-shadow: 0 -2px 32px -8px #223A4Ccc;
  font-size: 1rem;
  animation: cookie-slide-in 0.7s cubic-bezier(0.56,2.04,.56,.99);
}
@keyframes cookie-slide-in {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-message {
  flex: 1 1 70%;
  font-size: 1rem;
  color: #FFD24C;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  background: #FFD24C;
  color: #223A4C;
  border: none;
  border-radius: 24px;
  padding: 8px 22px;
  font-weight: 700;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 10px -6px #223A4C44;
  font-size: 1rem;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #223A4C;
  color: #FFD24C;
  box-shadow: 0 2px 18px -8px #FFD24C88;
  outline: none;
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 10px 16px 10px;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-buttons { gap: 10px; }
}

/* ==== COOKIE POPUP MODAL === */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 3200;
  background: rgba(34,58,76,0.74);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookie-modal-in 0.5s cubic-bezier(.72,-0.02,.39,1.27);
}
@keyframes cookie-modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #223A4C;
  padding: 32px 26px 28px 26px;
  border-radius: 20px;
  min-width: 312px;
  max-width: 95vw;
  box-shadow: 0 8px 64px -18px #223A4C77;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-content h2 {
  color: #223A4C;
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 1rem;
}
.cookie-modal-content input[type='checkbox'] {
  accent-color: #FFD24C;
  transform: scale(1.3);
  margin-right: 7px;
}
.cookie-modal-content .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.cookie-modal-content .cookie-btn-row {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #FFD24C;
  color: #223A4C;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.33rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.13s;
}
.cookie-modal-close:hover {
  background: #223A4C;
  color: #FFD24C;
  transform: scale(1.06);
}
@media (max-width: 480px) {
  .cookie-modal-content {
    padding: 17px 5vw;
    min-width: 90vw;
  }

}


/* ===== EGZAMPLES OF TYPOGRAPHY SCALE ===== */
html { font-size: 16px; }
@media (max-width: 640px) {
  html { font-size: 15px; }
}
@media (max-width: 400px) {
  html { font-size: 14px; }
}

h1, .h1 { font-size: 2.5rem; font-weight: 800; }
h2, .h2 { font-size: 2rem; font-weight: 700; }
h3, .h3 { font-size: 1.4rem; font-weight: 700; }
h4, .h4 { font-size: 1.1rem; font-weight: 600; }
p, li, .body1 { font-size: 1.05rem; font-weight: 400; }

/* ===== MICRO-INTERACTIONS & HOVER EFFECTS ===== */
.cta-btn, button, .feature-grid li, .card, article, .testimonial-card {
  transition: background 0.15s, color 0.15s, box-shadow 0.13s, transform 0.13s;
}

.cta-btn:active, button:active, .feature-grid li:active, .card:active, article:active, .testimonial-card:active {
  transform: scale(0.97);
}

/* ====== FORMS ====== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid #FFD24C;
  padding: 10px 12px;
  margin-bottom: 18px;
  background: #fff;
  color: #223A4C;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 1.5px solid #223A4C;
  background: #FFF8DD;
}
label {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 6px;
  display: inline-block;
}

/* ===== THANK YOU / INFO ===== */
.thankyou-section {
  background: #fffbe7;
  color: #223A4C;
  padding: 48px 0 56px;
  border-top: 6px solid #FFD24C;
}
.thankyou-section .cta-btn {
  background: #223A4C;
  color: #FFD24C;
  margin-top: 20px;
}
.thankyou-section .cta-btn:hover {
  background: #FFD24C;
  color: #223A4C;
}

/* ===== SCROLLBAR (nice accent) ===== */
::-webkit-scrollbar {
  width: 10px;
  background: #F5F6FA;
}
::-webkit-scrollbar-thumb {
  background: #FFD24C;
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #F5F6FA;
}

@media (max-width: 480px) {
  .footer-brand { flex-direction: column; gap: 8px; }
}

/* ========== VIBRANT ENERGY ACCENTS ========== */
.feature-grid li:hover, .testimonial-card:hover, .card:hover, .cta-btn:hover, .main-nav a:hover {
  box-shadow: 0 6px 32px -10px #FFD24C99;
  background: #FFF8DD;
}

/* ========== DYNAMIC, HIGH-ENERGY COLOR ACCENTS ========== */
.cta-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal-close {
  border: 2.5px solid #FFD24C;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.cta-btn:hover, .mobile-menu-toggle:hover, .mobile-menu-close:hover, .cookie-banner button:hover {
  border-color: #223A4C;
}

/* =============== ACCESSIBILITY IMPROVEMENTS =============== */
.testimonial-card, .testimonial-card .testimonial-content, .footer-contact {
  color: #223A4C;
  background: #fff;
}

/* ============== Z-INDEX LAYERING ======== */
header { z-index: 10; }
.mobile-menu { z-index: 1200; }
.cookie-banner { z-index: 3000; }
.cookie-modal { z-index: 3200; }

/* ========== END ========== */
