/* ============================
   CSS RESET & NORMALIZE (SIMPLIFIED)
============================ */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  background: #EFEFEF;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #183040;
  min-height: 100vh;
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #005887;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD700;
  outline: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  padding-left: 1em;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
th, td {
  padding: 14px 12px;
  text-align: left;
}
th {
  background: #005887;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
}
td {
  background: #fff;
  color: #183040;
  font-size: 16px;
  border-bottom: 1px solid #e0e0e0;
}

/* ============================
   BRAND COLORS & CREATIVE ARTISTIC PALETTE
============================ */
:root {
  --primary: #005887;
  --secondary: #EFEFEF;
  --accent: #FFD700;
  --text-dark: #183040;
  --text-light: #fff;
  --danger: #ee4e2b;
  --bg-creative1: #F8FAFF;
  --bg-creative2: #DEECF7;
  --shadow-main: 0 4px 24px 0 rgba(0,88,135,0.11),0 1.5px 4px 0 rgba(0,0,0,.04);
  --radius: 18px;
}

/* ============================
   TYPOGRAPHY & HIERARCHY
============================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  text-shadow: 2px 2px 0 var(--accent), 0 4px 24px rgba(0,88,135,0.08);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  border-left: 8px solid var(--accent);
  padding-left: 16px;
  background: linear-gradient(90deg, #F8FAFF 80%, #FFD700 100%);
  border-radius: 0 24px 24px 0;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, address {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}
strong {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.text-section {
  margin-bottom: 32px;
}

/* ============================
   LAYOUT CONTAINERS & SPACING
============================ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-main);
  padding: 32px 24px;
  margin-bottom: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--bg-creative2);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,88,135,0.08);
  padding: 22px 22px 18px 22px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(0,88,135,0.16);
  transform: translateY(-2px) scale(1.01);
}
.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: 20px;
  padding: 20px;
  background: #fff;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 2px 12px 0 rgba(0,56,85,0.08);
  margin-bottom: 20px;
  position: relative;
  border-left: 8px solid var(--accent);
  min-width: 240px;
  max-width: 520px;
}
.testimonial-card p {
  color: #222;
  font-size: 1.12rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-meta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Divider line for visual flair */
.divider {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary) 85%);
  border-radius: 2px;
  margin: 32px 0;
}

/* ============================
   HEADER & MAIN NAVIGATION
============================ */
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,56,85,0.06);
  position: relative;
  z-index: 50;
}
.logo-link img {
  height: 54px;
  width: auto;
  display: block;
  margin-right: 15px;
  transition: transform 0.18s cubic-bezier(.65,.05,.36,1);
}
.logo-link:hover img {
  transform: rotate(-8deg) scale(1.1);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 18px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  font-size: 1.08rem;
  padding: 6px 6px 4px 6px;
  border-radius: 7px;
  position: relative;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
header .btn-primary {
  margin-left: 18px;
  font-size: 1rem;
  padding: 9px 25px;
}
.mobile-menu-toggle {
  background: var(--accent);
  color: var(--primary);
  font-size: 2.1rem;
  border-radius: 11px;
  padding: 7px 13px 5px 13px;
  margin-left: 18px;
  cursor: pointer;
  display: none;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: #fff;
}

/* ============================
   MOBILE MENU STYLES
============================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 56, 85, 0.96);
  color: #fff;
  z-index: 120;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.69,.25,.22,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 6px 0 24px rgba(0,0,0,0.06);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  margin: 32px 24px 14px 0;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.15s;
  z-index: 121;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: rgba(255,255,255,0.13);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 40px 0 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 9px 24px 8px 3px;
  border-radius: 6px;
  transition: background 0.17s, color 0.14s, padding 0.18s;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
  padding-left: 18px;
}

/* ============================
   BUTTONS & INTERACTIONS
============================ */
.btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 11px;
  padding: 12px 38px;
  cursor: pointer;
  outline: none;
  border: none;
  box-shadow: 0 3px 12px 0 rgba(255,215,0,0.09);
  transition: background 0.16s, color 0.16s, box-shadow 0.19s, transform 0.17s;
  display: inline-block;
  margin-top: 14px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 6px 32px 0 rgba(0,88,135,0.12);
  transform: scale(1.04) translateY(-2px);
}
.btn-secondary {
  background: var(--accent);
  color: var(--primary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 19px 0 rgba(0,88,135,0.06);
  transform: scale(1.025) translateY(-1px);
}

/* Cookie consent banner & modal styles (at bottom of file) */

/* ============================
   FOOTER STYLES
============================ */
footer {
  padding: 0;
  margin: 0;
  background: #fff;
  border-top: 4px solid var(--accent);
  box-shadow: 0 -3px 8px rgba(0,56,85,0.04);
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  padding: 26px 16px 18px 16px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.06rem;
  padding: 2px 7px;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  background: var(--primary);
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
}
.footer-brand img {
  width: 38px;
  height: auto;
}

/* ============================
   SPECIAL COMPONENTS
============================ */
address {
  font-style: normal;
  background: var(--bg-creative2);
  border-radius: 11px;
  padding: 20px 16px;
  margin-bottom: 26px;
  box-shadow: 0 1px 8px rgba(0,88,135,.06);
  font-size: 1.09rem;
}

/* ============================
   RESPONSIVE TYPOGRAPHY & LAYOUTS
============================ */
@media (max-width: 1100px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.2rem; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 4vw;
  }
  .content-wrapper {
    padding: 19px 7vw;
  }
  .section {
    margin-bottom: 38px;
    padding: 24px 3vw;
  }
  .content-grid, .card-container {
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  header .container, .footer .container {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: 0;
  }
  .footer-nav {
    flex-direction: column;
    gap: 9px;
  }
  .footer-brand {
    margin-top: 12px;
  }
}
@media (max-width: 540px) {
  .content-wrapper {
    padding: 8vw 2vw;
    font-size: 1rem;
  }
  .testimonial-card {
    padding: 14px 10px;
    min-width: 160px;
    font-size: 0.97rem;
  }
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: .94rem;
  }
}

/* ============================
   COOKIE CONSENT BANNER & MODAL
============================ */
#cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffdeb;
  color: #145480;
  z-index: 130;
  box-shadow: 0 -2px 16px 0 rgba(0,56,85,0.09);
  border-top: 4px solid var(--accent);
  padding: 22px clamp(16px, 6vw, 64px) 18px clamp(16px, 6vw, 64px);
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  transition: transform 0.29s cubic-bezier(.65,.05,.36,1);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
#cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
#cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 9px;
  font-size: 1rem;
  padding: 8px 23px;
  margin-right: 6px;
  margin-top: 0;
  cursor: pointer;
  transition: background 0.16s, color 0.18s, box-shadow 0.16s;
}
.cookie-btn.accept {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn.reject {
  background: #e2e2e2;
  color: var(--primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFD700;
  color: var(--primary);
}
.cookie-btn.settings {
  background: none;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--primary);
  color: #fff;
}
@media (max-width: 900px) {
  #cookie-banner {
    flex-direction: column;
    gap: 16px;
    font-size: .97rem;
    align-items: flex-start;
    padding: 16px clamp(8px, 4vw, 28px) 14px clamp(8px, 4vw, 28px);
  }
}

/* Modal overlay */
#cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 140;
  width: 100vw;
  height: 100vh;
  background: rgba(0,56,85,0.28);
  display: none;
  align-items: center;
  justify-content: center;
}
#cookie-modal-overlay.active {
  display: flex;
}
#cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 44px 0 rgba(0,56,85,0.18);
  padding: 40px 32px 28px 32px;
  min-width: 290px;
  max-width: 95vw;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  position: relative;
}
@media (max-width: 540px) {
  #cookie-modal {
    padding: 22px 7vw 18px 7vw;
    min-width: 0;
  }
}
#cookie-modal h2 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
}
#cookie-modal ul {
  margin-bottom: 21px;
  padding-left: 18px;
}
#cookie-modal li {
  margin-bottom: 9px;
  list-style-type: disc;
}
/* Cookie modal toggles */
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-size: 1rem;
  flex: 1;
  color: var(--primary);
}
.cookie-switch {
  width: 41px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #dee3ec;
  -webkit-transition: .2s;
  transition: .2s;
  border-radius: 22px;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--primary);
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 3px;
  background: #fff;
  transition: .2s;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(17px);
}

#cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 12px;
}
#cookie-modal .modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.7em;
  cursor: pointer;
}
#cookie-modal .modal-close:hover, #cookie-modal .modal-close:focus {
  color: var(--accent);
}

/* ============================
   ARTISTIC DECORATIONS
============================ */
/* Artistic underline on main CTA */
h1, .btn-primary, h2 { position: relative; }
h1::after {
  content: '';
  display: block;
  width: 40px;
  height: 5px;
  background: var(--accent);
  border-radius: 3px;
  margin-top: 6px;
  margin-left: 3px;
}
/* Subtle paintbrush art shape for creative touch */
.content-wrapper::before {
  content: '';
  display: block;
  position: absolute;
  top: -18px;
  left: 12px;
  width: 80px;
  height: 18px;
  background: linear-gradient(90deg, var(--primary), var(--accent) 80%);
  opacity: 0.13;
  border-radius: 40px 15px 15px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Buttons with artistic shadow */
.btn-primary, .btn-secondary {
  box-shadow: 0 2px 0 var(--accent), 0 3px 14px 0 rgba(0,88,135,0.10);
}

/* Link underline hover */
a:not(.btn-primary):not(.btn-secondary) {
  position: relative;
}
a:not(.btn-primary):not(.btn-secondary):hover::after,
a:not(.btn-primary):not(.btn-secondary):focus::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  opacity: 0.6;
  border-radius: 2px;
}

/* ============================
   ANIMATIONS
============================ */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.section, .content-wrapper, .testimonial-card, .btn-primary, .btn-secondary {
  animation: fadeInUp .48s cubic-bezier(.79,.21,.18,.99) both;
}

/* ============================
   CUSTOM SCROLLBAR
============================ */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #cbd7e2;
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}

/* ============================
   UTILITIES & MISC
============================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow-main); }

/* ============================
   PRINT STYLES
============================ */
@media print {
  header, footer, .mobile-menu, #cookie-banner, #cookie-modal-overlay { display: none !important; }
  main, .content-wrapper, .section { background: #fff !important; color: #000 !important; box-shadow: none !important; }
}

/* ============================
   END OF STYLE.CSS
============================ */
