/* --- CSS RESET & NORMALIZE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #195573;
  background: #FFFFFF;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #195573;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p, ul, ol, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
}
strong, b {
  font-weight: 700;
}
a {
  color: #195573;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C25E06;
}
ul, ol {
  list-style: none;
  margin-bottom: 16px;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F7FAFB;
  border-radius: 28px;
  box-shadow: 0 4px 24px 0 #E0E5EC;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 3px 16px 0 rgba(25,85,115,0.08);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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: 12px;
  padding: 20px 28px;
  background: #0000003d;
  border-radius: 20px;
  margin-bottom: 20px;
  min-width: 260px;
  box-shadow: 0 2px 12px 0 rgba(25,85,115,0.10);
  border-left: 7px solid #F3812E;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 #E0E5EC;
  padding: 24px 20px;
  margin-bottom: 20px;
}

/* --- NAVIGATION --- */
header {
  background: #195573;
  width: 100%;
  color: #fff;
  box-shadow: 0 2px 16px 0 #E0E5EC;
  z-index: 20;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.logo img {
  max-height: 42px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 700;
  padding: 4px 0;
  position: relative;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.17s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #dfdfdf;
}
.main-nav .btn-primary {
  margin-left: 8px;
  padding: 10px 26px;
  border-radius: 999px;
}

/* --- BURGER & MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  margin-left: 22px;
  z-index: 102;
  display: none;
  transition: color 0.25s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #F3812E;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #195573;
  color: #fff;
  z-index: 101;
  transform: translateX(100vw);
  transition: transform 0.4s cubic-bezier(.8,.01,.3,1);
  display: flex;
  flex-direction: column;
  padding-top: 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin-right: 32px;
  margin-bottom: 34px;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 102;
}
.mobile-menu-close:focus {
  outline: 2px solid #F3812E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding-left: 32px;
  padding-right: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3812E;
  color: #195573;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* --- BUTTONS --- */
.btn,
button,
input[type='submit'] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  display: inline-block;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.23s, color 0.23s, box-shadow .2s;
  border-radius: 40px;
  padding: 12px 34px;
}
.btn-primary {
  background: #F3812E;
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(243,129,46,0.12);
}
.btn-primary:hover, .btn-primary:focus {
  background: #C25E06;
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(243,129,46,0.20);
}
.btn-secondary {
  background: #195573;
  color: #fff;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #133c52;
  color: #fff;
}

/* --- HERO --- */
main > section:first-child {
  background: #195573;
  color: #fff;
  box-shadow: 0 6px 34px 0 #E0E5EC;
  margin-bottom: 60px;
  border-radius: 0 0 32px 32px;
  padding-top: 62px;
  padding-bottom: 56px;
}
main > section:first-child h1,
main > section:first-child h2,
main > section:first-child p {
  color: #fff;
}
main > section:first-child .btn.btn-primary {
  background: #fff;
  color: #195573;
  border: 2px solid #195573;
  box-shadow: none;
}
main > section:first-child .btn.btn-primary:hover,
main > section:first-child .btn.btn-primary:focus {
  background: #F3812E;
  color: #fff;
  border: 2px solid #F3812E;
}

/* --- FEATURE ICONS --- */
.features-section ul,
section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.features-section ul li,
section ul li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #0000003d;
  border-radius: 24px;
  box-shadow: 0 2px 15px 0 rgba(25,85,115,0.09);
  padding: 24px 22px 28px 22px;
  min-width: 230px;
  flex: 1 1 230px;
  gap: 14px;
  margin-bottom: 20px;
}
section ul li img {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}

/* --- TEAM/OTHER CARDS --- */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  align-items: stretch;
}
.team-list > div {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 10px 0 rgba(25,85,115,0.10);
  padding: 28px 22px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}
.team-list h3 { margin-bottom: 0; }
.team-list span {
  color: #C25E06;
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 3px;
}

/* --- FOOTER --- */
footer {
  background: #232B37;
  color: #fff;
  padding: 32px 0 0 0;
  margin-top: 60px;
  font-size: 1rem;
  width: 100%;
}
footer .container {
  flex-direction: column;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 5px 0;
  border-bottom: 4px solid transparent;
  transition: border-color 0.18s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  border-color: #F3812E;
  color: #F3812E;
}
.footer-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-contact img {
  width: 22px;
  height: 22px;
}
.footer-hours, .footer-logo, .footer-copy {
  margin-bottom: 10px;
}
.footer-logo img { max-height: 37px; }
.footer-copy {
  color: #E0E5EC;
  font-size: 0.96rem;
  margin-top: 10px;
}

/* --- GENERAL COMPONENTS --- */
ol {
  list-style: decimal inside;
  margin-left: 1.2em;
  margin-bottom: 1.2em;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}
section ul li a {
  font-weight: 700;
  color: #133c52;
  transition: color 0.15s;
}

section ul li a:hover, section ul li a:focus {
  color: #195573;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- TESTIMONIALS --- */
.content-wrapper > .testimonial-card {
  flex: 1 1 270px;
}

/* --- CTA SECTION OVERRIDES --- */
main > section:last-child, section.cta, .cta {
  background: #F3812E;
  color: #fff;
  box-shadow: 0 2px 16px 0 #E0E5EC;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
}
main > section:last-child h2, main > section:last-child p, main > section:last-child h3 {
  color: #fff;
}
main > section:last-child .btn.btn-primary {
  background: #fff;
  color: #F3812E;
  border: 2px solid #fff;
  box-shadow: none;
  margin-top: 12px;
  font-weight: 700;
}
main > section:last-child .btn.btn-primary:hover, main > section:last-child .btn.btn-primary:focus {
  color: #fff;
  background: #195573;
  border: 2px solid #195573;
}

/* --- COOKIES CONSENT --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #195573;
  box-shadow: 0 -6px 32px 0 rgba(25,85,115,0.09), 0 2px 12px 0 #E0E5EC;
  z-index: 999;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  animation: cookieslidein 0.4s cubic-bezier(.43,.01,.5,1);
  font-size: 1rem;
}
@keyframes cookieslidein {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner .btn {
  padding: 9px 20px;
  border-radius: 16px;
  font-size: 0.97rem;
  box-shadow: 0 2px 12px 0 #E0E5EC;
}
.cookie-banner .btn-primary {
  background: #F3812E;
  color: #fff;
  border: none;
}
.cookie-banner .btn-secondary {
  background: #195573;
  color: #fff;
}
.cookie-banner .btn-outline {
  background: #fff;
  border: 2px solid #F3812E;
  color: #F3812E;
}
.cookie-banner .btn-outline:hover, .cookie-banner .btn-outline:focus {
  background: #F3812E;
  color: #fff;
}

/* COOKIES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1002;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(33, 43, 58, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookiefadein 0.4s cubic-bezier(.43,.01,.5,1);
}
@keyframes cookiefadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #195573;
  padding: 40px 34px 24px 34px;
  border-radius: 26px;
  box-shadow: 0 20px 64px 0 #E0E5EC, 0 1px 6px 0 rgba(25,85,115,0.11);
  min-width: 340px;
  max-width: 95vw;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  color: #195573;
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 14px 0 15px 0;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
}
.cookie-category label {
  font-weight: 700;
}
.cookie-category .toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #E0E5EC;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-category .toggle input {
  display: none;
}
.cookie-category .toggle-slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 10px #E0E5EC;
  transition: left 0.17s, background 0.17s;
}
.cookie-category .toggle input:checked + .toggle-slider {
  left: 22px;
  background: #F3812E;
}
.cookie-category .toggle input:checked ~ .toggle {
  background: #F3812E;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #C25E06;
  font-size: 1.4rem;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: color 0.18s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #195573;
}

/* --- MEDIA QUERIES: RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 14px;
  }
  .section {
    padding: 28px 7px;
    margin-bottom: 40px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .footer-nav {
    gap: 17px;
    font-size: 0.98rem;
  }
  .footer-contact, .contact-info {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .team-list, .features-section ul, section ul, .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card, .card, .feature-item {
    min-width: 0;
  }
  main > section:first-child {
    padding-top: 38px;
    padding-bottom: 30px;
    border-radius: 0 0 12px 12px;
    margin-bottom: 32px;
  }
  main > section:last-child, section.cta, .cta {
    border-radius: 12px;
  }
  .mobile-menu {
    padding-top: 15px;
  }
  .mobile-menu-close {
    margin-right: 16px;
    margin-bottom: 24px;
    font-size: 1.55rem;
  }
  .mobile-nav {
    padding-left: 14px;
    padding-right: 14px;
    gap: 16px;
  }
  .mobile-nav a {
    font-size: 1.1rem;
  }
  .cookie-modal {
    min-width: 0;
    padding: 20px 9px 16px 13px;
  }
  .cookie-modal .cookie-modal-close {
    top: 9px;
    right: 12px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.09rem; }
  .footer-nav { gap: 5px; justify-content: flex-start; }
  .testimonial-card { padding: 15px 8px; border-radius: 9px; }
  .card, .feature-item, .team-list > div { padding: 16px 7px; border-radius: 12px; }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 14px 7px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    padding: 10px 3px 10px 8px;
    border-radius: 9px;
  }
}

/* --- MICRO-INTERACTIONS & EFFECTS --- */
.card, .feature-item, .testimonial-card, .team-list > div {
  transition: box-shadow 0.2s, transform 0.17s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover, .team-list > div:hover {
  box-shadow: 0 6px 28px 0 rgba(25,85,115,0.15);
  transform: translateY(-2px) scale(1.015);
}

.btn, button, input[type='submit'] {
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.13s;
}
.btn:active, button:active { transform: scale(0.97); }
.btn:focus { outline: 2px solid #F3812E; }

/* --- PRINT OVERRIDES --- */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, main { background: #fff !important; color: #000 !important; }
}

/* --- FORMS (if any future use) --- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border: 2px solid #195573;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.18s;
}
input:focus, textarea:focus {
  border-color: #F3812E;
}

/* --- ACCESSIBILITY --- */
:focus {
  outline: 2px solid #F3812E;
  outline-offset: 1px;
}

/* --- GEOMETRIC SHAPES / MODERN DECORATIVE (subtle) --- */
.section:after {
  content: '';
  display: block;
  position: absolute;
  top: 18px; right: 18px;
  width: 48px; height: 48px;
  background: #F3812E22;
  border-radius: 20% 50% 20% 50%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.17;
}
.section {
  position: relative;
}
@media (max-width: 600px) {
  .section:after {
    width: 32px; height: 32px; right: 6px; top: 6px;
  }
}

/* --- COLOR UTILITIES --- */
.bg-primary {background: #195573; color: #fff;}
.bg-accent {background: #F3812E; color: #fff;}
.bg-light {background: #F7FAFB; color: #195573;}

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