/* =====================
   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;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #1d2f3a;
}
body {
  background: linear-gradient(135deg, #25485A 0%, #1d2f3a 90%) no-repeat;
  color: #F6F4F1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
a {
  color: #50e3c2;
  text-decoration: none;
  transition: color .2s cubic-bezier(.55,.05,.55,.95);
}
a:hover, a:focus {
  color: #46b7a7;
  text-shadow: 0 0 2px #56ffe5;
}
ul, ol {
  list-style: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* =====================
   TYPOGRAPHY
====================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Montserrat', serif;
  color: #fff;
  letter-spacing: 0.02em;
  font-weight: 700;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.14;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.14;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
p, li, blockquote {
  font-size: 1rem;
  color: #B2B7B1;
  font-family: 'Montserrat', Arial, sans-serif;
}
strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
}
blockquote {
  font-size: 1.18rem;
  color: #25485A;
  font-style: italic;
  background: #F6F4F1;
  border-left: 4px solid #50e3c2;
  padding: 16px 24px;
  margin-bottom: 12px;
  border-radius: 8px 16px 16px 8px;
  box-shadow: 0 2px 8px rgba(80,227,194,0.12);
}

/* =====================
   LAYOUTS — FLEXBOX ONLY
====================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #25485A;
  border-radius: 20px;
  box-shadow: 0 2px 32px 0 rgba(80, 227, 194, 0.1);
  transition: box-shadow .3s cubic-bezier(.32,3,.55,1);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px 24px;
}
.card:hover {
  box-shadow: 0 6px 32px 0 #50e3c244, 0 0 10px 0 #46b7a766;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.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: center;
  gap: 20px;
  padding: 20px;
  background: #F6F4F1;
  color: #1a2629;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 3px 18px 0 rgba(37,72,90,0.09);
  border: 1px solid #e3e5e8;
}
.testimonial-card strong, .testimonial-card p {
  color: #25485A !important;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features ul,
.services ul,
.about ul,
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 0 10px 0;
}
.features li,
.services li,
.about li,
.contact-details li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(37,72,90,0.09);
  border-radius: 12px;
  padding: 12px 18px;
}
.features li img,
.services li img,
.about li img,
.contact-details li img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px #50e3c266);
}
ol {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
ol li {
  list-style-position: inside;
  color: #B2B7B1;
}

/* =====================
   HERO SECTIONS
====================== */
.hero {
  position: relative;
  width: 100%;
  padding: 72px 0 72px 0;
  background: linear-gradient(120deg, #25485A 60%, #1d2f3a 100%);
  box-shadow: 0 4px 42px -8px #50e3c222;
}
.hero h1 {
  color: #fff;
  font-size: 2.3rem;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.hero p {
  color: #B2B7B1;
  font-size: 1.18rem;
  margin-bottom: 32px;
}

/* =====================
   CTA BUTTONS
====================== */
.cta-button {
  background: linear-gradient(90deg, #50e3c2 0%, #6ec1d6 100%);
  color: #25485A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  padding: 14px 34px;
  border-radius: 32px;
  box-shadow: 0 2px 22px 0 #50e3c233;
  border: none;
  outline: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: background .18s, color .11s, box-shadow .19s, transform .24s;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #56ffe5 20%, #50e3c2 80%);
  box-shadow: 0 6px 38px 0 #56ffe577, 0 0 16px #50e3c244 inset;
  color: #1d2f3a;
  transform: translateY(-2px) scale(1.032);
}

/* =====================
   HEADER & NAVIGATION
====================== */
header {
  background: rgba(29,47,58,0.97);
  box-shadow: 0 1.5px 24px -8px #50e3c212;
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px 16px;
}
header img {
  width: 140px;
  min-width: 80px;
  filter: drop-shadow(0 0 12px #50e3c233);
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  color: #F6F4F1;
  font-size: 1.05rem;
  padding: 9px 19px;
  border-radius: 8px;
  letter-spacing: 0.04em;
  font-weight: 500;
  transition: background .21s, color .15s, box-shadow .19s;
}
header nav a:hover, header nav a.active {
  background: #50e3c2;
  color: #25485A;
  box-shadow: 0 2px 14px #46b7a755;
}

/* HAMBURGER BUTTON */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  background: #25485A;
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: 0 2px 16px #50e3c233;
  border: none;
  z-index: 100;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  transition: box-shadow .16s, background .19s, transform .17s;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #50e3c2;
  color: #25485A;
  box-shadow: 0 6px 20px 0 #50e3c244;
  transform: scale(1.1);
}

/* MOBILE NAV MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 93vw;
  height: 100vh;
  background: linear-gradient(105deg, #25485A 70%, #1d2f3a 100%);
  box-shadow: -8px 0 32px #50e3c277;
  z-index: 160;
  transform: translateX(110%);
  transition: transform .37s cubic-bezier(.5,.2,0,1.01);
  display: flex;
  flex-direction: column;
  padding: 28px 24px 0 24px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: #50e3c2;
  color: #25485A;
  border-radius: 56px;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  width: 48px;
  height: 48px;
  z-index: 50;
  transition: background .13s, color .18s, box-shadow .21s;
  box-shadow: 0 2px 18px 0 #50e3c233;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #56ffe5;
  color: #1d2f3a;
  box-shadow: 0 4px 24px 0 #56ffe533;
}
.mobile-nav {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  color: #F6F4F1;
  font-size: 1.14rem;
  padding: 16px 10px 14px 10px;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background .19s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #50e3c2;
  color: #25485A;
}

/* Hide desktop nav for mobile; show burger */
@media (max-width: 992px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta-button {
    font-size: 1.00rem;
    padding: 12px 20px;
  }
  header .container {
    gap: 14px;
  }
}

/* =====================
   FOOTER
====================== */
footer {
  background: #1d2f3a;
  color: #B2B7B1;
  padding: 36px 0 20px 0;
  box-shadow: 0 -1.5px 20px -12px #25485A33;
  font-size: 1rem;
}
footer .container{
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
footer nav a {
  color: #B2B7B1;
  font-size: 1rem;
  transition: color .19s;
  font-weight: 500;
}
footer nav a:hover {
  color: #50e3c2;
  text-decoration: underline;
}
footer p {
  font-size: 0.97rem;
  color: #B2B7B1;
}

/* ===============================
   COOKIE CONSENT BANNER & MODAL
=============================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #25485A 80%, #0e1631 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  z-index: 220;
  padding: 28px 18px 22px 18px;
  box-shadow: 0 -2px 18px 0 #50e3c223;
  width: 100%;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  animation: cookie-banner-in .6s cubic-bezier(.22,1,.36,1) 1;
}
@keyframes cookie-banner-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-btn {
  padding: 11px 24px;
  border-radius: 32px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background .17s, color .13s, box-shadow .14s;
}
.cookie-accept {
  background: #50e3c2;
  color: #25485A;
  box-shadow: 0 2px 12px #46b7a733;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #56ffe5;
  color: #143335;
}
.cookie-settings {
  background: #25485A;
  color: #fff;
  border: 1.5px solid #46b7a7;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #1d2f3a;
  color: #56ffe5;
}
.cookie-reject {
  background: #F6F4F1;
  color: #25485A;
  border: 1.5px solid #B2B7B1;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #e3e5e8;
  color: #143335;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(29,47,58,0.88);
  z-index: 299;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fade-in .38s .0s 1;
}
@keyframes fade-in {
  from { opacity: 0; } 
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #25485A;
  border-radius: 18px;
  padding: 38px 24px 24px 24px;
  min-width: 300px;
  max-width: 94vw;
  width: 360px;
  box-shadow: 0 2px 38px 0 #25485A33;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 2rem;
  background: none;
  color: #25485A;
  border: none;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  width: 34px;
  height: 34px;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #25485A;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1rem;
  color: #25485A;
  font-weight: 500;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #B2B7B1;
  border-radius: 10px;
  position: relative;
  outline: none;
  transition: background .18s;
  margin-left: 10px;
}
.cookie-toggle:checked {
  background: #50e3c2;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 9px;
  top: 1px; left: 1px;
  background: #fff;
  box-shadow: 0 1px 5px #25485A33;
  transition: left .2s;
}
.cookie-toggle:checked:before {
  left: 19px;
}

/* ===========================
   RESPONSIVE — MOBILE FIRST
============================ */
@media only screen and (max-width: 768px) {
  .container {
    padding: 0 9px;
  }
  .section, .hero {
    padding: 32px 2vw;
  }
  .content-wrapper {
    gap: 18px;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  h2 { font-size: 1.25rem; }
  .cta-button { font-size: 0.99rem; padding: 12px 18px; }
  .features ul, .services ul, .about ul, .contact-details ul {
    gap: 14px;
  }
  .features li, .services li, .about li, .contact-details li {
    padding: 11px 9px;
    gap: 12px;
  }
  .testimonial-card, .card {
    padding: 18px 10px;
    font-size: 0.98rem;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    margin-bottom: 16px;
  }
  header .container {
    padding: 16px 6px;
  }
}

@media (max-width: 470px) {
  .cookie-modal {
    padding: 24px 6px;
    min-width: unset;
    width: 96vw;
  }
  .mobile-menu {
    width: 100vw;
    min-width: 0;
    padding-left: 6vw;
    padding-right: 3vw;
  }
}

/* =====================
   ADDITIONAL INTERACTIONS
====================== */
.card, .testimonial-card {
  transition: box-shadow 0.29s cubic-bezier(.33,.59,.35,1.13), transform 0.18s;
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 36px #50e3c267, 0 0 14px #25485A22 inset;
}
.cta-button:focus-visible {
  outline: 3px solid #50e3c2;
  outline-offset: 1px;
}
input:focus, select:focus, textarea:focus, button:focus {
  outline: 2px solid #50e3c2;
  outline-offset: 2px;
}

/* Spacing between sections for all pages */
section:not(:last-of-type) {
  margin-bottom: 60px;
}

/* General spacing for cards/sections */
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}

/* Ensure proper color for testimonials and reviews */
.testimonial-card {
  background: #F6F4F1;
  color: #1a2629;
  border: 1px solid #e3e5e8;
}
.testimonial-card blockquote {
  background: none;
  color: #25485A;
  border-left: 4px solid #50e3c2;
  margin-bottom: 4px;
}

/* Prevent element overlapping */
.card-container, .content-grid, .features ul, .services ul, .about ul, .contact-details ul {
  gap: 20px;
}

/* Z-index for mobile menu & cookie banner */
.mobile-menu { z-index: 160; }
.cookie-consent-banner { z-index: 220; }
.cookie-modal-overlay { z-index: 299; }

/* Hide mobile nav on desktop */
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* Misc. utility classes for spacing/alignment */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flex-col {
  display: flex;
  flex-direction: column;
}

/* Accessibility helpers for focus-visible */
:focus:not(:focus-visible) {
  outline: none;
}

/* =====================
   END OF STYLES
====================== */