/* ====== 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, 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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #F1F6FB;
  color: #262B36;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #204080;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.7,.2,.17,1), text-decoration 0.2s cubic-bezier(.7,.2,.17,1);
}
a:hover,
a:focus {
  color: #FFB400;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}
li {
  margin-bottom: 0.5rem;
}

/* ====== BRAND FONT IMPORTS ====== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500&display=swap');

/* ====== COLOR VARIABLES ====== */
:root {
  --color-primary: #204080;
  --color-secondary: #F1F6FB;
  --color-accent: #FFB400;
  --color-dark: #262B36;
  --color-light: #fff;
  --color-card: #fff;
  --color-testimonial-bg: #F7F9FC;
  --color-footer-bg: #20253A;
  --color-footer-text: #fff;
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 1.3rem;
  position: relative;
  z-index: 1;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
  position: relative;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}
@media (min-width: 600px) {
  h1 {
    font-size: 2.9rem;
  }
  h2 {
    font-size: 2.1rem;
  }
  h3 {
    font-size: 1.32rem;
  }
}
strong {
  font-weight: bold;
}
p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--color-dark);
  line-height: 1.6;
}
/* Artistic text highlights */
h1, h2, h3, h4 {
  position: relative;
}
h1:after, h2:after {
  content: '';
  display: block;
  width: 50px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 3px;
  margin-top: 8px;
}
h2:after { width: 32px; height: 4px; }

/* ====== LAYOUT CONTAINERS ====== */
.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  background: none;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(32, 64, 128, 0.06);
  position: relative;
}

/* ====== HEADER & NAVIGATION ====== */
header {
  background: var(--color-light);
  border-bottom: 2.5px solid var(--color-accent);
  position: sticky;
  top: 0;
  z-index: 1002;
}
.header-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0 14px 0;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 7px 0px;
  position: relative;
  transition: color 0.2s cubic-bezier(.7,.2,.17,1);
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-accent);
  text-decoration: none;
}
.cta-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 12px 28px;
  border: none;
  border-radius: 28px;
  box-shadow: 0 4px 18px 0 rgba(255,180,0,.12);
  cursor: pointer;
  margin-left: 18px;
  transition: transform 0.18s cubic-bezier(.7,.2,0,1),
              background 0.16s cubic-bezier(.7,.2,.17,1),
              box-shadow 0.23s cubic-bezier(.7,.2,.17,1);
  letter-spacing: 0.04em;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px) scale(1.05) rotate(-2deg);
  box-shadow: 0 8px 28px 0 rgba(32,64,128,.17);
}

/* ====== MOBILE NAVIGATION ====== */
.mobile-menu-toggle {
  display: inline-flex;
  background: var(--color-light);
  color: var(--color-primary);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  font-size: 1.78rem;
  margin-left: 12px;
  cursor: pointer;
  box-shadow: 0 2px 14px 0 rgba(255,180,0,.07);
  transition: background 0.1s, color 0.12s, border 0.15s;
  z-index: 1101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,64,128,0.97);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 24px 0 24px;
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(.7,.2,.17,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 26px;
  right: 26px;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  width: 43px; height: 43px;
  font-size: 1.65rem;
  cursor: pointer;
  z-index: 1210;
  box-shadow: 0 2px 14px 0 rgba(255,180,0,.21);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.13s, color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-primary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 36px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 12px 0;
  border-radius: 12px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: rgba(255,255,255,0.08);
}

@media (min-width: 992px) {
  .mobile-menu-toggle { display: none !important; }
  .mobile-menu { display: none !important; }
  .main-nav { display: flex !important; }
}
@media (max-width: 991px) {
  .header-flex { flex-direction: row; }
  .main-nav { display: none !important; }
  .cta-btn { margin-left: auto; }
}
@media (max-width: 768px) {
  header {
    padding-bottom: 0;
  }
  .container {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  .header-flex {
    flex-direction: row;
    gap: 14px;
    padding: 10px 0 10px 0;
  }
}

/* ====== HERO STYLES ====== */
section:nth-child(1) {
  background: linear-gradient(95deg, rgba(255,180,0,0.16), var(--color-secondary) 80%);
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.6rem;
  }
}

/* ====== FEATURE GRID (MANDATORY FLEXBOX) ====== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  background: var(--color-card);
  flex: 1 1 240px;
  padding: 32px 22px 22px 22px;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(32,64,128,.07);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 210px;
  position: relative;
  transition: transform 0.16s, box-shadow 0.18s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  transform: translateY(-7px) scale(1.025) rotate(-0.8deg);
  box-shadow: 0 6px 24px 0 rgba(32,64,128,.11);
  z-index: 1;
}
.feature-grid img {
  width: 40px; height: 40px;
  margin-bottom: 22px;
  filter: drop-shadow(0 2px 7px rgba(255,180,0,0.08));
}
.feature-grid h3 {
  color: var(--color-primary);
  margin-bottom: 0.2rem;
  font-size: 1.17rem;
}
.feature-grid p {
  color: #3a4560;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ====== TESTIMONIAL CARD FLEX STYLES ====== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-testimonial-bg);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 1.5px 11px 0 rgba(32,64,128,.06);
  margin-bottom: 20px;
  margin-top: 10px;
  flex-direction: row;
  min-height: 83px;
  border-left: 5px solid var(--color-accent);
  transition: box-shadow 0.21s, border-color 0.15s;
}
.testimonial-card p {
  color: #222a3c;
  font-size: 1.13rem;
  font-style: italic;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  flex: 1;
  margin-bottom: 0;
}
.testimonial-card span {
  font-family: 'Roboto', Arial, sans-serif;
  color: #424657;
  font-size: 0.99rem;
  opacity: 0.81;
}
.testimonial-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 32px 0 rgba(32,64,128,0.11);
}
@media (max-width: 640px) {
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ====== CARD CONTAINER (MANDATORY FLEXBOX) ====== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card);
  border-radius: 15px;
  box-shadow: 0 2px 12px 0 rgba(32,64,128,.07);
  padding: 18px 18px 14px 18px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.21s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 6px 20px 0 rgba(32,64,128,.13);
  transform: scale(1.016);
  z-index: 1;
}

/* ====== CONTENT GRID (MANDATORY FLEXBOX) ====== */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
/* ====== TEXT-IMAGE SECTION (MANDATORY FLEXBOX) ====== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ====== FEATURE ITEM (MANDATORY FLEXBOX) ====== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* ====== SECTION & SPACING (MANDATORY RULES) ====== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
}
@media (max-width: 600px) {
  section {
    padding: 21px 7px;
    margin-bottom: 38px;
    border-radius: 13px;
  }
}

/* ====== LISTS / UL / LI ====== */
ul {
  padding-left: 20px;
  margin-bottom: 1.6em;
  list-style-type: disc;
}
ul li {
  margin-bottom: 0.6em;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  color: #2b395a;
}
ul li img {
  width: 22px; height: 22px; margin-right: 7px; vertical-align: middle;
}

/* ====== ARTISTIC & UNIQUE ELEMENTS ====== */
/* Artistic underline for active nav links */
.main-nav a.active {
  color: var(--color-accent);
  text-shadow: 0 2px 12px rgba(255,180,0,.13);
  border-bottom: 2.5px solid var(--color-accent);
  border-radius: 3px;
}

/* Unique accent blobs (optional, low opacity background shape) */
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: -18px; left: -22px;
  width: 90px; height: 70px;
  background: var(--color-accent);
  opacity: 0.07;
  filter: blur(12px);
  border-radius: 50%;
  z-index: 0;
}
.section {
  position: relative;
  z-index: 1;
}

/* ====== FOOTER ====== */
footer {
  background: var(--color-footer-bg);
  padding: 38px 0 20px 0;
  color: var(--color-footer-text);
  position: relative;
}
.footer-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 44px;
  flex-wrap: wrap;
}
.footer-flex > * {
  flex: 1 1 170px;
  min-width: 140px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 1rem;
  opacity: 0.89;
  transition: opacity 0.17s, color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
  opacity: 1;
}
.footer-contact p {
  color: #cbcee3;
  opacity: 0.88;
  font-size: 0.99rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin-bottom: 0.36em;
}
footer img {
  width: 52px; height: 52px; margin-bottom: 7px;
}
@media (max-width:740px) {
  .footer-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  padding: 24px 10px 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10000;
  box-shadow: 0 -2px 32px 0 rgba(32,64,128,0.14);
  gap: 18px;
  font-size: 1rem;
  animation: cookiebanner-slide 0.6s ease;
}
@keyframes cookiebanner-slide {
  0% { transform: translateY(100%); opacity:0; } 100% { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 7px;
}
.cookie-banner button {
  padding: 9px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.14s, color 0.13s;
  margin-right: 7px;
}
.cookie-banner .accept {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-light);
  color: var(--color-primary);
}
.cookie-banner .reject {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-banner .settings {
  background: var(--color-light);
  color: var(--color-primary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* ====== COOKIE CONSENT MODAL ====== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,40,80,0.88);
  z-index: 12001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .cookie-modal-content {
  background: var(--color-light);
  padding: 34px 25px 28px 25px;
  border-radius: 21px;
  box-shadow: 0 2px 33px 0 rgba(32,64,128,.18);
  min-width: 310px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  margin-bottom: 0.4em;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #f6f8fc;
  border-radius: 13px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.cookie-category span {
  font-size: 1.02rem;
  color: #333a4d;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-toggle {
  width: 36px; height: 21px;
  border-radius: 22px;
  background: #e2e4ee;
  position: relative;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.18s;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--color-accent);
}
.cookie-toggle .toggle-knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 17px; height: 17px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.21s;
}
.cookie-toggle[aria-checked="true"] .toggle-knob {
  left: 16px;
}
.cookie-modal .modal-btns {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 13px;
}
.cookie-modal .close-modal {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 22px;
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.99rem;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .close-modal:hover {
  background: var(--color-primary);
  color: #fff;
}
.cookie-modal .save-modal {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 22px;
  padding: 8px 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.01rem;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .save-modal:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ====== RESPONSIVE ADJUSTMENTS ====== */
@media (max-width: 1024px) {
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div {
    min-width: 140px;
    width: 100%;
  }
}
@media (max-width: 600px) {
  .footer-flex { flex-direction: column; gap: 17px; }
  .footer-contact p { font-size: 0.95rem; }
  .cta-btn { font-size: 1rem; padding: 10px 18px; }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* ====== BUTTONS, HOVERS & INTERACTIONS ====== */
button, .cta-btn {
  outline: none;
}
button:active, .cta-btn:active {
  outline: none;
  transform: scale(0.98) rotate(-1deg);
}

/* ====== ANIMATIONS & MICRO-INTERACTIONS ====== */
.cta-btn, .card, .feature-grid > div, .testimonial-card, .main-nav a, .footer-nav a, .mobile-nav a, .cookie-banner button {
  transition: 
    box-shadow 0.19s cubic-bezier(.7,.2,.17,1),
    transform 0.18s cubic-bezier(.7,.2,.17,1),
    background 0.13s,
    color 0.13s,
    border 0.13s;
}

/* ====== MISCELLANEOUS ====== */
::-webkit-scrollbar {
  width: 10px; background: var(--color-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 11px;
}

/* ====== THANK YOU PAGE & GENERIC CTA SECTION ====== */
section .cta-btn {
  margin-top: 15px;
}

/* ====== CLEAR VISIBILITY FOR ALL BUTTONS ====== */
[role="button"], button, .cta-btn {
  cursor: pointer;
  user-select: none;
}

/* ====== FOCUS STYLES ====== */
:focus-visible {
  outline: 2px dashed var(--color-accent);
  outline-offset: 2px;
}

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