/* ========================
  RESET & BASE STYLES
======================== */
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;
  background: #214253;
  color: #F6F3EE;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #DCB87A;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ========================
  BRAND VARIABLES (FALLBACKS)
======================== */
:root {
  --color-primary: #214253;
  --color-secondary: #F6F3EE;
  --color-accent: #DCB87A;
  --color-dark: #1a2832;
  --color-neon: #00ffd0;
  --color-neon-pink: #f81fff;
  --color-light: #ffffff;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-medium:0 4px 24px rgba(0, 36, 82, 0.13);
  --shadow-hero: 0 4px 48px 0 #1e2b41ef;
}

/* =====================
  TYPOGRAPHY
==================== */
html {
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--color-primary);
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 12px;
  line-height: 1.15;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
}
p, li, blockquote {
  color: var(--color-secondary);
  line-height: 1.7;
  font-size: 1.1rem;
}
blockquote {
  background: rgba(250,250,255,0.05);
  border-left: 4px solid var(--color-accent);
  padding: 12px 24px;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--color-light);
  border-radius: var(--radius-md);
}
strong {
  color: var(--color-accent);
}

/* =====================
  CONTAINER & LAYOUT
==================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.features,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #2d5873;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  margin-bottom: 20px;
  padding: 28px 30px 24px 30px;
  position: relative;
  flex: 1 1 320px;
  min-width: 260px;
  transition: box-shadow 0.25s, transform 0.22s;
  border: 1.5px solid rgba(220, 184, 122, 0.09);
}
.card:hover,
.feature-item:hover {
  box-shadow: 0 8px 32px 0 #00ffd06e, 0 1.5px 0 0 #DCB87A;
  transform: translateY(-6px) scale(1.025);
  z-index: 3;
}

/* ===========================
  FEATURE / INFO SECTION ITEMS
============================ */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: rgba(17, 48, 80, 0.55);
  border-radius: var(--radius-md);
  border: 1px solid rgba(220,184,122,0.18);
  padding: 24px 20px;
  min-width: 210px;
  flex: 1 1 260px;
  box-shadow: 0 4px 18px 0 rgba(0,36,82,.10);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.24s, border 0.23s;
}
.feature-item img {
  height: 40px;
  width: 40px;
  filter: drop-shadow(0 0 6px #8befff60);
}

/* Icons in text */
.text-section img {
  height: 24px;
  width: 24px;
  vertical-align: text-bottom;
  margin-right: 6px;
  filter: drop-shadow(0 0 3px #1e2b4160);
}

/* ===========================
  HERO SECTION
=========================== */
.hero {
  background: linear-gradient(120deg, #214253 70%, #163041 100%);
  padding: 48px 0 42px 0;
  box-shadow: var(--shadow-hero);
  border-bottom: 2px solid rgba(220,184,122,0.10);
}
.hero .container {
  align-items: center;
}
.hero h1 {
  color: #F6F3EE;
  text-shadow: 0 2px 8px #1a2832a2;
  font-size: 2.6rem;
  letter-spacing: 0.01em;
}
.hero p {
  color: #cbe7f4;
  max-width: 600px;
  font-size: 1.18rem;
}
.hero .cta {
  margin-top: 28px;
}

/* ===========================
  BUTTONS & LINKS
=========================== */
.cta,
button.cta,
input[type=submit].cta {
  font-family: var(--font-display);
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.15rem;
  border: 0;
  border-radius: 30px;
  letter-spacing: 0.02em;
  padding: 13px 36px;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 4px 18px 0 #DCB87A50;
  transition: background 0.18s, box-shadow 0.23s, color 0.18s, transform 0.18s;
  text-shadow: 0 1px 0 #fff5;
  position: relative;
  z-index: 2;
}
.cta:hover,
.cta:focus,
button.cta:hover {
  background: #ffd631;
  color: #0a273f;
  box-shadow: 0 0 0 2px var(--color-neon), 0 2px 16px 0 var(--color-neon-pink);
  transform: scale(1.04);
  outline: none;
}
a.cta:active {  
  background: #e2b13d;
}

nav a {
  color: #F6F3EE;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .03em;
  border-radius: 10px;
  transition: color 0.15s, background 0.16s;
}
nav a:hover,
nav a:focus {
  color: var(--color-accent);
  background: rgba(220,184,122,0.12);
}

nav a.cta {
  margin-left: 22px;
  padding: 9px 32px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 1.07rem;
  box-shadow: 0 2px 12px 0 #DCB87A22;
}
nav a.cta:hover { 
  background: #ffd360;
  color: #102030;
}

/* ===========================
  HEADER & NAVIGATION
=========================== */
header {
  background: #214253;
  box-shadow: 0 2px 8px 0 rgba(25,51,82,0.06);
  border-bottom: 2px solid rgba(220,184,122,0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding:18px 20px 18px 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
header img {
  height: 46px;
}
.mobile-menu-toggle {
  background: none;
  color: #F6F3EE;
  font-size: 2rem;
  line-height: 1;
  border-radius: 10px;
  padding: 6px 16px;
  margin-left: 20px;
  box-shadow: 0 2px 8px 0 #DCB87A22;
  border: 2px solid transparent;
  display: none;
  z-index: 40;
  transition: background 0.16s, color 0.18s, border 0.17s, box-shadow 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--color-accent);
  background: #2d5873;
  border: 2px solid var(--color-accent);
}

/* ===========================
  MOBILE MENU OVERLAY
=========================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(15,36,42,0.96);
  backdrop-filter: blur(8px);
  z-index: 222;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.74,.02,.56,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-accent);
  font-size: 2.2rem;
  border-radius: 10px;
  padding: 7px 19px;
  position: absolute;
  right: 20px;
  top: 25px;
  z-index: 5;
  border: none;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 2px 12px 0 #DCB87A40;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--color-neon);
  background: #153042;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: flex-start;
  margin-top: 80px;
  margin-left: 42px;
  width: 100%;
}
.mobile-nav a {
  color: #F6F3EE;
  font-size: 1.25rem;
  padding: 12px 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 8px;
  transition: color 0.2s, background 0.19s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #234056;
  color: var(--color-accent);
}

@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 12px;
  }
  header nav {
    gap: 2px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}

/* ===========================
  SECTIONS & CARDS
=========================== */
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: transparent;
}
main > section:last-child  {
  margin-bottom: 40px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
/* Card specifics */
.card {
  background: rgba(20,45,70,0.98);
}

/* ===========================
  TESTIMONIALS & REVIEWS
=========================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-secondary);
  border-radius: 14px;
  box-shadow: 0 4px 18px 0 rgba(0,36,82,.11);
  color: #172534;
  font-size: 1.13rem;
  margin-bottom: 24px;
  position: relative;
  border: 1.2px solid #f2eddc;
  flex: 1 1 360px;
  min-width: 260px;
  transition: filter 0.18s, transform 0.20s;
}
.testimonial-card:hover {
  filter: brightness(1.06);
  transform: scale(1.027);
  box-shadow: 0 8px 30px 0 #DCB87A34;
  z-index: 3;
}
.testimonial-card blockquote {
  color: #172534;
  border-left: 4px solid var(--color-accent);
  background: none;
  margin-bottom: 0;
  font-size: 1.08rem;
  padding-left: 14px;
}
.testimonial-meta {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  padding-left: 12px;
}
.testimonial-card img {
  height: 22px;
  width: 22px;
  filter: drop-shadow(0 0 2px #E2B13D66) drop-shadow(0 0 5px #00ffd055);
}

/* Make testimonials readable on both dark and light backgrounds */
@media (prefers-color-scheme: dark) {
  .testimonial-card {
    background: #F6F3EE;
    color: #172534;
  }
}

/* ===========================
  UL & LI
=========================== */
ul, ol {
  margin-left: 28px;
  margin-bottom: 12px;
}
li {
  margin-bottom: 7px;
  position: relative;
}
ul li::before {
  content: "\2022 ";
  color: var(--color-accent);
  font-weight: bold;
  font-size: 1em;
  position: absolute;
  left: -18px;
}

/* ===========================
  FOOTER
=========================== */
footer {
  background: #1a2832;
  padding: 48px 0 20px 0;
  color: #e5e8ef;
  border-top: 2.5px solid #DCB87A33;
  box-shadow: 0 -2px 10px 0 #1e2b41af;
  margin-top: 30px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 28px 0 16px 0;
}
footer img {
  height: 40px;
  width: auto;
}
footer a {
  color: #e7e6e2;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 6px;
  transition: color .16s, background .16s;
}
footer a:hover,footer a:focus {
  color: var(--color-accent);
  background: #21425366;
}
footer .disclaimer {
  font-size: 0.95rem;
  color: #7b8188;
  margin-top: 10px;
  text-align: center;
}

/* ===========================
  COOKIE CONSENT BANNER
=========================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #263746f0;
  color: #fff;
  z-index: 2222;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 22px 16px 22px 20px;
  box-shadow: 0 -2px 24px 0 #DCB87A66;
  font-size: 1.04rem;
  animation: cookie-slide-in 0.9s cubic-bezier(.66,-0.12,.48,1.16);
}
@keyframes cookie-slide-in {
  from { transform: translateY(140%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner button,
.cookie-banner .cookie-btn {
  border: none;
  border-radius: 16px;
  padding: 8px 26px;
  font-size: 1rem;
  margin-left: 7px;
  margin-top: 6px;
  font-weight: 700;
  background: var(--color-accent);
  color: #214253;
  box-shadow: 0 3px 12px 0 #DCB87A32;
  cursor: pointer;
  transition: background .16s, color .17s, transform .17s;
}
.cookie-banner .cookie-settings {
  background: var(--color-primary);
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
  margin-right: 7px;
}
.cookie-banner button:hover,
.cookie-banner .cookie-btn:hover{
  background: #ffd260;
  color: #183447;
  transform: scale(1.05);
}
.cookie-banner .cookie-settings:hover {
  background: var(--color-accent);
  color: #214253;
}

/* Cookie Consent Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width:100vw; height: 100vh;
  background: rgba(22,36,70,0.88);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-in 0.8s cubic-bezier(.66,-0.12,.48,1.16);
}
@keyframes cookie-modal-in {
  from{opacity:0;transform:scale(0.9);}
  to{opacity:1;transform:scale(1);}
}
.cookie-modal {
  background: #1a2832;
  color: #F6F3EE;
  border-radius: 18px;
  padding: 36px 28px 36px 28px;
  max-width: 420px;
  min-width: 270px;
  box-shadow: 0 5px 44px 0 #00ffd033;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 2;
}
.cookie-modal h2 {
  color: var(--color-accent);
  font-size: 1.4rem;
}
.cookie-modal label {
  font-size: 1.05rem;
  display: block;
  margin-bottom: 7px;
  padding-left: 4px;
}
.cookie-modal .toggle {
  margin-right: 7px;
}

.cookie-modal .cookie-category {
  background: #263746;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 13px; right: 18px;
  background: none;
  color: var(--color-accent);
  font-size: 1.4rem;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: 3px 10px;
  transition: background 0.15s;
}
.cookie-modal .cookie-close:hover {
  background: #153042;
}

/* ===========================
  FLEXBOX SPACING & ALIGNMENT
=========================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
}

/* ===========================
  RESPONSIVE DESIGN
=========================== */
@media (max-width: 900px) {
  .feature-grid, .content-grid, .card-container {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .feature-item, .card {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 7px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap:20px;
  }
  .feature-item, .card {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
  .section {
    margin-bottom: 36px;
    padding: 22px 5px;
  }
  .footer .container, footer .container {
    padding: 0 10px;
    gap: 5px;
  }
  .mobile-menu .mobile-nav {
    margin-top: 56px;
    margin-left: 8vw;
    gap: 11px;
  }
}
@media (max-width: 540px) {
  .container { padding-left: 2vw; padding-right: 2vw; }
  .content-wrapper, .card-container, .feature-grid, .content-grid {
    gap: 12px;
  }
  .hero { padding-bottom: 20px; }
}

/* ===========================
  MICRO-INTERACTIONS
=========================== */
.card, .feature-item, .testimonial-card, .cta, .mobile-menu, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.22s, transform 0.21s, filter 0.25s, background 0.19s, color 0.16s;
}

/****** END ******/