/* 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: #F4F4F8;
  color: #233D4D;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 10px;
  text-align: left;
}

/* BRANDING FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background-color: #F4F4F8;
  color: #233D4D;
  min-height: 100vh;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #233D4D;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
h5, h6 { font-size: 1rem; font-weight: 700; }
p, ul, ol {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
main {
  flex: 1 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  border-bottom: 4px solid #EAC435;
  position: relative;
  z-index: 1100;
  box-shadow: 0 2px 16px rgba(35,61,77,0.06);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px 20px 16px 20px;
}
header img {
  height: 46px;
  margin-right: 20px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 24px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a:focus {
  background: #EAC435;
  color: #233D4D;
}
.cta-btn {
  background: #EAC435;
  color: #233D4D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  border: none;
  padding: 12px 32px;
  border-radius: 32px;
  box-shadow: 0 3px 18px 0 rgba(35,61,77,0.07);
  cursor: pointer;
  margin-left: 16px;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #233D4D;
  color: #EAC435;
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 32px;
  top: 26px;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #233D4D;
  cursor: pointer;
  z-index: 1202;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #EAC43522;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  transform: translateX(-100%);
  background: #233D4D;
  transition: transform 0.4s cubic-bezier(0.77,0.2,0.05,1);
  z-index: 1202;
  box-shadow: 8px 0 32px rgba(35,61,77,0.17);
  padding: 32px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #EAC435;
  background: none;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 24px;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #EAC43533;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  padding: 16px 0;
  color: #EAC435;
  border-radius: 6px;
  letter-spacing: 0.5px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EAC435;
  color: #233D4D;
}

/* HERO SECTION */
.hero-section {
  background: #EAC435;
  border-bottom: 4px solid #233D4D;
  padding: 48px 0 40px 0;
  margin-bottom: 0;
  text-align: left;
}
.hero-section h1 {
  color: #233D4D;
  letter-spacing: -2px;
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 8px;
  font-weight: 900;
}
.hero-section p {
  color: #233D4D;
  font-size: 1.3rem;
  margin-bottom: 24px;
  max-width: 650px;
}
.hero-section .cta-btn {
  margin-top: 8px;
}

/* FEATURE SECTIONS */
.features-section {
  background: #fff;
}
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 16px;
}
.feature-item, .service-item {
  background: #F4F4F8;
  border-radius: 24px;
  box-shadow: 0 3px 18px 0 rgba(35,61,77,0.08);
  padding: 32px 24px 24px 24px;
  flex: 1 1 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 2.5px solid #EAC435;
}
.feature-item img, .service-item img {
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.feature-item h3, .service-item h3 {
  color: #233D4D;
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.feature-item p, .service-item p {
  color: #233D4D;
  font-size: 1rem;
}
.feature-item:hover, .service-item:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(35,61,77,0.14);
}

/* ABOUT, LEGAL, TEXT SECTIONS */
.about-section, .legal-section, .contact-section {
  background: #F4F4F8;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.text-section ul, .text-section ol {
  padding-left: 22px;
  margin-bottom: 10px;
  color: #233D4D;
}
.text-section li {
  margin-bottom: 7px;
  line-height: 1.6;
  font-size: 1rem;
  list-style-type: disc;
}
.text-section li strong {
  font-weight: 700;
}

/* TESTIMONIALS */
.testimonials-section {
  background: #fff;
  padding-top: 38px;
  padding-bottom: 38px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 28px 22px 28px;
  margin-bottom: 20px;
  background: #F4F4F8;
  color: #233D4D;
  border-radius: 24px;
  border: 2.5px solid #EAC435;
  box-shadow: 0 5px 20px 0 rgba(35,61,77,0.13);
  font-size: 1.18rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card p {
  color: #233D4D;
  font-weight: 500;
}
.testimonial-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.99rem;
  font-weight: 700;
  color: #233D4D;
}

/* CARDS (generic) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 3px 18px 0 rgba(35,61,77,0.10);
  position: relative;
  min-width: 180px;
  padding: 24px 16px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 10px 32px 0 rgba(35,61,77,0.20);
  transform: translateY(-5px) scale(1.02);
}

/* GRIDS & FLEX CONTAINERS */
.card-container, .feature-grid, .service-list, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.content-grid {
  gap: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Feature item again to ensure gap and responsive */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CTA SECTION */
.cta-section {
  margin-bottom: 60px;
  padding: 48px 20px;
  background: #233D4D;
  border-radius: 22px;
  color: #fff;
  text-align: center;
  box-shadow: 0 4px 20px 0 rgba(35,61,77,0.10);
}
.cta-section h2, .cta-section h1 {
  color: #fff;
}
.cta-section p {
  color: #F4F4F8;
  font-size: 1.15rem;
  margin-bottom: 24px;
}
.cta-section .cta-btn {
  margin-top: 10px;
}

/* TABLE PRICING */
table {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 24px;
  font-size: 1rem;
  box-shadow: 0 3px 18px 0 rgba(35,61,77,0.07);
}
th {
  background: #233D4D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
td {
  border-bottom: 1px solid #EAC43533;
}

/* CONTACT SECTION */
.contact-section {
  background: #fff;
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.contact-section .text-section p img {
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  margin-right: 5px;
}
.contact-section a {
  color: #233D4D;
  font-weight: 700;
  text-decoration: underline;
}
.contact-section a:hover, .contact-section a:focus {
  color: #EAC435;
  text-decoration: underline;
}

/* FOOTER */
footer {
  background: #233D4D;
  color: #fff;
  padding: 36px 0 16px 0;
}
footer .container {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
.footer-menu a {
  color: #EAC435;
  font-weight: 700;
  font-size: 1rem;
  padding: 4px 16px;
  border-radius: 16px;
  transition: background 0.18s, color 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #233D4D;
  background: #EAC435;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  height: 28px;
  margin-right: 5px;
}
.footer-brand span {
  font-size: 0.98rem;
  font-weight: 500;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #233D4D;
  color: #fff;
  z-index: 3000;
  padding: 24px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  box-shadow: 0 -2px 18px 0 rgba(35,61,77,0.17);
  font-size: 1.05rem;
  animation: cookie-slideup 0.7s cubic-bezier(.77,.01,.21,.99);
}
@keyframes cookie-slideup {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn, .cookie-settings-btn {
  background: #EAC435;
  color: #233D4D;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  border-radius: 18px;
  font-size: 1rem;
  padding: 8px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(234,196,53,0.08);
}
.cookie-btn:hover, .cookie-btn:focus,
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #fff;
  color: #233D4D;
}
.cookie-btn.reject {
  background: #E94F37;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #233D4D;
  color: #E94F37;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 4000;
  background: rgba(35,61,77,0.75);
  align-items: center;
  justify-content: center;
  animation: fadein 0.2s linear;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #233D4D;
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(35,61,77,0.18);
  padding: 38px 24px 28px 24px;
  width: 95vw;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalin 0.3s cubic-bezier(.81,.05,.13,.97);
  position: relative;
}
@keyframes modalin {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #233D4D;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #EAC43533;
  font-size: 1.04rem;
}
.cookie-category .category-name {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-toggle {
  margin-left: 8px;
}
.cookie-modal .cookie-btn {
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: #F4F4F8;
  color: #233D4D;
  border: none;
  font-size: 1.3rem;
  border-radius: 8px;
  cursor: pointer;
  padding: 4px 8px;
  transition: background 0.2s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: #EAC43533;
}

/* TOGGLES (Cookie modal) */
.cookie-toggle-checkbox {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #EAC435;
  border-radius: 14px;
  cursor: pointer;
  outline: none;
  position: relative;
  border: 2px solid #233D4D;
  transition: background 0.2s;
}
.cookie-toggle-checkbox:checked {
  background: #233D4D;
}
.cookie-toggle-checkbox::before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-toggle-checkbox:checked::before {
  transform: translateX(18px);
  background: #EAC435;
}

/* CONTENT SPACING CLASSES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1020px) {
  header .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid, .service-list {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 24px;
  }
  .footer-menu {
    gap: 10px;
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7px;
    max-width: 100vw;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid, .service-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-section {
    padding: 38px 0 26px 0;
    text-align: left;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section p {
    font-size: 1.04rem;
  }
  .about-section, .contact-section, .features-section, .cta-section, .legal-section {
    padding: 28px 8px;
  }
  .cta-section {
    border-radius: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 16px 14px 13px 14px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 12px 8px 12px 8px;
  }
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .cookie-modal {
    padding: 28px 8px 20px 8px;
    max-width: 99vw;
    min-width: 0;
    width: 98vw;
  }
}
/* Extra small phones */
@media (max-width: 510px) {
  .hero-section h1 {font-size: 1.35rem;}
  .cta-section h1, .cta-section h2 {font-size: 1.2rem;}
  .footer-brand span, .footer-menu a {font-size: 0.95rem;}
  th, td {font-size: 0.97rem; padding: 7px 6px;}
  .cookie-banner {font-size: 0.93rem; flex-direction: column; gap: 12px;}
}

/* ANIMATIONS & MICROINTERACTIONS */
.cta-btn, .card, .feature-item, .service-item, .footer-menu a, .cookie-btn, .cookie-settings-btn {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.13s;
}
.card:hover, .feature-item:hover, .service-item:hover {
  box-shadow: 0 8px 28px rgba(35,61,77,0.16);
  transform: translateY(-4px) scale(1.02);
}

::-webkit-input-placeholder { color: #233D4D99; }
::-moz-placeholder { color: #233D4D99; }
:-ms-input-placeholder { color: #233D4D99; }
::placeholder { color: #233D4D99; }

/* ACCESSIBLE FOCUS STATE */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .cookie-settings-btn:focus {
  outline: 3px solid #EAC435;
  outline-offset: 3px;
}

/* Hide visually but not for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
