/* RESET & BASE TYPOGRAPHY --------------------------------------------------- */
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,
main, 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, main, menu, nav, section {
  display: block;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}
body {
  background: #141827;
  color: #F4F5FA;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(135deg, #192042 0%, #243158 100%);
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* COLOR VARIABLES + FALLBACKS ----------------------------- */
:root {
  --primary: #243158;
  --secondary: #C7A977;
  --accent: #F4F5FA;
  --neon: #61DFFF;
  --soft-bg: #23294A;
  --dark-bg: #141827;
  --neon-pink: #FF47A7;
  --shadow: 0 6px 36px 0 rgba(32,56,120,0.08), 0 1.5px 3px 0 rgba(61,76,135,0.16);
}

/* DEFAULT CONTAINERS & SECTIONS ------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* HEADER & NAVIGATION ------------------------ */
header {
  width: 100%;
  background: var(--soft-bg);
  box-shadow: 0 3px 28px 0 rgba(24,34,83,0.11);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 40;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 52px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.main-nav a {
  color: var(--accent);
  font-family: 'Montserrat', 'Source Sans Pro', Arial, sans-serif;
  font-size: 17px;
  letter-spacing: 0.01em;
  padding: 10px 14px;
  border-radius: 22px;
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.15s;
  position: relative;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a.cta {
  background: var(--neon);
  color: var(--primary);
  box-shadow: 0 2px 12px 0 rgba(97,223,255,0.16),0 1.5px 3px 0 rgba(61,76,135,0.18);
  text-shadow: 0 0 2px var(--neon);
}
.main-nav a.cta {
  background: var(--secondary);
  color: #181B32;
  border-radius: 24px;
  font-weight: 700;
  box-shadow: 0 1.5px 8px 0 rgba(199,169,119,0.16);
}
.main-nav a.cta:hover {
  background: var(--neon-pink);
  color: #fff;
  text-shadow: 0 0 8px var(--neon-pink);
}

.button, .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: #181B32;
  border: none;
  border-radius: 28px;
  font-family: 'Montserrat', 'Source Sans Pro', Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 32px;
  margin-top: 18px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 24px 0 rgba(199,169,119,0.16);
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, transform 0.14s;
  letter-spacing: 0.04em;
  outline: none;
}
.button:hover, .cta:hover, .button:focus, .cta:focus {
  background: var(--neon);
  color: var(--primary);
  box-shadow: 0 0 8px var(--neon), 0 2px 14px 0 rgba(61,223,255,0.25);
  transform: translateY(-2px) scale(1.035);
}

/* MOBILE NAVIGATION ---------------------- */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--neon);
  font-size: 2rem;
  cursor: pointer;
  z-index: 101;
  margin-left: 12px;
  margin-right: -6px;
}
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* MOBILE SLIDE MENU */
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,24,39,0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.85,.01,.36,1.03);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 28px 12px 0;
  background: none;
  border: none;
  color: var(--neon);
  font-size: 2.4rem;
  cursor: pointer;
  z-index: 201;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  padding: 40px 32px 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Source Sans Pro', Arial, sans-serif;
  font-size: 1.2rem;
  color: var(--neon);
  text-decoration: none;
  padding: 9px 0 9px 0;
  width: 100%;
  border-bottom: 1px solid rgba(97,223,255,0.12);
  transition: color 0.15s, background 0.15s;
}
.mobile-nav a:last-child {
  margin-bottom: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--neon-pink);
  background: rgba(255,71,167,0.06);
}
.mobile-nav a.cta {
  background: var(--secondary);
  color: #181B32;
  border-radius: 24px;
  font-weight: bold;
  border-bottom: none;
  margin-top: 14px;
}
.mobile-nav a.cta:hover {
  background: var(--neon-pink);
  color: #fff;
}

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

/* HERO SECTION --------------------------- */
.hero {
  background: linear-gradient(100deg, #243158 65%, #323f6d 100%);
  padding-top: 64px;
  padding-bottom: 64px;
}
@media (max-width: 768px) {
  .hero {
    padding-top: 36px;
    padding-bottom: 32px;
  }
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
  max-width: 700px;
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.75rem;
  color: var(--neon);
  text-shadow: 0 0 12px rgba(61,223,255,0.17);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 8px;
}

/* HEADINGS, TYPOGRAPHY --------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent);
}
h2 {
  font-size: 2rem;
  margin-bottom: 26px;
  text-shadow: 0 0 8px #22326b88;
  color: var(--secondary);
  letter-spacing: 0.03em;
}
h3 {
  font-size: 1.35rem;
  color: var(--neon);
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: var(--secondary);
}
p, ul, li {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.7;
}
ul {
  margin-left: 1.15em;
  margin-bottom: 18px;
}
ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 8px;
  line-height: 1.7;
  min-height: 28px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
ul li img {
  height: 22px;
  width: 22px;
  margin-right: 12px;
  filter: drop-shadow(0 0 2px #61DFFF77);
}
strong {
  font-weight: bold;
  color: var(--neon);
}
.text-section {
  margin-bottom: 20px;
}

.content-wrapper {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* CARDS & FLEX CONTAINERS ------------------- */
.card-container,
.service-cards,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.service-cards > div {
  background: #23294A;
  border-radius: 18px;
  padding: 28px 22px 22px 22px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 240px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  border: 1.5px solid rgba(97,223,255,0.07);
  transition: box-shadow 0.13s, transform 0.13s, border-color 0.16s;
}
.service-cards > div:hover {
  box-shadow: 0 2px 16px 0 rgba(61,223,255,0.18), 0 1.5px 5px 0 rgba(25,38,82,0.12);
  transform: translateY(-3px) scale(1.03);
  border-color: var(--neon);
}
.service-cards h3 {
  color: var(--neon);
  margin-bottom: 8px;
}
.service-cards p {
  color: var(--accent);
}

.card,
.card-content {
  bg: #192042;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px 0 rgba(36,49,88,0.22);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card {
  background: #23294A;
  border: 1.5px solid rgba(199,169,119,0.07);
}
.card-content {
  background: #192042;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  background: #192042;
  border-radius: 16px;
  box-shadow: 0 0.5px 8px 0 rgba(36,49,88,0.12);
  padding: 20px 18px;
}

/* TESTIMONIAL CARDS -------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  color: #211e15;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2.5px 32px 0 rgba(36,49,88,0.07);
  border-left: 6px solid var(--neon);
  transition: border-color 0.12s;
  min-width: 0;
}
.testimonial-card:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 6px 34px 0 rgba(255,71,167,0.09);
}
.testimonial-card p {
  color: #1b1d24;
  font-size: 1.08rem;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 0.98rem;
}

/* FOOTER STYLES --------------------------------- */
footer {
  background: var(--soft-bg);
  color: var(--accent);
  padding: 32px 0 16px 0;
  box-shadow: 0 -3px 30px 0 rgba(32,56,120,0.09);
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.footer-content a {
  text-decoration: none;
}
.footer-content img {
  height: 38px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 3px 10px;
  border-radius: 12px;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover {
  background: var(--neon);
  color: var(--primary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(244,245,250,0.86);
  font-size: 0.93rem;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.footer-social a:hover img {
  filter: drop-shadow(0 0 5px var(--neon-pink));
}
.tagline {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--neon);
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 2px;
  margin-top: -10px;
}

@media (max-width: 700px) {
  .footer-content { padding: 0 2px; }
}

/* SPACING & FLEXBOX GAP ENFORCEMENT ---------------------- */
section + section {
  margin-top: 28px;
}
.card:not(:last-child), .service-cards > div:not(:last-child), .feature-item:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/* RESPONSIVE DESIGN ---------------------- */
@media (max-width: 1020px) {
  .service-cards {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .content-grid { flex-direction: column; gap: 18px; }
}
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.33rem;
    margin-bottom: 14px;
  }
  .container { padding: 0 4px; }
}

/* TABLES (for policies/legal pages perhaps) */
table { border-collapse: collapse; width: 100%; background: #192042; margin: 18px 0; }
th, td {
  padding: 12px;
  border: 1px solid #28447361;
  color: var(--accent);
  text-align: left;
}

/* FORMS (if present on contact page) ----------- */
input, textarea, select {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  background-color: #23294A;
  color: var(--accent);
  border-radius: 8px;
  border: 1.5px solid #243158;
  padding: 9px 13px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 16px;
  transition: border-color 0.14s, box-shadow 0.16s;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--neon);
  box-shadow: 0 0 7px var(--neon);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  margin-bottom: 7px;
}

/* MICRO-INTERACTIONS, ANIMATIONS ----------- */
.button, .cta {
  transition: box-shadow 0.12s, background 0.15s, color 0.15s, transform 0.14s;
}
.feature-item, .service-cards > div {
  transition: box-shadow 0.16s, transform 0.12s;
}
.main-nav a, .footer-nav a {
  transition: background 0.17s, color 0.13s;
}

/* FOCUS STATES ------------------------------- */
a:focus, button:focus, .button:focus, .cta:focus {
  outline: 2px solid var(--neon-pink);
  outline-offset: 2px;
  z-index: 3;
}

/* COOKIE CONSENT BANNER --------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  background: #243158;
  color: var(--accent);
  box-shadow: 0 -2px 32px 0 rgba(36,49,88,0.19);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  gap: 18px;
  animation: cookieBannerIn 0.6s 0.18s cubic-bezier(.43,1.35,.38,.85) backwards;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
@keyframes cookieBannerIn {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-banner__text {
  flex: 1 1 0;
  min-width: 0;
  margin-right: 20px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-banner__btn {
  background: var(--secondary);
  color: #181B32;
  padding: 10px 22px;
  border: none;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  margin-right: 0px;
  box-shadow: 0 1px 12px 0 rgba(199,169,119,0.11);
  transition: background 0.12s, color 0.13s, box-shadow 0.15s;
}
.cookie-banner__btn:hover, .cookie-banner__btn:focus {
  background: var(--neon);
  color: var(--primary);
  box-shadow: 0 0 12px var(--neon), 0 1.5px 10px 0 rgba(61,223,255,0.14);
}
.cookie-banner__btn--settings {
  background: none;
  color: var(--neon);
  border: 1.5px solid var(--neon);
}
.cookie-banner__btn--settings:hover {
  background: var(--neon);
  color: var(--primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px;
    gap: 10px;
  }
  .cookie-banner__text {
    margin-right: 0;
    margin-bottom: 7px;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-start;
  }
}
/* COOKIE MODAL ------------------------ */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 99999;
  background: rgba(23,34,66,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookie 0.34s cubic-bezier(.87,0,.13,1.01) backwards;
}
@keyframes fadeInCookie {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal__box {
  background: #23294A;
  border-radius: 18px;
  padding: 32px 28px 26px 28px;
  min-width: 320px;
  max-width: 94vw;
  box-shadow: 0 4px 44px 0 rgba(36,49,88,0.21);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: scaleIn 0.5s cubic-bezier(.8,1.6,.14,1.02) backwards;
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.8); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal__close {
  align-self: flex-end;
  background: none;
  color: var(--neon);
  border: none;
  font-size: 2.05rem;
  cursor: pointer;
  margin-bottom: 0.5rem;
}
.cookie-modal__heading {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 16px;
  margin-top: 6px;
  letter-spacing: 0.03em;
  text-shadow: 0 0 4px var(--neon);
}
.cookie-modal__desc {
  color: var(--accent);
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #192042;
  border-radius: 13px;
  padding: 11px 19px;
  margin-bottom: 12px;
  font-size: 1rem;
  width: 100%;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: var(--accent);
  box-shadow: 0 0.5px 7px 0 rgba(36,49,88,0.10);
}
.cookie-category__label {
  flex: 1 1 0;
}
.cookie-category__switch {
  width: 42px;
  height: 24px;
  border: none;
  background: none;
  position: relative;
  display: inline-block;
}
.cookie-toggle {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-slider {
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #23294A;
  border-radius: 20px;
  border: 1.5px solid var(--secondary);
  transition: background .18s, border-color .18s;
}
.cookie-toggle:checked + .cookie-slider {
  background: var(--neon);
  border-color: var(--neon);
}
.cookie-slider:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 17px;
  height: 17px;
  background: var(--secondary);
  border-radius: 17px;
  transition: transform .17s cubic-bezier(.8,1.5,.21,1), background 0.14s;
}
.cookie-toggle:checked + .cookie-slider:before {
  transform: translateX(17px);
  background: var(--primary);
}
.cookie-category__desc {
  color: #adadc6;
  font-size: 0.98rem;
  margin-left: 12px;
}
.cookie-category--essential .cookie-toggle {
  display: none;
}
.cookie-category--essential .cookie-slider{
  background: var(--neon-pink);
}
.cookie-category--essential .cookie-slider:before{
  background: #fff;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 20px;
  width: 100%;
}
.cookie-modal__btn {
  background: var(--secondary);
  color: #181B32;
  padding: 11px 22px;
  border: none;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1.5px 8px 0 rgba(199,169,119,0.15);
  transition: background 0.13s, color 0.14s;
}
.cookie-modal__btn:hover, .cookie-modal__btn:focus {
  background: var(--neon);
  color: var(--primary);
}

/* UTILITY CLASSES ------------------------------ */
.hide { display: none !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.align-center { align-items: center !important; }

::-webkit-scrollbar {
  width: 8px;
  background: #22274a;
}
::-webkit-scrollbar-thumb {
  background: #243158;
  border-radius: 6px;
}

/* CUSTOM SELECTION */
::selection { background: var(--neon); color: #141827; }

/* FONTS -------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Source+Sans+Pro:wght@400;600;700&display=swap');

