/* -------------------- 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,
u, i, b, 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 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

html {
  scroll-behavior: smooth;
  background: #fff;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #181A1B;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
}

*, *:before, *:after {
  box-sizing: inherit;
}

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

ul, ol {
  list-style: none;
}

a {
  color: #234259;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B47C2D;
  text-decoration: underline;
  outline: none;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #181A1B;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.75rem; /* ~44px */
  margin-bottom: 24px;
  letter-spacing: -0.015em;
  color: #111;
}
h2 {
  font-size: 2rem;
  
  margin-bottom: 20px;
  color: #222;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

strong {
  font-weight: 700;
  color: #234259;
}

blockquote {
  font-style: italic;
  border-left: 4px solid #B47C2D;
  padding-left: 16px;
  margin-bottom: 8px;
  color: #222;
}
cite {
  display: block;
  color: #888;
  margin-top: 4px;
  font-size: 0.97em;
}

/* -------------------- LAYOUT CONTAINERS -------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 14px rgba(24,26,27,0.08);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fafbfc;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(23,23,23,0.07);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.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;
  background: #f2f4f6;
  border: 1.5px solid #e6e8ea;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(30,30,30,0.07);
  padding: 20px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  background: #f7f8fa;
  border-radius: 16px;
  padding: 36px 26px;
  box-shadow: 0 2px 8px rgba(23,23,23,0.04);
}

@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .testimonial-card {
    padding: 16px 10px;
  }
  .text-section {
    padding: 20px 8px;
  }
}


/* -------------------- HEADER / NAVIGATION -------------------- */
header {
  background: #111;
  color: #fff;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 4px 18px rgba(23,23,23,0.06);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 72px;
  position: relative;
}
header img {
  height: 38px;
}
.main-nav {
  display: flex;
  gap: 32px;
  margin-left: 22px;
  align-items: center;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
  padding: 4px 10px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #232323;
  color: #B47C2D;
}
.btn.btn-primary {
  background: #234259;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 12px 30px;
  border-radius: 7px;
  margin-left: 30px;
  box-shadow: 0 3px 13px rgba(35,66,89,0.10);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.25s, color 0.18s;
  outline: none;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: #1d3441;
  color: #B47C2D;
  box-shadow: 0 4px 18px rgba(35,66,89,0.14);
}
.btn.btn-secondary {
  background: transparent;
  color: #234259;
  border: 1.5px solid #234259;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
  padding: 11px 28px;
  border-radius: 7px;
  margin-top: 18px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, border 0.18s;
}
.btn.btn-secondary:hover, .btn.btn-secondary:focus {
  background: #234259;
  color: #fff;
  border-color: #234259;
  box-shadow: 0 2px 12px rgba(35,66,89,0.13);
}


/* BURGER MENU */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  display: none;
  margin-left: 18px;
  z-index: 120;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #222;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 18px;
    margin-left: 10px;
  }
  .btn.btn-primary {
    margin-left: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
    margin-left: 6px;
  }
  .btn.btn-primary {
    margin-left: 4px;
    padding: 11px 18px;
    font-size: 0.98rem;
  }
  header img {
    height: 32px;
  }
}

@media (max-width: 768px) {
  .main-nav, .btn.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* ----- MOBILE MENU ----- */
.mobile-menu {
  position: fixed;
  z-index: 125;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 18, 26, 0.98);
  transform: translateX(-100vw);
  transition: transform 0.39s cubic-bezier(0.77,0,0.175,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  margin: 24px 0 14px 18px;
  z-index: 212;
  padding: 4px 11px;
  border-radius: 5px;
  align-self: flex-start;
  transition: background 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #232323;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  padding: 24px 30px 12px 30px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.45rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(250,250,250,0.09);
  transition: color 0.19s;
  letter-spacing: -0.01em;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #B47C2D;
  outline: none;
}

/* Ensure mobile menu covers everything */
@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
  }
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}


/* -------------------- HERO/FEATURES/SERVICES -------------------- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 15px;
  margin-top: 6px;
}
.service-item {
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 420px;
  background: #fafbfc;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(22,22,22,0.06);
  padding: 27px 21px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  border: 1.1px solid #efefef;
  transition: box-shadow 0.22s, border 0.15s, background 0.18s;
  position: relative;
}
.service-item h3 {
  font-size: 1.22rem;
  color: #234259;
}
.service-item strong {
  color: #B47C2D;
}
.service-item:hover {
  background: #f2f4f6;
  box-shadow: 0 4px 18px rgba(35,66,89,0.11);
  border: 1.1px solid #234259;
  z-index: 2;
}

@media (max-width: 1024px) {
  .service-list {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .service-list {
    gap: 6px;
  }
  .service-item {
    min-width: 95%;
    max-width: 100%;
    padding: 18px 8px;
  }
}
@media (max-width: 768px) {
  .service-list {
    flex-direction: column;
    gap: 12px;
  }
  .service-item {
    min-width: 0;
    max-width: 100%;
  }
}

/* Features ul styling */
ul > li, ol > li {
  position: relative;
  padding-left: 0;
  margin-bottom: 17px;
  color: #222;
  font-size: 1rem;
  line-height: 1.65;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
ul > li img {
  height: 26px;
  margin-right: 7px;
  display: inline-block;
}


/* -------------------- TESTIMONIALS -------------------- */
.testimonial-card blockquote {
  color: #232323;
  background: none;
  font-size: 1.12rem;
}
.testimonial-card cite {
  color: #444;
  font-style: normal;
  margin-top: 0px;
  font-size: 1em;
}
.testimonial-card {
  background: #faf9f7;
  border: 1.5px solid #eeeaeb;
  color: #232323;
  box-shadow: 0 2px 10px rgba(67,67,67,0.05);
  margin-bottom: 20px;
  align-items: flex-start;
  min-width: 0;
  transition: box-shadow 0.2s, border-color 0.15s, transform 0.25s;
}
.testimonial-card:hover {
  border-color: #B47C2D;
  box-shadow: 0 4px 16px rgba(180,124,45,0.10);
  transform: translateY(-2px) scale(1.0125);
}

/* Ensure contrast and large touch targets for testimonial links */
.testimonial-card a {
  color: #234259;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.18s;
}
.testimonial-card a:hover, .testimonial-card a:focus {
  color: #B47C2D;
}

/* -------------------- CONTACT DETAILS -------------------- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 18px 20px 11px 20px;
  margin-top: 5px;
  margin-bottom: 14px;
  font-size: 1.06rem;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 6px;
}
.contact-details img {
  height: 23px;
  width: 23px;
  opacity: 0.7;
}

/* -------------------- FOOTER -------------------- */
footer {
  background: #181A1B;
  color: #f2f2f2;
  padding-top: 24px;
  padding-bottom: 18px;
  margin-top: 36px;
}
footer .container {
  flex-direction: column;
  gap: 14px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  font-size: 1.04rem;
  opacity: 0.96;
}
.footer-menu a {
  color: #ffffff;
  opacity: 0.8;
  transition: color 0.18s, opacity 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #B47C2D;
  opacity: 1;
}
.brand-information {
  display: flex;
  align-items: center;
  font-size: 1rem;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 9px;
  opacity: 0.95;
}
.brand-information img {
  height: 22px;
  margin: 0 7px 0 0;
}
.brand-information a {
  color: #B47C2D;
  text-decoration: underline;
}
.social-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-top: 6px;
}
.social-links a img {
  height: 32px;
  filter: grayscale(95%);
  opacity: 0.78;
  transition: opacity 0.18s, filter 0.21s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: grayscale(12%);
  opacity: 1;
}

@media (max-width: 768px) {
  .brand-information {
    flex-direction: column;
    text-align: center;
    gap: 3px;
    font-size: 0.96rem;
  }
}

/* -------------------- COOKIE CONSENT BANNER -------------------- */
.cookie-banner {
  position: fixed;
  z-index: 250;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #10101b;
  color: #fff;
  box-shadow: 0 -2px 18px rgba(21,21,21,0.19);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 16px 16px 16px;
  font-size: 1.06rem;
  transition: transform 0.38s cubic-bezier(0.77,0,0.175,1), opacity 0.24s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #f2f2f2;
  font-size: 1.04rem;
  margin-bottom: 7px;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 2px;
}
.cookie-banner button, .cookie-banner .btn {
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 21px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.14s;
  margin-bottom: 0;
  margin-left: 0;
  margin-top: 0;
  box-shadow: 0 1px 8px rgba(21,21,21,0.08);
}
.cookie-banner .btn-accept {
  background: #234259;
  color: #fff;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: #B47C2D;
  color: #fff;
}
.cookie-banner .btn-reject {
  background: #fff;
  color: #222;
  border: 1.5px solid #B47C2D;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #B47C2D;
  color: #fff;
}
.cookie-banner .btn-settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #eee;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #222;
  color: #ffeaaf;
  border-color: #B47C2D;
}

/* COOKIE MODAL */
.cookie-modal-bg {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23, 23, 23, 0.57);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s;
}
.cookie-modal-bg.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #222;
  border-radius: 16px;
  box-shadow: 0 8px 42px rgba(31,31,31,0.16);
  padding: 38px 36px 30px 36px;
  max-width: 98vw;
  width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 500;
}
.cookie-modal h2 {
  font-size: 1.28rem;
  color: #222;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.cookie-category input[type="checkbox"] {
  height: 18px;
  width: 18px;
  accent-color: #234259;
}
.cookie-category label {
  color: #222;
  font-size: 1rem;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 14px;
}
.cookie-modal .btn {
  min-width: 87px;
}
.cookie-modal .cookie-essential {
  opacity: 0.6;
  font-style: italic;
}
.cookie-modal .cookie-essential input {
  pointer-events: none;
}
.cookie-modal .cookie-close {
  background: none;
  border: none;
  color: #222;
  font-size: 1.6rem;
  position: absolute;
  right: 20px;
  top: 18px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.14s;
}
.cookie-modal .cookie-close:hover,
.cookie-modal .cookie-close:focus {
  background: #eee;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 8px 16px 8px;
    width: 98vw;
    min-width: 0;
  }
}


/* -------------------- UTILITIES & MICRO-INTERACTIONS -------------------- */
::-webkit-scrollbar {
  width: 8px;
  background: #ededed;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #c5c5c5;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b3b3b3;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: 1em;
}

/* Animations */
.btn, .cookie-banner button, .btn-primary, .btn-secondary, .service-item, .testimonial-card {
  transition: background 0.18s, color 0.18s, border 0.14s, box-shadow 0.18s, transform 0.16s;
}

/* Section transitions */
section, .card, .service-item, .testimonial-card, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.22s, border 0.15s, background 0.21s, transform 0.19s;
}

/* Focus rings for accessibility */
:focus {
  outline: 2px solid #234259;
  outline-offset: 2px;
}

/* -------------------- RESPONSIVE TYPOGRAPHY -------------------- */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.38rem;
    margin-bottom: 13px;
  }
  .brand-information, .footer-menu {
    font-size: 0.95rem;
  }
}

/* -------------------- EXTRAS: Z-INDEX CONTROL & OVERFLOW -------------------- */
header, .mobile-menu, .cookie-banner, .cookie-modal-bg {
  z-index: 300;
}

/* Prevent content overlap */
main, section, .section, .container, .content-wrapper {
  position: relative;
  z-index: 1;
}

/* -------------------- PRINT STYLES (For GDPR etc.) -------------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none!important;
  }
  body, html {
    color: #111;
    background: #fff;
  }
}
