/* CSS RESET & BASELINE */
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;
}
html {
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F1F6FB;
  color: #163755;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #47B36A;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #163755;
  outline: none;
}
ul {
  list-style: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .01em;
  text-wrap: balance;
}
h1 {
  font-size: 2.5rem;
  color: #163755;
  margin-bottom: 16px;
  line-height: 1.12;
}
h2 {
  font-size: 2rem;
  color: #47B36A;
  margin-bottom: 16px;
  line-height: 1.13;
}
h3 {
  font-size: 1.25rem;
  color: #163755;
  margin-bottom: 12px;
  line-height: 1.18;
}
strong {
  font-weight: 700;
}

p, li, span, label, input, textarea, select, button {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #163755;
  line-height: 1.6;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

/* FLEX UTILITY CLASSES (for layout structure) */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(22, 55, 85, 0.09);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(71, 179, 106, .17);
  transform: translateY(-4px) scale(1.015);
}
.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;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(22,55,85,0.08);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  max-width: 600px;
  transition: box-shadow .18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px rgba(22,55,85,.22);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SECTIONS & SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
  width: 100%;
}
@media (max-width: 992px) {
  .container {
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  .section, section {
    margin-bottom: 36px;
    padding: 20px 0;
  }
  .content-wrapper, .content-grid, .card-container {
    gap: 20px;
  }
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #163755;
  box-shadow: 0 8px 28px -16px #16375518;
  z-index: 1500;
  position: relative;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 0 12px 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-size: 1.08rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: 10px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .15s, color .18s;
  position: relative;
}
.main-nav a:last-child {
  margin-right: 0;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #47B36A;
  background: #fff1;
}
.main-nav .btn-primary {
  background: #47B36A;
  color: #163755 !important;
  border-radius: 24px;
  font-size: 1.09rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 8px 28px;
  box-shadow: 0 2px 8px #47B36A48;
  transition: background .15s, color .19s, transform .18s;
  margin-left: 4px;
  border: none;
}
.main-nav .btn-primary:hover, .main-nav .btn-primary:focus {
  background: #40a260;
  color: #fff !important;
  transform: scale(1.07);
}

header img {
  height: 44px;
  width: auto;
  margin-right: 18px;
  display: block;
}

/* MOBILE MENU (BURGER) */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 16px;
  top: 18px;
  background: #163755;
  color: #47B36A;
  font-size: 2.2rem;
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 3001;
  transition: background .15s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #47B36A;
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #163755;
  color: #fff;
  z-index: 3000;
  transform: translateX(-100vw);
  transition: transform .36s cubic-bezier(.78, .13, .15, 1.01);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 26px 40px 26px;
  box-sizing: border-box;
  box-shadow: 0 6px 54px #16375588;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #47B36A;
  font-size: 2.5rem;
  align-self: flex-end;
  margin-bottom: 24px;
  transition: color .12s;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-size: 1.18rem;
  color: #fff;
  padding: 13px 0;
  border-radius: 8px;
  transition: background .14s, color .16s;
  font-weight: 700;
  letter-spacing: 0.04em;
  width: 100%;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #47B36A;
  background: #fff3;
}
@media (max-width: 1200px) {
  .main-nav {
    gap: 11px;
  }
  .main-nav img {
    height: 40px;
    margin-right: 10px;
  }
}
@media (max-width: 920px) {
  .main-nav {
    gap: 6px;
    font-size: .95rem;
  }
}
@media (max-width: 900px) {
  .main-nav {
    font-size: .93rem;
    gap: 6px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 821px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO SECTION */
.hero {
  background: #47B36A;
  background-image: none;
  color: #fff;
  width: 100%;
  padding: 48px 0 54px 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 42px #47B36A11;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 18px #16375555;
  font-size: 2.7rem;
  letter-spacing: 0.01em;
  margin-bottom: 13px;
}
.hero h2 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 32px;
}
.hero .btn-primary {
  font-size: 1.2rem;
  background: #fff;
  color: #47B36A;
  font-weight: 900;
  border-radius: 28px;
  padding: 14px 36px;
  margin-top: 12px;
  margin-bottom: 4px;
  box-shadow: 0 8px 36px #16375519, 0 2px 16px #47B36A28;
  transition: background .23s, color .16s, box-shadow .22s, transform .15s;
}
.hero .btn-primary:hover, .hero .btn-primary:focus {
  color: #fff;
  background: #163755;
  box-shadow: 0 2px 14px #01993011;
  transform: scale(1.04);
}
@media (max-width: 720px) {
  .hero {
    padding: 34px 0 28px 0;
  }
  .hero h1 {
    font-size: 2.0rem;
  }
  .hero h2 {
    font-size: 1.05rem;
  }
}

/* PRIMARY / SECONDARY BUTTONS */
.btn-primary, a.btn-primary, button.btn-primary {
  background: #47B36A;
  color: #fff;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-weight: 900;
  border: none;
  border-radius: 24px;
  padding: 11px 30px;
  font-size: 1.06rem;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px #47B36A22;
  transition: background .19s, color .18s, box-shadow .21s, transform .13s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #163755;
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 8px 38px #47B36A28;
}

.btn-secondary, a.btn-secondary, button.btn-secondary {
  background: #fff;
  color: #47B36A;
  border-radius: 24px;
  font-weight: 800;
  padding: 9px 25px;
  font-size: 1rem;
  border: 2px solid #47B36A;
  transition: background .13s, color .13s, border .12s, transform .15s;
  letter-spacing: .01em;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #47B36A;
  color: #fff;
  border-color: #163755;
  transform: scale(1.03);
}

/* FORM & INPUTS */
input[type="search"], input[type="text"], input[type="email"], textarea {
  border: 2px solid #47B36A;
  border-radius: 18px;
  font-size: 1rem;
  padding: 11px 18px;
  width: 100%;
  max-width: 430px;
  margin-bottom: 16px;
  transition: border .17s, box-shadow .19s;
  background: #F1F6FB;
  color: #163755;
  outline: none;
  box-sizing: border-box;
}
input[type="search"]:focus, input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 2px solid #163755;
  box-shadow: 0 2px 8px #47B36A25;
}

/* BLOG LIST & CATEGORIES */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.blog-list article {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px #16375515;
  padding: 26px 18px;
  width: 335px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: box-shadow .18s, transform .16s;
}
.blog-list article:hover {
  box-shadow: 0 8px 24px #47B36A18;
  transform: translateY(-2px) scale(1.03);
}
.categories-list {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.categories-list ul {
  display: flex;
  gap: 10px;
}
.categories-list a {
  color: #47B36A;
  font-weight: 600;
  padding: 6px 20px;
  border-radius: 15px;
  background: #16375511;
  transition: background .12s, color .16s;
}
.categories-list a:hover, .categories-list a:focus {
  background: #47B36A;
  color: #fff;
}

.search-bar {
  margin-top: 17px;
  display: flex;
  align-items: center;
  width: 100%;
}

/* CARDS / ACCESORY CARDS */
ul > li {
  margin-bottom: 20px;
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
ul > li img {
  width: 36px;
  height: 36px;
  margin-right: 8px;
  background: #F1F6FB;
  border-radius: 8px;
  box-shadow: 0 1px 6px #47B36A11;
}
ul > li h3, .accessory-name h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #163755;
  margin-bottom: 4px;
}
.accessory-name {
  margin-bottom: 3px;
}
ul > li span {
  color: #47B36A;
  font-weight: 700;
  font-size: .97rem;
  margin-left: 7px;
}

/* MAP PLACEHOLDER */
.map-placeholder {
  padding: 20px;
  background: #fff;
  color: #47B36A;
  border-radius: 16px;
  box-shadow: 0 2px 14px #1637550b;
  font-size: 1.1rem;
  margin-top: 13px;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
}

/* FOOTER */
footer {
  background: #163755;
  color: #fff;
  padding: 42px 0 26px 0;
  margin-top: 48px;
  font-size: .97rem;
}
footer .container {
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
  justify-content: flex-start;
}
.footer-nav a {
  color: #47B36A;
  font-weight: 700;
  background: #fff2;
  border-radius: 11px;
  padding: 4px 17px;
  font-size: 1.01rem;
  letter-spacing: .015em;
  transition: background .12s, color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #47B36A;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin-bottom: 20px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: .95rem;
  line-height: 1.3;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  background: transparent;
  margin-right: 4px;
}
.footer-brand {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.footer-brand img {
  height: 42px;
  width: auto;
  display: block;
}

/* RESPONSIVE DESIGN */
@media (max-width: 990px) {
  .footer-contact {
    gap: 18px;
    flex-wrap: wrap;
  }
  .card-container, .content-grid, .blog-list {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 650px) {
  .footer-contact {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
  }
  footer {
    padding: 24px 0 14px 0;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #163755;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  z-index: 5000;
  box-shadow: 0 -2px 32px #16375555;
  padding: 21px 24px 19px 24px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookie-banner-slide-in .39s cubic-bezier(.24,.9,.34,1.15);
}
@keyframes cookie-banner-slide-in {
  from {transform: translateY(110%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner .cookie-text {
  flex: 1 1 auto;
  color: #F1F6FB;
  margin-right: 28px;
  max-width: 600px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
}
.cookie-banner .cookie-btn {
  background: #47B36A;
  color: #fff;
  padding: 8px 18px;
  border-radius: 22px;
  font-weight: 700;
  font-size: 1.02rem;
  border: none;
  margin-left: 2px;
  cursor: pointer;
  transition: background .14s, color .13s, transform .13s;
}
.cookie-banner .cookie-btn:hover, 
.cookie-banner .cookie-btn:focus {
  background: #163755;
  color: #47B36A;
  transform: scale(1.04);
}
.cookie-banner .cookie-btn.secondary {
  background: #fff;
  color: #47B36A;
  border: 2px solid #47B36A;
}
.cookie-banner .cookie-btn.secondary:hover, 
.cookie-banner .cookie-btn.secondary:focus {
  background: #47B36A;
  color: #fff;
}

/* Cookie consent preferences modal */
.cookie-modal-overlay {
  display: none; /* .show applied when modal visible */
  position: fixed;
  z-index: 5999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #163755cc;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.show {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #163755;
  border-radius: 16px;
  box-shadow: 0 4px 50px #16375544;
  max-width: 430px;
  width: 90vw;
  padding: 31px 30px 22px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookie-modal-in .39s cubic-bezier(.26, .92, .38, 1.03);
  position: relative;
}
@keyframes cookie-modal-in {
  from {transform: translateY(80px) scale(.92); opacity: 0;}
  to {transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-modal h3 {
  color: #47B36A;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 9px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1.07rem;
  margin-bottom: 14px;
  gap: 6px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #47B36A;
  width: 19px;
  height: 19px;
  margin-right: 9px;
}
.cookie-modal-category {
  margin-bottom: 9px;
}
.cookie-modal-category .desc {
  color: #163755;
  font-size: .95rem;
  margin-left: 28px;
  margin-bottom: 4px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 13px;
  right: 13px;
  background: none;
  border: none;
  color: #47B36A;
  font-size: 2rem;
  z-index: 1001;
  cursor: pointer;
  transition: color .18s;
}
.cookie-modal .modal-close:hover {
  color: #163755;
}

/* TESTIMONIALS / OPINIONS */
.testimonial-card blockquote {
  color: #163755;
  font-size: 1.13rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 7px;
  background: none;
  border-left: 4px solid #47B36A;
  padding-left: 13px;
}
.testimonial-card span {
  color: #47B36A;
  font-weight: 700;
  font-size: 1.01rem;
  font-style: normal;
}

/* DYNAMIC EFFECTS - ENERGETIC VISUALS */
.btn-primary, .btn-secondary, .card, .testimonial-card, .mobile-menu, .cookie-banner, .cookie-modal {
  transition: box-shadow .18s, background .20s, color .14s, transform .15s;
}
.card, .testimonial-card {
  box-shadow: 0 2px 14px #47B36A0c, 0 1.5px 6px #16375510;
  border-radius: 16px;
}

h1, h2, h3, .btn-primary, .main-nav a, .mobile-nav a, .footer-nav a {
  text-transform: none;
  letter-spacing: 0.01em;
}

/* LISTS, FEATURES, ICONS */
ul, .features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 10px;
}
.features-list li {
  background: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 1.5px 7px #47B36A1a;
  color: #163755;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
}
ul > li img, .features-list img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #16375505;
  margin-right: 7px;
}

/* TEXT-IMAGE SECTIONS */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 800px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul {
  gap: 11px;
}
.text-section h2 {
  margin-bottom: 7px;
}

/* GENERAL RESPONSIVE RULES */
@media (max-width: 600px) {
  .container {
    padding: 0 5px;
  }
  .content-wrapper, .card-container, .content-grid {
    gap: 12px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
  .main-nav img, .footer-brand img {
    height: 29px;
  }
  .testimonial-card { max-width: 98vw; font-size: .98rem; }
}

/* THANK YOU PAGE */
.text-section a.btn-primary {
  margin-top: 18px;
  align-self: flex-start;
}

/* OVERRIDE: Remove absolute positioning for cards/sections (except icons/decor) */
.card, .testimonial-card, .content-wrapper, .content-grid, .section, section {
  position: static !important;
}

/* FORMS (useful if any present) */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 430px;
  width: 100%;
}
form > label {
  font-size: 1rem;
  font-weight: 700;
}

/* MISC UTILITY */
.nowrap {
  white-space: nowrap;
}
.text-center {
  text-align: center;
}

/* ENSURE NO OVERLAP, SPACING */
section, .section, .card, .testimonial-card, .card-container, .content-wrapper {
  margin-bottom: 20px;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 8px 12px;
  border-bottom: 1px solid #ddd;
}

/* NO GRID/NO COLUMNS - ENSURE FLEX ONLY */
/* Display: flex and flex-wrap on all structure containers, already set above */

/* BRAND VIBE EXTRAS */
body {
  background: linear-gradient(135deg, #F1F6FB 60%, #47B36A16 100%);
}

/* Vibrant energetic cards effect */
.card {
  border-left: 6px solid #47B36A;
}
.card:hover {
  border-left: 8px solid #163755;
}

/* Subtle energetic accent lines */
h2:after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: #47B36A;
  margin-top: 4px;
  border-radius: 3px;
}
@media (max-width: 600px) {
  h2:after {
    width: 28px;
    height: 3px;
  }
}

/* END OF CSS */
