/* ---- CSS RESET & BASE ---- */
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,
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, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fafffd;
  color: #173D6C;
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  position: relative;
  min-height: 100vh;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}
a {
  color: #173D6C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD166;
  text-decoration: underline;
}
ul, ol {
  padding-left: 26px;
}
strong {
  font-weight: bold;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #173D6C;
  margin-bottom: 16px;
  text-rendering: geometricPrecision;
}
h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-top: 32px;
}
h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 24px;
}
h4, h5, h6 {
  font-size: 1.15rem;
  font-weight: 700;
}
.subheadline {
  color: #457BB3;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 32px;
  margin-top: 8px;
}

p {
  font-size: 1rem;
  color: #173D6C;
  margin-bottom: 16px;
  line-height: 1.7;
}

/* ---- CONTAINER & GRID SYSTEM ---- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 32px;
  background: #fff5d7;
  box-shadow: 0 4px 34px rgba(23,61,108,0.07), 0 1.5px 5px rgba(255,209,102,0.08);
  position: relative;
  transition: box-shadow 0.2s;
}
.section:hover {
  box-shadow: 0 8px 38px #FFD16660, 0 2px 8px #173D6C18;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

/* ---- FLEX UTILITY & LAYOUTS ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 6px 30px #FFE17322;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  padding: 24px;
  transition: box-shadow 0.23s;
}
.card:hover {
  box-shadow: 0 10px 38px #FFD166a0, 0 2px 14px #173D6C18;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.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;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #fffde8;
  border-left: 6px solid #FFD166;
  border-radius: 20px;
  box-shadow: 0 2.5px 19px #FFD16616;
  color: #173D6C;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 20px;
  transition: box-shadow 0.20s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 38px #FFD16642;
  border-left: 10px solid #FFD166;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #173D6C;
}
.testimonial-card strong {
  color: #173D6C;
  font-weight: 700;
  font-size: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 18px;
  background: #fffbf2;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px #FFD16618;
}

/* ---- MAIN NAV BAR ---- */
header {
  background: #173D6C;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0;
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 80px;
}
header > a > img {
  height: 56px;
  margin: 14px 20px 14px 0;
  display: inline-block;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-right: auto;
  margin-left: 8px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  color: #FFD166;
  font-weight: 700;
  padding: 8px 8px;
  position: relative;
  transition: color 0.22s;
}
.main-nav a:after {
  content: '';
  display: block;
  margin: 0 auto;
  width: 0;
  height: 2px;
  background: #FFD166;
  transition: width 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #fff;
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 80%;
}
.cta-button {
  background: #FFD166;
  color: #173D6C;
  padding: 11px 30px;
  border-radius: 48px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 1px;
  display: inline-block;
  transition: box-shadow 0.2s, background 0.22s, color 0.25s;
  box-shadow: 0 2px 12px #FFD16630;
  margin-left: 16px;
  border: none;
  outline: none;
  cursor: pointer;
  text-shadow: 0 1px 1px #ffedab;
}
.cta-button:hover, .cta-button:focus {
  background: #fff;
  color: #173D6C;
  box-shadow: 0 6px 18px #FFD16699;
}

header .mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFD166;
  font-size: 2.1rem;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.2s;
  z-index: 103;
  outline: none;
}

@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 600px) {
  header > a > img {
    height: 46px;
    margin-right: 0px;
  }
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #173D6C;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.77,0.2,0.05,1.0);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 24px;
  box-shadow: 0 0 80px #173D6C30;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFD166;
  font-size: 2.2rem;
  font-weight: bold;
  align-self: flex-end;
  margin: 16px 30px 8px 0;
  cursor: pointer;
  z-index: 2101;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
  margin-top: 32px;
  padding-left: 40px;
}
.mobile-nav a {
  color: #FFD166;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 18px 0 6px 0;
  transition: color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
}

@media (min-width: 951px) {
  .mobile-menu { display: none !important; }
}

/* ---- FOOTER ---- */
footer {
  background: #FFD166;
  color: #173D6C;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 16px #ffd16629;
  margin-top: 60px;
}
footer .content-wrapper {
  padding: 32px 0 12px 0;
  flex-direction: column;
  gap: 20px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.footer-nav a, .footer-legal a {
  color: #173D6C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: #fff;
}
.brand-signature {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-style: italic;
  color: #173D6C;
  margin-top: 14px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}
.contact-details img {
  margin-right: 8px;
  vertical-align: middle;
  width: 22px;
  height: 22px;
}
.contact-details p {
  font-size: 1rem;
}

/* ---- FEATURE GRID ---- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 20px 0 0 0;
  list-style: none;
  justify-content: flex-start;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 18px;
  background: #ffe07e50;
  border-radius: 16px;
  min-width: 220px;
  box-shadow: 0 2px 16px #FFD16626;
  font-size: 1.08rem;
  margin-bottom: 8px;
  flex: 1 1 200px;
  transition: background 0.18s;
  position: relative;
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}
.feature-grid li strong {
  color: #173D6C;
}
.feature-grid li:hover {
  background: #fff8c5dd;
}

/* ---- LISTS & UL/OL ---- */
ul, ol {
  margin-bottom: 18px;
  font-size: 1.06rem;
}
ul li, ol li {
  margin-bottom: 12px;
  line-height: 1.6;
}

/* ---- SECTION STYLES ---- */
section {
  padding: 10px 0;
}

@media (max-width: 768px) {
  section {
    padding: 24px 0;
  }
  .container {
    padding: 0 7px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav, .footer-legal {
    gap: 12px;
  }
  .testimonial-card {
    padding: 17px 10px;
    font-size: 1.02rem;
  }
}

/* ---- BUTTON STYLES ---- */
button, .cta-button {
  outline: none;
  border: none;
  cursor: pointer;
}

button:disabled,
.cta-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ---- ANIMATION/MICROINTERACTION ---- */
.cta-button, .card, .feature-grid li, .mobile-nav a, .testimonial-card {
  transition: box-shadow 0.2s, background 0.18s, color 0.15s, border-color 0.21s, transform 0.12s;
}
.cta-button:active {
  transform: scale(0.98);
}
.card:active, .feature-grid li:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* ---- COOKIE CONSENT BANNER ---- */
#cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #173D6C;
  color: #FFD166;
  z-index: 3000;
  padding: 20px 12px;
  box-shadow: 0 -6px 36px #173D6C85;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  transition: transform 0.5s cubic-bezier(.68,-0.55,.27,1.55);
  transform: translateY(0);
}
#cookie-banner.hide {
  transform: translateY(100%);
}
#cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 18px;
  margin-top: 13px;
}
#cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 22px;
  padding: 9px 22px;
  font-size: 1rem;
  margin: 0 4px;
  min-width: 120px;
  border: none;
  outline: none;
  font-weight: 700;
  box-shadow: 0 2px 8px #FFD16655;
  transition: background 0.18s, color 0.18s;
}
#cookie-banner .cookie-accept {
  background: #FFD166;
  color: #173D6C;
}
#cookie-banner .cookie-accept:hover {
  background: #fff5d7;
  color: #173D6C;
}
#cookie-banner .cookie-reject {
  background: #fff5d7;
  color: #173D6C;
}
#cookie-banner .cookie-reject:hover {
  background: #FFD166;
  color: #173D6C;
}
#cookie-banner .cookie-settings {
  background: #173D6C;
  color: #FFD166;
  border: 1.5px solid #FFD166;
}
#cookie-banner .cookie-settings:hover {
  background: #FFD166;
  color: #173D6C;
}
@media (max-width: 576px) {
  #cookie-banner {
    padding: 14px 4px;
  }
  #cookie-banner .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    align-items: stretch;
  }
}

/* ---- COOKIE MODAL ---- */
#cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 94vw;
  max-width: 370px;
  background: #fffef8;
  border-radius: 34px;
  box-shadow: 0 8px 56px #173D6C70;
  z-index: 4000;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: opacity 0.23s, transform 0.3s;
  display: none;
  flex-direction: column;
  padding: 34px 32px 24px 32px;
  color: #173D6C;
  font-family: 'Montserrat', Arial, sans-serif;
}
#cookie-modal.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
#cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #173D6C;
  font-size: 1.55rem;
  cursor: pointer;
}
#cookie-modal h2 {
  color: #173D6C;
  margin-bottom: 18px;
}
#cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 9px 0 9px 0px;
}
#cookie-modal .cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #173D6C;
  font-size: 1.08rem;
}
/* Switch style */
#cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  margin-left: 10px;
}
#cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
#cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #FFD166;
  border-radius: 22px;
  transition: .27s;
}
#cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #173D6C;
  border-radius: 50%;
  transition: .27s;
}
#cookie-modal .switch input:checked + .slider {
  background-color: #173D6C;
}
#cookie-modal .switch input:checked + .slider:before {
  background: #FFD166;
  transform: translateX(16px);
}
#cookie-modal .category-desc {
  color: #19365f;
  font-size: 0.95rem;
  margin: 3px 0 8px 2px;
}
#cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin: 22px 0 0 0;
  width: 100%;
  justify-content: flex-end;
}
#cookie-modal .cookie-modal-actions button {
  border-radius: 22px;
  padding: 9px 26px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border: none;
  cursor: pointer;
  margin-left: 0;
}
#cookie-modal .cookie-save {
  background: #FFD166;
  color: #173D6C;
}
#cookie-modal .cookie-modal-actions .cookie-save:hover {
  background: #fff6d5;
}
#cookie-modal .cookie-cancel {
  background: #173D6C;
  color: #FFD166;
  border: 1.5px solid #FFD166;
}
#cookie-modal .cookie-cancel:hover {
  background: #FFD166;
  color: #173D6C;
}
@media (max-width: 600px) {
  #cookie-modal { padding: 20px 6vw 12px 6vw; min-width: 0; }
}

/* ---- RESPONSIVE TEXT & SCALE ---- */
@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  .subheadline { font-size: 1.01rem; margin-bottom: 18px; }
  p, .testimonial-card p {
    font-size: 1.01rem;
  }
  .cta-button { font-size: 0.93rem; padding: 10px 19px; }
  .brand-signature { font-size: 0.98rem; }
  .contact-details p { font-size: 0.95rem; }
}

/* ---- ARTISTIC/CREATIVE STYLE EXTRAS ---- */
.section {
  box-shadow: 0 6px 38px #FFD16622, 0 1.5px 7px #173D6C10;
  background: linear-gradient(120deg, #fffbe7 80%, #FFD16614 100%);
  position: relative;
  overflow: visible;
}
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: -28px; top: -28px;
  width: 60px; height: 60px;
  background: #FFD16680;
  border-radius: 40% 60% 38% 62%/60% 48% 52% 40%;
  z-index: 0;
  opacity: 0.22;
  pointer-events: none;
  transition: transform 0.2s;
}
.section:hover:before {
  transform: scale(1.07) rotate(8deg);
}

.card:after {
  content: '';
  position: absolute;
  right: -15px;
  bottom: -15px;
  width: 55px;
  height: 55px;
  background: #FFD16644;
  border-radius: 56% 44% 52% 48%/44% 56% 48% 52%;
  z-index: 0;
  opacity: 0.20;
  pointer-events: none;
}

.feature-grid li:before {
  content: '';
  width: 23px;
  height: 7px;
  background: #FFD166aa;
  border-radius: 5px 12px 7px 14px;
  position: absolute;
  left: 10px;
  top: 12px;
  opacity: 0.07;
  transform: rotate(-8deg);
}

/***** ARTISTIC FONTS & EFFECTS *****/
h1, h2, h3, .cta-button {
  text-shadow: 0px 2px 12px #FFD1661a, 0 1px 0px #fff8e8ab;
}

@media (max-width: 400px) {
  h1, h2, h3 {font-size: 1.1rem !important;}
}

/* --- DYNAMIC ELEMENTS (JS ADDS #cookie-banner & #cookie-modal) --- */

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