/* -----------------------------------------------------
   CSS RESET & BASE STYLES
----------------------------------------------------- */
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.6;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
:root {
  --primary: #176C87;
  --secondary: #F2E8C9;
  --accent: #357960;
  --neutral-bg: #FFFFFF;
  --text-main: #172E2C;
  --text-light: #ffffff;
  --shadow: 0 2px 16px rgba(23, 108, 135, 0.11);
  --radius-main: 18px;
  --radius-btn: 40px;
  --transition-main: 0.2s cubic-bezier(.52,.33,.48,.9);
  --shadow-card: 0 4px 32px rgba(23,108,135,0.08);
  --card-bg: #fff9f2;
}
body {
  background: var(--neutral-bg);
  color: var(--text-main);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  /* creative artistic feel: subtle diagonal background watermark */
  background-image: linear-gradient(120deg, rgba(23,108,135,0.045) 0%, rgba(53,121,96,0.025) 100%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.12;
}
h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 20px;
  margin-top: 0;
}
h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 16px;
}
h4, h5, h6 {
  color: var(--primary);
}
p, li, ul {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text-main);
  font-size: 1.06rem;
  margin-bottom: 14px;
}
strong {
  color: var(--primary);
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}

main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.text-section {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.text-section ul, .text-section ol {
  margin: 0 0 16px 1.5em;
  padding-left: 0.1em;
  list-style: disc inside;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 11px;
}

/* -----------------------------------------------------
   NAVIGATION & HEADER
----------------------------------------------------- */
header {
  background: var(--secondary);
  box-shadow: 0 6px 24px rgba(23,108,135,0.07);
  position: relative;
  z-index: 70;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  padding: 16px 0 16px 0;
  min-height: 68px;
  position: relative;
}
.main-nav > a {
  display: flex;
  align-items: center;
  height: 54px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav li {
  display: flex;
  align-items: center;
}
.main-nav li a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav li a:hover, .main-nav li a:focus {
  background: var(--primary);
  color: var(--text-light);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 11px 36px;
  border: none;
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background 0.2s, transform 0.17s;
  margin-left: 12px;
  letter-spacing: 0.025em;
  position: relative;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: #fff8fa;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 28px rgba(23,108,135,0.13);
}

/* -----------------------------------------------------
   MOBILE MENU
----------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  color: var(--primary);
  background: none;
  border: none;
  padding: 8px 12px;
  border-radius: 14px;
  transition: background .2s;
  cursor: pointer;
  z-index: 101;
  margin-right: 10px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23, 108, 135, 0.98);
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.4,0.2,0.3,1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  z-index: 99999;
  box-shadow: 6px 0 28px rgba(23,108,135,0.11);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--secondary);
  align-self: flex-end;
  margin: 22px 24px 16px 0;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #ffe690;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 14px 25px;
  margin-top: 20px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-btn);
  transition: background 0.18s;
  letter-spacing:0.04em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff;
  color: var(--primary);
}

@media (max-width: 1024px) {
  .main-nav ul {
    gap: 12px;
  }
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* -----------------------------------------------------
   SECTION LAYOUTS & UTILITIES
----------------------------------------------------- */
section {
  background: none;
  position: relative;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  flex: 1 1 250px;
  min-width: 230px;
  transition: box-shadow 0.20s, transform 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 12px 40px rgba(23,108,135,0.13), 0 1.5px 9px rgba(53,121,96,0.11);
  transform: translateY(-3px) scale(1.025);
}
.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,
  .content-grid,
  .card-container,
  .features-grid,
  .service-list,
  .testimonials {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px !important;
  }
  .content-wrapper {
    align-items: stretch;
    text-align: left;
  }
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 12px;
}
.feature {
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-main);
  padding: 32px 22px 26px 22px;
  min-width: 220px;
  max-width: 360px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-left: 9px solid var(--primary);
  transition: box-shadow 0.21s, border-color 0.19s;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 32px rgba(23,108,135,0.15);
  border-left: 9px solid var(--accent);
}
.feature img {
  width: 45px;
  height: 45px;
  margin-bottom: 9px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  margin-bottom: 10px;
}
.service {
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
  flex: 1 1 300px;
  min-width: 220px;
  max-width: 460px;
  padding: 28px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
  border-top: 6px solid var(--accent);
  transition: border-color .17s, box-shadow .21s;
}
.service:hover, .service:focus-within {
  box-shadow: 0 12px 42px rgba(53,121,96,0.11);
  border-top: 6px solid var(--primary);
}
.service ul {
  padding-left: 1.1em;
  margin-bottom: 13px;
  list-style: disc inside;
}

/* -----------------------------------------------------
   TESTIMONIALS
----------------------------------------------------- */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  /* creative artistic: staggered perspective for artistic effect */
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: 0 6px 18px rgba(23,108,135,0.10);
  min-width: 260px;
  max-width: 420px;
  flex: 1 1 260px;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  border-left: 7px solid var(--primary);
  transition: box-shadow .21s, border-color .17s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 16px 34px rgba(53,121,96,0.15);
  border-left: 7px solid var(--accent);
}
.testimonial-stars {
  color: var(--accent);
  font-size: 1.35rem;
  text-shadow: 0px 2px 8px #f7f3e3;
  margin-bottom: 6px;
}
.testimonial-name {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  margin-top: 5px;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.testimonial-card p {
  color: var(--text-main);
  font-size: 1.02rem;
}

@media (max-width: 700px) {
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    align-items: stretch;
    padding: 15px 10px;
  }
  .testimonials {
    gap: 14px !important;
  }
}

/* -----------------------------------------------------
   CTA & CREATIVE ELEMENTS
----------------------------------------------------- */
.cta {
  background: var(--secondary);
  box-shadow: 0 2px 18px rgba(23,108,135,0.09);
  border-radius: var(--radius-main);
  margin: 18px auto 0 auto;
}
.content-wrapper .btn-primary {
  margin-top: 10px;
  align-self: center;
}

/* -----------------------------------------------------
   FOOTER
----------------------------------------------------- */
footer {
  background: var(--primary);
  color: #fff !important;
  padding: 36px 0 26px 0;
  margin-top: 34px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 34px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 180px;
}
.footer-brand img {
  width: 44px;
  height: 44px;
  margin-bottom: 0px;
}
.footer-brand .tagline {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  opacity: 0.88;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: #fff;
  font-size: 1.07rem;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #ffe082;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  font-size: 0.96rem;
  opacity: 0.84;
}

@media (max-width: 950px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .footer-brand {
    align-items: center;
  }
}

/* -----------------------------------------------------
   CONTACT PAGE MAP LOCATION
----------------------------------------------------- */
.map-location {
  background: rgba(53,121,96,0.03);
  border-radius: var(--radius-main);
  padding: 18px 16px;
  font-style: italic;
  font-size: 1rem;
  margin-top: 6px;
}

.contact-info {
  background: rgba(23,108,135,0.04);
  border-radius: var(--radius-main);
  padding: 19px 16px 6px 16px;
  font-size: 1rem;
  margin-right: 0;
}
@media (min-width: 700px) {
  .content-wrapper {
    flex-direction: row;
    gap: 44px;
    align-items: flex-start;
    text-align: left;
  }
  .contact-info, .map-location {
    flex: 1 1 230px;
  }
}

/* -----------------------------------------------------
   COOKIE CONSENT BANNER
----------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  border-top: 3px solid var(--primary);
  box-shadow: 0 -2px 22px rgba(23,108,135,0.15);
  z-index: 99000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  padding: 20px 38px 20px 24px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  animation: cb-slide-up 0.34s cubic-bezier(.4,.85,.48,1.17);
  transition: box-shadow 0.2s, background 0.2s;
}
@keyframes cb-slide-up {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-btn);
  padding: 9px 23px;
  font-size: 1rem;
  margin: 0;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background .19s, color .18s, box-shadow .18s;
}
.cookie-banner .btn-accept {
  background: var(--accent);
  color: #fff;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: var(--primary);
  color: #fff8ef;
}
.cookie-banner .btn-settings {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: var(--accent);
  color: #fff;
}
.cookie-banner .btn-reject {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #f9ece0;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 8px;
    padding: 13px 10px 11px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-buttons {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal-bg {
  position: fixed;
  z-index: 99500;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,108,135,0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  animation: cb-modal-in 0.35s cubic-bezier(.37,.69,.33,1.1);
}
@keyframes cb-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius-main);
  box-shadow: 0 3px 32px rgba(23,108,135,0.16);
  min-width: 320px;
  max-width: 94vw;
  padding: 32px 26px 26px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 8px;
  text-align: left;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  color: var(--primary);
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color .2s;
}
.cookie-modal .cookie-modal-close:hover { color: var(--accent); }
.cookie-modal ul {
  margin-top:7px;
  margin-bottom:12px;
  padding-left:1.2em;
  list-style: disc inside;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  font-size: 1.06rem;
}
.cookie-category-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  border-radius: 14px;
  background: #E1EBEF;
  position: relative;
  outline: none;
  transition: background 0.17s;
  cursor: pointer;
  margin-right: 2px;
}
.cookie-category-toggle:checked {
  background: var(--accent);
}
.cookie-category-toggle::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left .16s;
  box-shadow: 0 2px 5px rgba(23,108,135,0.08);
}
.cookie-category-toggle:checked::before {
  left: 22px;
}
.cookie-category.is-essential .cookie-category-toggle {
  background: var(--primary);
  cursor: default;
}
.cookie-category.is-essential .cookie-category-toggle::before {
  left: 22px;
}
.cookie-category.is-essential label {
  opacity: 0.7;
  font-style: italic;
}

/* -----------------------------------------------------
   SPACING, ARTISTIC/CREATIVE DETAILS & TYPOGRAPHY
----------------------------------------------------- */
.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;
}

/* VIBRANT ARTISTIC SHAPE DECORATIONS */
section::before, section::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
section:nth-child(2)::before {
  left: -68px; top: -32px;
  width: 120px; height: 110px;
  background: rgba(23,108,135,0.11);
  clip-path: polygon(60% 0, 100% 40%, 40% 100%, 0% 70%, 15% 15%);
}
section:nth-child(3)::after {
  right: -82px; bottom: -36px;
  width: 130px; height: 120px;
  background: rgba(53,121,96,0.14);
  clip-path: polygon(70% 0, 100% 40%, 40% 100%, 0% 60%, 20% 10%);
}
@media (max-width: 700px) {
  section::before, section::after {
    display: none;
  }
}

/* Artistic/Creative Font Tweaks */
h1, h2, h3, .btn-primary, .main-nav li a, .mobile-nav a {
  letter-spacing: 0.025em;
  word-spacing: 0.05em;
}
h1 {
  letter-spacing: -0.03em;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}


/* -----------------------------------------------------
    RESPONSIVE ADJUSTMENTS
----------------------------------------------------- */
@media (max-width: 1024px) {
  .features-grid, .service-list, .card-container, .content-grid, .testimonials {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .main-nav {
    padding: 10px 0 10px 0;
  }
  .content-wrapper, .text-section {
    padding: 8px 0;
    gap: 14px;
  }
  .container {
    padding: 0 8px;
  }
  section, .section {
    padding: 26px 5px;
  }
  .feature, .service {
    padding: 18px 8px;
    max-width: 100%;
    min-width: 0;
  }
  .footer-brand img {
    width: 34px;
    height: 34px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.07rem; }
  h3 { font-size: 1.01rem; }
  .main-nav > a img { width: 86px; }
}

/* Focus accessibility for all clickable elements */
a, button, [tabindex]:not([tabindex="-1"]) {
  outline: none;
  transition: box-shadow .13s;
}
a:focus, button:focus, .btn-primary:focus, .mobile-menu-toggle:focus {
  box-shadow: 0 0 0 3px #ffe082;
  outline: none;
  z-index: 20;
}

/* -----------------------------------------------------
   MISC CREATIVE/ARTISTIC EXTRAS
----------------------------------------------------- */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 20px;
  border: 2.5px solid #fff;
}
::-webkit-scrollbar-track {
  background: #f3eee2;
}

/* Artistic underline for h2 */
h2::after {
  content: '';
  display: block;
  width: 46px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 60%, var(--primary) 100%);
  margin-top: 9px;
  border-radius: 2px;
  opacity: 0.25;
}

/* Subtle Card Animations for load effect */
.card, .feature, .testimonial-card, .service {
  animation: fade-in-up 0.6s both;
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(38px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* -----------------------------------------------------
   END OF STYLE.CSS
----------------------------------------------------- */
