/* ----------------------------
   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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #2B2D2F;
  background: #F9F9F9;
}
img, video {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
a {
  color: #285C74;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #50C878;
}
button {
  font-family: inherit;
  font-size: 16px;
  padding: 12px 24px;
  border: none;
  border-radius: 32px;
  background: #285C74;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  box-shadow: 0 2px 6px rgba(40,92,116,0.08);
}
button:focus {
  outline: 3px solid #50C878;
  outline-offset: 2px;
}
details, summary {
  cursor: pointer;
}

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

/* ---------------------------
   BRAND COLORS & VARS
---------------------------- */
:root {
  --primary: #285C74;
  --secondary: #50C878;
  --accent: #F9F9F9;
  --text: #2B2D2F;
  --bg: #F9F9F9;
  --card-bg: #FFFFFF;
  --cta: #E6A864; /* friendly warm button accent */
  --cta-hover: #CE9446;
  --shadow-soft: 0 4px 16px rgba(40,92,116,0.08);
  --shadow-light: 0 2px 8px rgba(40,92,116,0.06);
  --radius-main: 18px;
  --radius-card: 18px;
  --radius-img: 12px;
  --transition-main: 0.25s cubic-bezier(.35,1.5,.66,1);
}

/* --------------------------------
   TYPOGRAPHY
--------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.625rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, ul, ol, table, pre, details, blockquote {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
ul, ol {
  padding-left: 24px;
}

/* --------------------------
   LAYOUT CONTAINERS
--------------------------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius-main);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 36px;
  }
}

/* Flex spacing patterns (per instruction) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 24px 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 420px;
  transition: box-shadow var(--transition-main), transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(40,92,116,0.17);
  transform: translateY(-6px) scale(1.02);
}

.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 !important;
    gap: 20px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-radius: 16px;
  background: #fff4ec;
  color: #2B2D2F;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
  font-size: 1.08rem;
  max-width: 580px;
}
.testimonial-card p {
  color: #2B2D2F;
}
.testimonial-card strong {
  color: var(--primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-radius: 10px;
  background: var(--card-bg);
  box-shadow: var(--shadow-light);
}

/* Extra layout helpers (for specific page sections) */
.service-grid, .service-list, .blog-post-teasers, .stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.service-grid > div, .service-list > div, .blog-post-teasers > div, .stats-grid > div {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-light);
  padding: 24px 20px;
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, transform 0.18s;
}
.service-list > div:hover,
.blog-post-teasers > div:hover,
.stats-grid > div:hover {
  box-shadow: 0 8px 32px rgba(80,200,120,.12);
  transform: translateY(-5px) scale(1.01);
}
.price {
  color: var(--secondary);
  font-size: 1.09rem;
  font-weight: 500;
  margin-top: 8px;
}

/* FAQ Section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-list h3 {
  font-size: 1.09rem;
  margin-bottom: 4px;
  color: var(--primary);
}
.faq-list p {
  margin-bottom: 0;
  color: var(--text);
}

/* --------------------------
   HERO SECTION
--------------------------- */
.hero {
  background: linear-gradient(95deg, #fff4ec 0%, #F9F9F9 100%);
  padding: 54px 0 40px 0;
}
.hero h1 {
  font-size: 2.6rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.27rem;
  color: #2B2D2F;
  margin-bottom: 30px;
  max-width: 620px;
}
.hero .cta {
  font-size: 1.19rem;
  padding: 16px 34px;
}
@media (max-width: 600px) {
  .hero {
    padding: 36px 0 22px 0;
  }
  .hero h1 {
    font-size: 1.60rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* --------------------------
   BUTTONS & CTA
--------------------------- */
.cta, .main-nav .cta, a.cta, .cta > a, .service-grid a.cta, .service-list a.cta {
  display: inline-block;
  background: linear-gradient(95deg, var(--secondary) 60%, var(--cta) 100%);
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 40px;
  padding: 14px 32px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(80,200,120,0.05);
  transition: background 0.17s, box-shadow 0.20s, transform 0.2s, color 0.15s;
  margin-top: 8px;
  cursor: pointer;
  border: none;
}
.cta:hover, .main-nav .cta:hover, a.cta:hover, .cta:focus {
  background: linear-gradient(95deg, var(--cta-hover) 10%, var(--secondary) 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 8px 28px rgba(80,200,120,0.13);
}

/* --------------------------
   NAVIGATION - DESKTOP
--------------------------- */
header {
  background: #fff;
  box-shadow: var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1001;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  height: 72px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  padding: 8px 20px;
  font-size: 1rem;
  border-radius: 999px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.15s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.main-nav .cta {
  margin-left: 12px;
  padding: 12px 32px;
  font-size: 1rem;
}

/* Hide burger on desktop */
.mobile-menu-toggle {
  display: none;
}

/* -------------------------------
   MOBILE NAVIGATION & BURGER
-------------------------------- */
@media (max-width: 1000px) {
  header .container {
    height: 62px;
    padding: 0 9px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    color: var(--primary);
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    box-shadow: none;
    z-index: 1012;
    cursor: pointer;
    transition: background 0.15s;
  }
  .mobile-menu-toggle:hover {
    background: #f1f1f1;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 32px rgba(40,92,116, 0.09);
  z-index: 1025;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.22,1.2,.62,1.05);
  display: flex;
  flex-direction: column;
  padding: 0 12px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px; right: 22px;
  background: none;
  color: var(--primary);
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  width: 48px; height: 48px;
  cursor: pointer;
  z-index: 1050;
  transition: background 0.16s;
}
.mobile-menu-close:hover {
  background: #f5f7fa;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 80px 0 36px 0;
  align-items: center;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.16rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 14px 0;
  width: 100%;
  text-align: center;
  border-radius: 16px;
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

/* Hide mobile menu on desktop */
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}


/* -------------------------------
   FOOTER
-------------------------------- */
footer {
  background: #fff;
  box-shadow: 0 -2px 12px rgba(40,92,116,0.05);
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  gap: 0;
  padding: 0 12px;
}
footer .content-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 34px 0 20px 0;
}
@media (max-width: 950px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
}
.footer-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--primary);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  border-radius: 999px;
  padding: 6px 16px;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.footer-contact {
  color: var(--primary);
  line-height: 1.42;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.legal-notice {
  font-size: 0.97rem;
  color: #7A8D99;
  margin-top: 18px;
}

/* -------------------------------
   TABLES (PRICING)
-------------------------------- */
.pricing-table {
  width: 100%;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-bottom: 24px;
}
.pricing-table th, .pricing-table td {
  padding: 16px 10px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 1rem;
}
.pricing-table th {
  background: #fff4ec;
  color: var(--primary);
  font-weight: 700;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* -------------------------------
   BLOG CATEGORIES NAV
-------------------------------- */
.categories-nav {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.categories-nav a {
  background: #ffefdb;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 16px;
  padding: 8px 20px;
  transition: background 0.12s, color 0.13s;
}
.categories-nav a:hover, .categories-nav a.active {
  background: var(--secondary);
  color: #fff;
}

/* --------------------------
   STATS GRID
--------------------------- */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.stats-grid > div {
  background: #fff4ec;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-light);
  padding: 22px 18px;
  min-width: 180px;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 20px;
}
.stats-grid strong {
  color: var(--secondary);
  font-size: 1.2em;
  font-weight: 700;
}

/* ------------------------------
   BLOG & CTAs
------------------------------- */
.blog-post-teasers > div {
  min-height: 170px;
}
.blog-cta, .services-cta, .cta {
  background: #fff4ec;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(220,153,67,0.06);
  text-align: center;
  margin: 32px 0 0 0;
  padding: 40px 16px;
}
.blog-cta h2, .services-cta h2, .cta h2 {
  color: var(--secondary);
}

/* --------------------------------
   THANK YOU PAGE
--------------------------------- */
.thank-you {
  background: linear-gradient(93deg, #fff4ec 60%, #F9F9F9 100%);
  border-radius: 20px;
  max-width: 650px;
  margin: 44px auto 0 auto;
  padding: 40px 16px 40px 16px;
  box-shadow: 0 4px 24px rgba(80,200,120,0.10);
  text-align: center;
}

/* --------------------------------
   COOKIE BANNER
--------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff4ec;
  color: #2B2D2F;
  border-top: 1px solid #f5dab3;
  box-shadow: 0 -4px 18px rgba(40,92,116,.11);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 20px;
  font-size: 1rem;
  animation: slideUpCookie 0.38s 0.1s both;
}
@keyframes slideUpCookie {
  from { transform: translateY(90px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button,
.cookie-banner .cta {
  padding: 10px 24px;
  font-size: 1rem;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, box-shadow 0.15s;
}
.cookie-banner .reject {
  background: #fff;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.cookie-banner .reject:hover {
  background: #ffefdb;
}
.cookie-banner button:hover, .cookie-banner .cta:hover {
  background: var(--cta-hover);
  color: #fff;
}
.cookie-banner .settings {
  background: #fff4ec;
  color: var(--primary);
  border: 1px solid #f5dab3;
}
.cookie-banner .settings:hover {
  background: #ffe9cc;
  color: var(--secondary);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(40,92,116, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  pointer-events: auto;
  animation: fadeInCookieModal 0.24s 0.1s both;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff4ec;
  border-radius: 22px;
  padding: 38px 24px 28px 24px;
  max-width: 450px;
  width: 96%;
  box-shadow: 0 10px 42px rgba(40,92,116,0.18);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  color: var(--primary);
}
.cookie-modal-content h2 {
  font-size: 1.32rem;
  margin-bottom: 0;
  color: var(--primary);
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 10px 0;
}
.cookie-toggle {
  accent-color: var(--secondary);
  width: 22px;
  height: 22px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.14s;
  border-radius: 50%;
  width: 38px;
  height: 38px;
}
.cookie-modal-close:hover {
  background: #fff;
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--text);
}

/* --------------------------------
   RESPONSIVE BREAKPOINTS
--------------------------------- */
@media (max-width: 870px) {
  .service-grid, .service-list, .stats-grid, .blog-post-teasers {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .card-container, .service-grid, .service-list, .stats-grid, .blog-post-teasers {
    gap: 14px;
    margin-bottom: 8px;
  }
  .card, .service-grid > div, .stats-grid > div {
    min-width: unset;
    max-width: unset;
    padding: 17px 9px;
  }
  .testimonial-card {
    padding: 12px 8px;
    max-width: unset;
  }
  .content-grid, .content-wrapper, .footer-nav {
    gap: 10px;
  }
  .blog-cta, .services-cta, .cta {
    padding: 22px 6px;
  }
}

/* ----------------------------
   UTILITY CLASSES
----------------------------- */
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 32px !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.rounded-lg { border-radius: var(--radius-main) !important; }
.shadow-soft { box-shadow: var(--shadow-soft) !important; }

/* Focus Styles for Accessibility */
a:focus, button:focus, input:focus, [tabindex]:focus {
  outline: 3px solid var(--secondary) !important;
  outline-offset: 2px;
}

/* ----------------------------
   ANIMATIONS
----------------------------- */
.card, .service-list > div, .blog-post-teasers > div, .stats-grid > div {
  transition: box-shadow 0.24s, transform 0.16s;
}
.cta, .main-nav .cta {
  transition: background 0.16s, transform 0.18s, box-shadow 0.17s;
}

/* Hide elements utility class */
.d-none { display: none !important; }

/* -----------------------------------
   END
------------------------------------- */
