/* 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background: #fff;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #1a1a1a;
  background: #fff;
  font-size: 16px;
  line-height: 1.666;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* BASE TYPOGRAPHY - ELEGANT & DRAMATIC */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #131313;
  font-weight: 700;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-top: 14px;
  line-height: 1.17;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.18;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
}
p, ul, ol, dl, li, dd {
  color: #222;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: #101010;
}
a {
  color: #222;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #000;
  text-decoration: none;
}

/* CONTAINER & SECTIONS */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.text-section {
  gap: 14px;
}

/* CARD LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 3px 20px 0 rgba(30,30,30,0.07), 0 1.5px 6px 0 rgba(0,0,0,0.04);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(25,25,25,0.17);
  transform: translateY(-3px) scale(1.012);
}

/* FLEXBOX CONTENT GRIDS */
.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 32px 22px 32px;
  background: #fff;
  box-shadow: 0 3px 24px 0 rgba(40,40,40,0.18);
  border-radius: 14px;
  margin-bottom: 20px;
  min-width: 270px;
  max-width: 460px;
  border: 1px solid #ededed;
}
.testimonial-card p {
  font-size: 1.125rem;
  color: #222;
  margin-bottom: 8px;
  font-style: italic;
  line-height: 1.7;
}
.testimonial-card strong {
  color: #353535;
  font-size: 1rem;
  opacity: 0.88;
}

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

/* FEATURE GRID FOR INDEX & SERVICE PAGES */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: #fbfbfb;
  box-shadow: 0 2px 10px 0 rgba(40,40,40,0.04);
  border-radius: 12px;
  padding: 24px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 200px;
  max-width: 270px;
  text-align: center;
  margin-bottom: 12px;
  border: 1.5px solid #eeeeee;
  transition: box-shadow 0.16s, border 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 5px 24px 0 rgba(35,35,35,0.10);
  border: 1.5px solid #b5b5b5;
}
.feature-grid img {
  height: 48px;
  width: 48px;
  margin-bottom: 8px;
}

/* HERO BUTTONS */
.cta-button {
  display: inline-block;
  background: #111;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 28px;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 3px 12px 0 rgba(30,30,30,0.08);
  margin-top: 14px;
  letter-spacing: 0.01em;
  transition: background 0.22s, color 0.18s, box-shadow 0.18s, transform 0.15s;
}
.cta-button:hover, .cta-button:focus {
  background: #444;
  color: #f6f6f6;
  box-shadow: 0 6px 22px 0 rgba(0,0,0,0.19);
  transform: translateY(-2px) scale(1.017);
  outline: none;
}

/* HEADER/NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 10px 0 rgba(0,0,0,0.07);
  padding-top: 0;
  position: sticky;
  top: 0;
  z-index: 120;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 74px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 22px;
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  font-size: 1.02rem;
  padding: 6px 2px 3px 2px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.16s, border-bottom 0.14s;
}
nav a:hover, nav a:focus {
  color: #111;
  border-bottom: 1.5px solid #131313;
  outline: none;
}
header .cta-button {
  margin: 0 0 0 32px;
  padding: 11px 24px;
  font-size: 1rem;
}

/* MOBILE MENU BUTTON - HAMBURGER */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #131313;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.13s, background 0.13s;
  padding: 5px 10px;
  margin-left: 20px;
  border-radius: 8px;
}
.mobile-menu-toggle:focus, 
.mobile-menu-toggle:hover {
  color: #fff;
  background: #222;
  outline: none;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(8,8,8,0.98);
  display: flex;
  flex-direction: column;
  z-index: 900;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1.02);
  align-items: flex-start;
  padding: 0 0 0 0;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #ebebeb;
  font-size: 2.1rem;
  position: absolute;
  top: 22px;
  right: 28px;
  cursor: pointer;
  z-index: 902;
  transition: color 0.16s, background 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #fff;
  background: #222;
  border-radius: 6px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 78px 24px 35px 36px;
  width: 100%;
}
.mobile-nav a {
  color: #ededed;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
  margin-bottom: 30px;
  transition: color 0.16s, background 0.13s;
  padding: 10px 0 10px 0;
  width: 100%;
  border-radius: 8px;
  min-width: 180px;
}
.mobile-nav a:last-child {
  margin-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #191919;
  outline: none;
}

/* HERO SECTION */
main section:first-of-type {
  background: #fff;
  min-height: 40vh;
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  justify-content: center;
}
main section:first-of-type h1 {
  font-size: 2.35rem;
  color: #0a0a0a;
  margin-bottom: 12px;
}
main section:first-of-type p {
  font-size: 1.18rem;
}

/* LISTS */
ul, ol {
  padding-left: 28px;
  margin-bottom: 16px;
  color: #222;
}
ul li {
  padding-bottom: 7px;
  line-height: 1.7;
}
ul li::marker {
  color: #111;
}

/* FAQ (dl, dt, dd) */
dl {
  margin-bottom: 28px;
}
dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  margin-top: 16px;
  color: #181818;
}
dd {
  margin-left: 0;
  margin-bottom: 12px;
  color: #252525;
  font-size: 1rem;
}

/* FOOTER */
footer {
  background: #101010;
  color: #ebebeb;
  padding: 44px 0 22px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 36px;
  margin-bottom: 10px;
}
.footer-menu a {
  color: #d0d0d0;
  font-size: 1.01rem;
  font-weight: 500;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-decoration: none;
  transition: color 0.15s;
  border-bottom: 1.5px solid transparent;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
  border-bottom: 1.5px solid #fff;
  outline: none;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #b1b1b1;
  font-size: 0.98rem;
}
footer .cta-button {
  margin-top: 19px;
  background: #fff;
  color: #181818;
  box-shadow: 0 2px 10px 0 rgba(0,0,0,0.11);
  transition: background 0.2s, color 0.15s, box-shadow 0.13s, transform 0.13s;
}
footer .cta-button:hover, footer .cta-button:focus {
  background: #181818;
  color: #fff;
  box-shadow: 0 6px 18px 0 rgba(255,255,255,0.07);
  outline: none;
}

/* TEAM LIST (about.html) */
.team-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 22px;
}
.team-list > div {
  background: #f4f4f6;
  border-radius: 11px;
  box-shadow: 0 1.5px 8px 0 rgba(0,0,0,0.04);
  padding: 20px 22px;
  flex: 1 1 250px;
  min-width: 190px;
  margin-bottom: 12px;
}
.team-list h3 {
  margin-bottom: 7px;
  font-size: 1.1rem;
}

/* TESTIMONIAL SLIDER - FLEX */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  align-items: flex-start;
}

/* Cookie Consent Banner & Cookie Modal */
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100vw;
  background: #101010;
  color: #fbfbfb;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 24px 20px 18px 20px;
  z-index: 1200;
  box-shadow: 0 -2px 16px 0 rgba(0,0,0,0.11);
  opacity: 1;
  transition: opacity 0.4s;
}
.cookie-banner.hide {
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-banner-text {
  font-size: 1.01rem;
  color: #f6f6f6;
  margin-right: 20px;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  padding: 9px 22px;
  border: none;
  border-radius: 26px;
  background: #fff;
  color: #181818;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-right: 2px;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.07);
  transition: background 0.18s, color 0.15s, box-shadow 0.13s, transform 0.13s;
}
.cookie-btn:last-child {
  margin-right: 0;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #222;
  color: #fff;
  box-shadow: 0 6px 16px 0 rgba(255,255,255,0.07);
  outline: none;
}
.cookie-btn.reject {
  background: #ededed;
  color: #191919;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #222;
  color: #fff;
}
.cookie-btn.settings {
  background: #222;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #181818;
  color: #ededed;
}

.cookie-modal-backdrop {
  position: fixed;
  top: 0; left:0; width: 100vw; height: 100vh;
  background: rgba(24,24,24,0.80);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.32s;
}
.cookie-modal-backdrop.show {
  visibility: visible;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #181818;
  border-radius: 20px;
  padding: 38px 28px 28px 28px;
  max-width: 410px;
  min-width: 0;
  box-shadow: 0 7px 40px 0 rgba(0,0,0,0.26);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  opacity: 1;
}
.cookie-modal h2 {
  color: #090909;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
  margin-bottom: 9px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: #232323;
  font-size: 1.35rem;
  position: absolute;
  top: 12px;
  right: 18px;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.12s, color 0.1s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #000;
  opacity: 1;
  outline: none;
}

/* FORM ELEMENTS */
input, select, textarea {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  border: 1.5px solid #d6d6d6;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 1.05rem;
  color: #222;
  background: #f6f6f8;
  margin-bottom: 15px;
  width: 100%;
  transition: border 0.12s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #111;
  outline: none;
}

/* Misc */
img {
  max-width: 100%;
  display: block;
}
hr {
  border: none;
  border-top: 1px solid #cdcdcd;
  margin: 24px 0;
}
::-webkit-input-placeholder { color: #ababab; }
::-moz-placeholder { color: #ababab; }
:-ms-input-placeholder { color: #ababab; }
::placeholder { color: #ababab; }

/* Utility classes */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.gap-12 { gap: 12px; }
.gap-22 { gap: 22px; }
.text-center { text-align: center; }

/* Responsive styles */
@media (max-width: 1080px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
  .feature-grid > div {
    max-width: 44vw;
  }
}
@media (max-width: 900px) {
  nav {
    gap: 18px;
  }
  .footer-menu {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 97%;
  }
  .container {
    max-width: 98vw;
    padding: 0 6px;
  }
  header .container {
    gap: 9px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .card-container, .testimonial-slider, .team-list {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-grid > div, .card {
    min-width: 0;
    max-width: 100%;
    margin-bottom: 14px;
  }
  .testimonial-slider {
    gap: 18px;
  }
  main section:first-of-type h1 {
    font-size: 1.45rem;
  }
  main section:first-of-type p {
    font-size: 1.02rem;
  }
  .footer-menu {
    flex-direction: column;
    gap: 13px;
    align-items: center;
  }
  .footer-info {
    gap: 6px;
    text-align: center;
  }
  .content-wrapper {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
    padding: 21px 12px 11px 12px;
  }
  .cookie-modal {
    max-width: 96vw;
    padding: 18px 5vw 18px 5vw;
  }
  .mobile-nav a {
    font-size: 1.07rem;
    margin-bottom: 17px;
    padding: 8px 0 8px 0;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 93%;
  }
  footer .cta-button {
    width: 94vw;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Subtle animation for button & mobile menu */
.cta-button, .cookie-btn {
  will-change: transform, box-shadow;
}
.mobile-menu, .cookie-modal-backdrop {
  will-change: transform, opacity;
}

/* Custom scrollbars for dark overlays */
.mobile-menu nav, .cookie-modal {
  scrollbar-width: thin;
  scrollbar-color: #363636 #e8e8e8;
}
.mobile-menu nav::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  width: 7px;
  background: #e8e8e8;
}
.mobile-menu nav::-webkit-scrollbar-thumb, .cookie-modal::-webkit-scrollbar-thumb {
  background: #363636;
  border-radius: 6px;
}
