/* Dawn Bloom Elektronika Minimalist Professional Styles */

/* === CSS Reset and 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background: #fff;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #22306B;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #22306B;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus { outline: 2px solid #00A896; }
img { max-width: 100%; display: block; }
ul, ol { list-style-position: inside; margin-left: 0; }

/* --- Typography Hierarchy --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #22306B;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.13; }
h2 { font-size: 2rem; line-height: 1.18; }
h3 { font-size: 1.5rem; line-height: 1.22; }
h4 { font-size: 1.25rem; line-height: 1.3; }
h5 { font-size: 1rem; font-weight: 500; }
h6 { font-size: 0.95rem; font-weight: 400; }
p, li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #22306B;
  margin-bottom: 8px;
}
strong { font-weight: 700; color: #22306B; }
blockquote {
  font-style: italic;
  color: #22306B;
  border-left: 4px solid #00A896;
  padding-left: 16px;
  margin-bottom: 8px;
}

/* === Layout Containers === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(34,48,107,0.04);
  transition: box-shadow 0.18s;
}
/* Add more space between section on desktop */
@media (min-width: 1024px) {
  .section { margin-bottom: 80px; padding: 64px 32px; }
}

/* --- Cards and Grids --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(34,48,107,0.04);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 32px 0 rgba(34,48,107,0.08);
  transform: translateY(-4px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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: #F8F9FA;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(34,48,107,0.04);
  margin-bottom: 20px;
  flex: 1 1 300px;
  min-width: 0;
}
.testimonial-card blockquote {
  margin: 0;
  color: #22306B;
  font-size: 1.07rem;
  font-style: italic;
  line-height: 1.5;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8F9FA;
  border-radius: 12px;
  padding: 16px; 
  min-height: 120px;
}

/* --- Lists and Icons --- */
ul, ol {
  margin-bottom: 12px;
  padding-left: 0;
  list-style-type: none;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 1rem;
}
ul li img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: #22306B;
  color: #fff;
  border: none;
  border-radius: 22px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 6px 0 rgba(34,48,107,0.07);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.17s;
}
.btn:focus {
  outline: 2px solid #00A896;
}
.btn-primary {
  background: #22306B;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #00A896;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(0,168,150,0.13);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: #00A896;
  color: #fff;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #22306B;
  color: #fff;
}
.btn-light {
  background: #fff;
  color: #22306B;
  border: 1.5px solid #22306B;
}
.btn-light:hover, .btn-light:focus {
  background: #22306B;
  color: #fff;
  border-color: #22306B;
}

/* --- Header and Navigation --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(34,48,107,0.06);
  position: sticky;
  top: 0;
  z-index: 1010;
}
header .container {
  height: 72px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
header nav a {
  padding: 8px 0;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #22306B;
  transition: color 0.15s;
  border-bottom: 2px solid transparent;
}
header nav a:hover, header nav a:focus {
  color: #00A896;
  border-bottom: 2px solid #00A896;
}
header a.btn {
  margin-left: 12px;
}
header img {
  height: 40px;
  width: auto;
}

/* --- Footer --- */
footer {
  margin-top: 60px;
  background: #fff;
  box-shadow: 0 -2px 8px 0 rgba(34,48,107,0.06);
  border-top: 1.5px solid #F8F9FA;
  padding: 40px 0 16px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 8px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.95rem;
  color: #6B778C;
}
.footer-claim {
  font-size: 1.15rem;
  color: #22306B;
  font-weight: 500;
  margin-top: 16px;
}
footer img {
  height: 32px;
  margin-bottom: 6px;
}

/* === Mobile Navigation === */
.mobile-menu-toggle {
  position: absolute;
  right: 24px;
  top: 20px;
  z-index: 1201;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #22306B;
  display: none;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #00A896;
}
.mobile-menu {
  position: fixed;
  z-index: 1300;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(.87,.01,.36,.99);
  box-shadow: -4px 0 22px 0 rgba(34,48,107,0.11);
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #22306B;
  position: absolute;
  right: 28px;
  top: 22px;
  cursor: pointer;
  z-index: 1310;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #00A896;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin-top: 80px;
  margin-left: 44px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  color: #22306B;
  padding: 6px 0;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #00A896;
}

/* --- Responsive and Hide/show header nav --- */
@media (max-width: 1023px) {
  header .container nav {
    display: none;
  }
  header a.btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* === Cookie Consent Banner === */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #22306B;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  box-shadow: 0 -4px 32px 0 rgba(34,48,107,0.12);
  padding: 24px 12px;
  z-index: 1800;
  font-size: 1rem;
  animation: bannerSlideIn 0.42s cubic-bezier(.87,.01,.36,.99);
}
@keyframes bannerSlideIn {
  from { transform: translateY(160px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner .btn {
  min-width: 120px;
  font-size: 1rem;
  padding: 11px 22px;
  border-radius: 20px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-top: 0;
}
.cookie-banner .btn-primary {
  background: #00A896;
  color: #fff;
}
.cookie-banner .btn-primary:hover, .cookie-banner .btn-primary:focus {
  background: #fff;
  color: #22306B;
}
.cookie-banner .btn-secondary {
  background: #fff;
  color: #22306B;
  border: 1.5px solid #22306B;
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
  background: #00A896;
  color: #fff;
  border-color: #00A896;
}
.cookie-banner .btn-light {
  background: transparent;
  color: #fff;
  border: 1.2px solid #fff;
}
.cookie-banner .btn-light:hover {
  background: #fff;
  color: #22306B;
}

/* --- Cookie Modal --- */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,48,107,0.28);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 48px 0 rgba(34,48,107,0.14);
  padding: 38px 38px 22px 38px;
  min-width: 320px;
  max-width: 99vw;
  font-family: 'Roboto', Arial, sans-serif;
  color: #22306B;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalPop .32s cubic-bezier(.87,.01,.36,.99);
  position: relative;
}
@keyframes modalPop {
  from { transform: scale(0.92) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #F8F9FA;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category strong {
  min-width: 120px;
  font-size: 1rem;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  border-radius: 20px;
  background: #F8F9FA;
  border: 1px solid #C3C5D3;
  position: relative;
  outline: none;
  transition: background 0.17s, border-color 0.17s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #00A896;
  border-color: #00A896;
}
.cookie-toggle:disabled {
  opacity: 0.5;
  background: #ECECEC;
  cursor: not-allowed;
}
.cookie-toggle:after {
  content: '';
  position: absolute;
  left: 4px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
  box-shadow: 0 1px 2px rgba(34,48,107,0.08);
}
.cookie-toggle:checked:after {
  left: 20px;
}
.cookie-modal-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal .btn {
  min-width: 110px;
  font-size: 1rem;
  padding: 12px 22px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;  right: 18px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #22306B;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover { color: #00A896; }

/* === Micro-interactions & Transitions === */
section, .card, .testimonial-card, .btn, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.19s, background 0.15s, color 0.14s, transform 0.14s;
}
a, nav a, .mobile-nav a, .btn {
  transition: color 0.18s cubic-bezier(.86,.02,.47,.99), background 0.16s, border 0.12s;
}

/* === Responsive Layouts === */
@media (max-width: 1124px) {
  .container { max-width: 97vw; padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 900px) {
  .content-grid, .card-container, .text-image-section {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .section {
    margin-bottom: 38px;
    padding: 24px 7px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
  }
  .map-placeholder {
    min-height: 60px;
    padding: 8px;
  }
  header .container {
    height: 60px;
  }
  .footer-claim { font-size: 1rem; }
  footer .container { gap: 14px; }
}

@media (max-width: 600px) {
  .card, .section { padding: 14px 3vw; }
  h1, h2 { margin-bottom: 12px; }
  .feature-item { gap: 8px; }
  footer { padding-top: 18px; padding-bottom: 8px; }
  .cookie-modal {
    min-width: unset;
    padding: 20px 5vw 14px 5vw;
  }
}

/* Ensure no cards/text overlap */
.card, .testimonial-card, .section, .content-wrapper, .footer-contact, .footer-claim {
  margin-bottom: 20px;
}
section:last-child, .content-wrapper:last-child, .footer-contact:last-child, .footer-claim:last-child, .card:last-child, .testimonial-card:last-child {
  margin-bottom: 0;
}

/* --- Utilities --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px; }

::-webkit-input-placeholder { color: #A2A7B8; font-family: 'Roboto', Arial, sans-serif; }
::-moz-placeholder { color: #A2A7B8; font-family: 'Roboto', Arial, sans-serif; }
:-ms-input-placeholder { color: #A2A7B8; font-family: 'Roboto', Arial, sans-serif; }
::placeholder { color: #A2A7B8; font-family: 'Roboto', Arial, sans-serif; }

/* === Accessibility: High contrast for testimonials === */
.testimonial-card, .testimonial-card blockquote, .testimonial-card strong {
  color: #22306B;
  background: #F8F9FA;
}

/* ==== End of Styles ==== */