/* -----------------------------------------------------------
  CSS RESET & NORMALIZE (mobile-first - flexbox only!)
------------------------------------------------------------ */
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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  height: 100%;
}
body {
  min-height: 100vh;
  background: #FAFAFE;
  color: #1A2330;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #116BA6;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover, a:focus {
  color: #F4B400;
  outline: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  box-shadow: none;
  outline: none;
  padding: 0;
  appearance: none;
}
li { list-style: none; }

/* -----------------------------
  BRAND COLORS & PASTEL PALETTE
----------------------------- */
:root {
  --primary: #12334D;
  --secondary: #F4B400;
  --accent: #E4E9ED;
  --pastel-blue: #A2D4F5;
  --pastel-green: #B3ECD9;
  --pastel-yellow: #FFF5D5;
  --pastel-pink: #FDE4ED;
  --pastel-lilac: #E0D7F9;
  --pastel-cyan: #E1F2F7;
  --pastel-purple: #F6EFFF;
  --white: #FFFFFF;
  --text-dark: #193052;
  --text-light: #51748A;
  --muted: #CED6E0;
}

/* --------------------------
  TYPOGRAPHY (Hierarchy)
-------------------------- */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; margin-bottom: 16px; }
h2 { font-size: 1.75rem; margin-bottom: 12px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; font-weight: 600; }
h4 { font-size: 1.1rem; margin-bottom: 6px; }
h5, h6 {
  font-size: 1rem;
  margin-bottom: 4px;
}
p, ul, ol, blockquote { color: var(--text-light); font-size: 1rem; margin-bottom: 10px; }
strong { font-weight: 600; color: var(--primary); }
blockquote {
  font-style: italic;
  color: var(--primary);
  background: var(--pastel-pink);
  border-left: 4px solid var(--pastel-cyan);
  padding: 20px 32px;
  margin-bottom: 0;
  border-radius: 20px;
}

/* Typography responsive scaling */
@media (min-width: 480px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3.25rem; }
}


/* --------------------------------------------
  LAYOUTS & COMPONENT CONTAINERS (Flexbox only)
---------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 900px) {
  .section { padding: 60px 0; }
}

/* Feature-Grid, Card, and Common Flex Layouts */
.feature-grid, .contact-info, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > li,
.card {
  flex: 1 1 220px;
  background: var(--white);
  border-radius: 20px;
  padding: 28px 20px 20px 20px;
  margin-bottom: 20px;
  box-shadow: 0 6px 28px 0 rgba(140,180,255,0.10), 0 2px 8px 0 rgba(193,193,255,0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid var(--pastel-cyan);
}
.feature-grid > li:hover,
.card:hover {
  box-shadow: 0 10px 40px 0 rgba(140,180,255,0.18), 0 4px 18px 0 rgba(193,193,255,0.16);
  transform: translateY(-2px) scale(1.02);
}
.card-container { gap: 24px; }
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* Contact info and map */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
  padding-left: 0;
  flex-direction: column;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.map-placeholder {
  padding: 24px 20px;
  background: var(--pastel-lilac);
  border-radius: 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Testimonial Card */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  margin-bottom: 20px;
  background: var(--pastel-blue);
  border-radius: 20px;
  box-shadow: 0 2px 8px 0 rgba(129,170,255,0.11);
  color: var(--text-dark);
}
.testimonial-card blockquote {
  color: var(--primary);
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 0;
}
.testimonial-card p {
  color: var(--text-dark);
  margin-bottom: 0;
  font-size: 1rem;
}
@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 12px;
  }
}

/* Cards & Features (style-specific) */
.card, .feature-grid > li {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--pastel-blue);
  box-shadow: 0 2px 12px 0 rgba(140,180,255,.09);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Text Sections */
.text-section {
  background: var(--pastel-purple);
  border-radius: 22px;
  padding: 32px 24px;
  margin-bottom: 24px;
  color: var(--primary);
  box-shadow: 0 2px 8px 0 rgba(193,193,255,0.07);
  font-size: 1.1rem;
}

/* ----------------------------------------
  HEADER, NAVIGATION, & CTA BUTTONS
---------------------------------------- */
header {
  background: var(--pastel-yellow);
  box-shadow: 0 2px 12px 0 rgba(244,180,0,0.06);
  border-bottom: 1px solid var(--pastel-cyan);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  min-height: 68px;
  position: relative;
}
header nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin-left: 32px;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  opacity: 0.88;
  padding: 4px 10px;
  border-radius: 10px;
  transition: all 0.18s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
  opacity: 1;
  outline: none;
}
.cta-button {
  margin-left: auto;
  background: linear-gradient(90deg, var(--pastel-green) 0%, var(--pastel-blue) 100%);
  color: var(--primary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 10px 22px;
  box-shadow: 0 2px 10px 0 rgba(178, 236, 217, 0.10);
  border: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.2s, transform 0.15s;
  display: inline-block;
  cursor: pointer;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, var(--pastel-blue) 0%, var(--pastel-green) 100%);
  color: var(--primary);
  box-shadow: 0 6px 20px 0 rgba(140,180,255,.17);
  outline: none;
  transform: translateY(-1px) scale(1.03);
}

/* Logo styling */
header img {
  height: 38px;
  width: auto;
  margin-right: 18px;
}

/* Hamburger mobile menu button */
.mobile-menu-toggle {
  display: block;
  font-size: 2.2rem;
  background: transparent;
  color: var(--primary);
  border: none;
  margin-left: 20px;
  border-radius: 10px;
  padding: 2px 14px 2px 10px;
  transition: background 0.16s;
  z-index: 30;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--pastel-blue);
  outline: none;
}

@media (min-width: 830px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* ---------------------------------
  HERO & SECTION STYLES
--------------------------------- */
.hero {
  background-color: var(--pastel-green);
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom-left-radius: 38px;
  border-bottom-right-radius: 38px;
  box-shadow: 0 12px 46px 0 rgba(162,212,245,0.13);
  margin-bottom: 60px;
}
.hero .container {
  min-height: 300px;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 670px;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 0 30px 0;
}
.hero h1 {
  color: var(--primary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
}
.hero p {
  color: var(--text-light);
  font-size: 1.13rem;
  margin-bottom: 18px;
}
.hero .cta-button {
  margin: 8px 0 0 0;
}

@media (max-width: 600px) {
  .hero { padding-bottom: 20px; }
}

/* ------------------------
  MOBILE MENU / OVERLAY
------------------------ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(226,242,247,0.98);
  z-index: 140;
  transform: translateX(-100vw);
  transition: transform 0.3s cubic-bezier(0.7,0,0.5,1);
  box-shadow: 0 6px 40px 0 rgba(162,212,245,0.15);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: transparent;
  color: var(--primary);
  border: none;
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 201;
  cursor: pointer;
  transition: background 0.16s;
  border-radius: 12px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-pink);
  outline: none;
}
.mobile-nav {
  margin-top: 88px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-left: 40px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.26rem;
  padding: 12px 0;
  transition: color 0.18s, background 0.12s;
  border-radius: 9px;
  margin-left: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
  outline: none;
}

@media (min-width: 830px) {
  .mobile-menu {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
}
@media (max-width: 829.9px) {
  header nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
  }
}

/* Hide scroll when menu or modal is open (for JS to use) */
body.mobile-menu-open {
  overflow: hidden;
}

/* ----------------------
  FOOTER STYLES
---------------------- */
footer {
  background: var(--pastel-lilac);
  padding: 40px 0 18px 0;
  border-top: 1px solid var(--pastel-blue);
  margin-top: 50px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}
footer nav a {
  color: var(--primary);
  font-size: 1rem;
  opacity: 0.75;
  padding: 2px 10px;
  border-radius: 7px;
  transition: color 0.18s, background 0.13s;
}
footer nav a:hover {
  color: var(--secondary);
  background: var(--pastel-blue);
  opacity: 1;
}
footer p {
  color: var(--text-dark);
  font-size: 0.98rem;
}

/* ------------------------------------
  COOKIE CONSENT BANNER & MODAL
------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--pastel-yellow);
  color: var(--primary);
  z-index: 1600;
  box-shadow: 0 -2px 16px 0 rgba(244,180,0,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 12px 18px 12px;
  font-size: 1rem;
  gap: 18px;
  animation: appear-bottom 0.6s cubic-bezier(0.47,2,0.71,0.73) both;
}
@keyframes appear-bottom {
  0% { transform: translateY(85px); opacity: 0; }
  80% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 5px;
}
.cookie-btn {
  background: var(--pastel-blue);
  color: var(--primary);
  border-radius: 9px;
  padding: 8px 22px;
  border: none;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.2s, transform 0.14s;
  box-shadow: 0 1px 4px 0 rgba(178,236,217,0.12);
}
.cookie-btn.cookie-accept {
  background: var(--pastel-green);
  color: var(--primary);
}
.cookie-btn.cookie-reject {
  background: var(--pastel-pink);
  color: var(--primary);
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--pastel-cyan);
  color: var(--secondary);
  transform: translateY(-2px) scale(1.04);
}

/* Cookie modal overlay/content */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(200,200,200,0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2100;
  animation: appear-modal-bg 0.26s cubic-bezier(.75,2.2,.86,0.9) both;
}
@keyframes appear-modal-bg {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: var(--white);
  border-radius: 19px;
  padding: 36px 32px 28px 32px;
  box-shadow: 0 10px 40px 0 rgba(162,212,245,0.18);
  max-width: 408px;
  width: 90vw;
  font-size: 1rem;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: appear-modal-in 0.32s cubic-bezier(.52,1.5,.41,1.01) both;
}
@keyframes appear-modal-in {
  0% { transform: scale(0.9) translateY(50px); opacity:0; }
  80% { opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal-title {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.32rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 6px;
}
.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 22px;
  background: var(--pastel-pink);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.4rem;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 13;
  transition: box-shadow 0.15s, background .16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--pastel-cyan);
  box-shadow: 0 0 4px 1px var(--pastel-cyan);
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--accent);
  font-size: 1rem;
  color: var(--text-dark);
}
.cookie-modal-category input[type="checkbox"] {
  height: 22px; width: 22px;
  accent-color: var(--pastel-blue);
  border-radius: 7px;
  margin-left: 14px;
}
.cookie-modal-category.essential {
  font-weight: 600;
  opacity: 0.7;
}
/* Make essential cookie toggle disabled visually */
.cookie-modal-category.essential input[type="checkbox"] {
  opacity: 0.4;
  pointer-events: none;
}

.cookie-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* --------------
  UTILITY CLASSES
--------------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.d-flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }
.flex-wrap { flex-wrap: wrap !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }

/* --- Spacing helpers (for gap between elements) --- */
.section > .container,
.section > .content-wrapper {
  margin-bottom: 0;
}

/* ----------
  FORMS (if needed in future)
----------- */
input, textarea, select {
  background: var(--pastel-cyan);
  border-radius: 12px;
  border: 1px solid var(--pastel-blue);
  padding: 8px 12px;
  box-sizing: border-box;
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--primary);
  transition: border 0.16s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--pastel-green);
  box-shadow: 0 2px 8px 0 var(--pastel-green);
}

/* ----------
  LISTS
----------- */
ul, ol {
  margin-left: 22px;
  margin-bottom: 14px;
  color: var(--text-light);
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 2px;
}
.feature-grid ul, .feature-grid ol {
  margin-left: 0;
}
ul.contact-info {
  margin-left: 0;
  margin-bottom: 0;
}

/* Responsive column layouts rules via flex only! */
@media (min-width: 900px) {
  .feature-grid {
    flex-direction: row;
  }
  .card-container {
    flex-direction: row;
  }
  .content-grid {
    flex-direction: row;
  }
  .contact-info {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* --- Micro animations and shadow for button, card hover, testimonials --- */
.card, .feature-grid > li, .testimonial-card, .cta-button, .cookie-btn {
  transition: box-shadow 0.22s, transform 0.19s, background 0.18s;
}

/* --- Focus states for accessibility --- */
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus {
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
}

/* --------------
  RESPONSIVE MEDIA QUERIES
---------------- */
@media (max-width: 1000px) {
  .container { max-width: 940px; }
}
@media (max-width: 700px) {
  .container { max-width: 98vw; padding: 0 8px; }
  .section { padding: 32px 6px; }
}
@media (max-width: 480px) {
  html { font-size: 16px; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 20px 2px; }
  .text-section { padding: 16px 8px; }
  footer { padding: 18px 0 10px 0; }
}

/* -----------
  PASTEL DECORATIVE (optional) - soft blurred backgrounds
----------- */
.pastel-deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  filter: blur(48px) brightness(1.08);
}

/* ----------
  PRINT OPTIMIZATION
----------- */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  header, footer {
    box-shadow: none !important;
    border: none !important;
  }
}
