/* ================================================== */
/*                  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;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #101426;
  color: #EFEFEF;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus { outline: 2px solid #61A5C2; outline-offset: 2px; }
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, textarea, select {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
  outline: none;
}
button { cursor: pointer; background: none; }

/* ================================================== */
/*                   BRAND VARIABLES                  */
/* ================================================== */
:root {
  --color-primary: #19325C;
  --color-secondary: #61A5C2;
  --color-accent: #EFEFEF;
  --color-bg-dark: #101426;
  --color-bg-mid: #1e2943;
  --color-border: #263759;
  --color-error: #E44646;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;

  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-lg: 0 6px 24px rgba(22,31,60,0.32);
  --shadow-md: 0 2px 8px rgba(68,158,242,0.08);
  --shadow-soft: 0 1.2px 4px rgba(33,72,174,0.04);
  --transition: 0.23s cubic-bezier(.85,0,.15,1);
}

/* ================================================== */
/*                 TYPOGRAPHY & HEADINGS              */
/* ================================================== */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -1.3px;
  color: #fff;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  h1, .h1 { font-size: 2rem; }
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 18px;
}
@media (max-width: 600px) {
  h2, .h2 { font-size: 1.4rem; }
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 14px;
}

h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 8px;
}

body, p, li, dd {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-accent);
}
strong { color: #fff; font-weight: 600; }

.text-section p, .content-wrapper p {
  margin-bottom: 16px;
  color: var(--color-accent);
}
.section ul li, .section ol li, .content-wrapper ul li, .text-section ul li {
  margin-bottom: 10px;
  padding-left: 0;
  color: var(--color-accent);
  display: flex;
  align-items: center;
}
.section ul li img, .text-section ul li img {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  display: inline-block;
  filter: drop-shadow(0 0 4px #61A5C2cc);
}

.price {
  font-size: 1.1em;
  font-weight: 500;
  background: var(--color-bg-mid);
  color: #61A5C2;
  border-radius: 12px;
  padding: 2px 10px;
  margin-left: 12px;
  letter-spacing: .02em;
}

/* ================================================== */
/*                  LAYOUT CONTAINERS                 */
/* ================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 18px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-mid);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  padding: 24px 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 28px #5efcda33;
  transform: translateY(-5px) scale(1.02);
}

.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;
  border-radius: var(--radius-md);
  background: #fff;
  color: #1a253f;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  min-width: 0;
  border-left: 4px solid #61A5C2;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 10px 24px #8afdff29;
  transform: translateY(-4px) scale(1.015);
}
.testimonial-card p {
  font-style: italic;
  color: #1A253F;
}
.testimonial-card strong {
  color: #19325C;
}
.testimonial-card span {
  color: #FFAE42;
  font-size: 1.1em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-bg-mid);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.text-section {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.map-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-bg-mid);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: var(--shadow-soft);
}
.map-block img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 4px #19325C22);
  margin-right: 10px;
}

.cta {
  background: linear-gradient(90deg,#19325C 0%,#1e2943 90%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.cta h2 {
  color: #FFF;
}
.cta p {
  color: #abebff;
}

.cta-block {
  background: var(--color-bg-mid);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  margin-top: 24px;
  box-shadow: var(--shadow-md);
}

.address-block {
  color: #8dadce;
  font-size: 0.95em;
  margin-top: 14px;
}

/* ================================================== */
/*                       HEADER                       */
/* ================================================== */
header {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 10px #122e4698;
  position: sticky;
  top: 0;
  z-index: 12;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}
header img {
  height: 48px;
  margin-right: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: var(--font-display);
  color: #EFEFEF;
  font-size: 1.05em;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
header nav a:hover, header nav a.active {
  background: #263759;
  color: #61A5C2;
}
header .btn-primary {
  margin-left: 24px;
}

.mobile-menu-toggle {
  background: #61A5C2;
  color: #19325C;
  border-radius: 8px;
  border: none;
  font-size: 2.1rem;
  padding: 4px 13px 3px 13px;
  margin-left: 16px;
  display: none;
  z-index: 22;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #259bcb;
  color: #fff;
  box-shadow: 0 2px 8px #61A5C299;
}

/* ================================================== */
/*                    MOBILE MENU                     */
/* ================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: rgba(21,38,68,0.93);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.65,0,0.35,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.6rem;
  color: #61A5C2;
  background: none;
  border-radius: 14px;
  margin: 18px 18px 0 0;
  padding: 2px 17px 3px 17px;
  transition: color var(--transition), background var(--transition);
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #fff;
  background: #259bcb;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 34px 20px 34px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  padding: 16px 0 10px 0;
  border-bottom: 1px solid #23334A;
  transition: color var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #61A5C2;
}

@media (max-width: 1060px) {
  header .btn-primary { display: none; }
  header .container { gap: 10px; }
}
@media (max-width: 900px) {
  header nav { gap: 8px; }
  header img { margin-right: 8px; }
}
@media (max-width: 768px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
  header .btn-primary { display: none; }
}

/* ================================================== */
/*                       BUTTONS                      */
/* ================================================== */
.btn-primary, a.btn-primary {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: #fff;
  background: linear-gradient(90deg,#61A5C2 70%,#4ae8fb 100%);
  border-radius: 999px;
  padding: 13px 34px;
  box-shadow: 0 2px 18px #61A5C246;
  border: none;
  outline: none;
  cursor: pointer;
  letter-spacing: .02em;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  margin: 18px 0 0 0;
  position: relative;
  z-index: 3;
  text-align: center;
}
.btn-primary:focus,
.btn-primary:hover {
  background: linear-gradient(90deg,#259bcb 60%,#61A5C2 100%);
  color: #101426;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 4px 22px #61A5C288;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  color: #19325C;
  background: #EFEFEF;
  border-radius: 999px;
  padding: 10px 28px;
  border: 2px solid #61A5C2;
  margin-top: 10px;
  transition: background var(--transition), color var(--transition);
}
.btn-secondary:focus,
.btn-secondary:hover {
  background: #19325C;
  color: #fff;
}

/* Buttons for cookie banner */
.cookie-banner-btn,
.cookie-banner-btn-settings {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 8px;
  padding: 11px 22px;
  margin-left: 13px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  border: none;
}
.cookie-banner-btn {
  background: #61A5C2;
  color: #19325C;
}
.cookie-banner-btn:focus,
.cookie-banner-btn:hover {
  background: #259bcb;
  color: #fff;
  box-shadow: 0 2px 8px #259bcb55;
}
.cookie-banner-btn-settings {
  background: #EFEFEF;
  color: #19325C;
  border: 2px solid #61A5C2;
}
.cookie-banner-btn-settings:focus,
.cookie-banner-btn-settings:hover {
  background: #19325C;
  color: #fff;
  border-color: #19325C;
}


/* ================================================== */
/*                     HERO SECTION                   */
/* ================================================== */
.hero {
  background: linear-gradient(100deg, #19325C 88%, #61A5C2 100%);
  padding: 64px 0 44px 0;
  border-radius: 0 0 60px 60px;
  box-shadow: 0 8px 42px #0b1b3644;
  position: relative;
  z-index: 2;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 240px;
  padding-bottom: 0;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 24px #15369874;
}
.hero p {
  font-size: 1.22rem;
  color: #d5edff;
}
.hero .btn-primary { margin-top: 36px; }

/* ================================================== */
/*                       FOOTER                       */
/* ================================================== */
footer {
  background: var(--color-primary);
  color: #c1e2ee;
  border-top: 1.8px solid #22385B;
  margin-top: 60px;
  padding: 38px 0 16px 0;
  font-size: 1em;
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
footer nav a {
  color: #8dadce;
  font-size: 1em;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
footer nav a:hover,
footer nav a:focus {
  background: #263759;
  color: #61A5C2;
}

/* ================================================== */
/*                 COOKIE CONSENT BANNER              */
/* ================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1002;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  background: rgba(25,50,92,0.99);
  color: #EFEFEF;
  font-size: 1.05em;
  padding: 22px 18px 22px 34px;
  box-shadow: 0 -2px 14px #1e294388;
  border-radius: 18px 18px 0 0;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity var(--transition), transform var(--transition);
}
.cookie-banner.active {
  opacity:1;
  pointer-events:auto;
  transform: translateY(0);
}
.cookie-banner .cookie-banner-btns {
  display: flex;
  align-items: center;
  gap: 11px;
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1050;
  background: rgba(16,22,36,0.97);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  width: 95vw;
  max-width: 432px;
  background: #19325C;
  padding: 32px 24px 24px 24px;
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 6px 52px #093951a0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-dialog h3 {
  font-size: 1.42em;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.cookie-modal-category label {
  font-size: 1.07em;
  font-family: var(--font-display);
}
.cookie-modal-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #61A5C2;
}
.cookie-modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 17px;
}
.cookie-modal-close {
  position: absolute;
  top: 22px;
  right: 26px;
  background: none;
  color: #61A5C2;
  font-size: 2rem;
  border: none;
  outline: none;
  border-radius: 10px;
  transition: color var(--transition), background var(--transition);
}
.cookie-modal-close:focus,
.cookie-modal-close:hover { background: #EFEFEF; color: #19325C; }

/* Cookie Switches / Toggles */
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #263759;
  border-radius: 15px;
  position: relative;
  outline: 2px solid transparent;
  transition: background .19s;
  vertical-align: middle;
}
.cookie-toggle:checked {
  background: #61A5C2;
}
.cookie-toggle:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2.7px;
  width: 16px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: transform .18s;
  box-shadow: 0 0 3px #123, 0 1.2px 2.5px #26375933;
}
.cookie-toggle:checked:before {
  transform: translateX(15px);
}
.cookie-toggle[disabled], .cookie-toggle[readonly] {
  background: #8dadce77 !important;
  cursor: not-allowed;
}

.cookie-modal-category .cookie-toggle-label {
  font-size: 1em;
  color: #eaf8fe;
}

/* Essential cookies always enabled style */
.cookie-modal-category input[disabled] + .cookie-toggle-label {
  color: #b1c2d9;
}

/* ================================================== */
/*                 FLEXBOX RESPONSIVE RULES           */
/* ================================================== */
@media (max-width: 900px) {
  .section { padding: 32px 12px; }
  .card-container, .content-grid { gap:14px; }
  .text-image-section { gap: 18px; }
}
@media (max-width: 768px) {
  .section { padding: 24px 5px; margin-bottom: 36px; }
  .container { padding: 0 6px; }

  .content-wrapper, .text-section { gap: 14px; }

  .content-grid, .card-container, .feature-item, .text-image-section {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }
  .testimonial-card, .card {
    width: 100%;
  }
  .cta, .cta-block { padding: 20px 10px; }
  footer .container { flex-direction: column; gap: 14px; }
  .map-block, .address-block { font-size: 0.97em; }
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 13px; padding: 17px 7px; font-size:1em; }
}
@media (max-width: 500px) {
  h1, .h1 { font-size: 1.37rem; }
  h2, .h2 { font-size: 1.13rem; }
}

/* Ensure minimum spacing for all cards/sections */
.card, .testimonial-card, .section, .cta, .cta-block, .feature-item {
  margin-bottom: 20px;
}
.card + .card, .testimonial-card + .testimonial-card,
.section + .section, .feature-item + .feature-item, .card-container .card + .card {
  margin-top: 20px;
}

/* ================================================== */
/*                   MICRO-INTERACTIONS               */
/* ================================================== */
.card, .testimonial-card, .btn-primary, .feature-item, .cookie-banner, .cookie-modal-dialog {
  transition: box-shadow var(--transition), background var(--transition), transform var(--transition), color var(--transition);
}
a, .btn-primary, .btn-secondary, .cookie-banner-btn, .mobile-nav a {
  transition: color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}

/* Hover glow for neon/tech accents */
.card:hover::before, .btn-primary:hover::after {
  content: '';
  display: none;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 10px 26px #61A5C249, 0 0 16px #4ae8fb33;
}

/* Neon focus ring for buttons and links */
.btn-primary:focus, .btn-secondary:focus, .cookie-banner-btn:focus, .mobile-nav a:focus {
  outline: 2.6px solid #4ae8fb;
  outline-offset: 2px;
}

/* ================================================== */
/*                  LISTS & TABLES STYLES             */
/* ================================================== */
dl {
  margin: 0 0 28px 0;
}
dt {
  font-weight: 600;
  color: #61A5C2;
  border-left: 3.4px solid #61A5C2;
  background: #19325C1a;
  padding: 9px 10px;
  border-radius: 6px;
  margin-top: 14px;
  font-family: var(--font-display);
}
dd {
  margin: 0 0 5px 22px;
  color: #EFEFEF;
  padding-bottom: 6px;
}
@media (max-width: 600px) {
  dt { font-size: 1em; padding: 8px 7px; }
  dd { margin-left: 12px; }
}

/* ================================================== */
/*                  FORM ELEMENTS (Contact)           */
/* ================================================== */
input, textarea, select {
  background: #222b40;
  color: #fff;
  border: 1.5px solid #61A5C2;
  border-radius: 9px;
  padding: 13px 13px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px #19325C11;
  width: 100%;
  font-size: 1.1em;
  transition: border var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: #4ae8fb;
  box-shadow: 0 0 0 2px #4ae8fb33;
}
label {
  margin-bottom: 7px;
  font-weight: 500;
  color: #61A5C2;
}

/* ================================================== */
/*                   SPECIAL EFFECTS                  */
/* ================================================== */
.section {
  background: linear-gradient(88deg, #1e2943 80%, #61A5C2 145%);
  border-radius: 32px;
  box-shadow: 0 3px 22px #19325c0d, 0 3px 12px #1e294314;
}
.section:nth-child(even) {
  background: linear-gradient(275deg, #263759 72%, #19325C 100%);
}

hr {
  border: 0;
  border-top: 1.4px solid #61A5C2;
  margin: 32px 0;
}

/* ================================================== */
/*                  UTILITIES & MISC                  */
/* ================================================== */
.mt-0 { margin-top: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.pb-0 { padding-bottom: 0 !important; }

/* Remove unwanted selection background on dark */
::selection {
  background: #61A5C229;
  color: #fff;
}

/* Force no grid usage anywhere! */
[class*="grid"], [class*="columns"] {
  display: flex !important;
  flex-wrap: wrap;
}

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