/* =======================================================
   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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F8FA;
  color: #1A3C54;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.03em;
}
input, button, select, textarea {
  font: inherit;
  border-radius: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  margin-left: 20px;
}
/* Utility */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* =======================================================
   TYPOGRAPHY & BOLD MODERN STYLE
======================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: #1A3C54;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, li, ul {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #1A3C54;
  margin-bottom: 14px;
}
strong, b {
  font-weight: 800;
}

/* =======================================================
   HEADER & NAVIGATION
======================================================= */
header {
  background: #fff;
  border-bottom: 3px solid #F5A623;
  box-shadow: 0 2px 16px 0 rgba(26,60,84,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px 20px;
  gap: 20px;
  min-height: 72px;
}
.logo img {
  height: 48px;
  width: auto;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #1A3C54;
  padding: 6px 4px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  position: relative;
  z-index: 1;
}
nav a:hover {
  color: #F5A623;
  background: #F6F8FA;
}
.btn-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  background: #F5A623;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 36px;
  cursor: pointer;
  margin-left: 16px;
  box-shadow: 0 4px 18px -4px rgba(245,166,35,0.20);
  letter-spacing: 0.05em;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  display: inline-block;
}
.btn-primary:focus-visible,
.btn-primary:hover {
  background: #1A3C54;
  color: #fff;
  box-shadow: 0 6px 32px -4px rgba(26,60,84,0.13);
}

/* Hamburger icon for mobile only */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1A3C54;
  cursor: pointer;
  margin-left: 16px;
  z-index: 201;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover {
  color: #F5A623;
}

/* =======================================================
   MOBILE NAVIGATION MENU
======================================================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: #1A3C54;
  color: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transition: transform 0.35s cubic-bezier(.7,.27,.46,.89);
  transform: translateX(100%);
  box-shadow: -3px 0 16px 0 rgba(26,60,84,0.16);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  margin: 24px 24px 0 0;
  cursor: pointer;
  z-index: 205;
  transition: color 0.2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #F5A623;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  padding: 48px 40px 24px 40px;
  box-sizing: border-box;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  background: none;
  border-radius: 8px;
  padding: 13px 0;
  transition: background 0.15s, color 0.15s;
  min-width: 180px;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #F5A623;
  color: #1A3C54;
}

/*
   Hide nav, show burger on mobile
*/
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width:550px) {
  .mobile-nav {
    padding: 36px 18px 14px 18px;
  }
}

/* =======================================================
   HERO SECTIONS
======================================================= */
.hero {
  background: #1A3C54;
  color: #fff;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 30px;
  padding-bottom: 30px;
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.hero h1, .hero h2 {
  color: #fff;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(26,60,84,0.18);
  margin-bottom: 12px;
}
.hero p {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 18px;
  max-width: 540px;
}
.hero .btn-primary {
  background: #F5A623;
  color: #fff;
  border-radius: 28px;
  font-size: 1.12rem;
  padding: 13px 42px;
  margin-top: 8px;
  box-shadow: 0 6px 22px -8px rgba(245,166,35,0.21);
}
.hero .btn-primary:focus,
.hero .btn-primary:hover {
  background: #fff;
  color: #F5A623;
}

/* =======================================================
   MAIN SECTIONS, CARD & SPACING SYSTEM
======================================================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 32px -7px rgba(26,60,84,0.05);
}
@media (max-width: 767px) {
  .section {
    padding: 24px 5px;
    margin-bottom: 32px;
    border-radius: 8px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border: 2px solid #F6F8FA;
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 16px -4px rgba(26,60,84,.06);
  padding: 30px 22px;
  flex: 1 1 300px;
  min-width: 265px;
  max-width: 340px;
  transition: box-shadow 0.18s, border-color 0.18s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card:hover {
  border-color: #F5A623;
  box-shadow: 0 8px 32px -6px rgba(245,166,35,0.19);
  z-index: 2;
}

.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;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #1A3C54;
  border-radius: 14px;
  border: 2px solid #F5A623;
  padding: 20px;
  box-shadow: 0 3px 22px -6px rgba(26,60,84,0.12);
  margin: 0 0 24px 0;
  min-width: 260px;
  max-width: 410px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card p {
  color: #1A3C54;
  font-size: 1.07rem;
  font-style: italic;
  margin-bottom: 12px;
}
.testimonial-card strong {
  color: #1A3C54;
  font-weight: 900;
}
.star-rating {
  display: flex;
  gap: 4px;
  align-items: center;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

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

/* Feature grid for icon-based features */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  align-items: stretch;
  margin: 24px 0 18px 0;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: #F6F8FA;
  border-radius: 14px;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 2px 10px -3px rgba(26,60,84,.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 190px;
  max-width: 345px;
  border: 2px solid #fff;
  transition: border-color 0.2s;
}
.feature-grid > div:hover {
  border-color: #F5A623;
}
.feature-grid img {
  height: 46px;
  width: 46px;
  margin-bottom: 14px;
}
.feature-grid h3 {
  color: #1A3C54;
  font-size: 1.15rem;
  font-weight: 900;
}

/* List, Teams, Services */
.team-list, .service-list, .product-category-grid, .advice-topic-list, .post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0 18px 0;
}
.team-list > div, .service-card, .post-list > div, .advice-topic-list > div, .product-category-grid > div {
  background: #fff;
  border-radius: 12px;
  border: 2px solid #F6F8FA;
  padding: 22px 20px 20px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  box-shadow: 0 2px 12px -5px rgba(26,60,84,.07);
  transition: box-shadow 0.2s, border-color 0.15s;
}
.team-list > div:hover, .service-card:hover, .post-list > div:hover, .advice-topic-list > div:hover, .product-category-grid > div:hover {
  border-color: #F5A623;
  box-shadow: 0 4px 20px -6px rgba(245,166,35,0.10);
}

/* Quick tips / Highlighted boxes */
.quick-tip-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
}
.quick-tip-boxes > div {
  background: #F5A623;
  color: #fff;
  border-radius: 8px;
  padding: 16px 16px;
  font-weight: 700;
  flex: 1 1 140px;
  font-size: 1rem;
  box-shadow: 0 1px 6px -1px rgba(245,166,35,0.18);
  min-width: 120px;
}

.service-highlights, .featured-posts-highlight, .product-benefits, .quality-commitment, .certification-badges, .product-selection-explained, .service-cta, .qualifications-summary, .map-location {
  background: #F6F8FA;
  border-radius: 10px;
  padding: 18px 20px;
  margin: 18px 0 0 0;
  box-shadow: 0 1px 8px -3px rgba(26,60,84,0.08);
}
.service-cta, .featured-posts-highlight {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

@media (max-width: 768px) {
  .card-container,
  .feature-grid,
  .team-list,
  .service-list,
  .product-category-grid,
  .advice-topic-list,
  .post-list,
  .testimonial-slider,
  .quick-tip-boxes {
    flex-direction: column;
    gap: 18px;
  }
  .service-cta, .featured-posts-highlight {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Newsletter signup */
.newsletter-signup {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.newsletter-signup input[type=email] {
  flex: 1 1 170px;
  padding: 12px 16px;
  border: 2px solid #1A3C54;
  border-radius: 30px;
  font-size: 1rem;
  background: #fff;
  margin-right: 0;
}
.newsletter-signup button {
  min-width: 130px;
}
.newsletter-signup input[type=email]:focus {
  border-color: #F5A623;
  outline: none;
}

/* Cards/Sections Consistent Spacing */
.section, .card, .feature-grid > div, .team-list > div, .service-card, .testimonial-card, .quick-tip-boxes > div {
  margin-bottom: 20px;
}

/* =======================================================
   FOOTER STYLES
======================================================= */
footer {
  background: #1A3C54;
  color: #fff;
  padding: 38px 0 24px 0;
  margin-top: 54px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 38px;
  justify-content: space-between;
}
footer a.logo img {
  height: 36px;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 0;
  border-radius: 5px;
  transition: color 0.15s, background 0.15s;
}
footer nav a:hover {
  color: #F5A623;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #1A3C54;
  margin-top: 3px;
}
.contact-details p, .contact-details a {
  color: #fff;
  font-size: 0.97rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-details img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/* =======================================================
   COMPONENTS & UI MICROINTERACTIONS
======================================================= */
button, .btn-primary, input[type=submit], input[type=button] {
  transition: background 0.19s, color 0.16s, box-shadow .15s;
  outline: none;
}
button:focus, .btn-primary:focus {
  outline: 2px solid #F5A623;
  outline-offset: 2px;
}
input[type=text], input[type=email], textarea {
  border: 2px solid #1A3C54;
  border-radius: 7px;
  padding: 11px 13px;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 16px;
  transition: border-color 0.19s;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border-color: #F5A623;
  outline: none;
}
/* List styling */
ul, ol {
  margin-bottom: 18px;
  padding-left: 22px;
  font-size: 1rem;
}
li {
  margin-bottom: 7px;
  line-height: 1.4;
}

/* Links within body */
main a {
  color: #F5A623;
  font-weight: 700;
  border-bottom: 2px solid #F5A62340;
  transition: color 0.14s, border-bottom 0.13s;
}
main a:hover {
  color: #1A3C54;
  border-bottom: 2px solid #1A3C54;
}

/* Modal overlay for cookie settings - shown below */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,60,84,0.59);
  z-index: 11000;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: modalFadeIn 0.23s 1 cubic-bezier(.35,.9,.39,1.25);
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #1A3C54;
  border-radius: 18px;
  min-width: 320px;
  max-width: 400px;
  padding: 38px 26px 26px 26px;
  box-shadow: 0 16px 54px -13px rgba(26,60,84,0.25);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 9px;
  color: #F5A623;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #F6F8FA;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 18px;
  background: #F6F8FA;
  border-radius: 15px;
  position: relative;
  outline: none;
  transition: background 0.2s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #F5A623;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 12px; height: 12px;
  background: #fff;
  border-radius: 100%;
  transition: transform 0.19s;
}
.cookie-toggle:checked:before {
  background: #fff;
  transform: translateX(16px);
}
.cookie-switch-label {
  font-weight: 600;
  color: #1A3C54;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 5px;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 24px;
}
.cookie-modal .btn-secondary {
  background: #1A3C54;
  color: #fff;
  border: none;
  font-weight: 700;
  transition: background 0.17s;
}
.cookie-modal .btn-secondary:hover, .cookie-modal .btn-secondary:focus {
  background: #F5A623;
  color: #1A3C54;
}
.cookie-modal .modal-close-btn {
  position: absolute;
  top: 13px; right: 17px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1A3C54;
  cursor: pointer;
  z-index: 111;
  transition: color 0.17s;
}
.cookie-modal .modal-close-btn:hover {
  color: #F5A623;
}

/* =======================================================
   COOKIE CONSENT BANNER
======================================================= */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  color: #1A3C54;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px 21px 28px;
  z-index: 10500;
  box-shadow: 0 -2px 24px -6px rgba(26,60,84,0.12);
  border-top: 3px solid #F5A623;
  flex-wrap: wrap;
  animation: cookieBannerIn .32s cubic-bezier(.5,1.6,.4,1.0);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-text {
  font-size: 1.08rem;
  flex: 1 1 250px;
  color: #1A3C54;
  font-weight: 700;
  margin-right: 14px;
}
.cookie-consent-actions {
  display: flex;
  gap: 13px;
  flex: 0 0 auto;
  align-items: center;
}
.cookie-consent-banner .btn-primary {
  font-size: 1.04rem;
  padding: 9px 19px;
  border-radius: 22px;
  font-weight: 900;
}
.cookie-consent-banner .btn-secondary {
  background: #1A3C54;
  color: #fff;
  border-radius: 22px;
  border: none;
  font-weight: 700;
  font-size: 0.99rem;
  padding: 9px 15px;
  transition: background 0.16s, color 0.16s;
}
.cookie-consent-banner .btn-secondary:hover,
.cookie-consent-banner .btn-secondary:focus {
  background: #F5A623;
  color: #1A3C54;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 13px;
    text-align: center;
    padding: 20px 6px 15px 6px;
  }
  .cookie-consent-actions {
    justify-content: center;
    width: 100%;
    gap: 11px;
  }
}

/* =======================================================
   GEOMETRIC, MODERN VISUAL ACCENTS (Decorative shapes)
======================================================= */
.section {
  position: relative;
}
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: -18px;
  left: 24px;
  width: 52px;
  height: 7px;
  background: #F5A623;
  border-radius: 5px 5px 0 0;
  opacity: 0.19;
  z-index: 1;
}
.section > .container > .content-wrapper {
  position: relative;
  z-index: 2;
}
@media (max-width: 600px) {
  .section:before {
    left: 8px;
    width: 30px;
    top: -11px;
    height: 5px;
  }
}

/* =======================================================
   RESPONSIVE & ADAPTIVE LAYOUT
======================================================= */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 740px;
    padding: 0 10px;
  }
}
@media (max-width: 600px) {
  .container {
    max-width: 100vw;
    padding: 0 3vw;
  }
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.23rem;
  }
  .hero {
    padding-top: 15px;
    padding-bottom: 18px;
    min-height: 180px;
  }
}

/* =======================================================
   FORM ELEMENTS & LOCAL OVERRIDES
======================================================= */
input, textarea, select {
  outline: none;
  appearance: none;
  font-size: 1rem;
  resize: vertical;
}

input[type=email]:focus, input[type=text]:focus, textarea:focus {
  border-color: #F5A623;
}

form label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #1A3C54;
  margin-bottom: 7px;
  display: block;
}

/* For maps or locations */
.map-location {
  background: #F6F8FA;
  border-radius: 11px;
  padding: 18px 17px;
  margin-top: 16px;
  box-shadow: 0 1px 9px -5px rgba(26,60,84,.06);
}
.map-location h3 {
  color: #1A3C54;
  font-size: 1.01rem;
  margin-bottom: 6px;
}

/* =======================================================
   MISC
======================================================= */
::-webkit-scrollbar {
  width: 7px;
  background: #F6F8FA;
}
::-webkit-scrollbar-thumb {
  background: #F5A62388;
  border-radius: 10px;
}

/* Remove number arrows on input[type=number] */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

/* ---- Accessibility highlights ---- */
:focus-visible {
  outline: 2px solid #F5A623 !important;
  outline-offset: 2px;
}

/* =======================================================
   END
======================================================= */
