/* ========================== */
/* CSS RESET & NORMALIZE      */
/* ========================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #23313a;
  background: #f5f5f5;
  line-height: 1.6;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}
a {
  color: #184c66;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #12649a;
}
ul, ol {
  padding-left: 1.2em;
}
strong {
  font-weight: 700;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
  background: none;
}

/* ================================== */
/* BRAND VARIABLES & BASE COLOR SCHEME*/
/* ================================== */
:root {
  --primary: #184c66;
  --secondary: #7ab3c8;
  --accent: #f5f5f5;
  --neutral-900: #23313a;
  --neutral-700: #5a6a78;
  --neutral-500: #cdd4db;
  --white: #fff;
  --shadow: 0 2px 12px rgba(24,76,102,0.12);
  --radius: 12px;
  --radius-small: 6px;
  --focus: #7ab3c8;
}

/* ======================= */
/* TYPOGRAPHY SCALE        */
/* ======================= */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin-bottom: 20px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 10px;
  color: var(--neutral-900);
}
p, li {
  font-size: 1rem;
  color: var(--neutral-900);
}
ul, ol {
  margin-bottom: 16px;
}
.section > .container > h2,
.section > h2 {
  margin-bottom: 32px;
  text-align: left;
}

/* ============================== */
/* CONTAINER & SPACING PATTERNS   */
/* ============================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(24,76,102,0.18);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 0 -8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: 0 1px 6px rgba(24,76,102,0.07);
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 320px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 -8px;
}
.service-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--neutral-500);
  border-radius: var(--radius-small);
  padding: 20px 18px;
  box-shadow: 0 1px 4px rgba(24,76,102,0.06);
  min-width: 200px;
  flex: 1 1 220px;
  margin-bottom: 18px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Testimonials & Cards */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 330px;
  color: var(--neutral-900);
}
.testimonial-card p {
  font-size: 1.1rem;
  color: var(--primary);
  font-style: italic;
}
.testimonial-card strong {
  font-size: 1rem;
  color: var(--neutral-700);
  font-weight: 500;
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white) !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 14px 30px;
  border-radius: var(--radius-small);
  box-shadow: 0 2px 8px rgba(24,76,102,.08);
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
  cursor: pointer;
  margin-top: 12px;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary) !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 16px rgba(24,76,102,0.21);
}

/* ======================== */
/* HEADER / NAVIGATION      */
/* ======================== */
header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(24,76,102,0.04);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}
header a img {
  height: 40px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 8px;
  border-radius: var(--radius-small);
  transition: background 0.15s, color 0.15s;
}
nav a:hover, nav a.active {
  background: var(--accent);
  color: var(--secondary);
}
header .cta-btn {
  margin-left: 8px;
}

/* =============================== */
/* MOBILE NAVIGATION (BURGER MENU) */
/* =============================== */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-small);
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 10px;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,76,102,0.96);
  color: var(--white);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 30px;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.62,.28,.23,.99);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--white);
  font-size: 2.2rem;
  border: none;
  margin-top: 24px;
  margin-bottom: 16px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 30px;
}
.mobile-nav a {
  color: var(--white);
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--secondary);
  color: var(--primary);
}

/* =============== */
/* FOOTER          */
/* =============== */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 48px 0 32px;
  margin-top: 72px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-navigation a {
  color: var(--accent);
  font-size: 1rem;
  opacity: 0.87;
  transition: color 0.2s, opacity 0.2s;
}
.footer-navigation a:hover {
  color: var(--secondary);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;

}
.footer-contact p{
 
  color: var(--accent);
}
.footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: -4px;
  margin-right: 6px;
}
.footer-logo img {
  max-height: 50px;
}

/* ===================== */
/* COOKIE CONSENT BANNER */
/* ===================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: var(--neutral-900);
  color: var(--white);
  padding: 24px 18px 18px 18px;
  box-shadow: 0 -4px 24px rgba(24,76,102,0.14);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1700;
  animation: fadein-banner 0.45s;
}
@keyframes fadein-banner {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner-text {
  font-size: 1rem;
  color: var(--white);
  opacity: 0.93;
  margin-bottom: 10px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--neutral-900);
  font-weight: 500;
  border-radius: var(--radius-small);
  padding: 10px 22px;
  margin-right: 4px;
  transition: background 0.17s, color 0.17s;
  cursor: pointer;
  border: none;
}
.cookie-btn.accept {
  background: var(--primary);
  color: var(--white);
}
.cookie-btn.reject {
  background: #e1e5e9;
  color: var(--neutral-900);
}
.cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(0.95);
  box-shadow: 0 2px 9px rgba(24,76,102,0.15);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,76,102,0.65);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--white);
  color: var(--neutral-900);
  border-radius: var(--radius);
  box-shadow: 0 8px 36px rgba(24,76,102,0.20);
  padding: 40px 28px 30px 28px;
  min-width: 320px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadein-modal 0.42s;
  position: relative;
}
@keyframes fadein-modal {
  from { opacity: 0; transform: translateY(32px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal-close:hover {
  background: var(--secondary);
  color: var(--white);
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category-label {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
}
.cookie-toggle {
  appearance: none;
  width: 40px; height: 20px;
  background: var(--neutral-500);
  border-radius: 10px;
  position: relative;
  outline: none;
  margin-right: 4px;
  transition: background 0.15s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(24,76,102,0.11);
  transition: left 0.15s;
}
.cookie-toggle:checked:after {
  left: 22px;
}

/* ============================ */
/* FORM ELEMENTS (if needed)    */
/* ============================ */
input, textarea, select {
  border: 1px solid var(--neutral-500);
  border-radius: var(--radius-small);
  padding: 10px 12px;
  width: 100%;
  background: var(--white);
  color: var(--neutral-900);
  font-size: 1rem;
  margin-bottom: 20px;
  transition: border-color 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(24,76,102,0.10);
}
label {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--primary);
  font-weight: 500;
  display: block;
}

/* ======================== */
/* MISC & UTILITY CLASSES   */
/* ======================== */
hr {
  border: 0;
  height: 1px;
  background: var(--neutral-500);
  margin: 32px 0;
}
.mb-4 { margin-bottom: 32px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mt-4 { margin-top: 32px !important; }

/* Responsive IMAGES */
img.responsive,
.text-section img,
.feature-item img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 8px;
}

/* ======================================= */
/* RESPONSIVE LAYOUT & MEDIA QUERIES       */
/* ======================================= */
@media (max-width: 1140px) {
  .container {
    max-width: 100vw;
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 900px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 30px 8px;
  }
}
@media (max-width: 850px) {
  header .container,
  footer .container {
    flex-wrap: wrap;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }

  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 62px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-navigation,
  .footer-contact {
    font-size: 0.98rem;
  }
  .footer-logo img {
    max-height: 32px;
  }
  .feature-grid, .service-list, .content-grid {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    margin-bottom: 40px;
    padding: 22px 6px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }
  .card, .feature-item, .service-item {
    padding: 16px 10px;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.05rem; }
  .cta-btn {
    width: 100%;
    font-size: 1rem;
    padding: 12px 0;
  }
  .mobile-menu {
    padding: 0 8px;
  }
  .cookie-modal {
    padding: 22px 8px 18px 8px;
    min-width: unset;
    font-size: 0.99em;
  }
}

/* Misc */
::-webkit-scrollbar {
  width: 8px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--neutral-500);
  border-radius: 4px;
}

/* =============================== */
/* ACCESSIBILITY: Focus Styles      */
/* =============================== */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

/* =================================== */
/* ANIMATIONS & MICRO-INTERACTIONS     */
/* =================================== */
a, .cta-btn, button, .card, .feature-item {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.14s;
}
.feature-item:hover {
  box-shadow: 0 4px 16px rgba(24,76,102,0.14);
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
}
.service-item:hover {
  box-shadow: 0 2px 12px rgba(24,76,102,0.12);
  border-color: var(--secondary);
  transform: translateY(-1px) scale(1.01);
}

/* Ensure minimum margin for all cards/sections */
.card, .feature-item, .service-item, .testimonial-card, section, .section, .content-wrapper > * {
  margin-bottom: 20px;
}

/* =============================== */
/* CUSTOM CLASS EXTRAS             */
/* =============================== */
.text-section ul {
  margin-bottom: 18px;
  padding-left: 1.2em;
  color: var(--neutral-900);
}
ul {
  list-style: disc outside;
}
ol {
  list-style: decimal outside;
}
section:last-child, .section:last-child {
  margin-bottom: 0;
}
.card:last-child, .feature-item:last-child, .service-item:last-child, .testimonial-card:last-child {
  margin-bottom: 0;
}
/* END CSS */
