/* 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;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background-color: #1d2630;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #e4e7ea;
  background-color: #22313F;
  line-height: 1.66;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #F7C873;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.7,.2,.38,1);
}
a:hover, a:focus {
  color: #fff896;
  outline: none;
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: 'Playfair Display', 'Helvetica Neue', serif;
  font-size: 2.8rem;
  color: #fff;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: 'Playfair Display', 'Helvetica Neue', serif;
  font-size: 2rem;
  color: #F7C873;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}
h3, .h3 {
  font-size: 1.24rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #F7C873;
  font-weight: 700;
  margin-bottom: 10px;
}
.subheadline {
  color: #bff6fa;
  font-size: 1.11rem;
  font-weight: 400;
  margin-bottom: 22px;
  font-family: 'Roboto', Arial, sans-serif;
}
p, ul, li, a, strong, b {
  font-family: 'Roboto', Arial, sans-serif;
  color: #e4e7ea;
}
strong, b {
  font-weight: 700;
  color: #F7C873;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* HEADER & NAVIGATION */
header {
  background: linear-gradient(90deg, #25405A 0%, #122235 100%);
  box-shadow: 0 6px 36px 0 rgba(13,28,46,0.14);
  position: relative;
  z-index: 15;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 18px 20px;
  gap: 28px;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: #bff6fa;
  padding: 7px 10px;
  border-radius: 6px;
  position: relative;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a.active {
  background: #253957;
  color: #F7C873;
}
.cta-btn {
  background: #F7C873;
  color: #1b2836;
  font-weight: bold;
  border: none;
  border-radius: 100px;
  padding: 10px 28px;
  font-size: 1.09rem;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 18px 0 rgba(247,200,115,0.13);
  cursor: pointer;
  transition: background .18s, box-shadow .18s, color .18s;
  position: relative;
  z-index: 1;
  outline: none;
  margin-left: 18px;
  text-align: center;
  text-shadow: 0px 2px 9px #fff6, 0px 2px 5px #f7c87322;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #fffac1;
  color: #30536B;
  box-shadow: 0 4px 34px 0 #fffcb3a3;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #F7C873;
  font-size: 2rem;
  border: none;
  margin-left: 12px;
  cursor: pointer;
  z-index: 1002;
  outline: none;
  transition: color 0.16s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #19232c;
  box-shadow: 2px 0 18px 0 #000a;
  z-index: 1003;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform .4s cubic-bezier(.7,.2,.38,1);
  padding: 36px 30px 30px 30px;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #F7C873;
  font-size: 2.1rem;
  border: none;
  margin-bottom: 28px;
  cursor: pointer;
  transition: color 0.18s;
  outline: none;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 6px;
}
.mobile-nav a {
  color: #bff6fa;
  font-size: 1.16rem;
  font-weight: 500;
  padding: 10px 0;
  border-radius: 7px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a.active,
.mobile-nav a:focus {
  background: #23394e;
  color: #F7C873;
  outline: none;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 14px 10px 14px 10px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 4px;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* HERO, SECTIONS & LAYOUTS */
section {
  margin-bottom: 60px;
  border-radius: 30px;
  padding: 42px 0 36px 0;
  background: linear-gradient(85deg, #253957 0%, #163040 90%);
  box-shadow: 0 4px 37px 0 rgba(20,39,67,0.17);
}
section .container {
  gap: 0;
}
/* Special for About we let backgrounds flow through */
.text-section {
  background: none;
  box-shadow: none;
  border-radius: 0;
}

@media (max-width: 550px) {
  section {
    padding: 28px 0 20px 0;
    margin-bottom: 34px;
    border-radius: 14px;
  }
}

/* FLEXBOX mandatory patterns */
.card-container,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
.card {
  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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature Grid Styling */
.feature-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature {
  background: linear-gradient(120deg, #223851 80%, #2c4b70 100%);
  border: 2px solid #293e54;
  border-radius: 18px;
  box-shadow: 0 2.5px 22px 1px #20335937;
  padding: 26px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 221px;
  max-width: 330px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.feature img {
  height: 46px;
  width: 46px;
  margin-bottom: 12px;
}
.feature h3 {
  color: #F7C873;
}
.feature p {
  font-size: 1.01rem;
  color: #d9dde2;
  font-weight: 400;
}
.feature:hover,
.feature:focus-within {
  border-color: #F7C873;
  box-shadow: 0px 6px 40px 0 #f7c87333;
  transform: translateY(-6px) scale(1.037);
}

@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature {
    max-width: 100%;
    min-width: unset;
    width: 100%;
  }
}

/* CATEGORY LIST */
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}
.category-list li {
  background: #253651;
  color: #F7C873;
  border-radius: 45px;
  padding: 8px 24px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px 0 #1a2e4733;
  transition: background 0.14s, color 0.14s;
  margin-bottom: 5px;
}

/* TESTIMONIALS */
.testimonial-card {
  background: #F7C873;
  color: #193048;
  border-radius: 15px;
  box-shadow: 0 2px 14px 0 #f7c87355;
  margin-bottom: 20px;
  padding: 24px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  max-width: 400px;
  flex: 1 1 240px;
  gap: 10px;
  transition: box-shadow .17s, transform .16s;
}
.testimonial-card p {
  color: #2a3641;
  line-height: 1.6;
  font-size: 1.08rem;
  margin-bottom: 5px;
}
.testimonial-card strong {
  color: #253957;
  font-weight: bold;
  font-size: 0.98rem;
}
.testimonial-card:hover {
  box-shadow: 0 10px 46px 2px #fbdd88c7;
  transform: scale(1.033) translateY(-7px);
}

.content-wrapper > .testimonial-card {
  margin-bottom: 20px;
}
.content-wrapper {
  gap: 22px;
}
@media (min-width: 800px) {
  .content-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
  }
}

/* LINKS */
footer a, .footer-nav a {
  color: #bff6fa;
  font-size: 0.99rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  margin-right: 8px;
  padding: 2.5px 6px;
  border-radius: 5px;
  transition: color .17s, background .14s;
}
footer a:hover, .footer-nav a:hover, .footer-nav a.active {
  color: #fff;
  background: #233341;
}

/* FOOTER */
footer {
  background: linear-gradient(91deg, #25405A 0%, #122235 100%);
  box-shadow: 0 -3px 24px 0 #14263b22;
  padding: 38px 0 28px 0;
  margin-top: 24px;
}
footer .container {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-bottom: 8px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  height: 32px;
  width: auto;
}
.footer-brand p {
  color: #D7EFFF;
  font-size: 0.92rem;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-brand {
    margin-top: 18px;
  }
  .footer-nav {
    margin-bottom: 3px;
  }
}

/* CONTACT LISTS */
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.text-section ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  background: none;
  color: #bff6fa;
  font-size: 1.02rem;
  padding: 0;
}
.text-section ul li img {
  width: 22px;
  height: 22px;
  opacity: 0.84;
}

/* CALL TO ACTION STYLES */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border-radius: 100px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.035em;
  font-weight: 700;
  text-shadow: 0 2px 8px #fff2;
}
.cta-btn:active {
  filter: brightness(0.95);
  box-shadow: 0 0 6px 0 #f7c87380;
}

/* OL & UL ref */
ol {
  margin-left: 21px;
  color: #c0e3f9;
  margin-bottom: 11px;
}
ol li, ul li {
  font-size: 1.01rem;
  margin-bottom: 5px;
}

/* MICRO-ANIMATIONS & TRANSITIONS */
.feature, .cta-btn, .main-nav a, .feature img, .testimonial-card {
  transition: transform .14s cubic-bezier(.53,.16,.38,1), box-shadow .17s, background .17s, color .15s;
}

.feature img {
  filter: drop-shadow(0 4px 10px #F7C87311);
  transition: filter .13s;
}
.feature:hover img, .feature:focus-within img {
  filter: drop-shadow(0 6px 24px #F7C87399);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #233341;
  color: #F7C873;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 22px 14px 18px 16px;
  box-shadow: 0 -6px 32px 0 #000a;
  transition: transform .28s, opacity .18s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  color: #f6e5c1;
  font-size: 1.03rem;
  max-width: 440px;
  line-height: 1.5;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner button {
  padding: 8px 19px;
  border-radius: 30px;
  border: none;
  font-size: 1.01rem;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
  background: #F7C873;
  color: #22313F;
  transition: background .14s, color .14s, transform .1s;
}
.cookie-banner button.cookie-settings {
  background: none;
  color: #F7C873;
  border: 2px solid #F7C873;
}
.cookie-banner button:hover {
  background: #fffac1;
  color: #30536B;
  transform: translateY(-2px) scale(1.04);
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #233341cc;
  z-index: 2201;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .22s;
}
.cookie-modal {
  background: #233341;
  color: #F7C873;
  padding: 34px 24px 28px 24px;
  border-radius: 18px;
  box-shadow: 0 6px 38px 0 #000d;
  width: 94vw;
  max-width: 422px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  z-index: 2210;
}
.cookie-modal h3 {
  color: #F7C873;
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 9px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 9px;
}
.cookie-modal .cookie-category label {
  font-size: 1.02rem;
  color: #f6e5c1;
  margin-right: 10px;
  font-weight: 400;
}
.cookie-modal .toggle {
  width: 38px;
  height: 22px;
  border-radius: 30px;
  background: #223851;
  border: 2px solid #F7C873;
  position: relative;
  transition: background .22s;
  margin-left: 8px;
  cursor: pointer;
}
.cookie-modal .toggle input {
  opacity: 0;
  position: absolute;
  width: 38px;
  height: 22px;
  left: 0;
  top: 0;
  margin: 0;
  cursor: pointer;
}
.cookie-modal .toggle .slider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #F7C873;
  transition: left .17s, background .17s;
}
.cookie-modal .toggle input:checked + .slider {
  left: 19px;
  background: #bff6fa;
}
.cookie-modal .cookie-actions {
  margin-top: 13px;
  display: flex;
  flex-direction: row;
  gap: 13px;
  width: 100%;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 8px 17px;
  background: #F7C873;
  color: #233341;
  border-radius: 30px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background .17s, color .13s;
  margin: 0;
  cursor: pointer;
}
.cookie-modal button.cookie-cancel {
  background: none;
  color: #F7C873;
  border: 2px solid #F7C873;
}
.cookie-modal button:hover {
  background: #fffac1;
  color: #30536B;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: #F7C873;
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .modal-close:hover {
  color: #fffac1;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1100px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 900px) {
  .section, section {
    padding: 32px 0 20px 0;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .content-grid, .feature-grid, .card-container {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .testimonial-card, .feature {
    max-width: 100%;
    min-width: unset;
    width: 100%;
    flex: 1 0 100%;
  }
  section .container {
    padding: 0 6px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 20px;
    align-items: flex-start;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 0 3px;
  }
  .section, section {
    padding: 13px 0 9px 0;
    border-radius: 10px;
    margin-bottom: 26px;
  }
  h1, .h1 {
    font-size: 1.55rem;
  }
  h2, .h2 {
    font-size: 1.13rem;
  }
}

/* FOCUS & ACCESSIBILITY */
*:focus-visible {
  outline: 2px solid #F7C873;
  transition: outline-color 0.12s;
}

/* SHADOWS & HIERARCHY */
.feature, .testimonial-card, .cta-btn {
  box-shadow: 0 2px 22px 0 #30536B28;
}
.feature:hover, .testimonial-card:hover {
  box-shadow: 0 7px 44px 0 #F7C87344, 0 2px 14px 0 #30536B19;
}

/* CARD ELEMENTS: fallback */
.card {
  background: #22334a;
  border: 1px solid #233341;
  border-radius: 15px;
  box-shadow: 0 2px 14px 0 #19304833;
  padding: 20px;
  min-width: 220px;
  flex: 1 1 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* SCROLLBARS */
::-webkit-scrollbar {
  width: 12px;
  background: #192538;
}
::-webkit-scrollbar-thumb {
  background: #30536B;
  border-radius: 8px;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.feature, .testimonial-card, .card {
  animation: fadeInUp 0.7s cubic-bezier(.59,.15,.29,1) backwards;
}

/* SPECIAL ADDITIONS FOR CONSISTENCY */
main {
  min-height: 67vh;
}
hr {
  border: none;
  border-top: 1.5px solid #2d3950;
  margin: 18px 0;
}

/********** END OF CSS *********/
