/* =============================================================
   CSS RESET & BOX MODEL 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,
main, 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;
}
html {
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F6F6F6;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #333;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #2069A9;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F9B233;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
}
img {
  max-width: 100%;
  border-radius: 12px;
  display: block;
}
button,input,select,textarea {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
  background: none;
  padding: 0;
  color: inherit;
}
input[type="text"], input[type="email"], textarea {
  background: #fff;
  border: 1.5px solid #E7E7E7;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 1rem;
}
input:focus, textarea:focus {
  border-color: #F9B233;
}
/* =============================================================
   TYPOGRAPHY
   ============================================================= */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@700&family=Montserrat:wght@400;500;600;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', cursive;
  color: #2069A9;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, .subheadline, .price, .testimonial-author, .footer-info span {
  font-family: 'Montserrat', Arial, sans-serif;
}
p, .subheadline {
  font-size: 1.12rem;
  color: #404040;
  margin-bottom: 16px;
}
.subheadline {
  color: #F9B233;
  font-size: 1.18rem;
  font-weight: 600;
}
.price {
  color: #F68917;
  font-size: 1.08rem;
  font-weight: 600;
}
.testimonial-author {
  font-size: 1rem;
  color: #2069A9;
  font-weight: 500;
  margin-top: 8px;
}

/* =============================================================
   REUSABLE LAYOUT CONTAINERS & SECTIONS (FLEXBOX ONLY)
   ============================================================= */
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(248, 178, 51, 0.05);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 3px 16px 0 rgba(32, 105, 169, 0.08);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 220px;
  flex: 1 1 250px;
  transition: box-shadow .22s, transform .22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(249, 178, 51, 0.13);
  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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF8ED;
  border-radius: 20px;
  box-shadow: 0 4px 20px 0 rgba(249, 178, 51, 0.09);
  flex: 1 1 320px;
  min-width: 200px;
  margin-bottom: 24px;
  flex-direction: column;
  transition: box-shadow .21s, border-color .21s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 36px 0 rgba(32, 105, 169, 0.11);
  border-color: #F9B233;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Custom lists for features/services */
.feature-grid, .feature-list, .feature-highlights, .eco-features, .options-list, .service-list, .usp-badges, .certification-badges, .category-list, .tips-list, .price-info, .cookie-types, .usage-purposes, .terms-list, .user-responsibilities {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin-bottom: 0;
}
.feature-grid li, .feature-list li, .feature-highlights li, .eco-features li, .options-list li {
  flex: 1 1 220px;
  background: #F6F6F6;
  border-radius: 18px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 8px 0 rgba(32, 105, 169, 0.04);
  min-width: 180px;
}
.feature-grid li img, .feature-list li img, .feature-highlights li img, .eco-features li img, .options-list li img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}
/* Small badge lists */
.usp-badges, .certification-badges {
  flex-direction: row;
  gap: 14px;
}
.usp-badges li, .certification-badges li {
  padding: 6px 16px;
  background: #2069A9;
  color: #fff;
  border-radius: 32px;
  font-size: 0.99rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.category-list li {
  display: inline-block;
  background: #F9B233;
  color: #2069A9;
  padding: 8px 18px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 1.04rem;
  margin: 0 8px 8px 0;
  letter-spacing: 0.02em;
}
.price-info li {
  color: #2069A9;
  font-weight: 500;
}
/***** Step-by-step and other guides *****/
.step-by-step-guide {
  background: #fffbe5;
  border-left: 4px solid #F9B233;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.step-by-step-guide ol {
  margin: 0 0 0 24px;
  list-style: decimal inside;
}
.size-chart-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 0 0;
}
.size-chart-navigation a {
  background: #2069A9;
  color: #fff;
  border-radius: 18px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 10px 0 rgba(32, 105, 169, 0.07);
  transition: background 0.2s;
}
.size-chart-navigation a:hover,
.size-chart-navigation a:focus {
  background: #F9B233;
  color: #2069A9;
}

/***** Main navigation *****/
header {
  background: #fff;
  box-shadow: 0 1px 18px 0 rgba(32, 105, 169, 0.072);
  z-index: 20;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}
.logo img {
  width: 148px;
  margin: 0 8px 0 0;
}
.main-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.main-nav a {
  color: #2069A9;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  border-radius: 12px;
  padding: 7px 14px;
  transition: background .17s, color .17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F9B233;
  color: #fff;
}
footer {
  background: #2069A9;
  color: #fff;
  margin-top: 48px;
  border-radius: 28px 28px 0 0;
  padding: 40px 0 10px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.87;
  padding: 5px 10px;
  border-radius: 10px;
  transition: background .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #fff;
  color: #2069A9;
}
.footer-info {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  font-size: .99rem;
  opacity: 0.88;
}

/***** BUTTON STYLES *****/
.btn-primary {
  display: inline-block;
  background: #F9B233;
  color: #2069A9;
  border-radius: 32px;
  padding: 12px 30px;
  font-family: 'Baloo 2', cursive;
  font-size: 1.12rem;
  font-weight: 700;
  box-shadow: 0 3px 12px 0 rgba(32, 105, 169, 0.13);
  border: 2px solid #F9B233;
  margin: 0;
  transition: background .19s, color .18s, box-shadow .18s, border-color .18s;
  cursor: pointer;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #2069A9;
  border-color: #2069A9;
  color: #fff;
  box-shadow: 0 8px 24px 0 rgba(32, 105, 169, 0.15);
  text-decoration: none;
}
.btn-secondary {
  display: inline-block;
  background: #fff;
  color: #2069A9;
  border-radius: 32px;
  padding: 11px 27px;
  font-family: 'Baloo 2', cursive;
  font-size: 1.06rem;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(249, 178, 51, 0.18);
  border: 2px solid #2069A9;
  margin: 0;
  transition: background .18s, color .19s, border-color .19s, box-shadow .19s;
  cursor: pointer;
  outline: none;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #2069A9;
  color: #fff;
  border-color: #F9B233;
  box-shadow: 0 10px 36px 0 rgba(249, 178, 51, 0.16);
}

/***** Additional utility classes *****/
.mt-2 {margin-top: 16px;}
.mb-2 {margin-bottom: 16px;}
.mb-3 {margin-bottom: 24px;}
.mt-3 {margin-top: 24px;}
.text-center {text-align: center;}
.text-right {text-align: right;}
.text-section {
  max-width: 800px;
  margin-bottom: 20px;
}
.contact-methods ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-methods li {
  margin-bottom: 10px;
  font-size: 1.06rem;
}
.collection-overview {
  padding: 20px;
  border-radius: 16px;
  background: #F6F6F6;
  box-shadow: 0 2px 10px 0 rgba(249, 178, 51, 0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.service-info {
  padding: 18px 16px;
  background: #FFF8ED;
  border-radius: 16px;
  box-shadow: 0 3px 16px 0 rgba(249, 178, 51, 0.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
/***** For testimonial cards container *****/
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}

/***** Responsive adaptations (mobile-first) *****/
@media (max-width: 1020px) {
  .testimonials, .feature-grid, .feature-list, .feature-highlights, .eco-features, .service-list {
    gap: 14px;
  }
  .card-container {
    gap: 14px;
  }
  .main-nav, .footer-nav{
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .main-nav, .footer-nav{
    gap: 7px;
  }
  h1 {font-size: 2.05rem;}
  h2 {font-size: 1.38rem;}
}
@media (max-width: 768px) {
  header .container, .footer-info, .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .content-wrapper, .testimonials, .feature-grid, .feature-list, .feature-highlights, .eco-features, .service-list {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .container {
    padding: 0 8px;
    max-width: 99vw;
  }
  .section {padding: 22px 8px;}
  .collection-overview, .service-info {
    padding: 12px 7px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {padding: 15px;}
  .feature-grid li, .feature-list li, .feature-highlights li, .eco-features li, .options-list li {
    min-width: unset;
    flex: 1 1 100%;
    padding: 12px 7px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .card {padding: 18px 7px;}
}
@media (max-width: 500px) {
  h1 {font-size: 1.28rem;}
  h2 {font-size: 1.03rem; margin-bottom: 10px;}
  .logo img {width: 108px;}
  .feature-grid li img, .feature-list li img, .feature-highlights li img, .eco-features li img, .options-list li img {
    width: 34px;
    height: 34px;
  }
  .btn-primary,.btn-secondary {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
  }
}
/* =============================================================
   MOBILE MENU
   ============================================================= */
.mobile-menu-toggle {
  display: none; /* hidden desktop */
  background: #F9B233;
  color: #2069A9;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-left: 8px;
  cursor: pointer;
  transition: background .17s, color .17s;
  z-index: 102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #2069A9;
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,253,245,0.98);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.66, .02, .36, 1.01);
  box-shadow: 0 0 40px 0 rgba(32,105,169,0.09);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 32px 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: #F9B233;
  color: #2069A9;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin: 24px 0 12px 20px;
  align-self: flex-start;
  cursor: pointer;
  transition: background .17s, color .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #2069A9;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0 0 24px;
}
.mobile-nav a {
  color: #2069A9;
  font-size: 1.12rem;
  font-weight: 600;
  background: #fff;
  border-radius: 18px;
  padding: 12px 18px;
  transition: background .17s, color .17s;
  text-align: left;
  min-width: 210px;
  margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9B233;
  color: #fff;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Prevent scroll when mobile menu open */
body.mobile-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100vw;
}

/* =============================================================
   COOKIE CONSENT BANNER & MODAL
   ============================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #FFF8ED;
  color: #3B2A13;
  z-index: 3000;
  box-shadow: 0 -2px 18px 0 rgba(32, 105, 169, 0.13);
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  border-radius: 20px 20px 0 0;
  font-size: 1.01rem;
  animation: fadeSlideUp 0.70s cubic-bezier(.57, .06, .55, 1.01);
}
.cookie-banner strong {
  color: #2069A9;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  padding: 10px 20px;
  border-radius: 24px;
  cursor: pointer;
  margin: 0 4px 4px 0;
  transition: background .19s, color .18s, box-shadow .17s;
  box-shadow: 0 2px 6px 0 rgba(32, 105, 169, 0.11);
}
.cookie-banner .accept-all {
  background: #F9B233;
  color: #2069A9;
}
.cookie-banner .accept-all:hover, .cookie-banner .accept-all:focus {
  background: #2069A9;
  color: #fff;
}
.cookie-banner .reject-all {
  background: #fff;
  color: #A94D20;
  border: 2px solid #F9B233;
}
.cookie-banner .reject-all:hover, .cookie-banner .reject-all:focus {
  background: #F9B233;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #2069A9;
  color: #fff;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #F9B233;
  color: #2069A9;
}
/***** Cookie preferences popup *****/
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(32,105,169,0.38);
  z-index: 3101;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: fadeIn 0.38s;
}
.cookie-modal {
  background: #fff;
  padding: 36px 28px 32px 28px;
  border-radius: 20px;
  max-width: 400px;
  width: 92vw;
  box-shadow: 0 6px 28px 0 rgba(32, 105, 169, 0.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  font-size: 1.04rem;
  animation: fadeSlideUp 0.44s cubic-bezier(.57, .06, .55, 1.01);
  position: relative;
}
.cookie-modal h2 {
  color: #F9B233;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #F9B233;
  color: #2069A9;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .17s, color .17s;
}
.cookie-modal .close-cookie-modal:hover,.cookie-modal .close-cookie-modal:focus {
  background: #2069A9;
  color: #fff;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #F9B233;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 8px;
}
.cookie-category .always-on {
  color: #00B887;
  font-weight: 700;
  font-size: .97rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.cookie-modal .cookie-save {
  background: #F9B233;
  color: #2069A9;
}
.cookie-modal .cookie-save:hover,{/* selector redundancy for future-proof */}
.cookie-modal .cookie-save:focus {
  background: #2069A9;
  color: #fff;
}
.cookie-modal .cookie-cancel {
  background: #fff;
  color: #2069A9;
  border: 2px solid #F9B233;
}
.cookie-modal .cookie-cancel:hover, .cookie-modal .cookie-cancel:focus {
  background: #F9B233;
  color: #fff;
}

@media (max-width: 420px) {
  .cookie-modal {
    padding: 18px 5vw 20px 5vw;
  }
  .cookie-modal .close-cookie-modal {
    top: 8px;
    right: 8px;
    width: 28px; height: 28px; font-size: 1rem;
  }
}
@keyframes fadeSlideUp {
  from {transform: translateY(40px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
@keyframes fadeIn {
  from {opacity: 0;} to {opacity: 1;}
}

/* =============================================================
   MICROINTERACTIONS & TRANSITIONS
   ============================================================= */
.card, .btn-primary, .btn-secondary, .size-chart-navigation a,
.testimonial-card, .feature-grid li, .feature-highlights li, .feature-list li, .eco-features li, .options-list li, .service-info,
.mobile-menu, .mobile-menu-toggle, .mobile-nav a, .mobile-menu-close, .cookie-banner button, .cookie-modal, .cookie-modal .close-cookie-modal {
  transition-property: background, color, box-shadow, border, transform;
  transition-duration: .17s;
  transition-timing-function: cubic-bezier(.57, .06, .55, 1.01);
}

/***** Accessibility: Focus outline *****/
:focus-visible {
  outline: 2.5px dotted #F9B233;
  outline-offset: 2px;
}

/***** Hide scrollbar for mobile-menu *****/
.mobile-menu {
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mobile-menu::-webkit-scrollbar {
  display: none;
}

/***** Customizations for unique elements *****/
ol {
  list-style-type: decimal;
}
strong {
  color: #2069A9;
}

/***** Prevent overlapping *****/
section, .card, .content-wrapper, .testimonial-card, .feature-grid li, .feature-list li, .eco-features li, .feature-highlights li, .options-list li, .service-info, .collection-overview, .text-section {
  margin-bottom: 20px;
}

/***** Z-index stacking for overlays *****/
.mobile-menu {z-index: 2000;}
.cookie-banner {z-index: 3000;}
.cookie-modal-overlay {z-index: 3101;}

/***** Hide elements on print *****/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-overlay {
    display: none !important;
  }
}

/***** Utility: visually-hidden *****/
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
