/* 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, 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, Helvetica, sans-serif; scroll-behavior: smooth; }
body { background: #FAFAFA; color: #192838; min-height: 100vh; font-family: 'Roboto', Arial, Helvetica, sans-serif; line-height: 1.6; }
img { max-width: 100%; display: block; height: auto; }
ul, ol { list-style: none; }
a { color: #15406A; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #32A67A; outline-offset: 2px; }
strong { font-weight: bold; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #15406A;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.15rem; margin-bottom: 8px; }
p, ul, ol, blockquote { font-size: 1rem; margin-bottom: 16px; }
blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  background: #EDF9F5;
  border-left: 5px solid #32A67A;
  margin: 0 0 16px 0;
  padding: 16px 24px;
  color: #15406A;
  border-radius: 8px;
}
cite {
  display: block;
  margin-top: 8px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 0.95em;
  color: #15406A;
  opacity: 0.7;
}

/* LAYOUT CONTAINERS & FLEXBOX */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.header-flex, .footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 3px 24px rgba(21,64,106,0.06);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  padding: 28px 24px;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(21,64,106,0.07);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #F4F8FD;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(21,64,106,0.07);
  border: 2px solid #32A67A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 0;
}

/* MODERN BOLD THEME COLORS */
:root {
  --primary: #15406A;
  --secondary: #32A67A;
  --accent: #FAFAFA;
  --text: #192838;
  --bg-card: #FFFFFF;
  --bg-section: #FAFAFA;
  --danger: #DA2456;
}

/* HEADER & NAVBAR */
header {
  background: var(--bg-section);
  box-shadow: 0 1px 10px 0 rgba(21,64,106,0.04);
  position: relative;
  z-index: 200;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: 0.02em;
  opacity: 0.87;
  transition: color 0.18s, opacity 0.18s;
  padding: 6px 2px;
  border-radius: 4px;
}
.main-nav a:hover {
  color: var(--secondary);
  opacity: 1;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 13px 34px;
  margin-left: 30px;
  box-shadow: 0 3px 18px rgba(50,166,122,0.09);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.2s, transform 0.13s;
  text-decoration: none;
  outline: none;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #238c68;
  box-shadow: 0 6px 24px rgba(50,166,122,0.16);
  transform: translateY(-2px) scale(1.04);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 8px;
  padding: 6px 18px;
  position: absolute;
  right: 16px;
  top: 16px;
  cursor: pointer;
  z-index: 301;
  box-shadow: 0 3px 12px rgba(50,166,122,0.19);
  transition: background 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 3px 20px rgba(21,64,106,0.18);
  transform: translateX(-105%);
  transition: transform 0.38s cubic-bezier(.65,.05,.36,1);
  padding: 36px 24px 24px 32px;
  gap: 28px;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0%);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--danger);
  font-size: 2.3rem;
  align-self: flex-end;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #a10a38;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
  background: #F0F5FB;
  border-radius: 12px;
  padding: 12px 24px;
  margin-bottom: 3px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

/* MAIN CONTENT / GENERAL */
main {
  min-height: 70vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 40px;
    padding: 22px 8px;
  }
}

/* CARDS, BLOG, CATEGORY TAGS */
.blog-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(21,64,106,0.08);
  margin-bottom: 20px;
  border-left: 5px solid #15406A;
}
.service-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.service-item {
  background: #EDF9F5;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(50,166,122,0.07);
  padding: 30px 24px;
  flex: 1 1 265px;
  min-width: 260px;
  color: #15406A;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 2px solid #32A67A;
}
.price {
  font-family: 'Montserrat';
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--secondary);
  margin-top: 16px;
  letter-spacing: 0.5px;
}
.category-tag {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: var(--secondary);
  color: #fff;
  padding: 4px 18px;
  margin-right: 8px;
  border-radius: 1em;
  font-size: 0.9em;
  margin-bottom: 8px;
  font-weight: bold;
}

/* FOOTER */
footer {
  background: #15406A;
  color: #fafbfa;
  padding: 48px 0 24px 0;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  margin-top: 58px;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-flex > div {
  flex: 1 1 180px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #FAFAFA;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  opacity: 0.88;
  font-weight: 600;
  margin-bottom: 2px;
  transition: color 0.14s, opacity 0.2s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--secondary);
  opacity: 1;
}
footer strong {
  color: #fff;
  letter-spacing: 0.5px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
footer a {
  color: #def5ed;
  text-decoration: underline;
}
footer a:hover {
  color: #91debe;
}

/* BUTTONS */
.btn-primary:active {
  background: #146858;
  color: #fff;
  box-shadow: 0 3px 9px rgba(50,166,122,0.13);
}

/* HTML ELEMENT LAYOUT CLASSES */
ul, ol {
  margin-left: 15px;
  padding-left: 20px;
  margin-bottom: 18px;
}
ul li, ol li { margin-bottom: 10px; }

/* FORMATTING FOR FEATURE ITEMS, TEXT-IMAGE */
.features { display: flex; flex-wrap: wrap; gap: 20px; }
.card-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.card-content { display: flex; flex-direction: column; justify-content: center; gap: 10px; }

/* TRANSITIONS & ANIMATION */
.card, .service-item, .blog-card, .testimonial-card, .btn-primary, .category-tag {
  transition: box-shadow 0.18s, transform 0.14s, background 0.18s, color 0.15s;
}
.card:hover, .service-item:hover, .blog-card:hover {
  box-shadow: 0 8px 30px rgba(50,166,122,0.13), 0 1.5px 6px rgba(21,64,106,0.035);
  transform: translateY(-3px) scale(1.03);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .container { max-width: 96vw; }
  .header-flex, .footer-flex {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .service-grid {
    flex-direction: column;
    gap: 22px;
  }
  .card-container, .content-grid, .features, .footer-flex {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .header-flex { flex-direction: row; gap: 12px; }
  .main-nav { display: none; }
  .btn-primary { margin-left: 0; margin-top: 0; }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-flex {
    flex-direction: column;
    gap: 24px;
  }
  .content-grid, .service-grid, .card-container, .features { flex-direction: column; gap: 16px; }
  .text-image-section { flex-direction: column; gap: 20px; align-items: flex-start; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  h3, h4 { font-size: 1.04rem; }
  .btn-primary { padding: 12px 20px; font-size: .98rem; }
  .service-item, .blog-card, .testimonial-card, .card {
    padding: 16px 8px;
    font-size: 0.95rem;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1999;
  background: #15406A;
  color: #fff;
  padding: 22px 16px 21px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -3px 24px rgba(21,64,106,.13);
  font-size: 1rem;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  animation: slideInUp 0.7s forwards;
}
@keyframes slideInUp {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.btn-cookie {
  border: none;
  border-radius: 24px;
  padding: 11px 26px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.14s, box-shadow 0.15s;
  margin-left: 3px;
}
.btn-cookie.accept {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 2px 7px rgba(50,166,122,0.13);
}
.btn-cookie.accept:hover { background: #238c68; }
.btn-cookie.reject {
  background: #fff;
  color: var(--danger);
  border: 2px solid var(--danger);
}
.btn-cookie.reject:hover {
  background: var(--danger);
  color: #fff;
}
.btn-cookie.settings {
  background: transparent;
  color: #fff;
  text-decoration: underline;
}
.btn-cookie.settings:hover { color: #def5ed; }

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(21,64,106,0.53);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.32s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: 22px;
  padding: 34px 22px 22px 22px;
  box-shadow: 0 8px 38px rgba(21,64,106,0.15);
  max-width: 95vw;
  min-width: 320px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookiePop 0.24s cubic-bezier(.71,-0.11,.4,1.15);
  z-index: 2520;
}
@keyframes cookiePop {
  from { transform: scale(0.7); opacity: 0.4; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.26rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--danger);
  font-size: 2.1rem;
  cursor: pointer;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #edf7f0;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.02rem;
}
.toggle-switch {
  position: relative;
  width: 46px;
  height: 24px;
  display: inline-block;
}
.toggle-switch input {
  display: none;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  background: #E0E7EF;
  border-radius: 12px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.2s;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: 0.2s;
  box-shadow: 0 1px 4px rgba(21,64,106,0.13);
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--secondary);
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
  background: #FFFFFF;
}
.toggle-switch input:disabled + .toggle-slider { background: #b7b7b7; opacity: 0.65; }
.toggle-switch input:disabled + .toggle-slider:before { background: #f3f3f3; }

/* MODAL BUTTONS */
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-actions .btn-cookie { min-width: 108px; font-size: 1.01rem; }

/* ACCESSIBILITY & FOCUS STATES */
.btn-primary:focus, .btn-cookie:focus, .category-tag:focus, .main-nav a:focus, .footer-nav a:focus {
  outline: 2px solid #32A67A;
  outline-offset: 2px;
}

/* MISCELLANEOUS */
::-webkit-scrollbar { width: 8px; background: #E0E7EF; }
::-webkit-scrollbar-thumb { background: #B1C3D6; border-radius: 7px; }
