/* --- 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,main,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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #232946;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #232946;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F6C177;
  text-decoration: none;
}
ul,ol {
  margin-left: 24px;
  margin-bottom: 20px;
  padding-left: 0;
}
li {
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #232946;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
h1 {font-size: 2.6rem; margin-bottom: 24px;}
h2 {font-size: 2rem; margin-bottom: 20px;}
h3 {font-size: 1.4rem; margin-bottom: 14px;}
h4 {font-size: 1.2rem; margin-bottom: 10px;}

p, .subheadline {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #232946;
}
.subheadline {
  font-size: 1.15rem;
  color: #555A6A;
  margin-bottom: 24px;
}

/* --- Containers & Layout --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 32px 0 32px 0;
    margin-bottom: 36px;
  }
}

/* --- Header & Navigation --- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 22px 0;
  background: #fff;
  border-bottom: 1px solid #E7EAF6;
  position: relative;
  z-index: 30;
}
header > a img {
  height: 36px;
  width: auto;
}
header nav {
  display: flex;
  gap: 32px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #232946;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 0;
  transition: color 0.18s;
  position: relative;
}
header nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #F6C177;
  transition: width 0.18s;
  position: absolute;
  left: 0; bottom: -3px;
}
header nav a:hover:after, header nav a:focus:after {
  width: 18px;
}
header nav a:hover, header nav a:focus {
  color: #F6C177;
}

.cta-button {
  background: #232946;
  color: #fff;
  padding: 12px 26px;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 1px 8px 0 rgba(35, 41, 70, 0.05);
  transition: background 0.24s, color 0.18s, box-shadow 0.28s;
  margin-left: 28px;
  display: inline-block;
}
.cta-button:hover,.cta-button:focus {
  background: #F6C177;
  color: #232946;
  box-shadow: 0 2px 16px 0 rgba(246, 193, 119, 0.14);
}

/* --- Burger Menu --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #232946;
  margin-left: 18px;
  cursor: pointer;
  outline: none;
  z-index: 1000;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover,.mobile-menu-toggle:focus {
  color: #F6C177;
}
@media (max-width: 980px) {
  header nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- Mobile Menu Overlay --- */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(35, 41, 70, 0.97);
  color: #fff;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 28px 28px 32px;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.59,.21,.46,.68);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin-bottom: 10px;
  margin-right: 4px;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu-close:hover,.mobile-menu-close:focus {
  color: #F6C177;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  text-decoration: none;
  padding: 14px 0;
  border-radius: 6px;
  transition: background 0.22s, color 0.18s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,.mobile-nav a:focus {
  background: #F6C177;
  color: #232946;
}

/* --- Main Content & Sections --- */
main {
  width: 100%;
}
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 28px 0 rgba(35,41,70,0.03);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
@media (max-width: 768px) {
  section {
    border-radius: 0;
    padding: 30px 0;
    margin-bottom: 36px;
  }
}

/* --- FLEXBOX/GRID-LIKE Patterns by Naming --- */
.feature-grid,
.resources-grid,
.service-cards,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 20px 0;
}
.feature-grid > div,
.resources-grid > div,
.service-cards > div,
.service-list > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(35, 41, 70, 0.04);
  padding: 28px 22px 22px 22px;
  flex: 1 1 250px;
  min-width: 240px;
  transition: box-shadow 0.28s, transform 0.24s;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid #E7EAF6;
}
.feature-grid > div:hover,
.resources-grid > div:hover,
.service-cards > div:hover,
.service-list > div:hover {
  box-shadow: 0 7px 24px 0 rgba(35,41,70,0.08);
  transform: translateY(-2px) scale(1.015);
}
.feature-grid img,
.resources-grid img,
.service-cards img {
  max-width: 38px;
  margin-bottom: 12px;
}
.price {
  display: inline-block;
  margin-top: 6px;
  font-weight: bold;
  font-size: 1rem;
  color: #F6C177;
}

/* --- Testimonial Card --- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px 0 rgba(35,41,70,0.09);
  border: 1px solid #E7EAF6;
  min-width: 260px;
  max-width: 380px;
  flex: 1 1 260px;
  margin-bottom: 20px;
}
.testimonial-card p {
  font-size: 1.06rem;
  color: #232946;
  margin-bottom: 8px;
}
.testimonial-author {
  color: #555A6A;
  font-size: 0.98rem;
  font-style: italic;
  margin-bottom: 3px;
}
.star-rating {
  color: #F6C177;
  letter-spacing: 2px;
  font-size: 1.16rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 2px;
}

/* --- Cards & List Sections --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(35,41,70,0.07);
  padding: 28px 20px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .content-grid, .feature-grid, .resources-grid, .card-container, .testimonial-slider, .service-cards, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

/* --- Quick Links --- */
.quick-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 12px 0 0 0;
  padding: 0;
}
.quick-links a {
  color: #232946;
  background: #E7EAF6;
  border-radius: 7px;
  padding: 8px 20px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.18s, color 0.2s;
}
.quick-links a:hover,.quick-links a:focus {
  background: #F6C177;
  color: #232946;
}
.quick-link {
  color: #232946;
  font-weight: 500;
  text-decoration: underline;
  margin-top: 5px;
  transition: color 0.2s;
}
.quick-link:hover, .quick-link:focus {
  color: #F6C177;
}

/* --- Footer --- */
footer {
  width: 100%;
  background: #fff;
  border-top: 1px solid #E7EAF6;
  padding: 32px 0 28px 0;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
footer nav {
  display: flex;
  gap: 28px;
  margin-bottom: 13px;
}
footer nav a {
  color: #232946;
  text-decoration: none;
  font-size: 1rem;
  padding: 3px 0;
  border-radius: 3px;
  transition: background 0.19s, color 0.18s;
}
footer nav a:hover,footer nav a:focus {
  color: #F6C177;
  background: #E7EAF6;
}
.address-details {
  color: #555A6A;
  font-size: 0.97rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  text-align: center;
  margin-top: 0;
}
@media (max-width: 768px) {
  footer nav {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
  }
}

/* --- Misc --- */
::-webkit-input-placeholder {color:#bbb; opacity:1;}
:-moz-placeholder {color:#bbb; opacity:1;}
::-moz-placeholder {color:#bbb; opacity:1;}
:-ms-input-placeholder {color:#bbb; opacity:1;}
::placeholder {color:#bbb; opacity:1;}

hr {
  border: none;
  border-top: 1px solid #E7EAF6;
  margin: 26px 0;
}

/* --- Animations & Transitions --- */
section, .card, .testimonial-card, .feature-grid > div, .resources-grid > div, .service-cards > div, .service-list > div {
  transition: box-shadow 0.28s, transform 0.24s;
}

/* --- Button Microinteractions --- */
button, .cta-button {
  transition: box-shadow 0.19s, background 0.18s, color 0.18s, border 0.2s;
}
button:active, .cta-button:active {
  box-shadow: 0 2px 8px 0 rgba(246,193,119,0.11);
}

/* --- Table Styles --- */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(35,41,70,0.03);
}
th, td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #E7EAF6;
  font-size: 1rem;
}
th {
  background: #E7EAF6;
  color: #232946;
  font-weight: 700;
}

/* --- Forms and Inputs (if any) --- */
input[type=text], input[type=email], textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #E7EAF6;
  font-size: 1rem;
  margin-bottom: 18px;
  background: #fafbfc;
  transition: border 0.17s, box-shadow 0.17s;
  font-family: 'Open Sans', Arial, sans-serif;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #F6C177;
  box-shadow: 0 1px 6px 0 rgba(246,193,119,0.09);
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #232946;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 -2px 22px 0 rgba(35,41,70,0.11);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 36px;
  gap: 24px;
  transition: transform 0.33s;
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner-content {
  flex: 1;
  color: #fff;
  margin-right: 8px;
  max-width: 680px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cookie-btn, .cookie-btn:visited {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  border-radius: 22px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 600;
  background: #F6C177;
  color: #232946;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cookie-btn.reject {
  background: #fff;
  color: #232946;
  border: 1px solid #F6C177;
}
.cookie-btn.settings {
  background: #232946;
  color: #F6C177;
  border: 1px solid #F6C177;
}
.cookie-btn:hover,.cookie-btn:focus {
  background: #232946;
  color: #F6C177;
  border: 1px solid #F6C177;
}
.cookie-btn.reject:hover,.cookie-btn.reject:focus {
  background: #F6C177;
  color: #232946;
}
.cookie-btn.settings:hover,.cookie-btn.settings:focus {
  background: #F6C177;
  color: #232946;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 12px;
  }
  .cookie-banner-content {max-width: none;}
}

/* --- Cookie Preferences Modal --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1550;
  background: rgba(35,41,70,0.51);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.36s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-dialog {
  background: #fff;
  color: #232946;
  border-radius: 16px;
  min-width: 320px;
  max-width: 98vw;
  width: 400px;
  box-shadow: 0 6px 40px 0 rgba(35,41,70,0.22);
  padding: 36px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: showModal 0.38s cubic-bezier(.61,.25,.49,.81);
}
@keyframes showModal {
  0% {transform: translateY(48px) scale(0.98);opacity:0;}
  100% {transform: translateY(0) scale(1);opacity:1;}
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #232946;
  font-size: 1.7rem;
  align-self: flex-end;
  margin-bottom: 4px;
  cursor: pointer;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F6F7FB;
  border-radius: 8px;
  padding: 12px;
}
.cookie-category-label {
  font-size: 1.06rem;
  font-weight: 500;
  color: #232946;
}
.cookie-category-toggle {
  margin-left: auto;
}
.cookie-category input[type=checkbox] {
  width: 28px;
  height: 18px;
  border: none;
  accent-color: #F6C177;
  cursor: pointer;
}
.cookie-category.essential {
  opacity: 0.55;
  pointer-events: none;
}
.cookie-settings-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 14px;
}
@media (max-width: 480px) {
  .cookie-modal-dialog {
    min-width: 92vw;
    padding: 20px 7vw 18px 7vw;
  }
}

/* --- Utilities --- */
.mt-0 {margin-top:0;}
.mb-0 {margin-bottom:0;}
.mt-1 {margin-top:8px;}
.mb-1 {margin-bottom:8px;}
.mt-2 {margin-top:16px;}
.mb-2 {margin-bottom:16px;}
.mt-3 {margin-top:28px;}
.mb-3 {margin-bottom:28px;}

/* --- Responsive Typography --- */
@media (max-width: 600px) {
  html {font-size: 15px;}
  h1 {font-size: 2rem;}
  h2 {font-size: 1.35rem;}
  h3 {font-size: 1.08rem;}
}

/* --- Responsive Container Adjustments --- */
@media (max-width: 600px) {
  .container {padding: 0 6px;}
}

/* --- Hide Modal/Banner by Default --- */
.cookie-banner, .cookie-modal {
  display: none; /* Shown by adding .show or .open via JS */
}
.cookie-banner.show {
  display: flex;
}
.cookie-modal.show {
  display: flex;
}

/* --- Accessibility Outlines for Focus --- */
a:focus, .cta-button:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #F6C177;
  outline-offset: 2px;
}

/* --- Minimalist Visuals / Extra White Space --- */
section, .feature-grid > div, .resources-grid > div, .service-cards > div, .service-list > div, .card, .testimonial-card {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(35,41,70,0.03);
}

/* --- End --- */
