/* Oceanic Resonance Minimalist CSS Theme */
/* 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, 
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #003049;
  -webkit-font-smoothing: antialiased;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}

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

a {
  color: #003049;
  text-decoration: none;
  transition: color 0.18s;
}
a:active, a:focus {
  outline: none;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  border: none;
  background: none;
  color: inherit;
}

/* TYPOGRAPHY */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #003049;
  letter-spacing: -0.5px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #003049;
  letter-spacing: -0.5px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #003049;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #003049;
  margin-bottom: 8px;
}

p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #003049;
  font-weight: 400;
}
strong {
  font-weight: 600;
  color: #003049;
}
blockquote {
  color: #003049;
  font-size: 1.07rem;
  font-style: italic;
  border-left: 3px solid #80C1D7;
  margin-bottom: 8px;
  padding-left: 18px;
  background: #F5F3F2;
}

small {
  font-size: 0.87rem;
  color: #8391a2;
}

/* CONTAINER / LAYOUT */
.container {
  width: 100%;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 900px) {
  .content-wrapper {
    gap: 24px;
  }
}

/* SPACING SECTIONS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(40,60,70,0.05);
}

/* CARDS, GRIDS, FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(40,60,70,0.06);
  padding: 28px 22px;
  transition: box-shadow 0.17s;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  min-width: 220px;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 16px rgba(40,60,70,0.10);
}

.content-grid, .feature-grid, .service-cards {
  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: #F5F3F2;
  border-radius: 14px;
  box-shadow: 0 1px 5px rgba(40,60,70,0.06);
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
  flex: 1 1 260px;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(40,60,70,0.12);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .content-grid, .feature-grid, .service-cards {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 38px;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* MAIN NAVIGATION */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e0e4e8;
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1024px;
  margin: 0 auto;
  padding: 16px 16px 12px;
}
.main-nav a img {
  height: 38px;
  width: auto;
  margin-right: 12px;
  vertical-align: middle;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #003049;
  padding: 6px 0;
  font-weight: 500;
  position: relative;
  transition: color 0.17s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  color: #80C1D7;
}

.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #003049;
  color: #fff;
  border-radius: 42px;
  padding: 12px 28px;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 6px rgba(0,48,73,0.05);
  margin-left: 18px;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #80C1D7;
  color: #003049;
  box-shadow: 0 4px 16px rgba(0,48,73,0.10);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #003049;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  border: none;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  z-index: 120;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #80C1D7;
  color: #003049;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 200;
  padding: 36px 20px 20px 28px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.86,0,.07,1);
  box-shadow: 0 4px 32px rgba(0,48,73,0.12);
  width: 100vw;
  height: 100vh;
  /* Hidden by default, shown with .open */
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: #80C1D7;
  color: #003049;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-self: flex-end;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #003049;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  color: #003049;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 6px;
  transition: background 0.13s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5F3F2;
  color: #80C1D7;
}

@media (max-width: 1023px) {
  .main-nav ul {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

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

/* TABLES */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(60, 70, 80, 0.05);
  margin-bottom: 20px;
  overflow: hidden;
  font-size: 1rem;
}
thead {
  background: #F5F3F2;
}
thead th {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 10px 14px 12px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
tbody td {
  padding: 12px 10px 12px 12px;
  color: #003049;
  border-top: 1px solid #e0e4e8;
}
table tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #e0e4e8;
  padding: 38px 0 24px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  margin-bottom: 12px;
}
.footer-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #003049;
  font-size: 1rem;
  opacity: 0.80;
  transition: opacity 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #80C1D7;
  opacity: 1;
}
.footer-contact p {
  color: #003049;
  font-size: 1rem;
  margin-bottom: 6px;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 14px;
  }
}
footer small {
  margin-top: 10px;
  display: block;
  color: #8391a2;
}

/* TESTIMONIAL SLIDER */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
}
.testimonial-card footer {
  margin-top: 4px;
  font-size: 1rem;
  color: #003049;
  font-style: normal;
}

/* BUTTONS & INTERACTIVE */
button, .cta-btn {
  cursor: pointer;
  outline: none;
}
button:active, .cta-btn:active {
  outline: none;
}

/* GENERIC ELEMENTS */
.feature-grid > div, .service-cards > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 7px rgba(40,60,70,0.04);
  padding: 22px 18px;
  flex: 1 1 220px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.13s;
}
.feature-grid > div:hover, .service-cards > div:hover {
  box-shadow: 0 4px 16px rgba(40,60,70,0.07);
}
.feature-grid img, .service-cards img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

/* LISTS & UL, OL */
ul, ol {
  margin-bottom: 14px;
  padding-left: 22px;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 7px;
  line-height: 1.7;
}
ul li strong, ol li strong {
  color: #003049;
}
ol {
  list-style-type: decimal;
}
ul {
  list-style-type: disc;
}

/* RESPONSIVE FONT SCALE */
@media (max-width: 500px) {
  h1 { font-size: 1.44rem; }
  h2 { font-size: 1.16rem; }
  h3 { font-size: 1rem; }
  p, ul, ol, table, .footer-contact p {
    font-size: 0.97rem;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 9000;
  background: #fff;
  color: #003049;
  border-top: 1px solid #e0e4e8;
  box-shadow: 0 -2px 12px rgba(0,48,73,0.06);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.35s cubic-bezier(.59,.07,.27,1);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  color: #003049;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  background: #80C1D7;
  color: #003049;
  border-radius: 32px;
  font-size: 1rem;
  padding: 10px 23px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn.accept {
  background: #003049;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #003049;
  color: #fff;
}
.cookie-btn.settings {
  background: #F5F3F2;
  color: #003049;
  border: 1px solid #003049;
  transition: background 0.16s, color 0.16s;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #80C1D7;
  color: #003049;
}

/* COOKIE BANNER MODAL */
.cookie-modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,48,73,0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s cubic-bezier(.57,.33,.21,.85);
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: #003049;
  border-radius: 22px;
  box-shadow: 0 4px 32px rgba(0,48,73,0.17);
  padding: 36px 26px 26px;
  min-width: 320px;
  max-width: 95vw;
  max-height: 91vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn .28s cubic-bezier(.19,.92,.45,1);
}
@keyframes cookieModalIn {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-modal-header h3 {
  margin: 0;
  font-size: 1.22rem;
}
.cookie-modal-close {
  background: #80C1D7;
  color: #003049;
  border: none;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  transition: background 0.13s, color 0.13s;
  display: flex;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #003049;
  color: #fff;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-toggle input[type="checkbox"] {
  accent-color: #003049;
  width: 20px;
  height: 20px;
  margin: 0 4px 0 0;
}
.cookie-toggle.essential {
  opacity: 0.7;
}
.cookie-toggle .lock {
  color: #80C1D7;
  font-size: 1em;
  margin-left: 2px;
  vertical-align: middle;
}

.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 10px;
}

/* SUBTLE ANIMATIONS AND MICRO-INTERACTIONS */
.cta-btn, .cookie-btn, .mobile-menu-close, .mobile-menu-toggle, .card, .feature-grid > div, .service-cards > div {
  transition: box-shadow 0.16s, background 0.16s, color 0.16s, transform 0.12s;
}
.card:active, .cta-btn:active, .cookie-btn:active {
  transform: translateY(2px) scale(0.98);
}
.service-cards > div:active, .feature-grid > div:active {
  transform: scale(0.993);
}

/* ACCESSIBILITY */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid #80C1D7;
  outline-offset: 3px;
}

/* Z-INDEX UTILITY */
.mobile-menu {
  z-index: 200;
}
.cookie-modal {
  z-index: 9999;
}
.cookie-banner {
  z-index: 9000;
}

/* MISCELLANEOUS */
::-webkit-scrollbar {
  width: 10px;
  background: #F5F3F2;
  border-radius: 14px;
}
::-webkit-scrollbar-thumb {
  background: #80C1D7;
  border-radius: 14px;
}

/* Prevent card/image overflow */
.card, .feature-grid > div, .service-cards > div, .testimonial-card {
  overflow: hidden;
}

/* Hide on print */
@media print {
  .main-nav, header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}
