/* RESET & BASE --------------------------------------------- */
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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;  font-family: 'Roboto', Arial, sans-serif;
  color: #1a2441;  background: linear-gradient(135deg, #ffffff 0%, #f3f8fe 100%);
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;  display: block;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1em;
  padding-left: 1em;
}
a {
  color: #3A6FA5;  text-decoration: none;  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F6C244;
  outline: none;
}
button, .cta-btn {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
  transition: all 0.2s;
}

/* TYPOGRAPHY ------------------------------------------------*/
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', 'Arial', sans-serif;
  color: #264060;
  margin-bottom: 0.6em;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0.015em;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; margin-top: 1.2em; }
h3 { font-size: 1.25rem; font-weight: 600; color: #38588b; margin-top: 1em; }
h4 { font-size: 1.05rem; font-weight: 500; }
p, li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.9em;
}
.subheadline {
  color: #3A6FA5;
  font-size: 1.15rem;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}
strong {
  font-weight: 700;
  color: #38588b;
}

/* CONTAINER & WRAPPERS --------------------------------------*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(90deg, #e4ecf7 0%, #fcfcfd 100%);
  border-radius: 24px;
  box-shadow: 0 2px 24px 0 rgba(58,111,165,0.09);
}

/* HEADER ---------------------------------------------------*/
header {
  width: 100%;
  background: linear-gradient(90deg, #3A6FA5 0%, #F6C244 100%);
  box-shadow: 0 4px 20px 0 rgba(58,111,165,0.15);
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  padding: 10px 0;
}
.logo-link img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F6C244;
}
.cta-btn {
  background: #F6C244;
  color: #264060;
  border-radius: 32px;
  padding: 12px 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  box-shadow: 0 4px 16px 0 rgba(246,194,68,.07);
  margin-left: 12px;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  border: 2px solid transparent;
}
.cta-btn:hover, .cta-btn:focus {
  background: #3A6FA5;
  color: #fff;
  border: 2px solid #F6C244;
  box-shadow: 0 2px 10px 0 rgba(58,111,165,0.14);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  color: #fff;
  padding: 6px 16px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  z-index: 3010;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #F6C244;
}

/* MOBILE MENU ----------------------------------------------*/
.mobile-menu {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(130deg, #3A6FA5 80%, #F6C244 120%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  z-index: 4000;

  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(.62,1.1,.55,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.4rem;
  align-self: flex-end;
  margin: 18px 26px 12px 0;
  border: none;
  border-radius: 8px;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(246,194,68,0.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8em;
  width: 100%;
  padding: 16px 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.26rem;
  font-weight: 600;
  padding: 14px 0;
  width: 100%;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(246,194,68,0.13);
  color: #F6C244;
}

/* HERO SECTION ---------------------------------------------*/
section:first-of-type h1 {
  font-size: 2.8rem;
  color: #3A6FA5;
  margin-bottom: 0.35em;
}
section:first-of-type {
  background: linear-gradient(90deg,#f8fafc 0%, #e4ecf7 100%);
  min-height: 290px;
}

/* FEATURE GRID & CARDS -------------------------------------*/
.feature-grid, .project-categories-grid, .service-overview, .step-by-step-overview, .join-steps, .community-events-overview, .material-advice, .team-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0 12px 0;
}
.feature-grid {
  justify-content: space-between;
}
.feature-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(58,111,165,0.07);
  padding: 28px 20px;
  min-width: 220px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.feature-item img {
  height: 38px; width: 38px;
}
.feature-item:hover {
  box-shadow: 0 6px 32px rgba(58,111,165,0.10);
  transform: translateY(-3px) scale(1.025);
}

.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(58,111,165,0.10);
  margin-bottom: 20px;
  flex: 1 1 240px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card-content {
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(58,111,165,0.13);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #f7fafd;
  border-radius: 16px;
  padding: 20px 34px 20px 24px;
  margin-bottom: 20px;
  color: #22304E;
  box-shadow: 0 1px 8px 0 rgba(58,111,165,0.08);
  font-size: 1.05rem;
  transition: box-shadow 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(246,194,68,0.17);
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: #3A6FA5;
  margin-top: -6px;
}

/* OTHER LAYOUTS --------------------------------------------*/
.team-roles > div {
  background: #fff;
  border-radius: 14px;
  padding: 18px 30px;
  margin-bottom: 14px;
  box-shadow: 0 1px 8px 0 rgba(58,111,165,0.08);
  font-size: 1rem;
}
.service-overview > div,
.project-categories-grid > div {
  background: #f8fafc;
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: 0 1px 8px 0 rgba(58,111,165,0.04);
  margin-bottom: 18px;
  flex: 1 1 210px;
}
.feature-icons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin: 14px 0 0 0;
}
.feature-icons img {
  height: 38px; width: 38px; filter: drop-shadow(0 1px 3px #e4ecf7);
}
.contact-details ul,
.contact-info-short ul {
  list-style: none;
}
.contact-details li,
.contact-info-short li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #38588b;
}
.contact-details img,
.contact-info-short img {
  height: 22px; width: 22px;
}
.support-channels ul {
  margin-bottom: 12px;
}
.step-by-step-overview,
.join-steps,
.community-events-overview {
  flex-direction: row;
  gap: 36px;
  align-items: flex-start;
}

/* TIPS, LISTS, USER TIPS -----------------------------------*/
.tips-list li, .user-tips li {
  margin-bottom: 10px;
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 14px 10px 16px;
  color: #22304E;
  font-size: 1rem;
}
.tips-list {
  margin-bottom: 18px;
}
.trending-ideas, .seasonal-inspiration {
  margin: 20px 0 12px 0;
}
.user-tips li:before {
  content: '💡';
  margin-right: 6px;
}

/* FAQ & SUPPORT --------------------------------------------*/
.faq-blurb {
  background: #fffbe9;
  border-radius: 12px;
  padding: 20px 18px;
  color: #b77803;
  margin-bottom: 18px;
}

/* FOOTER ---------------------------------------------------*/
footer {
  width: 100%;
  background: #233b57;
}
.footer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 34px 22px 18px 22px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #F6C244;
  font-size: 1.03rem;
  font-weight: 500;
  opacity: 0.8;
  transition: color 0.15s, opacity 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  opacity: 1;
}
footer span {
  color: #bfcadf;
  font-size: 0.98rem;
  margin-top: 2px;
}

/* COOKIE BANNER & MODAL -------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fffbe9;
  color: #233b57;
  padding: 24px 32px;
  box-shadow: 0 -2px 24px 0 rgba(58,111,165,0.13);
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: center;
  font-size: 1.03rem;
  transition: transform 0.25s, opacity 0.25s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(48px);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-left: 18px;
}
.cookie-btn, .cookie-action-btn {
  border-radius: 20px;
  font-size: 1.01rem;
  padding: 10px 22px;  margin: 0 5px;
  min-width: 110px;
  font-family: 'Montserrat',sans-serif;
  border: 1.5px solid #F6C244;
  background: #F6C244; color: #233b57;
  font-weight: 600;
  box-shadow: 0 1px 4px 0 rgba(58,111,165,0.05);
  transition: background 0.18s, color 0.18s;
}
.cookie-btn.reject {
  background: #fff; color: #b77803; border: 1.5px solid #b77803;
}
.cookie-btn.settings {
  background: #fffde4; color: #3A6FA5; border: 1.5px solid #3A6FA5;
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-action-btn:hover, .cookie-action-btn:focus {
  background: #3A6FA5; color: #fff; border: 1.5px solid #3A6FA5;
}
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(58,111,165,0.17);
  z-index: 11000;
  display: none;
  justify-content: center; align-items: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  padding: 38px 28px 28px 28px;
  max-width: 94vw;  width: 370px;
  box-shadow: 0 6px 40px 0 rgba(58,111,165,0.20);
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.07rem;
  position: relative;
  animation: fade-in-modal 0.4s cubic-bezier(.62,1.1,.5,1);
}
@keyframes fade-in-modal {
  from { opacity: 0; transform: translateY(70px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  color: #3A6FA5;
}
.cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-toggle {
  accent-color: #3A6FA5; /* fallback to blue if not supported */
  width: 21px;
  height: 21px;
}
.cookie-modal .cookie-action-btn {
  align-self: flex-end;
}
.cookie-modal .close-modal {
  background: none;
  color: #3A6FA5;
  font-size: 1.8rem;
  border: none;
  position: absolute;
  top: 18px; right: 18px;
  cursor: pointer;
  transition: color 0.15s;
  border-radius: 6px;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #F6C244;
}

/* RESPONSIVE: MOBILE-FIRST ----------------------------------*/
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 18px; }
  .header-wrapper { padding: 8px 0; }
}
@media (max-width: 768px) {
  /* Hide main nav, show burger on mobile */
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .header-wrapper {
    gap: 10px;
    min-height: 62px;
  }
  section {
    padding: 22px 0;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 38px;
    border-radius: 14px;
  }
  .container {
    padding: 0 6px;
  }
  .feature-grid, .project-categories-grid, .service-overview, .step-by-step-overview, .team-roles, .content-grid {
    gap: 12px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
  }
  .join-steps, .community-events-overview {
    flex-direction: column;
    gap: 12px;
  }
  .feature-item, .card, .service-overview > div, .project-categories-grid > div, .card-content, .testimonial-card, .team-roles > div {
    min-width: unset;
    width: 100%;
    padding: 16px 10px;
    font-size: 1rem;
  }
  .testimonial-card {
    padding: 16px 8px;
    font-size: 0.98rem;
  }
  .footer-wrapper {
    padding: 24px 8px 14px 8px;
    gap: 10px;
  }
  .footer-nav {
    gap: 10px;
    font-size: 0.98rem;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.10rem; }
  .subheadline { font-size: 1rem; }
  .cookie-banner {
    flex-direction: column; gap: 16px; padding: 18px 8px; font-size: 0.99rem;
  }
}
@media (max-width: 540px) {
  .cookie-banner {
    padding: 14px 4px;
    font-size: 0.96rem;
  }
  .cookie-modal {
    padding: 22px 6px 18px 10px;
    width: 96vw;
  }
}

/* ACCESSIBILITY --------------------------------------------*/
:focus {
  outline: 2px solid #3A6FA5;
  outline-offset: 2px;
}
[tabindex]:focus {
  outline: 2px solid #F6C244;
  outline-offset: 2px;
}

/* ANIMATIONS & TRANSITIONS ---------------------------------*/
.cta-btn, .feature-item, .card, .testimonial-card, .cookie-btn, .cookie-action-btn, .mobile-nav a {
  transition: box-shadow 0.15s, background 0.18s, color 0.18s, transform 0.18s;
}
.cta-btn:active, .cookie-btn:active, .cookie-action-btn:active {
  transform: scale(0.97);
}

/* Z-INDEX LAYERING -----------------------------------------*/
header { z-index: 100; }
.mobile-menu, .mobile-menu-toggle, .mobile-menu-close, .mobile-nav { z-index: 4000; }
.cookie-banner { z-index: 9999; }
.cookie-modal-overlay { z-index: 11000; }

/* CUSTOM FONT FACE -----------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* END OF STYLE.CSS */
