/* ========================
   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,
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, 
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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  height: 100%;
  line-height: 1.6;
  background: #F1F1F6;
  color: #151515;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #233142;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.47,1.64,.41,.8);
}
a:hover, a:focus {
  color: #00BFAE;
  outline: none;
}
ul, ol {
  margin: 0 0 20px 24px;
}
li {
  margin-bottom: 12px;
  font-size: 16px;
}
strong, b {
  font-weight: 700;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}
button {
  background: none;
  cursor: pointer;
}

/* ==============
   BRAND FONTS
   ============== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial', Helvetica, sans-serif;
  color: #151515;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.16;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.16;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4,h5,h6 {
  margin-bottom: 10px;
  font-weight: 600;
}
p {
  margin-bottom: 16px;
  color: #333;
  font-size: 1rem;
}
.text-section > p,
.text-section > ul,
.text-section > ol {
  margin-bottom: 14px;
}

/* ==========================
   CONTAINER & LAYOUT SYSTEM
   ========================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 10px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  color: #232323;
}

/* ENFORCED SPACING & FLEXBOX LAYOUTS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(35,49,66,0.08);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #F7F7FA;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(35,49,66,0.05);
  margin-bottom: 20px;
  padding: 24px 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 320px;
}
.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: #F9F9FB;
  border-left: 4px solid #233142;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(35,49,66,0.06);
  margin-bottom: 20px;
  max-width: 700px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F1F1F6;
  border-radius: 10px;
  padding: 22px 18px;
  margin-bottom: 20px;
}

/* ===============================
   SECTION STYLES & WHITE SPACE
   =============================== */
section {
  margin-bottom: 60px;
  padding: 0;
  border-radius: 0;
  background: none;
}
section > .container {
  padding: 0 !important;
}

/* HERO SECTION */
section:first-child {
  margin-top: 54px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(35,49,66,0.13);
}

/* SERVICE CARDS */
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 16px rgba(35,49,66,0.09);
  padding: 28px 22px 22px;
  margin-bottom: 24px;
  transition: box-shadow 0.22s cubic-bezier(.55,.1,.39,.98);
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 355px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  border: 1px solid #ededed;
}
.service-card strong {
  color: #00BFAE;
  font-size: 1.17rem;
  margin-top: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.service-card:hover {
  box-shadow: 0 6px 32px rgba(35,49,66,0.19);
  transform: translateY(-2px) scale(1.015);
  z-index: 2;
}

/* =====================
   NAVIGATION & HEADER
   ===================== */
header {
  background: #fff;
  border-bottom: 1.5px solid #E4E4EA;
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 32px;
  position: relative;
}
.main-nav > a img {
  height: 38px;
  display: block;
}
.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  padding: 7px 5px 7px 5px;
  border-radius: 6px;
  color: #151515;
  transition: background 0.18s, color 0.19s;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  background: #232323;
  color: #fff;
}
.btn-primary {
  display: inline-block;
  padding: 13px 28px;
  background: #233142;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.21s, color 0.19s, box-shadow 0.25s;
  box-shadow: 0 2px 10px rgba(35,49,66,0.12);
  cursor: pointer;
  margin-left: 18px;
  text-align: center;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #00BFAE;
  color: #fff;
  box-shadow: 0 6px 24px rgba(0,191,174,0.17);
}

/* ==========================
   FOOTER
   ========================== */
footer {
  background: #232323;
  color: #FFF;
  padding: 44px 0 28px 0;
}
footer .container {
  max-width: 1200px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 42px;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 23px;
}
.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.93;
  padding: 4px 0;
  border-radius: 5px;
  transition: background 0.18s, color 0.19s;
}
.footer-nav a:hover {
  background: #fff;
  color: #233142;
}
.text-section {
  color: #ededed;
  font-size: 15px;
}
.text-section img {
  height: 28px;
  vertical-align: middle;
  margin-right: 10px;
}

/* ==========================
   TESTIMONIALS
   ========================== */
.testimonial-card {
  background: #fff;
  color: #151515;
  border-left: 5px solid #00BFAE;
  box-shadow: 0 2px 8px rgba(35,49,66,0.05);
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 1rem;
  transition: box-shadow 0.15s, border-color 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 34px rgba(0,191,174,0.13);
  border-left-color: #233142;
}
.testimonial-card p {
  color: #222;
  margin-bottom: 6px;
  line-height: 1.8;
}
.testimonial-card strong {
  color: #00BFAE;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.96rem;
}

/* ==========================
   COOKIE CONSENT BANNER & MODAL
   ========================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #232323;
  color: #fff;
  z-index: 1100;
  box-shadow: 0 -2px 24px rgba(50,50,50,0.15);
  padding: 24px 10px 24px 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 1rem;
  animation: fadeInUp 0.5s cubic-bezier(.5,1.64,.41,.8) forwards;
}
.cookie-consent-banner p {
  color: #ededed;
  margin: 0;
}
.cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  background: #F1F1F6;
  color: #233142;
  border-radius: 7px;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  margin: 0;
  transition: background 0.17s, color 0.15s;
}
.cookie-btn.accept {
  background: #00BFAE;
  color: #fff;
}
.cookie-btn.accept:hover {
  background: #233142;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #233142;
}
.cookie-btn.reject:hover {
  background: #F1F1F6;
  color: #00BFAE;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1.7px solid #fff;
  padding: 10px 22px;
}
.cookie-btn.settings:hover {
  border-color: #00BFAE;
  color: #00BFAE;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left:0; right:0; bottom:0;
  background: rgba(35,35,35,0.61);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .31s cubic-bezier(.64,1,.29,.81) forwards;
}
.cookie-modal {
  background: #fff;
  color: #233142;
  border-radius: 16px;
  box-shadow: 0 12px 64px rgba(35,49,66,0.17);
  width: 95vw;
  max-width: 420px;
  padding: 38px 30px 30px 30px;
  position: relative;
  animation: slideInUp 0.5s cubic-bezier(.24,1,.33,1) forwards;
}
.cookie-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: #151515;
}
.cookie-modal .cookie-modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.cookie-modal label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #212121;
  flex: 1 1 auto;
}
.cookie-modal .toggle {
  width: 38px;
  height: 21px;
  border-radius: 12px;
  background: #ededed;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: background 0.17s;
  box-shadow: 0 1.5px 6px rgba(35,49,66,0.05);
}
.cookie-modal .toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-modal .toggle .slider {
  position: absolute;
  top: 3px; left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #bbb;
  transition: left 0.19s, background 0.19s;
}
.cookie-modal .toggle input:checked + .slider {
  left: 20px;
  background: #00BFAE;
}
.cookie-modal .cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 26px;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  color: #233142;
  font-size: 1.7rem;
  border: none;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .close-modal-btn:hover {
  color: #00BFAE;
}
/* Animations */
@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideInUp {
  from {transform: translateY(60px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================
   MOBILE MENU
   ========================== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: #233142;
  color: #fff;
  padding: 9px 15px;
  border-radius: 6px;
  border: none;
  font-size: 2rem;
  z-index: 106;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #00BFAE;
  color: #fff;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #232323;
  z-index: 1201;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.62,.1,.43,.99);
  box-shadow: 0 0 0 1000vw rgba(0,0,0,0.13);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 19px;
  right: 24px;
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  z-index: 1203;
  padding: 6px 12px;
  border-radius: 50%;
  transition: background 0.15s, color 0.14s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #00BFAE;
  color: #232323;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 65px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 19px;
  font-weight: 600;
  padding: 7px 0;
  border-radius: 7px;
  transition: background 0.15s, color 0.18s;
  width: 98%;
  display: block;
}
.mobile-nav a:hover {
  background: #00BFAE;
  color: #232323;
}

/* ==========================
   RESPONSIVE DESIGN
   ========================== */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 990px) {
  .main-nav ul {
    gap: 18px;
  }
  .footer-nav {
    gap: 12px;
  }
}
@media (max-width: 850px) {
  .footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .content-wrapper {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.32rem;
    margin-bottom: 15px;
  }
  .main-nav {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 15px 0;
  }
  .main-nav ul {
    display: none;
  }
  .btn-primary {
    margin-left: 7px;
    padding: 12px 17px;
    font-size: 15px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    min-width: 0;
    padding: 0 7px;
  }
  .footer .content-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
  }
  .footer-nav {
    gap: 9px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .testimonial-card,
  .service-card,
  .card {
    min-width: unset;
    max-width: unset;
    width: 100%;
    box-sizing: border-box;
  }
  .section {
    padding: 21px 7px;
    margin-bottom: 32px;
    border-radius: 11px;
  }
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 13px;
  }
  .feature-item {
    padding: 13px 9px;
    margin-bottom: 13px;
  }
}
@media (max-width: 540px) {
  .footer .container {
    padding: 0 2px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    gap: 16px;
    padding: 19px 6px 19px 6px;
    font-size: 0.98rem;
  }
  .cookie-btn-group {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
}

/* ==========================
   VISUAL EFFECTS & MICROINTERACTION
   ========================== */
.card, .service-card, .testimonial-card, .feature-item {
  transition: box-shadow 0.19s cubic-bezier(.63,.14,.23,.85),
              border-color 0.19s, 
              transform 0.15s cubic-bezier(.62,.22,.33,1.09);
}
.card:hover, .feature-item:hover {
  box-shadow: 0 7px 26px rgba(0,0,0,0.14);
  border-color: #00BFAE;
  transform: translateY(-3px) scale(1.012);
  z-index: 2;
}

/* ================================================
   MONOCHROME/SOPHISTICATED : COLOR & BACKGROUND
   ================================================ */
body, .text-section, .container,
section, .feature-item, .service-card, .card, .testimonial-card {
  background: #fff;
  color: #151515;
}
h1, h2, h3, h4, h5, h6 {
  color: #233142;
}
.card, .feature-item, .service-card {
  border: 1.2px solid #e4e4ea;
}
footer, .footer-nav a {
  background: #232323;
  color: #fff;
}
.btn-primary {
  background: #233142;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #00BFAE;
  color: #fff;
}
a {
  color: #233142;
}
a:hover {
  color: #00BFAE;
}

/* =====================
   MISC CLASSES
   ===================== */
::-webkit-scrollbar {
  width: 9px;
  background: #eeeeee;
}
::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00BFAE;
}

/* Visually hidden for accessibility */
.visually-hidden {
  position: absolute!important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  white-space: nowrap;
}

/* Focus ring */
a:focus, button:focus, .cookie-btn:focus {
  outline: 2px solid #00BFAE;
  outline-offset: 2.5px;
  z-index: 10;
}

/* =====================
   END OF CSS
   ===================== */