/* ===============================
   CSS RESET & NORMALIZE RULES
   =============================== */
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.5;
  background: #FAFBFE;
  color: #20244C;
  min-height: 100vh;
}
ol, ul {
  list-style: none;
}
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(0.39,0.575,0.565,1), border-bottom 0.18s;
}
a:focus {
  outline: 2px solid #67FFD4;
  outline-offset: 3px;
}
img, svg {
  max-width: 100%;
  display: inline-block;
}
*, *:before, *:after { box-sizing: inherit; }

/* ===============================
   BASE TYPOGRAPHY
   =============================== */
@import url('https://fonts.googleapis.com/css?family=Orbitron:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #20244C;
  font-size: 16px;
  background: #FAFBFE;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4 {
  font-family: 'Orbitron', Arial, sans-serif;
  font-weight: 700;
  color: #20244C;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.063rem;
  margin-bottom: 10px;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.66;
}
strong { font-weight: 700; }
.text-section h2 {
  margin-top: 32px;
}
.text-section {
  margin-bottom: 18px;
}
.text-section ul {
  list-style: disc inside;
  margin-bottom: 18px;
  padding-left: 0;
}
.text-section ul li {
  margin-left: 16px;
  margin-bottom: 8px;
}

/* TYPOGRAPHY UTILITY CLASSES */
.display-font { font-family: 'Orbitron', Arial, sans-serif; }
.body-font { font-family: 'Roboto', Arial, sans-serif; }

/* ===============================
   COLOR PALETTE/VARIABLES
   =============================== */
:root {
  --primary: #20244C;
  --secondary: #67FFD4;
  --accent: #F8FF6B;
  --bg: #FAFBFE;
  --white: #fff;
  --dark: #20244C;
  --card-bg: #f7f8fd;
  --gray: #eceef4;
  --shadow: 0 2px 16px 0 rgba(32,36,76,0.09), 0 1.5px 8px 0 rgba(32,36,76,0.07);
  --radius: 16px;
  --border: 2px solid #20244C14;
  --shadow-card: 0 8px 32px 0 rgba(32,36,76,0.11), 0 2px 6px 0 rgba(32,36,76,0.10);
  --shadow-btn: 0 3.5px 8px 0 rgba(103,255,212,0.10);
}

/* ===============================
   STRUCTURED, GEOMETRIC LAYOUT BASICS
   =============================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
main {
  min-height: 60vh;
  margin-bottom: 48px;
}
.content-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .section {
    padding: 30px 8px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
  .content-wrapper {
    gap: 20px;
  }
}

/* ===============================
   HEADER/NAVIGATION
   =============================== */
header {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px 0 rgba(32,36,76,0.07);
  position: relative;
  z-index: 12;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 32px;
  height: 44px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Orbitron', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--secondary);
  padding: 7px 12px;
  line-height: 1;
  border-radius: 8px;
  transition: color 0.19s, background 0.19s;
  position: relative;
  letter-spacing: 0.07em;
  border: none;
}
nav a:hover, nav a.active {
  background: var(--secondary);
  color: var(--primary);
}
.btn-primary {
  font-family: 'Orbitron', Arial, sans-serif;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 20px;
  padding: 10px 28px;
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.13s, color 0.17s, transform 0.16s;
  letter-spacing: 0.04em;
  margin-left: 30px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-1.5px) scale(1.03);
  box-shadow: 0 4px 18px var(--accent), 0 3.5px 8px rgba(103,255,212,0.14);
}
header .btn-primary {
  margin-left: 32px;
}

/* ===============================
   MOBILE NAVIGATION
   =============================== */
.mobile-menu-toggle {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 10px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-left: 16px;
  transition: background 0.14s, color 0.2s;
  cursor: pointer;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--accent);
}
@media (max-width: 992px) {
  header nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,36,76,0.98);
  color: var(--secondary);
  z-index: 98;
  transform: translateX(-100%);
  transition: transform 0.39s cubic-bezier(0.36,1,0.32,0.92);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.5rem;
  position: absolute;
  right: 24px; top: 20px;
  cursor: pointer;
  z-index: 101;
  font-weight: 700;
  transition: color 0.22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 95px;
  margin-left: 24px;
}
.mobile-nav a {
  color: var(--secondary);
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.345rem;
  font-weight: 900;
  padding: 9px 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  transition: color 0.14s, border-bottom 0.2s;
  letter-spacing: 0.08em;
}
.mobile-nav a:hover {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
}

/* ===============================
   MAIN CONTENT FLEX STRUCTURE
   =============================== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 32px;
}
.service-item {
  flex: 1 1 280px;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 18px 22px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 2px solid var(--gray);
  transition: box-shadow 0.20s, border-color 0.19s, transform 0.16s;
  outline: 0;
}
.service-item:hover {
  box-shadow: 0 8px 32px 0 rgba(32,36,76,0.17), 0 2px 8px rgba(103,255,212,0.09);
  border-color: var(--secondary);
  transform: translateY(-4px) scale(1.02);
  z-index: 6;
}
.service-item h2, .service-item h3 {
  margin-bottom: 6px;
  color: var(--primary);
  letter-spacing: 0.06em;
}
.service-item p {
  margin-bottom: 8px;
  font-size: 1.03rem;
  color: #293064;
}
.service-price {
  font-family: 'Orbitron', Arial, sans-serif;
  color: var(--accent);
  font-weight: 900;
  font-size: 1.13rem;
  margin-top: 7px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  position: relative;
  padding: 24px 22px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow 0.17s, border-color 0.18s;
}
.card:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 30px var(--accent), var(--shadow);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .service-list, .content-grid, .card-container, .text-image-section {
    flex-direction: column !important;
    gap: 18px;
  }
  .service-item {
    min-width: 0;
    width: 100%;
    margin-bottom: 16px;
  }
}

/* ===============================
   FEATURE/TESTIMONIAL ELEMENTS
   =============================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  border: 2.5px solid var(--secondary);
  position: relative;
  min-width: 240px;
  flex-wrap: wrap;
  transition: box-shadow 0.15s, border-color 0.14s;
}
.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8.5px 38px 0 rgba(248,255,107,0.17), var(--shadow);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.06rem;
  margin-bottom: 0;
}
.testimonial-author {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--secondary);
  font-weight: 700;
}
.star-rating {
  color: var(--accent);
  font-size: 1.24rem;
  margin-left: auto;
  font-family: 'Orbitron', Arial, sans-serif;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 10px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.feature-item strong {
  color: var(--primary);
  font-weight: 800;
}

/* ===============================
   FOOTER FLEX LAYOUT
   =============================== */
footer {
  background: var(--primary);
  color: var(--secondary);
  border-top: 3px solid var(--accent);
  padding: 36px 0 24px 0;
  box-shadow: 0 -6px 16px rgba(32,36,76,0.04);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
.footer-logo {
  width: 80px;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
footer nav a {
  color: var(--secondary);
  font-family: 'Orbitron', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 3px 7px;
  border-radius: 6px;
  transition: background 0.13s, color 0.11s;
}
footer nav a:hover {
  background: var(--accent);
  color: var(--primary);
}
.footer-contact {
  font-size: 1rem;
  color: var(--accent);
  margin-top: 4px;
}
.footer-contact a {
  color: var(--secondary);
  border-bottom: 1.5px dotted var(--accent);
}
.footer-contact a:hover {
  color: var(--primary);
  border-bottom: 2px solid var(--secondary);
  background: var(--secondary);
  border-radius: 5px;
}
.footer-copy {
  color: #BBBBF9;
  font-size: 0.95rem;
  margin-top: 18px;
  width: 100%;
  opacity: .94;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-logo {
    margin-bottom: 0;
  }
  .footer-copy {
    margin-top: 14px;
  }
}

/* ===============================
   COOKIE CONSENT BANNER & MODAL
   =============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--primary);
  color: var(--secondary);
  font-size: 1rem;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 22px 20px 22px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.07);
  border-top: 2.5px solid var(--accent);
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.47s cubic-bezier(0.23,1,0.32,1), opacity 0.3s;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  color: var(--secondary);
  margin: 0 0 0 0;
  flex-grow: 1;
}
.cookie-banner .cookie-btn {
  font-family: 'Orbitron', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 20px;
  border-radius: 20px;
  border: none;
  outline: none;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  box-shadow: 0 2px 8px rgba(103,255,212,0.09);
}
.cookie-banner .cookie-btn.accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .cookie-btn.accept:hover,
.cookie-banner .cookie-btn.accept:focus {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .cookie-btn.settings {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .cookie-btn.settings:hover {
  background: var(--secondary);
}
.cookie-banner .cookie-btn.reject {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.cookie-banner .cookie-btn.reject:hover {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; gap: 14px; padding: 21px 9px; }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(32,36,76,0.72);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.31s cubic-bezier(0,0,0.72,1);
}
.cookie-modal-overlay.show { opacity: 1; pointer-events: all; }
.cookie-modal {
  background: var(--white);
  color: var(--primary);
  border-radius: 18px;
  max-width: 420px;
  width: 90%;
  padding: 36px 26px 28px 26px;
  box-shadow: 0 8px 40px 0 rgba(32,36,76,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  animation: cookieModalIn 0.49s cubic-bezier(0.23,1,0.32,1);
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: scale(0.92) translateY(36px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.37rem;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 3px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--gray);
  font-size: 1.10rem;
}
.cookie-modal .cookie-category:last-of-type { border-bottom: none; }
.cookie-modal .cookie-toggle {
  margin-left: 12px;
  accent-color: var(--secondary);
  width: 22px;
  height: 22px;
  cursor: pointer;
}
.cookie-modal .cookie-category.essential .cookie-toggle {
  pointer-events: none;
  opacity: 0.45;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 21px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.35rem;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  opacity: .74;
  transition: color 0.19s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--accent);
  opacity: 1;
}
.cookie-modal .cookie-btn {
  margin-top: 18px;
}

/* ===============================
   BUTTONS & UI ELEMENTS
   =============================== */
button, .btn {
  border: none;
  outline: none;
  font-family: 'Orbitron', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 20px;
  background: var(--secondary);
  color: var(--primary);
  cursor: pointer;
  padding: 10px 28px;
  box-shadow: var(--shadow-btn);
  transition: background 0.13s, color 0.11s, transform 0.13s;
  display: inline-block;
  letter-spacing: 0.04em;
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-1.5px) scale(1.03);
}

/* ===============================
   ACCESSIBILITY & MICRO-INTERACTIONS
   =============================== */
:focus-visible {
  outline: 2.5px solid var(--secondary);
  outline-offset: 2px;
}
a:active, .btn:active,
.button:active {
  filter: brightness(0.94);
  transform: scale(0.98) !important;
}

/* ===============================
   UTILITIES
   =============================== */
.hide {
  display: none !important;
}
.mt-32 { margin-top: 32px !important; }
.mb-0 { margin-bottom: 0 !important; }

/* ===============================
   RESPONSIVE LAYOUTS
   =============================== */
@media (max-width: 500px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1.02rem; }
  .section { padding: 17px 0 17px 0; }
}

@media (max-width: 480px) {
  .container { padding-left: 4px; padding-right: 4px; }
}

/* Prevent overflows */
html { overflow-x: hidden; }
body { overflow-x: hidden; }

/* ===============================
   GEOMETRIC STRUCTURE DECOR (optional)
   =============================== */
.section {
  position: relative;
  /* geometric effect using ::before pseudo-element */
}
.section::before {
  content: '';
  display: block;
  position: absolute;
  top: -26px; left: 18px;
  width: 65px; height: 18px;
  background: var(--accent);
  border-radius: 8px 8px 0 0;
  z-index: 1;
  opacity: 0.13;
}
.section:nth-child(odd)::before {
  left: auto; right: 28px;
  width: 48px; height: 12px;
}

/* ===============================
   SCROLLBAR STYLING (subtle)
   =============================== */
::-webkit-scrollbar { width: 9px; background: #e7e7f041; }
::-webkit-scrollbar-thumb { background: #AABADB; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ===============================
   END OF STYLES
   =============================== */
