/* RESET & BASELINE ---------------------------- */
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 {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #102637;
  color: #f7fafc;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: linear-gradient(120deg, #102637 40%, #23506e 100%);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #f8d678;
  text-decoration: none;
  transition: color 0.20s;
}
a:hover, a:focus {
  color: #fff;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* FONT IMPORTS ------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* CONTAINER & PAGE SECTIONS ----------------- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  background: rgba(21,37,50,0.36);
  box-shadow: 0 4px 32px 0 rgba(35,80,110,0.08), 0 1.5px 32px 0 rgba(248,214,120,0.04);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* TYPOGRAPHY ------------------------------- */
h1, .hero h1,.about h1,.section h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: #f8d678;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-shadow: 0 2px 32px #fffae1, 0 0 6px #23506e;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px #23506e34, 0 0 1px #f8d67860;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #f8d678;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.hero .tagline {
  font-weight: 500;
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 22px;
  text-shadow: 0 1px 8px #f8d67811;
}
p, ul li, ol li, .testimonial-card p {
  font-size: 1.08rem;
  color: #f7fafc;
}
strong {
  color: #f8d678;
  font-weight: 700;
}

/* BUTTONS & CTAS --------------------------- */
.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  font-size: 1.11rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 26px;
  border: none;
  background: #102637;
  color: #f8d678;
  box-shadow: 0 2px 24px #0e1016cc;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.23s, transform 0.22s;
  outline: none;
  margin: 0 8px 12px 0;
}
.cta:hover, .cta:focus {
  background: #23506e;
  color: #fff;
  box-shadow: 0 4px 32px #f8d67880,0 0 8px #23506e;
  transform: translateY(-1px) scale(1.04);
}
.cta.primary {
  background: #f8d678;
  color: #23506e;
  box-shadow: 0 2px 32px #f8d67833, 0 4px 32px #0e1016cc;
}
.cta.primary:hover, .cta.primary:focus {
  background: #fff7c6;
  color: #23506e;
  box-shadow: 0 6px 36px #f8d678a0,0 0 10px #23506e;
}
button:active {
  transform: scale(0.96);
}

/* HEADER & NAVIGATION ---------------------- */
header {
  width: 100%;
  background: #102637cc;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 9993;
  padding: 0 0 0 0;
  min-height: 72px;
  box-shadow: 0 1px 24px 0 #0b1923cc;
}
header .logo {
  display: flex;
  align-items: center;
  height: 60px;
  margin-right: 16px;
}
header .logo img {
  height: 48px;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #f7fafc;
  padding: 6px 13px;
  border-radius: 16px;
  transition: background 0.15s, color 0.18s;
  position: relative;
}
nav a.cta.primary {
  background: #f8d678;
  color: #23506e;
  font-weight: 800;
  margin-left: 9px;
  border: none;
}
nav a:hover, nav a:focus {
  background: #23506e;
  color: #f8d678;
}

/* HERO SECTION ----------------------------- */
.hero {
  min-height: 340px;
  margin-bottom: 52px;
  padding: 52px 0 65px 0;
  background: linear-gradient(100deg, #23506e 65%, #102637 100%);
  border-radius: 0 0 44px 44px;
  box-shadow: 0 12px 42px 8px #06263c18;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero h1 {
  margin-top: 18px;
  margin-bottom: 8px;
}

/* MAIN - SECTION & FLEX WRAPPERS ----------- */
.features, .services, .about, .contact, .testimonials, .legal, .legal-gdpr, .legal-cookie, .legal-terms, .thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 16px;
  background: rgba(21,37,50,0.44);
  box-shadow: 0 4px 32px 0 rgba(35,80,110,0.12), 0 2px 16px 0 rgba(248,214,120,0.08);
}

.testimonials {
  margin-bottom: 60px;
  background: #fffbe8;
  box-shadow: 0 4px 32px #f8d67826, 0 0 2px #23506e1a;
  border-radius: 18px;
}
.testimonials h2 {
  color: #23506e;
  text-shadow: none;
}

/* TESTIMONIAL CARDS ------------------------ */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px 18px 24px;
  background: #fff;
  color: #1c2230;
  border-radius: 13px;
  margin-bottom: 20px;
  box-shadow: 0 2px 24px #23506e0d, 0 0 2px #f8d67833;
  transition: box-shadow 0.18s, transform 0.18s;
  min-width: 220px;
  max-width: 580px;
}
.testimonial-card span {
  color: #23506e;
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
}
.testimonial-card p {
  color: #1c2230;
  font-size: 1.08rem;
  line-height: 1.5;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 32px 0 #f8d67880, 0 0 4px #23506e68;
  transform: translateY(-3px) scale(1.005);
}

/* FLEX LAYOUTS from MANDATORY PATTERNS ----- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(35,80,110,0.08), 0 1.5px 22px 0 rgba(248,214,120,0.08);
  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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.categories, .category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.category-grid > div {
  background: #102637;
  color: #f8d678;
  border: 2px solid #23506e;
  border-radius: 14px;
  padding: 20px 27px;
  flex: 1 1 210px;
  min-width: 165px;
  max-width: 350px;
  box-shadow: 0 2px 24px #23506e1a, 0 0 4px #f8d67832;
  margin-bottom: 22px;
  transition: box-shadow 0.21s, transform 0.18s;
}
.category-grid > div:hover, .category-grid > div:focus {
  box-shadow: 0 4px 32px #f8d6784f, 0 0 14px #23506e92;
  transform: translateY(-2px) scale(1.02);
}

/* LISTS, FORMS, ETC. ----------------------- */
ul, ol {
  margin-left: 28px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
ul li, ol li {
  padding-left: 4px;
  color: #f7fafc;
  font-size: 1.08rem;
}
.features ul li, .feature-item li {
  color: #f8d678;
}
ul li strong {
  color: #f8d678;
}

input[type="text"], input[type="email"], select {
  border: 1.5px solid #23506e;
  border-radius: 7px;
  padding: 11px 13px;
  background: #152532;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
  margin-right: 8px;
  transition: border 0.16s, box-shadow 0.14s;
  outline: none;
}
input:focus, select:focus {
  border-color: #f8d678;
  box-shadow: 0 0 8px #f8d67873;
}

/* SEARCH-FILTER ---------------------------------- */
.search-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
  align-items: center;
  background: #152532dd;
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 #23506e18;
}
.search-filter input[type="text"] {
  flex: 1 1 180px;
  min-width: 80px;
  background: #fff;
  color: #23506e;
  border: 1.5px solid #f8d678;
}
.search-filter select {
  flex: 1 1 120px;
  min-width: 70px;
  background: #fffbe8;
  color: #1c2230;
  border: 1.1px solid #f8d678;
}

/* FOOTER ------------------------------------ */
footer {
  background: linear-gradient(90deg, #152532 55%, #23506e 100%);
  color: #f8d678;
  padding: 36px 0 24px 0;
  border-radius: 38px 38px 0 0;
  box-shadow: 0 -2px 38px #23506e11, 0 -1px 8px #f8d67811;
  position: relative;
  margin-top: 64px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-menu a {
  color: #f8d678;
  opacity: .93;
  padding: 7px 12px;
  border-radius: 14px;
  transition: background 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #f8d678;
  color: #23506e;
}
.newsletter-signup {
  text-align: center;
  margin-bottom: 22px;
}
.newsletter-signup p {
  font-size: 1.08rem;
  color: #fff;
}
.newsletter-signup input {
  margin-right: 10px;
}
.newsletter-signup button[type='submit'] {
  background: #f8d678;
  color: #23506e;
  border: none;
  padding: 10px 26px;
  border-radius: 22px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-top: 10px;
  cursor: pointer;
  box-shadow: 0 2px 16px #23506e15;
  transition: background 0.16s, color 0.16s;
}
.newsletter-signup button[type='submit']:hover {
  background: #fff7c6;
  color: #23506e;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}
.social-links span {
  color: #cfc092;
  margin-right: 7px;
  font-weight: 600;
  font-size: 1rem;
}
.social-links a img {
  height: 29px;
  width: 29px;
  filter: drop-shadow(0 0 2px #f8d67899);
  transition: filter 0.22s;
}
.social-links a:hover img {
  filter: drop-shadow(0 0 8px #f8d678) brightness(1.2);
}

/* MOBILE MENU ------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #f8d678;
  font-size: 2.2rem;
  border: none;
  outline: none;
  margin-left: auto;
  margin-right: 6px;
  z-index: 10500;
  cursor: pointer;
  transition: color 0.18s, transform 0.14s;
}
.mobile-menu-toggle:active {
  color: #fff;
  transform: scale(0.88);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 87vw;
  max-width: 355px;
  background: #102637;
  box-shadow: 6px 0 42px #23506e22;
  z-index: 10512;
  transform: translateX(-105%);
  transition: transform 0.38s cubic-bezier(.9,0,.3,1.3);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: #f8d678;
  font-size: 2rem;
  border: none;
  outline: none;
  padding: 20px 22px 10px 0;
  cursor: pointer;
  transition: color 0.19s, transform 0.17s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0 0 16px;
  width: 100%;
}
.mobile-nav a {
  color: #f8d678;
  background: transparent;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  border-radius: 16px;
  padding: 9px 15px;
  transition: background 0.15s, color 0.22s;
  width: fit-content;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f8d678;
  color: #23506e;
}

/* Show/hide main nav on mobile */
@media (max-width: 1060px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width:1061px) {
  .mobile-menu {
    display:none!important;
  }
}
/* Block scrolling when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* COOKIE BANNER & MODAL --------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 21800;
  background: #102637ee;
  color: #f8d678;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -2px 32px #23506e30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 26px 28px 31px;
  min-height: 70px;
  font-size: 1rem;
  animation: cookie-banner-in 0.55s;
}
@keyframes cookie-banner-in {
  0% { transform: translateY(100px); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.19s, box-shadow 0.20s;
}
.cookie-banner .accept {
  background: #f8d678;
  color: #23506e;
  font-weight: 700;
}
.cookie-banner .accept:hover {
  background: #fff7c6;
  color: #23506e;
}
.cookie-banner .reject {
  background: #152532;
  color: #f8d678;
}
.cookie-banner .reject:hover {
  background: #23506e;
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  color: #f8d678;
  border: 1.5px solid #f8d678;
}
.cookie-banner .settings:hover {
  background: #f8d678;
  color: #23506e;
}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 21850;
  background: rgba(16,38,55,0.74);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.37s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fffbe8;
  padding: 38px 30px 28px 30px;
  border-radius: 24px;
  box-shadow: 0 8px 44px #23506e38;
  min-width: 320px;
  max-width: 95vw;
  color: #23506e;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
  animation: popup-up 0.38s;
}
@keyframes popup-up {
  0% { transform: translateY(80px) scale(0.95); opacity:0.2; }
  100% { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal h3 {
  color: #23506e;
  font-weight: 700;
  font-size: 1.38rem;
  margin-bottom: 12px;
}
.cookie-modal label {
  font-size: 1.09rem;
  color: #102637;
  font-weight: 600;
  margin-right: 18px;
}
.cookie-modal input[type=checkbox] {
  accent-color: #23506e;
  transform: scale(1.12);
  margin-right: 7px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 24px;
  border-radius: 18px;
  font-size: 1rem;
  border: none;
  background: #f8d678;
  color: #23506e;
  font-weight: 700;
  cursor: pointer;
  margin-right: 10px;
  transition: background 0.15s, color 0.19s;
}
.cookie-modal button.secondary {
  background: #fff;
  color: #23506e;
  border: 1.1px solid #23506e55;
}
.cookie-modal button.secondary:hover {
  background: #23506e;
  color: #fffbe8;
}
.cookie-modal button:not(.secondary):hover {
  background: #fff7c6;
  color: #23506e;
}

/* RESPONSIVE DESIGN ------------------------ */
@media (max-width: 900px) {
  .container { padding: 0 8px; }
  .card-container, .content-grid, .categories, .category-grid {
    gap: 14px !important;
  }
  .section, .features, .about, .services, .contact, .legal {
    padding: 25px 8px;
  }
}
@media (max-width: 768px) {
  .content-grid, .categories, .category-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .content-wrapper {
    padding: 0 0 0 0;
  }
  .section, .features, .about, .services, .contact, .testimonials, .legal {
    border-radius: 16px;
    margin-bottom: 36px;
    padding: 24px 6px;
  }
  .testimonial-card, .category-grid > div {
    width: 100%;
    min-width: unset;
    max-width: 99vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .hero {
    min-height: 0;
    border-radius: 0 0 28px 28px;
    padding: 22px 0 37px 0;
  }
  footer {
    border-radius: 22px 22px 0 0;
    padding: 18px 0 12px 0;
  }
}
@media (max-width: 640px) {
  h1, .section h1, .about h1, .hero h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  .section, .features, .about, .services, .testimonials, .legal {
    padding: 14px 1px;
    border-radius: 9px;
    margin-bottom: 18px;
  }
  .testimonials { border-radius: 9px; padding: 0 3px 6px 3px; }
}

/* Animations & Micro-interactions ----------- */
.cta, .card, .testimonial-card, .category-grid > div {
  transition: box-shadow 0.18s, transform 0.22s, background 0.12s, color 0.14s;
}
.cta:active, .category-grid > div:active, .testimonial-card:active {
  transform: scale(0.97)
}

/* Misc Utility Styles ----------------------- */
span.price, h3 span {
  color: #f8d678;
  font-size: 1.05em;
  margin-left: 8px;
  font-weight: 600;
}

.thank-you .confirmation {
  font-size: 1.18rem;
  font-weight: 600;
  color: #f8d678;
  margin-bottom: 11px;
}

/* Ensure proper contrast in testimonials/review cards (dark text, light bg!) */
.testimonials, .testimonial-card {
  color: #1c2230;
  background: #fffbe8;
}
.testimonial-card p, .testimonial-card span {
  color: #1c2230 !important;
}

/* FORM BUTTONS and inputs on color backgrounds */
form button[type='submit'] {
  margin-top: 6px;
  margin-bottom: 3px;
  box-shadow: 0 2px 16px #23506e15;
}

/* Accessibility: Outline for keyboard nav --- */
a:focus, button:focus{
  outline: 2px solid #f8d678;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #23506e44;
}

/* Hide elements visually (for modals, banners) */
[aria-hidden="true"], .hidden { display: none !important; }

/* Prevent content overlap globally */
main, section, .container, .content-wrapper, .card, .testimonial-card, .card-container, .features, .about, .services {
  min-width: 0;
  word-break: break-word;
}

/* Spacing between content sections/cards ----- */
.section + .section, section + section, .features + .features, .testimonials + .section, .testimonials + .features, .content-wrapper > * + * {
  margin-top: 28px;
}
.card + .card, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* Neon/Tech Futuristic accents */
h1, h2, h3, .cta, .category-grid > div, .feature-item, .mobile-menu, nav a, .mobile-nav a {
  text-shadow: 0 0 8px #f8d67840, 0 0 2px #0ff7ea2f;
}
.category-grid > div, .cta {
  box-shadow: 0 0 16px 0 #f8d67833, 0 5px 30px 0 #1026372e;
}

/* END OF CSS */
