/* --- CSS 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; -webkit-text-size-adjust: 100%; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #22282F; color: #F6F7EB; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; background: none; border: none; outline: none; color: inherit; }
button { cursor: pointer; }

/* --- CUSTOM FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --color-primary: #247BA0;
  --color-secondary: #14A098;
  --color-dark: #22282F;
  --color-accent: #F6F7EB;
  --color-light: #fff;
  --color-cta: #01fff4;
  --color-fade: #6439e6;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(120deg, #22282F 0%, #247BA0 100%); /* fallback solid below */
  background-color: #22282F;
  color: var(--color-accent);
  min-height: 100vh;
}

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(36,123,160,0.10);
  border-radius: 18px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #292F38;
  border-radius: 16px;
  box-shadow: 0 2px 24px 0 rgba(20,160,152,0.2);
  transition: box-shadow .25s, transform .25s;
}
.card:hover {
  box-shadow: 0 6px 36px 0 rgba(1,255,244,0.25);
  transform: translateY(-3px) scale(1.013);
  z-index: 1;
}

.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: flex-start;
  gap: 20px;
  padding: 20px;
  color: #21272F;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(36,123,160,0.09);
  margin-bottom: 20px;
  min-width: 270px;
  max-width: 550px;
  transition: box-shadow .2s, transform .16s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 40px 0 rgba(36,123,160,0.18);
  transform: translateY(-2px) scale(1.01);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.02em; 
  margin: 0 0 8px 0;
}
h1 { font-size: 2.5rem; font-weight: 700; color: var(--color-cta); text-shadow: 0 4px 24px #14A09822; }
h2 { font-size: 2rem; font-weight: 600; color: var(--color-accent); }
h3 { font-size: 1.32rem; font-weight: 500; color: var(--color-accent); }
h4 { font-size: 1.1rem; font-weight: 500; }
p, li, ul, ol, span, label, input, textarea, .contact-info {
  font-size: 1rem;
  color: var(--color-accent);
  line-height: 1.6;
}
strong { font-weight: bold; }

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* --- HEADER & NAV --- */
header {
  background: #22282F;
  box-shadow: 0 1px 24px 0 rgba(36,123,160,0.14);
  border-bottom: 2px solid #247BA0;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 16px;
  position: relative;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  color: var(--color-accent);
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .18s, color .18s;
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 500;
}
header nav a:hover,
header nav a:focus {
  background: #14A09825;
  color: var(--color-cta);
}
.cta-btn {
  background: var(--color-primary);
  color: var(--color-accent);
  border: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 0.75em 1.7em;
  box-shadow: 0 4px 24px 0 #01fff422;
  outline: 2px solid transparent;
  transition: background .19s, color .18s, outline .14s, box-shadow .20s, transform .12s;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-cta);
  color: #22282F;
  outline: 2px solid var(--color-primary);
  box-shadow: 0 6px 40px 0 #01fff466;
  transform: translateY(-2px) scale(1.03);
}

/* Hamburger Icon for Mobile */
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  background: none;
  color: var(--color-cta);
  padding: 6px 14px;
  border-radius: 8px;
  transition: background .14s, color .16s;
  z-index: 1101;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #01fff4;
}

@media (max-width: 950px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34, 40, 47, 0.97);
  z-index: 1500;
  transform: translateX(105vw);
  transition: transform .33s cubic-bezier(.8,.21,.19,1.01);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding-top: 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-primary);
  font-size: 2.2rem;
  border: none;
  padding: 14px 20px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color .18s;
  z-index: 1060;
}
.mobile-menu-close:hover {
  color: #01fff4;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 20px;
  padding-left: 36px;
}
.mobile-nav a {
  color: var(--color-cta);
  font-size: 1.31rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 0;
  border-radius: 0;
  transition: color .15s, background .12s, padding-left .17s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-primary);
  background: #01fff412;
  padding-left: 18px;
}

@media (max-width: 950px) {
  .cta-btn {
    display: none;
  }
}

@media (max-width: 650px) {
  .mobile-menu {
    padding-right: 0;
    padding-top: 14px;
  }
  .mobile-nav {
    padding-left: 15px;
    gap: 16px;
  }
}

/* --- HERO & GENERAL CTA --- */
.hero {
  background: linear-gradient(112deg, #247BA0 25%, #14A098 90%);
  border-radius: 0 0 14vw 14vw;
  box-shadow: 0 12px 60px 0 #22282F33;
  margin-bottom: 40px;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  min-height: 320px;
  gap: 26px;
  padding: 32px 0;
}
.hero h1, .hero p {
  color: #F6F7EB;
  text-shadow: 0 4px 28px #21282F60;
}
.hero .cta-btn {
  background: #01fff4;
  color: #22282F;
  font-size: 1.26rem;
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: #fff;
  color: #14A098;
}

/* --- FEATURES LIST --- */
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0;
}
.features ul li {
  flex: 1 1 190px;
  min-width: 180px;
  background: #292F38;
  border-radius: 15px;
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  box-shadow: 0 2px 11px 0 #01fff415;
  font-size: 1.07rem;
  color: var(--color-accent);
}
.features ul li img {
  width: 36px; height: 36px;
  filter: drop-shadow(0 0 5px #01fff4a3);
}

/* --- SERVICES PREVIEW / LIST --- */
.services-preview .service-grid,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.services-preview .service-grid > div,
.service-list > div {
  background: #22363F;
  border-radius: 14px;
  padding: 24px 18px;
  min-width: 242px;
  max-width: 340px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px #01fff44a;
  transition: box-shadow .18s, transform .17s;
  color: var(--color-accent);
}
.services-preview .service-grid > div:hover, .service-list > div:hover {
  box-shadow: 0 10px 44px #01fff477;
  transform: scale(1.02) translateY(-3px);
}
.services-preview .service-grid img, .service-list img {
  width: 42px; height: 42px;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 6px #247BA0cc);
}

/* --- CATEGORIES FILTER --- */
.categories-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.04rem;
  margin-bottom: 18px;
}
.categories-filter a {
  color: #01fff4;
  font-weight: 500;
  border-radius: 5px;
  padding: 2px 7px;
  transition: background .14s, color .16s;
}
.categories-filter a:hover, .categories-filter a:focus {
  background: #01fff4;
  color: #22282F;
}

/* --- BLOG PREVIEW GRID --- */
.blog-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-preview-grid > div {
  background: #22363F;
  border-radius: 14px;
  padding: 20px 14px;
  min-width: 210px;
  max-width: 340px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  box-shadow: 0 1px 10px #01fff420;
  transition: box-shadow .13s, transform .17s;
}
.blog-preview-grid > div:hover {
  box-shadow: 0 12px 40px #01fff455;
  transform: scale(1.02) translateY(-3px);
}
.blog-preview-grid a {
  color: #01fff4;
  font-weight: 600;
  font-size: 1.07em;
  border-bottom: 2px solid #247BA0;
  transition: color .14s, border-color .14s;
}
.blog-preview-grid a:hover, .blog-preview-grid a:focus {
  color: #22282F;
  background: #01fff4;
  border-color: #01fff4;
  border-radius: 6px;
}

/* --- CTA SECTION --- */
.cta {
  background: linear-gradient(111deg, #14A098 0%, #247BA0 80%);
  border-radius: 18px;
  box-shadow: 0 7px 34px 0 #21272F24;
  padding: 36px 20px;
  text-align: center;
}
.cta .cta-btn {
  margin-top: 22px;
  font-size: 1.21rem;
}

/* --- FAQ --- */
.search-bar {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}
.search-bar input {
  width: 100%;
  padding: 11px 18px;
  border-radius: 7px;
  background: #292F38;
  color: var(--color-accent);
  border: 1.5px solid #14A09840;
  font-size: 1rem;
  transition: border-color .14s;
}
.search-bar input:focus {
  border-color: #01fff4;
  outline: none;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 10px;
}
.faq-item {
  background: #22363F;
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0 2px 12px 0 #247BA050;
  transition: box-shadow .17s, transform .09s;
}
.faq-item:hover {
  box-shadow: 0 4px 26px 0 #14A09890;
  transform: translateY(-2px);
}
.faq-item h2 {
  font-size: 1.18rem;
  color: #01fff4;
}
.faq-item p {
  font-size: 1.06rem;
  margin-top: 6px;
}

/* --- TESTIMONIALS PAGE --- */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.rating-summary {
  background: #22363F;
  color: #01fff4;
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: 0 2px 11px #01fff41a;
  margin-top: 30px;
  font-size: 1.09rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rating-summary strong {
  color: #F6F7EB;
}

/* --- CONTACT SECTION --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  margin: 10px 0 18px 0;
}
.contact-info img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 7px;
  filter: drop-shadow(0 0 6px #247BA044) drop-shadow(0 0 1px #fff8);
}
.text-section a.cta-btn {
  margin-top: 14px;
}
.map-location {
  background: #292F38;
  border-radius: 10px;
  padding: 22px 18px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* --- FOOTER --- */
footer {
  background: #22282F;
  border-top: 2px solid #14A09877;
  padding: 36px 0 20px 0;
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 9px;
}
footer nav a {
  color: #01fff4;
  font-size: 1em;
  border-radius: 9px;
  padding: 2px 9px;
  background: #22282F;
  transition: background .15s, color .15s;
}
footer nav a:hover, footer nav a:focus {
  background: #01fff4;
  color: #22282F;
}
footer small {
  color: #c6e4f0;
  font-size: 0.97em;
}

/* --- MEDIA QUERIES / RESPONSIVE --- */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
  .services-preview .service-grid > div, .service-list > div, .blog-preview-grid > div {
    min-width: 46vw;
    max-width: 100vw;
  }
}
@media (max-width: 950px) {
  .features ul, .content-grid, .testimonial-list, .blog-preview-grid,
  .services-preview .service-grid, .service-list {
    flex-direction: column !important;
    align-items: stretch;
    gap: 22px;
  }
  .card-container {
    flex-direction: column !important;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 30px 7px;
    margin-bottom: 36px;
  }
  .hero .content-wrapper { padding: 24px 0; }
  .cta { padding: 22px 10px; }
  .features ul li, .services-preview .service-grid > div, .service-list > div, .testimonial-card {
    min-width: 80vw;
    max-width: 98vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .blog-preview-grid > div, .blog-preview-grid {
    min-width: 93vw;
    gap: 16px;
  }
  header .container { padding: 12px 6px; }
  .container { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.09rem; }
  .hero {
    border-radius: 0 0 16vw 16vw;
    padding-bottom: 15px;
  }
  .footer .container {
    padding: 17px 3px;
  }
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.section, .card, .testimonial-card, .faq-item, .cta, .service-list > div, .blog-preview-grid > div {
  animation: fadeInUp .54s cubic-bezier(.41,2.2,.44,1.02) both;
}
.card:hover, .testimonial-card:hover, .service-list > div:hover, .blog-preview-grid > div:hover {
  box-shadow: 0 10px 40px #01fff477;
  transform: scale(1.02) translateY(-2px);
}

/* --- COOKIE BANNER STYLES --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1700;
  width: 100vw;
  background: rgba(34, 40, 47, 0.98);
  color: #F6F7EB;
  padding: 26px 16px 22px 16px;
  box-shadow: 0 -4px 28px 0 #22282F88;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1.13rem;
  animation: fadeInUp .6s;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  margin-top: 7px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1em;
  background: var(--color-primary);
  color: var(--color-accent);
  border: none;
  border-radius: 7px;
  padding: 9px 21px;
  margin: 0 2px;
  box-shadow: 0 1px 10px #01fff414;
  transition: background .18s, color .14s, box-shadow .17s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #01fff4;
  color: #22282F;
  box-shadow: 0 3px 18px #01fff485;
}
.cookie-banner .cookie-btn.reject {
  background: #292F38;
  color: #01fff4;
  border: 1.4px solid #01fff4;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #01fff4;
  color: #22282F;
}
.cookie-banner .cookie-btn.settings {
  background: #14A098;
  color: #F6F7EB;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #fff;
  color: #14A098;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1800;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(20, 24, 30, 0.76);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp .33s;
}
.cookie-modal {
  min-width: 320px; max-width: 99vw;
  background: #22282F;
  color: #F6F7EB;
  padding: 36px 32px 26px 32px;
  border-radius: 16px;
  box-shadow: 0 7px 40px #01fff455;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInUp .47s;
}
.cookie-modal h3 {
  color: #01fff4;
  font-size: 1.18em;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1em;
  font-weight: 500;
}
.cookie-cat input[type=checkbox] {
  accent-color: #01fff4;
  width: 22px; height:22px;
}
.cookie-cat .desc {
  font-size: .99em;
  color: #c6e4f0;
  margin-left: 12px;
}
.cookie-close-modal {
  align-self: flex-end;
  background: none;
  border: none;
  color: #01fff4;
  font-size: 2.1em;
  margin: -13px -13px 0 0;
  cursor: pointer;
}
.cookie-modal .cta-btn {
  margin-top: 17px;
}

@media (max-width: 500px) {
  .cookie-modal { padding: 23px 10px 14px 10px; }
}

/* --- UTILITY CLASSES & OVERRIDES --- */
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 32px; }
.mb-1 { margin-bottom: 10px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
/* Flex patterns required */
.features, .service-list, .service-grid, .card-grid, .card-container, .content-grid, .testimonial-list, .blog-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.card, .faq-item, .testimonial-card, .service-list > div, .blog-preview-grid > div {
  margin-bottom: 20px;
}
.text-image-section, .feature-item {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
/* ---- Disable grid/columns explicitly ---- */
[class*="grid"], [class*="col"] {
  /* No display:grid, columns, or related props! */
}

/* --- SCROLLBAR CUSTOMIZATION (futuristic) --- */
::-webkit-scrollbar { width: 8px; background: #22363F; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(120deg,#01fff4 0,#247BA0 70%);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #14A098;
}

/* --- SELECTION COLOR --- */
::selection {
  background: #01fff4;
  color: #1c232b;
}

/* --- Hide scroll for cookie modal bg --- */
.body-modal-open {
  overflow: hidden;
}