/* ============================== */
/*   CSS RESET & NORMALIZATION     */
/* ============================== */
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,
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 {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F7F7F7;
  color: #222;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #18496B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #26A664;
  outline: none;
}
ul,
ol {
  padding-left: 2em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 8px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 16px;
  background: #fff;
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(24,73,107,0.05);
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}
th {
  background-color: #e6ecf3;
  color: #18496B;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Roboto Slab', Georgia, serif;
}
tr:last-child td {
  border-bottom: none;
}
blockquote {
  font-style: italic;
  border-left: 3px solid #18496B;
  padding-left: 18px;
  margin: 8px 0 0 0;
  color: #222;
  background: none;
}
/* ===================  TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: #18496B;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.22;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  line-height: 1.24;
}
h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.2;
}
h5 {
  font-size: 1.1rem;
}
h6 {
  font-size: 1rem;
}
p, li, dl, dt, dd {
  font-size: 1rem;
  color: #222;
  line-height: 1.65;
}
strong {
  font-weight: 700;
}
.text-section h2 {
  margin-top: 8px;
}
.text-section p, .text-section ul, .text-section ol {
  margin-bottom: 16px;
}
.dl, dt {
  font-weight: 600;
  margin-top: 8px;
}
/* ===================  LAYOUT CONTAINERS & SPACING ==================== */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(24, 73, 107, 0.05);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(24, 73, 107, 0.07);
  padding: 32px 24px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(24, 73, 107, 0.13);
  transform: translateY(-2px);
}
.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: #EFF3F7;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(24,73,107,0.07);
  margin-bottom: 20px;
  color: #222;
}
.testimonial-card .stars {
  font-size: 1.5rem;
  color: #26A664;
  margin-right: 10px;
  flex-shrink: 0;
}
.testimonial-card blockquote {
  margin: 0;
  padding: 0;
  font-style: italic;
  border: none;
  background: none;
  color: #222;
}
.testimonial-card blockquote span {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  font-style: normal;
  color: #4d6280;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* ===================  HERO SECTION ==================== */
.hero {
  background: linear-gradient(90deg, #18496B 0%, #256E89 100%);
  color: #fff;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 6px 24px 0 rgba(24,73,107,0.08);
  padding: 44px 0 44px 0;
  margin-bottom: 48px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.hero .content-wrapper {
  align-items: center;
  gap: 12px;
  text-align: center;
  width: 100%;
}
.hero h1, .hero h2, .hero p {
  color: #fff;
}
.hero .btn-primary {
  margin-top: 18px;
}
/* ===================  BUTTONS ==================== */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  outline: none;
  min-width: 150px;
  transition: background 0.16s, box-shadow 0.15s, color 0.15s, transform 0.15s;
  box-shadow: 0 2px 10px 0 rgba(24, 73, 107, 0.08);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}
.btn-primary {
  background: #18496B;
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #26A664;
  color: #fff;
  box-shadow: 0 3px 18px 0 rgba(38, 166, 100, 0.18);
  transform: translateY(-1px) scale(1.015);
}
.btn-secondary {
  background: #26A664;
  color: #fff;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #18496B;
  color: #fff;
  box-shadow: 0 3px 18px 0 rgba(24, 73, 107, 0.18);
  transform: translateY(-1px) scale(1.015);
}
/* Generic Button micro-interactions */
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.98);
}
/* ===================  HEADER & NAV ==================== */
header {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(24,73,107,0.05);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1200;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  gap: 20px;
  padding: 0 20px;
  position: relative;
}
.logo img {
  height: 54px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 20px;
}
.main-nav a {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.02rem;
  color: #18496B;
  padding: 6px 2px;
  border-radius: 3px;
  transition: color 0.18s, background 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #eff3f7;
  color: #26A664;
}
header .btn-primary {
  margin-left: 24px;
}
/* ===================  FOOTER ==================== */
footer {
  background: #18496B;
  color: #f7f7f7;
  margin-top: 64px;
  padding: 40px 0 24px 0;
  border-radius: 24px 24px 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo img {
  height: 42px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-right: 40px;
}
.footer-nav a {
  color: #f0f0f0;
  font-size: 1rem;
  font-family: 'Roboto Slab', Georgia, serif;
  transition: color 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #26A664;
}
.footer-contact {
  color: #e6ecf3;
  font-size: 0.97rem;
}
.footer-contact a {
  color: #effdff;
  text-decoration: underline;
}
.footer-contact a:hover {
  color: #26A664;
}
/* ===================  MOBILE NAVIGATION ==================== */
.mobile-menu-toggle {
  display: none;
  background: #18496B;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 2rem;
  line-height: 1;
  padding: 8px 16px;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  z-index: 1201;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #26A664;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #18496B;
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.7,0,0.4,1);
  z-index: 1700;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 12px 16px 8px 16px;
  margin: 22px 18px 8px 0;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.16s, background 0.16s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #26A664;
  background: rgba(38,166,100,0.08);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 40px;
  padding: 0 30px;
}
.mobile-nav a {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.4rem;
  color: #fff;
  padding: 10px 0;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
  letter-spacing: 0.05em;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #26A664;
  color: #fff;
}
/* ===================  COOKIE CONSENT BANNER ==================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  color: #222;
  box-shadow: 0px -2px 24px 0 rgba(24, 73, 107, 0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 20px 32px;
  z-index: 2500;
  font-size: 1rem;
  border-top: 1px solid #e6ecf3;
  animation: banner-in 0.5s cubic-bezier(0.33,1,0.68,1);
}
@keyframes banner-in {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 0 140px;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.cookie-banner button {
  min-width: 120px;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1rem;
  padding: 9px 22px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.13s;
}
.cookie-banner .accept {
  background: #26A664;
  color: #fff;
  font-weight: 700;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #18496B;
}
.cookie-banner .reject {
  background: #18496B;
  color: #fff;
  font-weight: 700;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #26A664;
}
.cookie-banner .cookie-settings {
  background: #EFF3F7;
  color: #18496B;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: #26A664;
  color: #fff;
}
/* Cookie Modal Styles */
.cookie-modal {
  position: fixed;
  z-index: 2510;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-60%) scale(0.98);
  background: #fff;
  border: 1.5px solid #18496B;
  border-radius: 16px;
  width: 96%;
  max-width: 480px;
  box-shadow: 0 8px 40px 0 rgba(24,73,107,0.19);
  padding: 38px 32px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.33,1,0.68,1), transform 0.32s cubic-bezier(0.33,1,0.68,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  color: #18496B;
  margin: 0 0 8px 0;
  font-size: 1.32rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 14px 0 14px 0;
}
.cookie-modal label {
  font-size: 1rem;
  font-family: 'Roboto Slab', Georgia, serif;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #26A664;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  margin-right: 8px;
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 13px;
  margin-top: 6px;
  justify-content: flex-end;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  min-width: 108px;
  padding: 8px 18px;
  font-size: 0.97rem;
  box-shadow: none;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 12px;
  top: 12px;
  background: none;
  border: none;
  color: #18496B;
  font-size: 1.4rem;
  cursor: pointer;
}
.cookie-modal .close-modal:hover {
  color: #26A664;
}
/* ===================  RESPONSIVE DESIGN (MOBILE FIRST) ==================== */
@media (max-width: 1100px) {
  .container {
    max-width: 860px;
  }
}
@media (max-width: 900px) {
  .footer-nav, .footer-contact {
    flex: 1 0 100%;
  }
  .content-wrapper {
    gap: 14px;
  }
  .section {
    padding: 30px 8px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .container {
    padding: 0 6px;
    max-width: 100%;
  }
  .section {
    margin-bottom: 40px;
    padding: 18px 6px;
    border-radius: 9px;
  }
  .hero {
    border-radius: 0 0 9px 9px;
    padding: 28px 4px 28px 4px;
    margin-bottom: 30px;
  }
  .main-nav { display: none; }
  .btn-primary, .btn-secondary {
    padding: 12px 16px;
    font-size: 1rem;
    min-width: 108px;
  }
  header .btn-primary {
    margin-left: 6px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper {
    gap: 12px;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-contact {
    margin-top: 16px;
  }
  .card-container {
    gap: 12px;
  }
  .content-grid {
    gap: 12px;
  }
  .testimonial-card {
    padding: 12px 8px;
    gap: 10px;
    margin-bottom: 14px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 18px 10px;
    font-size: 0.94rem;
  }
  .cookie-banner p {
    flex: none;
  }
}
@media (max-width: 500px) {
  .container {
    padding: 0 2px;
    max-width: 100vw;
  }
  .section {
    padding: 9px 2px;
  }
  .hero {
    padding: 13px 0 13px 0;
  }
  .footer-logo img {
    height: 34px;
  }
}
/* ===================  LAYOUT FLEX DIRECTION CHANGES ==================== */
@media (max-width: 900px) {
  .content-wrapper {
    flex-direction: column !important;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .card-container, .content-grid, .text-image-section, .feature-item {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
/* ===================  MISC COMPONENTS ==================== */
ol {
  list-style-type: decimal;
  padding-left: 2em;
  margin-bottom: 0.8em;
}
ul {
  list-style-type: disc;
  padding-left: 2em;
  margin-bottom: 0.8em;
}
ol li, ul li {
  line-height: 1.6;
}
.text-section {
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.text-section ul img, .text-section ol img {
  width: 23px;
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 2px;
}
/* ===================  PRINT SUPPORT ==================== */
@media print {
  .mobile-menu,
  .mobile-menu-toggle,
  .btn-primary,
  .btn-secondary,
  .cookie-banner,
  .cookie-modal {
    display: none !important;
  }
}
