/* 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F7F7F9;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F7F9;
  color: #234170;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #234170;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FBE54F;
}
button, input[type="button"], input[type="submit"] {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
  background: #e9e9f5;
}
::-webkit-scrollbar-thumb {
  background: #234170;
  border-radius: 8px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #234170;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

p, li, label {
  font-size: 1.125rem;
  color: #234170;
}
p {
  margin-bottom: 16px;
}
ul, ol {
  margin-bottom: 16px;
  padding-left: 1.6em;
}
ul li {
  margin-bottom: 8px;
}
blockquote {
  font-style: italic;
  padding-left: 20px;
  border-left: 4px solid #FBE54F;
  color: #234170;
  background: #fffbe8;
  margin-bottom: 12px;
}
cite {
  color: #606eea;
  font-weight: 700;
  font-size: 1rem;
}
strong {
  font-weight: 700;
  color: #234170;
}

.tagline {
  display: block;
  background: #FBE54F;
  color: #234170;
  padding: 8px 16px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: 18px;
}

/* CONTAINERS & LAYOUT */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

main {
  margin-top: 80px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 8px;
}
.features-grid > div, .features-grid > .story-snippet, .features-grid > .team-member, .features-grid > .blog-post {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(35,65,112,0.06), 0 0.5px 4px 0 rgba(251,229,79,0.09);
  padding: 28px 20px 24px 20px;
  min-width: 250px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: transform 0.16s, box-shadow 0.2s;
  position: relative;
}
.features-grid > div:hover, .features-grid > .team-member:hover, .features-grid > .story-snippet:hover, .features-grid > .blog-post:hover {
  box-shadow: 0 4px 24px 0 rgba(35,65,112,0.12), 0 2px 18px 0 rgba(251,229,79,0.13);
  transform: translateY(-4px) scale(1.028);
  z-index: 2;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(35,65,112,0.06);
  padding: 26px 18px;
  transition: box-shadow 0.17s;
}
.card:hover {
  box-shadow: 0 4px 22px rgba(35,65,112,0.15);
}

.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: #FFFBE8;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(35,65,112,0.08);
  margin-bottom: 20px;
  flex: 1 1 250px;
  color: #1a2030;
  border-left: 5px solid #FBE54F;
}
.testimonial-card blockquote {
  background: transparent;
  border-left: none;
  color: #1a2030;
  margin-bottom: 0;
  font-size: 1.18rem;
}
.testimonial-card cite {
  font-size: 1rem;
  font-style: normal;
  color: #234170;
}

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

.text-section {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}

.quick-tips {
  background: #FFE66F;
  color: #234170;
  border-radius: 12px;
  padding: 18px;
  margin-top: 18px;
}
.quick-tips h3 {
  margin-bottom: 10px;
}

/* HERO AREA */
.hero {
  position: relative;
  width: 100%;
  background: #234170; /* Primary brand color */
  color: #fff;
  padding: 70px 0 56px 0;
  margin-bottom: 48px;
  text-align: left;
  overflow: hidden;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero h1, .hero h2, .hero p, .hero .tagline {
  color: #fff;
}
.hero .cta-btn {
  margin-top: 22px;
  background: #FBE54F;
  color: #234170;
}
.hero:after {
  content: '';
  display: block;
  position: absolute;
  top: 24px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: #FBE54F;
  border-radius: 100%;
  opacity: 0.14;
  z-index: 1;
}

/* BUTTONS & LINKS */
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: #234170;
  color: #fff;
  padding: 13px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  border-radius: 24px;
  border: none;
  box-shadow: 0 2px 14px 0 rgba(35,65,112,0.11);
  letter-spacing: 0.06em;
  transition: background 0.18s, color 0.18s, transform 0.13s;
  margin-right: 14px;
  margin-bottom: 12px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FBE54F;
  color: #234170;
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 5px 24px rgba(35,65,112,0.22);
}
.secondary-link {
  display: inline-block;
  color: #234170;
  background: transparent;
  font-weight: 700;
  font-size: 1.11rem;
  margin-left: 8px;
  text-decoration: underline;
  transition: color 0.2s, text-decoration 0.2s;
}
.secondary-link:hover {
  color: #FBE54F;
  text-decoration: none;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}
input[type="email"], input[type="text"], textarea {
  padding: 12px 14px;
  border: 2px solid #234170;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
  font-family: inherit;
  background: #FAFAFA;
  margin-bottom: 10px;
  margin-top: 4px;
  transition: border-color 0.17s;
}
input[type="email"]:focus, input[type="text"]:focus, textarea:focus {
  border-color: #FBE54F;
}
form button[type="submit"] {
  background: #234170;
  color: #fff;
  font-weight: 700;
  border-radius: 18px;
  padding: 10px 28px;
  border: none;
  font-size: 1.1rem;
  box-shadow: 0 1px 7px rgba(35,65,112,0.13);
  transition: background 0.17s, color 0.14s, transform 0.12s;
}
form button[type="submit"]:hover {
  background: #FBE54F;
  color: #234170;
  transform: translateY(-2px) scale(1.03);
}

/* NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 1px 14px 0 rgba(35,65,112,0.06);
  position: sticky;
  top: 0;
  z-index: 99;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  height: 70px;
  justify-content: flex-start;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  color: #234170;
  padding: 7px 16px;
  border-radius: 16px;
  transition: background 0.19s, color 0.19s;
}
.main-nav a.cta-btn {
  margin-left: 30px;
  margin-right: 0;
  font-size: 1.1rem;
}
.main-nav a:not(.cta-btn):hover {
  background: #FBE54F;
  color: #234170;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 16px;
  z-index: 120;
  width: 48px;
  height: 48px;
  background: #FBE54F;
  color: #234170;
  font-size: 2rem;
  border-radius: 50%;
  border: none;
  justify-content: center;
  align-items: center;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s;
  box-shadow: 0 2px 14px rgba(35,65,112,0.10);
}
.mobile-menu-toggle:active {
  background: #234170;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 200;
  transform: translateX(110%);
  opacity: 0;
  transition: transform 0.33s cubic-bezier(.85,0,.43,1.01), opacity 0.27s;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  padding-top: 42px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 23px;
  right: 24px;
  height: 42px;
  width: 42px;
  font-size: 2rem;
  background: #234170;
  color: #fff;
  border-radius: 50%;
  border: none;
  box-shadow: 0 2px 18px rgba(251,229,79,0.16);
  transition: background 0.14s, color 0.14s;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 40px 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #234170;
  padding: 12px 0;
  border-radius: 12px;
  width: 100%;
  text-align: left;
  transition: background 0.15s, color 0.16s;
}
.mobile-nav a:hover {
  color: #fff;
  background: #234170;
}

/* Hide nav/show burger on mobile */
@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 951px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* CTA BUTTON (general override for nav) */
.cta-btn {
  background: #FBE54F;
  color: #234170;
}
.cta-btn:hover, .mobile-menu a.cta-btn:hover {
  background: #234170;
  color: #fff;
}

/* FOOTER */
footer {
  background: #234170;
  color: #fff;
  padding: 44px 0 20px 0;
  margin-top: 60px;
  position: relative;
}
footer .container {
  padding-left: 20px;
  padding-right: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 34px 60px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .footer-nav nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  opacity: 0.96;
  transition: color 0.2s, opacity 0.13s;
  margin-bottom: 6px;
}
.footer-nav a:hover, .footer-nav nav a:hover {
  color: #FBE54F;
  opacity: 1;
}
.contact-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  font-size: 1rem;
  color: #FBE54F;
  margin-bottom: 18px;
}
.contact-footer img {
  width: 21px;
  margin-right: 8px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  transition: filter 0.2s, transform 0.14s;
}
.footer-social a:hover img {
  filter: brightness(1.4) drop-shadow(0 2px 3px #FBE54F77);
  transform: scale(1.13);
}

/* Blog list & categories filter */
.blog-list .features-grid {
  gap: 26px;
}
.blog-post {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(35,65,112,0.09);
  padding: 29px 17px 19px 17px;
  position: relative;
  transition: box-shadow 0.15s, transform 0.18s;
}
.blog-post a {
  color: #234170;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: underline;
  margin-top: 17px;
  display: inline-block;
  transition: color 0.15s;
}
.blog-post a:hover {
  color: #FBE54F;
}
.categories-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.categories-filter span {
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}
.categories-filter a {
  background: #FBE54F;
  color: #234170;
  border-radius: 9px;
  padding: 5px 14px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.17s, color 0.16s;
}
.categories-filter a:hover {
  background: #234170;
  color: #fff;
}

/* Text highlighting for accent purposes */
mark {
  background: #FBE54F;
  color: #234170;
  padding: 0 7px;
  border-radius: 5px;
}

/* Section and card alignment patterns */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Map and contact sections */
.map-embed {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  margin-top: 8px;
}

.contact-details {
  background: #FFE66F;
  padding: 18px 16px 11px 16px;
  border-radius: 10px;
  color: #234170;
  font-size: 1.13rem;
  margin-bottom: 14px;
}

/* -----------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
------------------------------------------------------*/
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 400;
  background: #234170;
  color: #fff;
  padding: 20px 20px 20px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -3px 18px rgba(35,65,112,0.13);
  font-size: 1rem;
  gap: 22px;
  transition: transform 0.25s, opacity 0.25s;
}
.cookie-consent__desc {
  flex: 1 1 230px;
  min-width: 80px;
  margin-bottom: 9px;
}
.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}
.cookie-btn {
  background: #FBE54F;
  color: #234170;
  padding: 10px 22px;
  border-radius: 16px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  border: none;
  font-size: 1rem;
  margin-right: 3px;
  transition: background 0.13s, color 0.13s, transform 0.11s;
}
.cookie-btn.reject {
  background: #fff;
  color: #234170;
  border: 1.5px solid #FBE54F;
}
.cookie-btn:hover {
  background: #234170;
  color: #FBE54F;
  transform: scale(1.06);
}
.cookie-btn.reject:hover {
  background: #FBE54F;
  color: #234170;
  border-color: #234170;
}

.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 500;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,65,112,0.53);
  justify-content: center;
  align-items: center;
}
.cookie-modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.18s;
}
@keyframes fadeIn{
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #234170;
  border-radius: 18px;
  padding: 38px 24px;
  min-width: 330px;
  max-width: 94vw;
  box-shadow: 0 5px 30px rgba(35,65,112,0.24);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: popIn 0.21s cubic-bezier(.49,1.7,.58,1);
}
@keyframes popIn {
  from { transform: scale(.8); opacity: 0; } to { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  color: #234170;
  font-size: 1.38rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category {
  background: #F7F7F9;
  border-radius: 9px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.08rem;
}
.category-toggle {
  margin-left: auto;
}
.category-toggle input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: #FBE54F;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 22px;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #234170;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover {
  color: #FBE54F;
}

@media(max-width: 700px) {
  .cookie-consent, .cookie-consent__desc {
    flex-direction: column;
    align-items: flex-start !important;
    padding: 18px 10px 18px 10px;
    font-size: 0.96rem;
  }
  .cookie-consent__actions {
    margin-top: 6px;
  }
  .cookie-modal {
    min-width: 0;
    width: 96vw;
    padding: 21px 8vw;
  }
}

/* -----------------------------------------------------
   RESPONSIVENESS & MOBILE FLEX LAYOUTS
------------------------------------------------------*/
@media (max-width: 1200px) {
  .container {
    max-width: 980px;
  }
}
@media (max-width: 980px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .features-grid {
    gap: 17px;
  }
}
@media (max-width: 800px) {
  .features-grid,
  .footer-nav,
  .contact-footer,
  .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .features-grid > div,
  .features-grid > .story-snippet,
  .features-grid > .team-member,
  .features-grid > .blog-post {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.12rem; }

  .main-nav {
    display: none;
  }
  .hero {
    padding: 48px 0 32px 0;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
  }
  .section, section {
    padding: 27px 5px;
    margin-bottom: 34px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .content-wrapper {
    gap: 12px;
  }
  .hero {
    padding: 23px 0 15px 0;
    min-height: unset;
  }
  .footer-social { gap: 8px; }
}

/* -----------------------------------------------------
   HIGH-ENERGY/ELECTRIC ACCENTS (Brand accent color)
------------------------------------------------------*/
.features-grid > div::after, .features-grid > .blog-post::after, .team-member::after, .story-snippet::after {
  content: '';
  position: absolute;
  right: 24px; bottom: 16px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #FBE54F;
  opacity: 0.09;
  z-index: 0;
  pointer-events: none;
}
.features-grid > .team-member::after {
  background: #FBE54F;
  opacity: 0.15;
}

/* SHADOWS & MICRO-INTERACTIONS */
input[type="email"], input[type="text"], textarea, .quick-tips, .contact-details {
  box-shadow: 0 2.5px 10px rgba(251,229,79,0.06);
}
input:focus, textarea:focus {
  box-shadow: 0 2px 14px rgba(251,229,79,0.15);
}

/* FOCUS STATES */
a:focus, .cta-btn:focus, .cookie-btn:focus, input:focus, button:focus {
  outline: 2px dashed #FBE54F;
  outline-offset: 2px;
}

/* Z-INDEX MANAGEMENT */
header { z-index: 99; }
.mobile-menu { z-index: 200; }
.cookie-consent { z-index: 400; }
.cookie-modal-backdrop { z-index: 500; }

/* ENSURE NO GRID or COLUMN PROPERTIES ARE PRESENT */
/* Compliance note: All layout is achieved with flexbox, gap, and margin. */
