/* --- CSS 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 {
  /* Set base font size for scaling */
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F1F3F6;
  color: #17356B;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #17356B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4CA1B2;
  outline: none;
}
ul, ol {
  list-style-position: inside;
  margin-left: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
}
button {
  cursor: pointer;
  background: transparent;
}

/* --- BRAND TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #17356B;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.75rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.125rem; margin-bottom: 8px; }

p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 14px;
}
strong { font-weight: bold; }
.text-section p {
  margin-bottom: 16px;
}

/* --- GLOBAL CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(23,53,107,0.07);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(23,53,107,0.06);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 32px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.main-nav a {
  color: #17356B;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F1F3F6;
  color: #4CA1B2;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: #4CA1B2;
  color: #fff;
  border-radius: 8px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, box-shadow 0.2s, color 0.1s;
  box-shadow: 0 1px 4px rgba(76,161,178,0.11);
  margin-left: 12px;
  border: none;
  text-align: center;
}
.btn-primary {
  background: #17356B;
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #4CA1B2;
  color: #fff;
}
.btn-secondary {
  background: #4CA1B2;
  color: #17356B;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #17356B;
  color: #fff;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #F1F3F6;
  color: #17356B;
  border-radius: 8px;
  padding: 8px 12px;
  margin-left: 18px;
  border: none;
  transition: background 0.2s;
  z-index: 102;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #4CA1B2;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(23,53,107,0.96);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.77,0,.175,1);
  z-index: 200;
  padding: 32px 24px;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-bottom: 28px;
  align-self: flex-end;
  background: none;
  color: #fff;
  font-size: 2.5rem;
  border: none;
  border-radius: 8px;
  padding: 0 8px;
  cursor: pointer;
  z-index: 201;
  transition: background 0.16s, color 0.1s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #4CA1B2;
  color: #17356B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  padding: 14px 2px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #4CA1B2;
  color: #17356B;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(105deg, #F1F3F6 80%, #4CA1B2 110%);
  padding: 56px 0 48px 0;
  margin-bottom: 60px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 680px;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.hero .btn {
  margin-top: 12px;
  padding: 16px 36px;
  font-size: 1.125rem;
}

/* --- FEATURE GRID / USP --- */
.feature-grid, .service-grid, .usp-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin: 40px 0 0 0;
}
.feature-grid > div, .service-grid > div, .usp-grid > div {
  flex: 1 1 220px;
  min-width: 210px;
  background: #fff;
  border-radius: 10px;
  padding: 32px 20px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 12px rgba(23,53,107,0.05);
  gap: 15px;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 20px;
  position: relative;
  border: 1px solid #E2E7ED;
}
.feature-grid > div:hover, .service-grid > div:hover, .usp-grid > div:hover {
  box-shadow: 0 8px 24px rgba(76,161,178,0.16);
  transform: translateY(-4px);
}
.feature-grid img, .service-grid img, .usp-grid img {
  height: 48px;
  width: 48px;
  margin-bottom: 8px;
}

/* --- CARDS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(23,53,107,0.06);
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  border: 1px solid #E2E7ED;
}

.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;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* --- CTA SECTIONS --- */
.cta {
  background: linear-gradient(100deg, #4CA1B2 80%, #17356B 120%);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(23,53,107,0.13);
  margin-bottom: 60px;
  padding: 48px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .btn {
  margin-top: 20px;
  background: #17356B;
  color: #fff;
}
.cta .btn:hover, .cta .btn:focus {
  background: #fff;
  color: #17356B;
}

/* --- TESTIMONIALS --- */
.testimonial-slider,
.testimonial-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #F1F3F6;
  color: #17356B;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(76,161,178,0.12);
  padding: 20px 28px;
  min-width: 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  border-left: 5px solid #4CA1B2;
  font-size: 1.06rem;
}
.testimonial-card strong {
  color: #4CA1B2;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 4px;
}

/* --- SERVICE LIST STYLE --- */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 0;
}
.service-list li {
  background: #F1F3F6;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 1.02rem;
  color: #17356B;
  border-left: 4px solid #4CA1B2;
}

/* --- SECTIONS & LAYOUTS ---*/
section {
  width: 100%;
  margin-bottom: 60px;
}
section:last-child {
  margin-bottom: 0;
}

.text-section {
  margin-bottom: 18px;
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}
.contact-details a {
  color: #17356B;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.14s;
}
.contact-details a:hover {
  color: #4CA1B2;
}

/* --- FOOTER --- */
footer {
  background: #17356B;
  color: #fff;
  padding: 44px 0 16px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
}
.footer-logo img {
  height: 38px;
  margin-bottom: 18px;
  filter: brightness(100) grayscale(1);
}
.footer-navigation, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 130px;
}
.footer-navigation a, .footer-legal a {
  color: #E2E7ED;
  transition: color 0.14s;
  font-weight: 500;
  padding: 4px 0;
}
.footer-navigation a:hover, .footer-legal a:hover {
  color: #4CA1B2;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #E2E7ED;
  font-size: 0.98rem;
  min-width: 180px;
}
.footer-contact img {
  height: 16px;
  width: 16px;
  margin-right: 7px;
}
.footer-copy {
  width: 100%;
  text-align: center;
  color: #A3B3C9;
  margin-top: 24px;
  font-size: 0.94rem;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #17356B;
  color: #fff;
  padding: 22px 16px;
  box-shadow: 0 -2px 20px rgba(23,53,107,0.19);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 4000;
  gap: 18px;
  animation: cookie-slide-up 0.4s ease;
}
@keyframes cookie-slide-up {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner button,
.cookie-banner .btn {
  border-radius: 7px;
  padding: 8px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin: 0 3px;
  font-weight: 600;
  border: none;
  transition: background 0.18s, color 0.1s, box-shadow 0.18s;
}
.cookie-banner .accept-btn {
  background: #4CA1B2;
  color: #fff;
}
.cookie-banner .accept-btn:hover,
.cookie-banner .accept-btn:focus {
  background: #fff;
  color: #17356B;
}
.cookie-banner .reject-btn {
  background: #fff;
  color: #17356B;
  border: 1px solid #4CA1B2;
}
.cookie-banner .reject-btn:hover,
.cookie-banner .reject-btn:focus {
  background: #4CA1B2;
  color: #fff;
}
.cookie-banner .settings-btn {
  background: #17356B;
  color: #fff;
  border: 1px solid #4CA1B2;
}
.cookie-banner .settings-btn:hover,
.cookie-banner .settings-btn:focus {
  background: #4CA1B2;
  color: #fff;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23,53,107, 0.78);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fade 0.25s;
}
@keyframes cookie-modal-fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal .modal-content {
  background: #fff;
  color: #17356B;
  border-radius: 13px;
  padding: 32px 26px 26px 26px;
  max-width: 380px;
  box-shadow: 0 8px 32px rgba(23,53,107,0.17);
  width: 92%;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: cookie-modal-slide 0.3s;
}
@keyframes cookie-modal-slide {
  0% {transform: translateY(-36px); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #17356B;
}
.cookie-modal .category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 22px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #E2E7ED;
  border-radius: 14px;
  transition: background 0.16s;
}
.cookie-modal .switch input:checked + .slider {
  background: #4CA1B2;
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
  box-shadow: 0 1px 3px rgba(23,53,107,0.14);
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(14px);
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal .modal-actions .btn {
  padding: 7px 22px;
  font-size: 1rem;
}

/* --- ANIMATIONS --- */
.btn, .main-nav a, .mobile-nav a {
  transition: background 0.2s, color 0.13s, box-shadow 0.13s, transform 0.15s;
}
.card, .feature-grid > div, .service-grid > div, .usp-grid > div {
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover, .feature-grid > div:hover, .service-grid > div:hover, .usp-grid > div:hover {
  box-shadow: 0 8px 28px rgba(23,53,107,0.17);
  transform: translateY(-4px) scale(1.025);
}

/* --- RESPONSIVE DESIGN (Mobile-First) --- */
@media (max-width: 1200px) {
  .container { max-width: 940px; }
}
@media (max-width: 900px) {
  .container { max-width: 96%; }
  .main-nav { gap: 14px; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
    max-width: 100%;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-logo img {
    margin-bottom: 14px;
    height: 32px;
  }
  .feature-grid, .service-grid, .usp-grid, .testimonial-slider, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .cta {
    padding: 36px 10px;
  }
  .section {
    padding: 25px 8px;
  }
  .testimonial-card {
    padding: 16px 14px;
    font-size: 0.98rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-navigation, .footer-legal, .footer-contact {
    min-width: 120px;
    font-size: 0.97rem;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.43rem; }
  h2 { font-size: 1.13rem; }
  .hero { padding: 18px 0 18px 0; }
  .footer-logo img { margin-bottom: 2px; height: 26px; }
}
@media (max-width: 520px) {
  .cookie-modal .modal-content { padding: 18px 6px 14px 6px; }
  .cta { padding: 20px 3px; }
  .hero .content-wrapper { padding: 2px; }
}

/* --- HIDE VISUALLY BUT ACCESSIBLE (for JS if needed) --- */
.visually-hidden { position: absolute; left: -10000px; }

/* --- SCROLLBAR STYLES --- */
::-webkit-scrollbar { width: 8px; background: #F1F3F6; }
::-webkit-scrollbar-thumb { background: #E2E7ED; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #4CA1B2; }

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