/* ---------------------------------------
   CSS RESET & BASE STYLES (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;
}

html {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F5F5F5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  color: #1A2633;
  background: linear-gradient(135deg, #F5F5F5 0%, #e8ecf5 100%);
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

*,*:before,*:after {
  box-sizing: inherit;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

a {
  color: #008080;
  text-decoration: none;
  transition: color .18s;
}

a:hover, a:focus {
  color: #003366;
  text-decoration: underline;
}

ul, ol {
  list-style-position: outside;
  margin-left: 1.5em;
}

/* ---------------------------------------
   BRAND TYPOGRAPHY
--------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #003366;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 14px;
  color: #003366;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #008080;
}
h4, h5, h6 {
  font-size: 1.08rem;
}
p, li {
  font-size: 1rem;
  color: #37455c;
}
.text-section p, .text-section ul li {
  margin-bottom: 18px;
}

.tagline {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #008080;
  margin-bottom: 24px;
}

/* ---------------------------------------
   CONTAINER, SPACING PATTERNS, FLEX LAYOUTS
--------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 30px 8px;
    margin-bottom: 32px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Card Container & Spacing Patterns */
.card-container, .card-grid, .feature-grid, .service-grid, .testimonial-slider, .resources-articles, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .card-container, .card-grid, .feature-grid, .service-grid, .testimonial-slider, .resources-articles, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,24,60,0.09);
  overflow: hidden;
  padding: 24px;
  position: relative;
  transition: box-shadow .23s;
}
.card:hover, .service-item:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(0,24,60,0.13);
  z-index: 2;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #F5F5F5;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,24,60,0.05);
  padding: 20px;
  max-width: 350px;
  min-width: 250px;
  flex: 1 1 280px;
  transition: box-shadow .22s, transform .2s;
  margin-bottom: 20px;
}
.testimonial-card .testimonial-rating {
  font-size: 1.5rem;
  color: #008080;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.testimonial-card p {
  color: #1A2633;
  text-align: center;
  margin-bottom: 0;
}
.testimonial-author {
  font-size: 0.98rem;
  color: #003366;
}

.feature-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,24,60,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 20px;
  min-width: 220px;
  max-width: 296px;
  margin-bottom: 20px;
  transition: box-shadow .14s, transform .18s;
}
.feature-item img {
  width: 44px;
  height: 44px;
}

/* Service cards */
.service-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,24,60,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px;
  flex: 1 1 230px;
  max-width: 280px;
  min-width: 200px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .18s;
}
.service-item h2 {
  font-size: 1.24rem;
  color: #003366;
}
.service-price {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  color: #008080;
  font-size: 1.1rem;
}

/* Lists & FAQ accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0,24,60,0.03);
  padding: 22px 18px;
  transition: box-shadow .13s;
}
.faq-item h2, .faq-item h3 {
  color: #008080;
  font-size: 1.1rem;
  margin-bottom: 7px;
}
.faq-item p {
  color: #37455c;
  margin-bottom: 0;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.08rem;
  margin: 0 0 20px 22px;
  color: #1A2633;
}
.step-list li strong {
  color: #003366;
}

/* ---------------------------------------
   HERO & CTA BACKGROUNDS (Gradient style)
--------------------------------------- */
.hero {
  background: linear-gradient(90deg, #F5F5F5 0%, #d2eaf6 100%);
  padding: 64px 0;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1, .hero h2 {
  color: #003366;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.hero .btn {
  margin-top: 24px;
}
@media (max-width: 768px) {
  .hero {
    padding: 36px 0 32px 0;
  }
}

/* ---------------------------------------
   BUTTONS
--------------------------------------- */
.btn {
  display: inline-block;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 30px;
  border-radius: 32px;
  background: #008080;
  color: #fff;
  font-weight: 600;
  outline: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,24,60,0.06);
  transition: background 0.20s, box-shadow 0.17s, transform 0.11s;
  letter-spacing: 0.03em;
  margin-top: 12px;
}
.btn:hover, .btn:focus {
  background: #005B71;
  box-shadow: 0 4px 24px rgba(0,24,60,0.14);
  transform: translateY(-2px) scale(1.03);
  color: #fff;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(90deg, #008080 0%, #003366 100%); /* fallback for gradient */
  font-weight: 700;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #003366 0%, #008080 100%);
}

/* ---------------------------------------
   HEADER & NAVIGATION
--------------------------------------- */
header {
  box-shadow: 0 1px 10px rgba(0,24,60,0.04);
  background: #F5F5F5;
  position: sticky;
  top: 0; left: 0;
  z-index: 99;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  min-height: 70px;
  gap: 20px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #003366;
  font-weight: 500;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  transition: color 0.16s;
  font-size: 1rem;
}
.main-nav a:hover, .main-nav a:focus {
  color: #008080;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: #003366;
  border: none;
  cursor: pointer;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 110;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 32px rgba(0,24,60,0.09);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.71,.01,.37,1.12);
  padding: 20px 32px 32px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #003366;
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 18px;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #008080;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 18px;
}
.mobile-nav a {
  color: #003366;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 11px 0;
  border-radius: 8px;
  transition: background 0.14s, color 0.13s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e6faec;
  color: #008080;
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ---------------------------------------
   FOOTER
--------------------------------------- */
footer {
  background: #F5F5F5;
  border-top: 1.5px solid #eaeaea;
  margin-top: 60px;
}
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  padding: 36px 0;
}
.footer-logo img {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #008080;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.footer-contact {
  font-size: 1rem;
  color: #37455c;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact a {
  color: #003366;
  text-decoration: underline;
}
@media (max-width: 900px) {
  .footer-bar {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 24px 0;
  }
}

/* ---------------------------------------
   RESOURCES PAGE :: TABLE
--------------------------------------- */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 1px 6px rgba(0,24,60,0.05);
}
th, td {
  padding: 14px 10px;
  text-align: left;
  font-size: 0.99rem;
  border-bottom: 1px solid #eef2fb;
}
th {
  background: #f2f9fa;
  color: #003366;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
tr:last-child td {
  border-bottom: none;
}

/* ---------------------------------------
   MISC TEXT/INFO
--------------------------------------- */
adress, .footer-contact address {
  font-style: normal;
  color: #8eacc8;
  font-size: 0.98rem;
}
.map-location, .contact-info {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(0,24,60,0.05);
  padding: 18px 16px;
  margin-bottom: 20px;
  color: #1A2633;
}
.contact-info div, .contact-info a {
  margin-bottom: 6px;
}

.support-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

/* ---------------------------------------
   COOKIE CONSENT BANNER & MODAL
--------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #eafaf5;
  color: #003366;
  box-shadow: 0 -2px 22px rgba(0,24,60,0.08);
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  z-index: 130;
  transition: transform .34s cubic-bezier(.77,.01,.33,1.03);
  transform: translateY(105%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.cookie-banner .btn, .cookie-modal .btn {
  margin-top: 0;
  min-width: 112px;
  font-size: 1rem;
}
.cookie-banner .btn {
  background: #008080;
}
.cookie-banner .btn:hover, .cookie-banner .btn:focus {
  background: #003366;
}
.cookie-banner .btn-secondary {
  background: #fff;
  color: #008080;
  border: 1.2px solid #008080;
  font-weight: 600;
  transition: background .16s, color .13s, border-color .15s;
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus{
  background: #d2eaf6;
  border-color: #003366;
  color: #003366;
}
@media (max-width: 600px) {
  .cookie-banner {
    padding: 20px 8px 15px 8px;
    font-size: 0.98rem;
  }
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 140;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(24,44,88,.19);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.visible {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  min-width: 320px;
  max-width: 98vw;
  background: #fff;
  color: #1A2633;
  border-radius: 20px;
  box-shadow: 0 4px 44px rgba(0,24,60,0.17);
  padding: 34px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transform: translateY(50px) scale(0.94);
  transition: transform 0.24s, opacity 0.17s;
  opacity: 0;
}
.cookie-modal-overlay.visible .cookie-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #eafaf5;
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  color: #003366;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #c6f6ed;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  appearance: none;
  font-size: 1.08rem;
  width: 21px;
  height: 21px;
  border: 2px solid #008080;
  border-radius: 5px;
  background: #fff;
  margin: 0 8px 0 0;
  position: relative;
  cursor: pointer;
  transition: border-color .14s;
}
.cookie-category input[type="checkbox"]:checked {
  background: #c6f6ed;
  border-color: #003366;
}
.cookie-category input[type="checkbox"]:after {
  content: '';
  display: block;
  position: absolute;
  top: 2px; left: 6px;
  width: 6px; height: 12px;
  border: solid #008080;
  border-width: 0 2.7px 2.7px 0;
  opacity: 0;
  transform: rotate(43deg) scale(0.9);
  transition: opacity .11s;
}
.cookie-category input[type="checkbox"]:checked:after {
  opacity: 1;
}
.cookie-category[aria-disabled="true"] input[type="checkbox"] {
  background: #f2f2f2 !important;
  border-color: #b9cfdc !important;
  cursor: not-allowed;
}
.cookie-category span {
  color: #7d9aaa;
}

/* ---------------------------------------
   ANIMATION KEYFRAMES
--------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* ---------------------------------------
   MEDIA QUERIES: Responsive Scaling
--------------------------------------- */
@media (max-width: 1100px) {
  .feature-grid, .service-grid, .testimonial-slider {
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-grid, .testimonial-slider {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .testimonial-card, .feature-item, .service-item {
    max-width: 100%;
    min-width: 0;
  }
  .step-list {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.35rem;
    margin-bottom: 13px;
  }
  h2 {
    font-size: 1.13rem;
    margin-bottom: 10px;
  }
  .hero {
    padding: 18px 0;
  }
  .btn, .btn-primary {
    font-size: 0.98rem;
    padding: 10px 20px;
  }
  .card, .feature-item, .service-item {
    padding: 13px 10px;
  }
}

/* ---------------------------------------
   OTHER UTILITY
--------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
  background: #eafaf5;
}
::-webkit-scrollbar-thumb {
  background: #c2dbef;
  border-radius: 8px;
}

[hidden] { display: none !important; }

/* --- END --- */
