/* ==================== CSS RESET & BASE ==================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}
body {
  background: #F8F8F8;
  color: #003147;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #003147;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #91B0AC;
  outline-offset: 2px;
}

/* Remove default button/input styles */
button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border-radius: 0;
  border: none;
  outline: none;
}

ul, ol {
  margin-left: 1.5em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #003147;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 0.5em; }
h2 { font-size: 2rem; margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
h4 { font-size: 1.1rem; margin-bottom: 0.3em; }

p {
  margin-bottom: 1em;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* ==================== LAYOUT SPACING & FLEX ==================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,49,71,0.07);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,49,71,0.09);
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
}
.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;
  margin-bottom: 20px;
  background: #F8F8F8;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,49,71,0.08);
  font-size: 1.15rem;
  color: #111;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPECIFIC STRUCTURES */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 190px;
  max-width: 260px;
  background: #F8F8F8;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 26px 22px 18px 22px;
  box-shadow: 0 2px 8px rgba(0,49,71,0.06);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #003147;
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.team-grid > div {
  flex: 1 1 220px;
  min-width: 200px;
  background: #F8F8F8;
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0 2px 8px rgba(0,49,71,0.07);
  color: #003147;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 40px;
}
.footer-grid > div {
  flex: 1 1 180px;
  min-width: 160px;
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
  background: #003147;
  box-shadow: 0 2px 14px rgba(0,49,71,0.07);
  padding: 0;
  z-index: 10;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 0;
}
header img {
  height: 44px;
  margin-right: 32px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.0125rem;
  color: #fff;
  letter-spacing: 0.01em;
  background: none;
  padding: 8px 0px;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
}
nav a.cta {
  background: #91B0AC;
  color: #003147;
  padding: 10px 24px;
  border-radius: 22px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 10px rgba(145,176,172,0.16);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
nav a.cta:hover {
  background: #fff;
  color: #003147;
  box-shadow: 0 4px 18px rgba(145,176,172,0.28);
}
nav a:hover {
  color: #91B0AC;
}
nav a:active, nav a:focus {
  background: rgba(145,176,172,0.15);
  color: #003147;
}
.mobile-menu-toggle, .mobile-menu-close {
  background: #91B0AC;
  color: #003147;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  display: none;
  z-index: 200;
  border: none;
  transition: background 0.18s;
  box-shadow: 0 2px 8px rgba(145,176,172,0.11);
}
.mobile-menu-toggle:hover, .mobile-menu-close:hover {
  background: #003147;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100vh;
  width: 100vw;
  background: #003147;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.88,0,0.22,1);
  box-shadow: 0 6px 24px rgba(0,49,71,0.23);
  padding: 28px 28px 20px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-bottom: 18px;
  display: flex;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #fff;
  padding: 16px 0;
  border-radius: 7px;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #91B0AC;
  color: #003147;
}

@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 1024px) {
  .footer-grid {
    flex-wrap: wrap;
    gap: 30px;
  }
  .footer-grid > div {
    min-width: 120px;
    flex: 1 1 150px;
  }
}

/* ==================== MAIN & SECTION =============== */
main {
  padding: 40px 0 0 0;
}
section {
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
  padding: 0;
}
h2 {
  border-left: 6px solid #91B0AC;
  padding-left: 14px;
}

/* ==================== BUTTONS & INTERACTIONS =============== */
.cta, .cta-button, button.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #003147;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  padding: 12px 30px;
  border-radius: 30px;
  transition: background 0.18s, color 0.18s, box-shadow 0.19s, transform 0.14s;
  box-shadow: 0 2px 12px rgba(0,49,71,0.11);
  margin-top: 8px;
  cursor: pointer;
}
.cta:hover, .cta:active, .cta:focus {
  background: #91B0AC;
  color: #003147;
  box-shadow: 0 4px 18px rgba(0,49,71,0.18);
  transform: translateY(-3px) scale(1.035);
}

button:active {
  transform: scale(0.97);
}

/* ==================== TESTIMONIALS ================== */
.testimonial-card {
  background: #fff;
  border-left: 8px solid #91B0AC;
  color: #232323;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 24px 30px 18px 22px;
  box-shadow: 0 2px 12px rgba(0,49,71,0.09);
  margin-bottom: 20px;
  border-radius: 16px;
  min-width: 225px;
  max-width: 690px;
  flex: 1 1 210px;
  position: relative;
}
.testimonial-card p {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: #003147;
}
.testimonial-card div {
  font-size: 1rem;
  color: #91B0AC;
  font-style: italic;
  margin-left: 8px;
}

/* ================= FOOTER ==================== */
footer {
  background: #003147;
  color: #fff;
  padding: 60px 0 38px 0;
  letter-spacing: 0.01em;
  font-family: 'Roboto', Arial, sans-serif;
}
footer img {
  height: 38px;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.91;
}
footer nav a:hover {
  color: #91B0AC;
}
footer p {
  font-size: 0.97rem;
  opacity: 0.95;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
footer a {
  color: #91B0AC;
  transition: color 0.13s;
}
footer a:hover {
  color: #fff;
}
footer .footer-grid {
  margin-top: 0;
}

/* ================= COOKIE BANNER ================ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1000;
  background: #fff;
  border-top: 6px solid #91B0AC;
  box-shadow: 0 -2px 18px rgba(0,49,71,0.16);
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: fadeInUp 0.5s cubic-bezier(0.51,1,0.3,1);
}
.cookie-banner-content {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  color: #003147;
  text-align: center;
  margin-bottom: 10px;
}
.cookie-banner-actions {
  display: flex;
  gap: 18px;
}
.cookie-btn, .cookie-btn-primary, .cookie-btn-secondary, .cookie-btn-settings {
  background: #003147;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
  margin-top: 0;
  box-shadow: 0 1px 8px rgba(0,49,71,0.09);
}
.cookie-btn-primary {
  background: #91B0AC;
  color: #003147;
}
.cookie-btn-primary:hover, .cookie-btn-primary:focus {
  background: #003147;
  color: #fff;
}
.cookie-btn-secondary {
  background: #eee;
  color: #003147;
}
.cookie-btn-secondary:hover {
  background: #91B0AC;
  color: #fff;
}
.cookie-btn-settings {
  background: transparent;
  border: 2px solid #91B0AC;
  color: #003147;
  padding: 10px 20px;
  font-weight: 600;
}
.cookie-btn-settings:hover {
  background: #91B0AC;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,49,71,0.58);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBg 0.31s;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 430px;
  width: 97vw;
  box-shadow: 0 6px 28px rgba(0,49,71,0.26);
  padding: 38px 30px 32px 30px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  animation: fadeInUp 0.41s cubic-bezier(0.51,1,0.3,1);
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.46rem;
  color: #003147;
  margin-bottom: 3px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 15px 0 15px 0;
}
.cookie-category {
  padding: 14px 0 2px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.03rem;
}
.cookie-category label {
  cursor: pointer;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #91B0AC;
  margin-right: 0.4em;
}
.cookie-category.essential label,
.cookie-category.essential {
  font-weight: 700;
  color: #003147;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 7px;
  justify-content: flex-end;
}
@keyframes fadeInBg {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== FORMS & INPUTS =============== */
input, textarea, select {
  background: #fff;
  border: 2px solid #91B0AC;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 1rem;
  color: #003147;
  margin-bottom: 14px;
  width: 100%;
  resize: vertical;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #003147;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  margin-bottom: 3px;
  display: block;
}

/* ==================== CONTACT INFO =============== */
.contact-info {
  background: #F8F8F8;
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.01rem;
  color: #003147;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==================== MISC & MICRO-ANIMATIONS =============== */
.card {
  box-shadow: 0 2px 12px rgba(0,49,71,0.09);
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(0,49,71,0.14);
  transform: translateY(-4px) scale(1.015);
}
.feature-grid > div:hover {
  background: #91B0AC;
  color: #fff;
  box-shadow: 0 4px 18px rgba(145,176,172,0.18);
}
.feature-grid > div:hover h3 {
  color: #fff;
}

/* =================== RESPONSIVE ======================= */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
  .footer-grid {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.13rem; }
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .footer-grid {
    flex-direction: column;
    gap: 24px;
  }
  .feature-grid, .card-container, .team-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 22px 3px;
  }
  .testimonial-card {
    padding: 16px 10px 14px 10px;
    font-size: 1rem;
  }
  .cookie-banner {
    padding: 15px 7px;
  }
  .cookie-modal {
    padding: 18px 8px 18px 8px;
  }
}

/* =================== TYPOGRAPHIC SCALE ================ */

/* Montserrat/Roboto font-face for robustness */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600:latin&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

html, body {
  font-family: 'Roboto', Arial, sans-serif;
}

/* =================== ACCESSIBILITY ==================== */
:focus {
  outline: 2px solid #91B0AC;
  outline-offset: 2px;
}

/* =================== UTILITIES ======================= */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}
.w-full {
  width: 100% !important;
}
.text-center {
  text-align: center;
}

/* =================== Z-INDEX LAYERS ================== */
header { z-index: 10; }
.cookie-banner { z-index: 1000; }
.cookie-modal-overlay { z-index: 2000; }
.mobile-menu { z-index: 500; }

/* =================== END ============================= */
