/* --- CSS RESET & BASE STYLES --- */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.55;
  background: #FBFDFE;
  color: #23396A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #193256;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #06B2B8;
  outline: none;
}
ul, ol {
  margin-left: 24px;
}
img {
  max-width: 100%;
  border-radius: 10px;
}
strong {
  font-weight: 600;
}

/* --- COLOR SYSTEM (soft pastel inspired) --- */
:root {
  --vs-primary: #193256;
  --vs-secondary: #06B2B8;
  --vs-accent: #F7F9FB;
  --vs-pastel-lilac: #e6e7fa;
  --vs-pastel-pink: #fceaf6;
  --vs-pastel-blue: #d8eefb;
  --vs-pastel-mint: #e2fcf7;
  --vs-pastel-yellow: #fcfce8;
  --vs-pastel-beige: #fff8f3;
  --vs-grey-900: #23396A;
  --vs-grey-200: #ecf1f7;
  --vs-btn-gradient: linear-gradient(90deg,#e6e7fa 0%, #d8eefb 100%);
  --vs-shadow-card: 0 2px 16px 0 rgba(30,50,65,0.08);
  --vs-shadow-hover: 0 4px 24px 0 rgba(30,50,65,0.13);
}

/* --- TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6, .btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--vs-primary);
}
h1 { font-size: 2.75rem; margin-bottom: 20px; letter-spacing: -0.5px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
.subheadline {
  color: #4A618D;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  margin-bottom: 28px;
}
p, li, label, span, input, select, textarea {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--vs-grey-900);
  font-size: 1rem;
}
ul, ol {
  font-size: 1rem;
  margin-bottom: 1em;
}
li { margin-bottom: 8px; }

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section, .hero-section, .features-section, .cta-section, .about-section, .services-section, .confirmation-section, .legal-section, .contact-section, .testimonials-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 26px;
  box-shadow: var(--vs-shadow-card);
  background: var(--vs-pastel-mint);
}
.hero-section {
  background: var(--vs-pastel-blue);
  box-shadow: none;
  margin-bottom: 60px;
  padding: 60px 20px 48px 20px;
}
.cta-section {
  background: var(--vs-pastel-lilac);
  box-shadow: var(--vs-shadow-card);
}
.about-section {
  background: var(--vs-pastel-pink);
}
.services-section {
  background: var(--vs-pastel-yellow);
}
.legal-section {
  background: var(--vs-pastel-beige);
}
.confirmation-section {
  background: var(--vs-pastel-lilac);
}
.contact-section{
  background: var(--vs-pastel-yellow);
}
.testimonials-section {
  background: var(--vs-pastel-blue);
}

/* --- FLEXBOX GRID & SPACING --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: var(--vs-accent);
  box-shadow: var(--vs-shadow-card);
  padding: 24px 20px;
  min-width: 240px;
  flex: 1 1 280px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: var(--vs-shadow-hover);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 3px 24px 0 rgba(50, 65, 90, 0.10);
  min-width: 260px;
  max-width: 540px;
  color: #23396a;
  border: 1px solid #eef2f7;
  transition: box-shadow 0.2s;
}
.testimonial-card span {
  color: #193256;
  font-weight: 500;
  font-size: 1rem;
  font-style: italic;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #1e2b3a;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 4px 36px 0 rgba(30,50,80,0.12);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 15px;
  padding: 26px 20px 20px 20px;
  box-shadow: var(--vs-shadow-card);
  flex: 1 1 240px;
  min-width: 212px;
  max-width: 310px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item img {
  width: 36px;
  height: 36px;
  display: block;
  margin-bottom: 10px;
}
.feature-item:hover {
  box-shadow: var(--vs-shadow-hover);
  transform: translateY(-4px) scale(1.03);
}

/* --- NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(200,210,220,0.07);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 32px;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--vs-grey-900);
  padding: 7px 10px;
  border-radius: 6px;
  transition: background 0.17s, color 0.15s;
}
nav a:hover, nav a.active {
  background: var(--vs-pastel-blue);
  color: var(--vs-secondary);
}
header img[alt="Velora Shimmer"] {
  height: 42px;
  width: auto;
  margin-right: 18px;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 34px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  font-weight: 700;
  border: none;
  transition: background 0.18s, color 0.13s, box-shadow 0.18s;
  box-shadow: 0 2px 14px 0 rgba(35, 50, 100, 0.08);
  cursor: pointer;
  margin-top: 14px;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.btn-primary {
  color: #fff;
  background: var(--vs-secondary);
  box-shadow: 0 2px 10px 0 rgba(6, 178, 184, 0.16);
  border: 2px solid var(--vs-secondary);
}
.btn-primary:hover, .btn-primary:focus {
  background: #0cc7ce;
  color: #fff;
  box-shadow: 0 5px 15px 0 rgba(6, 178, 184, 0.20);
  outline: none;
}
.btn-secondary {
  color: var(--vs-secondary);
  background: #fff;
  border: 2px solid var(--vs-secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--vs-secondary);
  color: #fff;
}
button {
  font: inherit;
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: var(--vs-pastel-blue);
  color: var(--vs-secondary);
  border: none;
  font-size: 2.1rem;
  line-height: 1;
  border-radius: 12px;
  padding: 7px 12px 5px 12px;
  cursor: pointer;
  transition: background 0.12s;
  box-shadow: 0 1px 8px 0 rgba(50,100,150,0.09);
  z-index: 1201;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--vs-pastel-mint);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(247,249,251,0.97);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(.81,-0.01,.31,1.19);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 0 0;
  /* Hidden by default, controlled by .open class */
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--vs-pastel-pink);
  color: var(--vs-secondary);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  position: absolute;
  top: 24px;
  right: 26px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(235,160,221,0.13);
  z-index: 1202;
  transition: background 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--vs-pastel-mint);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 70px auto 0 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  z-index: 1201;
}
.mobile-nav a {
  color: var(--vs-grey-900);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.38rem;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 20px;
  background: var(--vs-pastel-blue);
  transition: background 0.15s, color 0.13s;
  margin: 0;
  width: 82vw;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--vs-secondary);
  color: #fff;
}

/* --- FOOTER --- */
footer {
  background: var(--vs-pastel-lilac);
  padding: 0 0 0 0;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1160px;
  margin: 0 auto;
  padding: 36px 0 12px 0;
}
.footer-nav, .footer-legal, .footer-contact, .footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 162px;
}
.footer-nav a, .footer-legal a {
  color: var(--vs-grey-900);
  font-size: 1.04rem;
  line-height: 1.5;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: var(--vs-secondary);
}
.footer-contact p, .footer-contact a, .footer-newsletter p {
  font-size: 0.98rem;
  color: #536386;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-contact a:hover {
  color: var(--vs-secondary);
}
.footer-newsletter .btn-secondary {
  margin-top: 10px;
}

/* --- CATEGORY FILTERS (Blog) --- */
.category-filters {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 14px;
}
.category-filters span {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.category-filters a {
  color: var(--vs-secondary);
  background: var(--vs-pastel-mint);
  border-radius: 12px;
  padding: 3px 13px;
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.13s, color 0.12s;
}
.category-filters a:hover {
  background: var(--vs-secondary);
  color: #fff;
}

/* --- CONTACT DETAILS --- */
.contact-details {
  padding: 21px 0 7px 0;
  background: var(--vs-pastel-mint);
  border-radius: 12px;
  box-shadow: 0 1px 12px 0 rgba(80,180,180,0.07);
  font-size: 1.09rem;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.contact-details a {
  color: var(--vs-secondary);
}
.contact-details a:hover {
  text-decoration: underline;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 9999;
  padding: 26px 24px 26px 24px;
  background: #f8f6fd;
  box-shadow: 0 -2px 20px 0 rgba(65,65,110,0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  animation: slideUpBanner 0.7s cubic-bezier(.42,1.26,.38,1) forwards;
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner-content {
  flex: 1 1 300px;
  font-size: 1rem;
  color: #23396a;
}
.cookie-banner-actions {
  display: flex;
  gap: 20px;
}
.cookie-banner button {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 22px;
  border-radius: 22px;
  border: none;
  margin: 0 0 0 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-weight: 600;
}
.cookie-accept {
  background: var(--vs-secondary);
  color: #fff;
}
.cookie-accept:hover {
  background: #0cc7ce;
}
.cookie-reject {
  background: #fff;
  color: var(--vs-secondary);
  border: 2px solid var(--vs-secondary);
}
.cookie-reject:hover {
  background: var(--vs-pastel-mint);
}
.cookie-settings {
  background: var(--vs-pastel-lilac);
  color: var(--vs-secondary);
  border: 2px solid #ecebfb;
}
.cookie-settings:hover {
  background: var(--vs-pastel-blue);
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,56,110,0.18);
  z-index: 12000;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.55s cubic-bezier(.59,1.61,.58,.89) forwards;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  padding: 40px 30px 30px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 40px 0 rgba(43,48,70,0.12);
  min-width: 320px;
  max-width: 94vw;
}
.cookie-modal-content h2 {
  margin-bottom: 16px;
}
.cookie-cat-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 14px 0 20px 0;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.08rem;
}
.cookie-cat label {
  font-weight: 500;
}
.cookie-cat input[type="checkbox"] {
  accent-color: var(--vs-secondary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}
/* Always enable Essential */
.cookie-cat.essential input[type="checkbox"] {
  accent-color: #bbb;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  padding: 8px 20px;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.cookie-cat-desc {
  color: #697ab1;
  font-size: 0.97rem;
}

/* --- MEDIA QUERIES: RESPONSIVE (mobile-first) --- */
@media (max-width: 1000px) {
  .footer-nav, .footer-legal, .footer-contact, .footer-newsletter {
    min-width: 130px;
  }
  .feature-grid, .card-container, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
  .footer-nav, .footer-legal, .footer-contact, .footer-newsletter {
    min-width: 110px;
  }
}
@media (max-width: 768px) {
  header .container {
    gap: 11px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .feature-item, .card, .testimonial-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .section, .hero-section, .cta-section, .about-section, .services-section, .confirmation-section, .legal-section, .contact-section, .testimonials-section {
    padding: 30px 8px;
    margin-bottom: 36px;
    border-radius: 14px;
  }
  .content-wrapper {
    gap: 15px;
    padding: 0 0 0 0;
  }
  .testimonial-card {
    max-width: 100%;
    margin-bottom: 15px;
    padding: 15px;
  }
  .footer-newsletter, .footer-contact {
    margin-top: 18px;
  }
  .category-filters {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .cookie-modal-content {
    padding: 20px 7vw 20px 7vw;
    min-width: 0;
    max-width: 98vw;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 0.98rem;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.05rem; }
  .footer-nav, .footer-legal, .footer-contact, .footer-newsletter {
    min-width: 95px;
    font-size: 0.91rem;
  }
  .btn-primary, .btn-secondary {
    padding: 9px 24px;
    font-size: 0.97rem;
  }
}
@media (max-width: 520px) {
  .footer-newsletter, .footer-contact, .footer-nav, .footer-legal {
    min-width: 0;
    max-width: 100%;
  }
  .footer-newsletter .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.btn-primary, .btn-secondary, .feature-item, .card, .testimonial-card, .cookie-banner, .cookie-modal-content {
  transition: box-shadow 0.22s, background 0.19s, color 0.15s, transform 0.16s;
}

/* Subtle shimmer for hero headings (dreamy pastel effect) */
.hero-section h1 {
  background: linear-gradient(90deg, #193256 10%, #06B2B8 60%, #e6e7fa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* --- ACCESSIBILITY FOCUS STATES --- */
a:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible, .cookie-banner button:focus-visible {
  outline: 2.5px solid #06B2B8;
  outline-offset: 2px;
}

/* --- UTILITY CLASSES --- */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.text-center { text-align: center; }

/* --- Z-INDEX SYSTEM --- */
header { z-index: 1000; }
.mobile-menu { z-index: 1200; }
.cookie-banner { z-index: 9999; }
.cookie-modal { z-index: 12000; }

/* --- MISC --- */
::-webkit-scrollbar {
  width: 9px;
  background: #f6f8fc;
}
::-webkit-scrollbar-thumb {
  background: #eceff8;
  border-radius: 16px;
}

/* Hide visually but keep for accessibility (for advanced cookie banner scripts) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}
