/* ===============================
   CSS RESET & BASE STYLES
   =============================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #F5F7FA;
  color: #1C2636;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-size: 1rem;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.2em;
}
a {
  color: #3b647a;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1C2636;
  text-decoration: underline;
}
button {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}
:focus {
  outline: 2px solid #66A5AD;
  outline-offset: 2px;
}

/* ===============================
   BRAND TYPOGRAPHY
   =============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1C2636;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 10px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1.12rem;
}
p, ul, ol, li {
  font-size: 1.06rem;
}

strong {
  font-weight: bold;
}

/* Artistic/Creative Headings */
h1, h2 {
  position: relative;
  z-index: 1;
}
h1::after, h2::after {
  content: '';
  display: block;
  width: 55px;
  height: 6px;
  border-radius: 3px;
  background: #FFD765;
  position: absolute;
  left: 0;
  bottom: -12px;
  z-index: -1;
  opacity: 0.7;
}

/* ===============================
   CONTAINER & LAYOUT HELPERS
   =============================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* ===============================
   HEADER & NAVIGATION
   =============================== */
header {
  background: #F5F7FA;
  width: 100vw;
  padding: 20px 0;
  border-bottom: 2px solid #D8EAF0;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
header a img {
  display: block;
  max-height: 52px;
}
nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #3b647a;
  border-radius: 8px;
  padding: 6px 12px;
  transition: background 0.15s, color 0.15s;
}
nav a:focus, nav a:hover {
  background: #FFD765;
  color: #1C2636;
}
.cta.primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #1C2636;
  color: #fff;
  border-radius: 25px;
  padding: 9px 28px;
  margin-left: 20px;
  font-size: 1.12rem;
  box-shadow: 0 2px 12px 0 rgba(28,38,54,0.06);
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  border: 2px solid #1C2636;
}
.cta.primary:hover, .cta.primary:focus {
  background: #66A5AD;
  color: #1C2636;
  border-color: #66A5AD;
  box-shadow: 0 4px 16px 0 rgba(28,38,54,0.08);
}
.cta.secondary {
  background: #FFD765;
  color: #1C2636;
  border-radius: 25px;
  padding: 8px 28px;
  font-weight: 700;
  box-shadow: 0 2px 12px 0 rgba(242,201,76,0.07);
  letter-spacing: 0.01em;
  margin-top: 22px;
  border: 2px solid #FFD765;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #1C2636;
  color: #FFD765;
  border-color: #1C2636;
  box-shadow: 0 4px 16px 0 rgba(28,38,54,0.08);
}

/* Burger menu toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #FFD765;
  border-radius: 40px;
  padding: 5px 16px;
  color: #1C2636;
  border: 2px solid #FFD765;
  margin-left: 16px;
  z-index: 40;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #66A5AD;
  color: #fff;
  outline: none;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,38,54,0.95);
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.75,0,.3,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 35px;
  gap: 18px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: #FFD765;
  background: none;
  border: none;
  align-self: flex-end;
  margin-right: 24px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 1220;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  width: 100%;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  font-size: 1.28rem;
  color: #F5F7FA;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 11px 4px;
  border-radius: 7px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD765;
  color: #1C2636;
}

@media (max-width: 992px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  header nav {
    gap: 12px;
  }
  .cta.primary {
    padding: 9px 13px;
    font-size: 1rem;
    margin-left: 8px;
  }
  nav a {
    font-size: 0.99rem;
    padding: 6px 7px;
  }
}
@media (max-width: 850px) {
  header .container {
    gap: 7px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 8px;
    padding-left: 10px;
    padding-right: 10px;
  }
  nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 500px) {
  header .container {
    padding-left: 2px;
    padding-right: 2px;
  }
}

/* ===============================
   HERO SECTIONS
   =============================== */
.hero {
  width: 100vw;
  padding: 40px 0 0 0;
  background: linear-gradient(115deg, #fff 76%, #FFD765 100%);
  min-height: 350px;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 280px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 220px;
  gap: 16px;
  padding-top: 10px;
}
.hero h1 {
  font-size: 2.7rem;
  color: #1C2636;
}
.hero h2 {
  font-size: 1.55rem;
  color: #2e7083;
  margin-bottom: 8px;
  font-weight: 600;
}
.hero p {
  font-size: 1.13rem;
  color: #3b647a;
  margin-bottom: 4px;
}
.hero .cta.primary {
  margin-top: 18px;
}
@media (max-width: 650px) {
  .hero .content-wrapper h1 {
    font-size: 2rem;
  }
  .hero .content-wrapper h2 {
    font-size: 1.18rem;
  }
}
@media (max-width: 510px) {
  .hero {
    padding: 20px 0 0 0;
    min-height: 220px;
  }
  .hero .content-wrapper {
    gap: 12px;
    min-height: 150px;
  }
}

/* ================================
   SECTIONS & STRUCTURE
   ================================ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 4px 28px 0 rgba(112,129,157,0.05);
}

.container + .container {
  margin-top: 32px;
}
.content-wrapper > h2 {
  margin-top: 0;
}

/* ============================
   CARDS, FEATURES, GRIDS
   ============================ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 16px;
}
.feature-grid > div {
  flex: 1 1 225px;
  min-width: 220px;
  max-width: 325px;
  background: #FFF9E5;
  border-radius: 21px;
  box-shadow: 0 2px 24px 0 rgba(255,215,101,0.07);
  padding: 24px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 205px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.14s, transform 0.14s;
  border: 2.5px solid #FFD76522;
}
.feature-grid > div img {
  max-height: 48px;
  width: auto;
  margin-bottom: 10px;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 8px 32px 0 rgba(28,38,54,0.11);
  transform: translateY(-2px) scale(1.02);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 16px rgba(28,38,54,0.07);
  border-radius: 20px;
  margin-bottom: 20px;
  padding: 24px;
  min-width: 200px;
  max-width: 320px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(28,38,54,0.12);
  transform: translateY(-3px) scale(1.01);
}

.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;
  margin-bottom: 32px;
}

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

.text-section {
  margin: 18px 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul, .text-section ol {
  margin-left: 18px;
  font-size: 1rem;
}
.text-section h3 {
  color: #66A5AD;
  font-size: 1.12rem;
}

.category-tabs {
  display: flex;
  gap: 16px;
  margin: 24px 0 15px 0;
  flex-wrap: wrap;
}
.category-tabs a {
  background: #66A5AD;
  color: #fff;
  padding: 7px 18px;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.012em;
  box-shadow: 0 2px 7px rgba(102,165,173,0.09);
  transition: background 0.14s, color 0.14s;
}
.category-tabs a:hover, .category-tabs a:focus {
  background: #FFD765;
  color: #1C2636;
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials {
  background: #FFD765;
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 40px 20px 30px 20px;
}
.testimonials h2 {
  color: #1C2636;
  margin-bottom: 30px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 20px 26px;
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 26px 0 rgba(44,89,120,0.09);
  min-width: 225px;
  max-width: 390px;
  flex: 1 1 270px;
  border-left: 7px solid #66A5AD;
  position: relative;
  z-index: 2;
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #1C2636;
  font-style: italic;
  line-height: 1.38;
}
.testimonial-card .testimonial-name {
  color: #66A5AD;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.014em;
}

@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 22px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 18px 14px 18px 15px;
  }
}

/* ============================
   FOOTER
   ============================ */
footer {
  background: #1C2636;
  color: #fff;
  padding: 34px 0 13px 0;
  width: 100vw;
  box-shadow: 0 -2px 32px 0 rgba(28,38,54,0.07);
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 17px;
}
footer nav a {
  color: #FFD765;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  padding: 2px 7px;
  transition: color 0.14s, background 0.14s;
  border-radius: 7px;
}
footer nav a:hover, footer nav a:focus {
  color: #1C2636;
  background: #FFD765;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.social-links a {
  display: flex;
  align-items: center;
  transition: filter 0.18s, transform 0.16s;
}
.social-links a:hover, .social-links a:focus {
  filter: brightness(1.12) drop-shadow(0 3px 9px #FFD76580);
  transform: scale(1.11);
  outline: none;
}
.legal-info {
  margin-top: 10px;
  font-size: 0.93rem;
  color: #C8E2E7;
  letter-spacing: 0.007em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */
@media (max-width: 1150px) {
  .container {
    max-width: 99vw;
  }
}
@media (max-width: 1000px) {
  .feature-grid > div {
    min-width: 200px;
    max-width: 45vw;
  }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    padding: 28px 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 575px) {
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .section {
    padding: 23px 4px;
    margin-bottom: 40px;
    border-radius: 12px;
  }
  .hero {
    padding-top: 19px;
    border-radius: 0 0 14px 14px;
  }
}

/* ============================
   INTERACTIONS & ANIMATIONS
   ============================ */
.feature-grid > div, .card, .testimonial-card, .cta.primary, .cta.secondary {
  transition: box-shadow 0.18s, transform 0.17s, background 0.14s, color 0.13s;
}
.cta.primary, .cta.secondary {
  cursor: pointer;
}
.cta.primary:active, .cta.secondary:active {
  transform: scale(0.98);
}
.category-tabs a:active {
  transform: scale(0.98);
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1800;
  background: #1C2636;
  color: #FFD765;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px 24px 12px;
  box-shadow: 0 -4px 40px 0 rgba(28,38,54,0.12);
  animation: banner-slidein 0.6s cubic-bezier(.72,0,.3,1);
}
@keyframes banner-slidein {
  from {
    transform: translateY(120%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.cookie-consent-banner p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #FFD765;
  text-align: center;
}
.cookie-consent-banner .cookie-btn-row {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 7px 17px;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid #FFD765;
  margin-right: 2px;
  margin-bottom: 2px;
  background: #FFD765;
  color: #1C2636;
  transition: background .17s, color .17s;
  box-shadow: 0 2px 7px #FFD76522;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #66A5AD;
  color: #fff;
  border-color: #66A5AD;
}
.cookie-btn.cookie-settings {
  background: #66A5AD;
  color: #fff;
  border-color: #FFD765;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #FFD765;
  color: #1C2636;
}
/* Hide banner if not wanted (should use JS class to hide) */
.cookie-consent-banner.closed { display: none; }

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(28,38,54,0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.43s;
}
@keyframes modal-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.cookie-modal {
  background: #fff;
  color: #1C2636;
  padding: 32px 26px 28px 26px;
  border-radius: 22px;
  max-width: 340px;
  width: 95vw;
  box-shadow: 0 7px 42px #FFD76533, 0 1.5px 9px #1C263642;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  animation: modal-zoom 0.27s cubic-bezier(.72,0,.3,1);
}
@keyframes modal-zoom {
  from {
    transform: scale(0.77);
    opacity: 0.1;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.cookie-modal h2 {
  color: #66A5AD;
  font-size: 1.3rem;
  margin-bottom: 9px;
}
.cookie-modal ul {
  margin: 9px 0 17px 17px;
  list-style: disc inside;
}
.cookie-setting-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
}
.cookie-toggle {
  width: 38px;
  height: 21px;
  border-radius: 13px;
  background: #FFD765;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
}
.cookie-toggle[data-checked="true"] {
  background: #66A5AD;
}
.cookie-toggle .toggle-slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.5px 5px #1c263617;
  transition: left 0.19s, background 0.13s;
}
.cookie-toggle[data-checked="true"] .toggle-slider {
  left: 19px;
  background: #fff;
}
.cookie-modal .cookie-btn-row {
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 19px; top: 13px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #FFD765;
  cursor: pointer;
  transition: color .17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #66A5AD;
}
/* Hide modal by default */
.cookie-modal-overlay.closed { display: none; }

/* ==========================
   COLORS & ARTISTIC ELEMENTS
   ==========================
   (Brand accent: #FFD765, primary: #1C2636, accent: #F5F7FA, secondary: #66A5AD)
   Add blobs as pseudo-elements on main/hero, feature, etc. */
.hero::before {
  content: '';
  position: absolute;
  right: -70px;
  top: -70px;
  width: 206px;
  height: 192px;
  background: #66A5AD33;
  z-index: 0;
  border-radius: 51% 27% 42% 58%/37% 56% 44% 66%;
  pointer-events: none;
  filter: blur(7px);
}
.hero::after {
  content: '';
  position: absolute;
  left: -65px;
  bottom: -45px;
  width: 135px;
  height: 123px;
  background: #FFD765CC;
  z-index: 0;
  border-radius: 43% 48% 61% 37%/57% 41% 44% 59%;
  pointer-events: none;
  filter: blur(6px);
}
.feature-grid > div::before {
  content: '';
  position: absolute;
  top: -35px;
  right: -35px;
  width: 72px;
  height: 64px;
  background: #66A5AD1A;
  border-radius: 58% 42% 41% 59%/73% 57% 43% 52%;
  z-index: 0;
  pointer-events: none;
}
.feature-grid > div::after {
  content: '';
  position: absolute;
  left: -20px;
  bottom: -22px;
  width: 34px;
  height: 34px;
  background: #FFD76577;
  border-radius: 49% 51% 60% 40%/72% 41% 59% 41%;
  z-index: 0;
  pointer-events: none;
}

/* =====================
   GENERAL UTILITIES
   ===================== */
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.gap-2 { gap: 16px; }
.gap-4 { gap: 32px; }
.text-center { text-align: center; }

/* Ensure min spacing for all content cards/sections */
.section, .feature-grid > div, .card, .testimonial-card {
  margin-bottom: 20px;
}

/* ================================
   SPECIAL ADJUSTMENTS
   ================================ */
@media (max-width: 550px) {
  .testimonial-card {
    padding: 12px 7px 12px 7px;
    font-size: 0.96rem;
  }
  .feature-grid > div {
    padding: 13px 7px 13px 7px;
  }
}

/* ================
   PRINT STYLES
   ================ */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none!important; }
  body { color: #222; background: #fff; }
}
