/* --- CSS RESET & BASE TYPOGRAPHY --- */
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;
}

body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #23445A;
  background: #fbfcfe;
  min-height: 100dvh;
  font-size: 16px;
}

*, *:before, *:after{
  box-sizing: inherit;
}
a {
  color: #23445A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #7BC4C4;
}
ul { list-style: none; }
ol { list-style: decimal inside; }
img { max-width: 100%; display: block; }

/* --- BRAND FONTS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #23445A;
  line-height: 1.1;
}
h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.04em; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 12px; }
h4 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
h5, h6 { font-size: 1rem; font-weight: 500; }

p, li, td, th, span, label, input, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
}
p { margin-bottom: 18px; }
strong { font-weight: 700; }

/* --- COLOR UTILS / BG SECTIONS --- */
.bg-primary { background: #23445A; color: #fff; }
.bg-secondary { background: #F2ECB3; }
.bg-accent { background: #7BC4C4; color: #23445A; }

/* --- CONTAINERS & GENERAL SECTIONS --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- HEADER / NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 3px solid #F2ECB3;
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 14px;
}
.brand-logo img {
  height: 44px;
  width: auto;
}
.main-navigation ul {
  display: flex;
  gap: 30px;
  align-items: center;
}
.main-navigation li {
  margin-bottom: 0; /* prevent unwanted list spacing */
}
.main-navigation a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s;
}
.main-navigation ul a:hover,
.main-navigation ul a:focus {
  color: #7BC4C4;
  border-bottom: 2px solid #7BC4C4;
}
.btn-primary {
  background: #23445A;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(35,68,90,0.13);
  cursor: pointer;
  transition: background 0.23s, box-shadow 0.23s, transform 0.18s;
  margin-left: 18px;
  letter-spacing: 0.02em;
  outline: none;
}
.btn-primary:hover, 
.btn-primary:focus {
  background: #7BC4C4;
  color: #23445A;
  box-shadow: 0 4px 16px rgba(35,68,90,0.18);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: #F2ECB3;
  color: #23445A;
  border: 2px solid #23445A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(122,196,196,0.11);
  cursor: pointer;
  transition: background 0.23s, color 0.23s, box-shadow 0.23s, transform 0.18s;
  margin-left: 18px;
  outline: none;
}
.btn-secondary:hover, 
.btn-secondary:focus {
  background: #7BC4C4;
  color: #23445A;
  border-color: #7BC4C4;
  box-shadow: 0 4px 16px rgba(122,196,196,0.17);
  transform: translateY(-2px) scale(1.03);
}

/* --- MOBILE NAV --- */
.mobile-menu-toggle {
  background: #7BC4C4;
  color: #23445A;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  padding: 6px 18px 10px 18px;
  display: none;
  z-index: 220;
  cursor: pointer;
  margin-left: auto;
  margin-right: 6px;
  transition: background 0.22s, color 0.22s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #23445A;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35, 68, 90, 0.97);
  color: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.75,0,0.25,1), opacity 0.24s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.3rem;
  border: none;
  padding: 18px 18px 6px 8px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 10002;
  transition: color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus{
  color: #F2ECB3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 32px 0 32px;
  width: 100vw;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 8px;
  border-radius: 10px;
  transition: color 0.18s, background 0.23s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #23445A;
  background: #F2ECB3;
}

@media (max-width: 1200px) {
  .container { max-width: 95vw; }
  .content-wrapper { padding: 0; }
}
@media (max-width: 900px) {
  .main-navigation ul { gap: 16px; }
  .main-navigation a { font-size: 1rem; }
}
@media (max-width: 768px) {
  .main-navigation ul,
  .main-navigation .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- HERO SECTION --- */
.hero-section {
  background: linear-gradient(125deg, #F2ECB3 65%, #7BC4C4 110%);
  border-bottom: 3px solid #23445A;
  min-height: 430px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 30px 0;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
.hero-section h1 {
  font-size: 2.8rem;
  color: #23445A;
  font-family: 'Montserrat', cursive, Arial;
  text-shadow: 1px 1px 0 #F2ECB3, 0 2px 0 #7BC4C4;
}
.hero-section .subheadline {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #7BC4C4;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.hero-section p {
  color: #23445A;
}
.hero-section .btn-primary {
  margin-top: 18px;
}

@media (max-width: 700px) {
  .hero-section { padding: 22px 0 20px; min-height: 320px; }
  .hero-section h1 { font-size: 1.8rem; }
}

/* --- FEATURES, CARDS, FLEX LAYOUTS --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 12px;
}
.feature {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 23px 0 rgba(35,68,90,0.10);
  border-left: 7px solid #7BC4C4;
  padding: 32px 24px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 240px;
  transition: box-shadow 0.19s, transform 0.19s;
  margin-bottom: 20px;
  position: relative;
}
.feature img {
  height: 42px;
  width: 42px;
  border-radius: 7px;
  background: #F2ECB3;
  padding: 4px;
  margin-bottom: 4px;
  box-shadow: 0 1px 8px rgba(123,196,196,0.08);
}
.feature:hover, .feature:focus {
  box-shadow: 0 7px 32px 0 rgba(123,196,196,0.17);
  transform: translateY(-2px) scale(1.028);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}
.service-item {
  background: #fff;
  border-left: 6px solid #23445A;
  border-radius: 11px;
  box-shadow: 0 2px 12px 0 rgba(123,196,196,0.06);
  padding: 22px 26px 20px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.service-item h3 {
  margin-bottom: 5px;
}
.service-price {
  color: #7BC4C4;
  background: #F2ECB3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.11rem;
  border-radius: 20px;
  padding: 4px 16px 5px;
  margin-top: 4px;
  letter-spacing: 0.011em;
}

/* Pricing grid on pricing summary section */
.pricing-summary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.pricing-item {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(35,68,90,0.05);
  border-left: 5px solid #7BC4C4;
  padding: 20px 20px 16px 18px;
  flex: 1 1 200px;
  min-width: 160px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.14s;
}
.pricing-item:hover, .pricing-item:focus {
  box-shadow: 0 8px 24px rgba(35,68,90,0.17);
  transform: scale(1.035);
}


/* --- FLEX LAYOUTS PER REQUIREMENT --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 15px;
  box-shadow: 0 3px 14px rgba(123,196,196,0.10);
  background: #fff;
  padding: 32px 24px;
  transition: box-shadow 0.19s, transform 0.19s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 28px rgba(123,196,196,0.15);
  transform: scale(1.018);
}

.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F2ECB3;
  border-radius: 16px;
  box-shadow: 0 4px 18px 0 rgba(123,196,196,0.08);
  margin-bottom: 20px;
  min-height: 120px;
  position: relative;
  flex: 1 1 280px;
  flex-direction: column;
}
.testimonial-card p {
  color: #23445A;
  font-size: 1.04rem;
  font-style: italic;
  margin-bottom: 7px;
}
.testimonial-author {
  font-weight: 600;
  font-size: 0.99rem;
  color: #23445A;
}

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

@media (max-width: 800px) {
  .features-grid, .pricing-summary-grid, .content-grid { flex-direction: column; }
  .feature, .pricing-item, .card { min-width: 0; }
}
@media (max-width: 670px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .section { padding: 32px 8px; }
}
@media (max-width: 600px) {
  .feature, .pricing-item, .testimonial-card, .card, .service-item { padding: 18px 11px; }
}

/* --- CTA SECTIONS --- */
.cta-section {
  background: #7BC4C4;
  color: #23445A;
  border-radius: 19px;
  margin-bottom: 60px;
  box-shadow: 0 4px 41px 0 rgba(123,196,196,0.15);
}
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 12px;
}
.cta-section h2 {
  color: #23445A;
}
.cta-section .btn-primary, .cta-section .btn-secondary {
  margin-top: 16px;
}

/* --- FAQ, RESOURCE & TABLES --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #F2ECB3;
  border-left: 5px solid #7BC4C4;
  border-radius: 12px;
  padding: 18px 20px 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 9px rgba(123,196,196,0.07);
  transition: box-shadow 0.12s, transform 0.11s;
}
.faq-item:hover, .faq-item:focus {
  box-shadow: 0 6px 22px rgba(123,196,196,0.13);
  transform: scale(1.03);
}
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 16px;
}
.resource-list a {
  background: #7BC4C4;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 11px 17px;
  border-radius: 7px;
  margin-bottom: 4px;
  transition: background 0.18s, color 0.18s;
}
.resource-list a:hover, .resource-list a:focus {
  background: #23445A;
  color: #fff;
}

.pricing-table {
  width: 100%;
  border-spacing: 0;
  margin-bottom: 32px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 19px 0 rgba(123,196,196,0.04);
  overflow: hidden;
  font-size: 1rem;
}
.pricing-table thead {
  background: #7BC4C4;
  color: #fff;
  font-family: 'Montserrat', Arial;
  font-weight: 700;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 16px 10px 14px 16px;
  border-bottom: 1px solid #F2ECB3;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table ul { padding-left: 16px; }

@media (max-width: 600px) {
  .pricing-table th, .pricing-table td { padding: 11px 3px 9px 9px; font-size: 0.97rem; }
}

/* --- FOOTER --- */
footer {
  background: #23445A;
  color: #fff;
  padding: 36px 0 21px 0;
  box-shadow: 0 -2px 17px 0 rgba(123,196,196, 0.07);
  margin-top: 40px;
  font-size: 0.99rem;
}
.footer-nav {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: #F2ECB3;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #7BC4C4;
}
.footer-brand {
  display: flex;
  gap: 13px;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}
.footer-brand img {
  height: 40px;
}
.footer-brand p { color: #F2ECB3; font-size: 0.92rem; margin-top: 4px; }

/* --- UTILS: MISC, WHITE SPACE, SUGGESTED LINKS --- */
.text-section {
  margin-bottom: 26px;
}
.suggested-links {
  display: flex;
  gap: 22px;
  margin-top: 27px;
  flex-wrap: wrap;
}
.suggested-links .btn-primary, .suggested-links .btn-secondary {
  margin-left: 0;
}

/* --- CONTACT SECTION --- */
.contact-details {
  background: #F2ECB3;
  border-left: 5px solid #23445A;
  padding: 19px 16px 16px 21px;
  border-radius: 12px;
  margin-bottom: 22px;
  font-size: 1.08rem;
}
.contact-details a {
  color: #23445A;
  text-decoration: underline;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: flex-center;
  justify-content: center;
  z-index: 10010;
  background: #23445A;
  color: #fff;
  padding: 20px 15px 17px 18px;
  box-shadow: 0 -6px 24px rgba(123,196,196,0.14);
  font-size: 1rem;
  gap: 18px;
  animation: fadeInBanner 0.6s;
}
@keyframes fadeInBanner {
  from {transform: translateY(50px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner button {
  margin-left: 8px;
  margin-right: 8px;
  padding: 8px 20px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  background: #7BC4C4;
  color: #23445A;
  transition: background 0.18s, color 0.19s, box-shadow 0.2s;
  box-shadow: 0 1px 5px 0 rgba(35,68,90,0.10);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #F2ECB3;
  color: #23445A;
}
.cookie-banner .btn-settings {
  background: #F2ECB3;
  color: #23445A;
  border: 2px solid #7BC4C4;
  margin-left: 0;
}
.cookie-banner .btn-settings:hover,
.cookie-banner .btn-settings:focus {
  background: #7BC4C4;
  color: #fff;
  border: 2px solid #F2ECB3;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,68,90,0.81);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.35s;
}
@keyframes fadeInModal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #23445A;
  border-radius: 23px;
  box-shadow: 0 5px 42px 0 rgba(123,196,196,0.18);
  padding: 38px 32px 28px 32px;
  min-width: 300px;
  max-width: 95vw;
  z-index: 11001;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideInModal 0.33s;
  position: relative;
}
@keyframes slideInModal {
  from { transform: translateY(38px) scale(0.94); opacity: 0;}
  to { transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 7px;
}
.cookie-modal label {
  font-size: 1.05rem;
  margin-right: 12px;
  font-weight: 500;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #F2ECB3;
  padding: 13px 17px 12px 16px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: #7BC4C4;
}
.cookie-modal .cookie-category input:disabled {
  opacity: 0.6;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 17px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  min-width: 90px;
  font-size: 1.01rem;
  padding: 9px 20px;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  color: #23445A;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .close-modal-btn:hover,
.cookie-modal .close-modal-btn:focus {
  color: #7BC4C4;
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 18px 7px 13px 7px;
    min-width: 0;
    width: 97vw;
  }
}

/* --- CREATIVE ARTISTIC ACCENTS --- */
/* Colorful playful underlines for section titles */
h2::after, .hero-section h1::after {
  content: '';
  display: block;
  height: 5px;
  width: 64px;
  background: #7BC4C4;
  border-radius: 3px;
  margin-top: 9px;
  margin-bottom: 9px;
}
.hero-section h1::after {
  width: 80px;
}
@media (max-width: 500px) {
  h2::after, .hero-section h1::after {width: 40px;}
}

/* Dots and swirls decoration for creative feel */
.section, .feature, .testimonial-card, .cta-section, .faq-item, .card {
  position: relative;
}
.section::before, .testimonial-card::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 18px;
  width: 11px;
  height: 11px;
  background: #7BC4C4;
  border-radius: 50%;
  opacity: 0.2;
  z-index: 1;
  pointer-events: none;
}
.section::after, .feature::after {
  content: '';
  position: absolute;
  right: 12px;
  bottom: 8px;
  width: 20px;
  height: 4px;
  background: #F2ECB3;
  border-radius: 6px;
  opacity: 0.13;
  z-index: 1;
  pointer-events: none;
}

/* Artistic font accents */
.hero-section h1 {
  font-family: 'Montserrat', cursive, Arial;
  letter-spacing: -0.03em;
}
h2, .subheadline {
  font-family: 'Montserrat', cursive, Arial;
  letter-spacing: 0.01em;
}
.suggested-links .btn-secondary {
  background: #fff;
  color: #23445A;
  border: 2px solid #7BC4C4;
}
.suggested-links .btn-secondary:hover {
  background: #7BC4C4;
  color: #fff;
}

/* --- FOCUS STATES ACCESSIBILITY --- */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #7BC4C4;
  outline-offset: 3px;
}

/* --- CUSTOM SCROLLBAR (for creative accent, optional) --- */
::-webkit-scrollbar {
  width: 9px;
  background: #F2ECB3;
}
::-webkit-scrollbar-thumb {
  background: #7BC4C4;
  border-radius: 8px;
}

/* --- PRINT HIDE ELEMENTS --- */
@media print {
  .main-navigation, .footer-nav, .cookie-banner, .mobile-menu, .mobile-menu-toggle { display: none !important; }
}
