/* --- CSS RESET & BASE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  height: 100%;
  background-color: #141B2B;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #141B2B;
  color: #F7F8FA;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #F7B32B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD15A;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}

/* --- BRAND COLORS & VARIABLES --- */
:root {
  --primary: #185E9C;
  --secondary: #21242B;
  --accent: #F7B32B;
  --bg: #141B2B;
  --footer-bg: #192134;
  --card-bg: #232841;
  --input-bg: #242B3D;
  --white: #FFFFFF;
  --gray: #b4bbc9;
  --neon-blue: #3EC2FF;
  --neon-pink: #FF4A9A;
  --neon-aqua: #20FFD1;
  --shadow-futuristic: 0 4px 24px 0 rgba(24,94,156,0.25);
  --shadow-cards: 0 2px 16px rgba(30,60,110,0.12);
}

/* --- TYPOGRAPHY --- */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--neon-blue);
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 8px;
}
p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 18px;
}
strong, b {
  font-weight: 700;
  color: var(--white);
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1210px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: transparent;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* --- FLEXBOX GRIDS & UTILITIES --- */
.feature-grid, .content-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.card-container {
  margin-bottom: 20px;
  position: relative;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: var(--shadow-cards);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 #1b90ff44, 0 0 0 2px var(--neon-aqua);
  transform: translateY(-2px) scale(1.025);
}
.content-grid {
  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;
  background: var(--white);
  color: var(--secondary);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 3px 18px rgba(32,255,209,0.09);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 450px;
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testimonial-card p {
  color: var(--secondary) !important;
}
.testimonial-card span {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--accent);
}
.testimonial-card:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 6px 24px 0 rgba(255,74,154,0.10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
}
.quick-stats span {
  background: var(--card-bg);
  color: var(--neon-aqua);
  font-weight: 600;
  border-radius: 10px;
  padding: 6px 16px;
  font-size: 1rem;
}

/* --- HERO SECTION --- */
section:first-of-type {
  background: linear-gradient(96deg, #1b376f 0%, #1d2950 60%, #121a2b 100%);
  box-shadow: 0 2px 36px rgba(30,96,210,0.10);
}

/* --- NAVIGATION --- */
header {
  background: var(--bg);
  box-shadow: 0 2px 16px rgba(24,94,156,0.12);
  position: relative;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  padding-top: 0;
  padding-bottom: 0;
}
header a img {
  height: 36px;
}
header nav {
  display: flex;
  gap: 30px;
  margin: 0 8px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 5px;
  letter-spacing: 0.01em;
  position: relative;
  transition: background 0.20s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #232841;
  color: var(--accent);
}
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent) 60%, #FFE072 100%);
  color: #1b2950;
  border: none;
  border-radius: 24px;
  padding: 14px 34px;
  font-size: 1.09rem;
  margin-left: 12px;
  box-shadow: 0 4px 24px 0 rgba(247,179,43,0.12);
  cursor: pointer;
  text-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  outline: none;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.13s;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(92deg, #FF4A9A 10%, var(--accent) 90%);
  color: var(--white);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 32px 0 rgba(255,74,154,0.13);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--accent);
  cursor: pointer;
  padding: 8px 16px;
  transition: background 0.2s, color 0.2s;
  border-radius: 8px;
  z-index: 102;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #232841;
  color: var(--neon-blue);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(20,27,43,0.98);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.8,0,.2,1);
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--neon-aqua);
  cursor: pointer;
  padding: 18px 18px 10px 18px;
  align-self: flex-end;
  margin-right: 10px;
  margin-top: 10px;
  z-index: 201;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--neon-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
  align-items: flex-start;
  padding: 28px 36px 24px;
  background: none;
}
.mobile-nav a {
  color: var(--neon-aqua);
  background: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 6px 14px 0;
  width: 100%;
  border-radius: 7px;
  transition: background 0.18s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #232841;
  color: var(--accent);
}
@media (max-width: 1023px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* --- MAIN CONTENT SECTIONS --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 14px;
  background: transparent;
}

/* --- CARDS & FEATURE GRIDS --- */
.feature-grid > div, .service-details, .recent-posts {
  background: var(--card-bg);
  border-radius: 13px;
  box-shadow: var(--shadow-cards);
  padding: 28px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 210px;
  transition: box-shadow 0.2s, background 0.2s, transform 0.18s;
  border: 2px solid transparent;
}
.feature-grid > div:hover {
  background: #1b2950;
  box-shadow: 0 6px 22px 0 #20FFD144;
  border-color: var(--neon-aqua);
  transform: translateY(-2px) scale(1.025);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 3px 14px #20ffd14c);
  margin-bottom: 6px;
}

/* --- CTA Buttons inside Sections --- */
section .cta-btn {
  margin-top: 12px;
}

/* --- TESTIMONIAL SECTION & SLIDER --- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 18px 0;
}
.rating-summary, .review-summaries {
  margin-top: 14px;
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.05rem;
}
.rating-summary span {
  font-weight: 700;
  color: var(--neon-pink);
}
.review-summaries span {
  background: var(--neon-blue);
  color: var(--white);
  border-radius: 6px;
  padding: 2px 10px;
  margin-right: 8px;
  font-weight: 600;
}

/* --- RECENT POSTS --- */
.recent-posts {
  margin-top: 18px;
  background: #202135;
}
.recent-posts ul {
  margin: 5px 0 0 0;
  padding-left: 24px;
}
.recent-posts li a {
  color: var(--neon-blue);
  text-decoration: underline;
}
.recent-posts li a:hover {
  color: var(--accent);
}

/* --- FOOTER --- */
footer {
  background: var(--footer-bg);
  color: var(--gray);
  padding-top: 40px;
  padding-bottom: 15px;
  margin-top: 70px;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid #253251;
  flex-wrap: wrap;
}
.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-top nav a {
  color: var(--gray);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 5px 8px;
  border-radius: 4px;
  transition: color 0.16s, background 0.18s;
}
.footer-top nav a:hover {
  background: var(--neon-blue);
  color: var(--secondary);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  justify-content: space-between;
}
.footer-bottom > div:first-child {
  flex: 2 1 250px;
}
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-top: 8px;
}
.social-links a img {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 3px 10px #3ec2ff80);
  transition: filter 0.19s, opacity 0.16s;
}
.social-links a:hover img {
  filter: drop-shadow(0 0 20px var(--neon-pink));
  opacity: 0.92;
}
.footer-legal {
  font-size: 0.96rem;
  text-align: center;
  padding: 0 0 6px 0;
  color: #7891b8;
}
.footer-legal a {
  color: #3ec2ff;
}
.footer-copy {
  font-size: 0.84rem;
  color: #7c95b2;
  text-align: center;
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #232841;
  color: var(--white);
  padding: 22px 9vw 22px 22px;
  z-index: 340;
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -2px 22px #3ec2ff12;
  font-size: 1.03rem;
  gap: 22px;
  animation: slideInCookie 0.44s cubic-bezier(.7,0,.2,1);
}
@keyframes slideInCookie {
  from {transform: translateY(90px);opacity:.1;}
  to {transform: translateY(0);opacity:1;}
}
.cookie-banner p {
  color: var(--white);
  margin-bottom: 0;
}
.cookie-controls {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  background: var(--neon-blue);
  color: #192134;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  padding: 10px 24px;
  cursor: pointer;
  box-shadow: 0 2px 10px #20ffd122;
  transition: background 0.16s, color 0.14s, box-shadow 0.15s;
}
.cookie-btn.cookie-reject {
  background: var(--neon-pink);
  color: #fff;
}
.cookie-btn.cookie-settings {
  background: #232841;
  border: 2px solid var(--neon-aqua);
  color: var(--neon-aqua);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--accent);
  color: #222642;
  box-shadow: 0 6px 26px #FFD15A33;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #1b2950;
  color: var(--neon-aqua);
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 38, 59, 0.89);
  z-index: 370;
  animation: fadeInModal 0.35s;
}
@keyframes fadeInModal {
  from {opacity:.3;}
  to {opacity: 1;}
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-52%) scale(1);
  min-width: 312px;
  max-width: 97vw;
  background: #212B3C;
  color: var(--white);
  border-radius: 22px;
  padding: 40px 30px 28px;
  z-index: 400;
  box-shadow: 0 12px 32px #20FFD122, 0 0 0 2px var(--neon-pink);
  animation: slideInModal 0.5s cubic-bezier(.8,0,.2,1);
}
@keyframes slideInModal {
  from {transform: translate(-50%,40vh) scale(0.97);opacity:.1;}
  to {transform: translate(-50%,-52%) scale(1);opacity:1;}
}
.cookie-modal h2 {
  color: var(--neon-blue);
  margin-bottom: 18px;
}
.cookie-category {
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #232841;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category-label {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.01rem;
}
.cookie-category-toggle {
  accent-color: var(--neon-blue);
  width: 22px;
  height: 22px;
  margin-left: 18px;
}
.cookie-category-essential {
  opacity: 0.62;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 21px;
  background: none;
  border: none;
  color: var(--neon-pink);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 410;
  padding: 2px 5px;
  transition: color 0.17s;
}
.cookie-modal-close:hover {
  color: var(--neon-aqua);
}

/* --- FORM ELEMENTS (if any in future) --- */
input, textarea, select {
  background: var(--input-bg);
  border: 1.5px solid var(--neon-blue);
  color: var(--white);
  font-family: 'Roboto', Arial, sans-serif;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 14px;
  transition: border 0.17s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--neon-blue);
}

/* --- ACCESSIBILITY & FOCUS --- */
a:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible {
  outline: 2px dashed var(--neon-pink);
  outline-offset: 2px;
}
button:focus-visible {
  outline: 2px dashed var(--accent);
}

/* --- RESPONSIVE / MEDIA QUERIES --- */
@media (max-width: 1023px) {
  .container {
    max-width: 100vw;
    padding-left: 11px;
    padding-right: 11px;
  }
  footer .footer-top, .footer-bottom {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-bottom {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 1.85rem; }
  h2, .h2 { font-size: 1.32rem; }
  h3, .h3 { font-size: 1.05rem; }
  section, .section { padding: 22px 6px; }
  .feature-grid, .content-grid, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section { flex-direction: column; gap: 20px; align-items: flex-start; }
  header .container {
    height: auto;
    flex-wrap: wrap;
    gap: 4px;
  }
  .footer-top {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .cta-btn { width: 100%; text-align: center; padding: 13px 0; font-size: 1.01rem; margin: 6px 0 0 0;}
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; padding: 18px 10px; font-size: .98rem;}
  .cookie-controls { gap: 9px; }
  .cookie-modal { min-width: 88vw; padding: 28px 10px 18px; }
}
@media (max-width: 430px) {
  h1, .h1 { font-size: 1.35rem; }
  h2, .h2 { font-size: 1.05rem; }
  section, .section { padding: 14px 2px; }
  .cta-btn { font-size: 0.97rem; }
}

/* --- MISC --- */
::-webkit-input-placeholder { color: #b4bbc9; }
::-moz-placeholder { color: #b4bbc9; }
:-ms-input-placeholder { color: #b4bbc9; }
::placeholder { color: #b4bbc9; opacity:0.93; }

body::-webkit-scrollbar {
  width: 10px;
  background: #141B2B;
}
body::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg,var(--neon-blue),var(--neon-aqua));
  border-radius: 8px;
}

/* --- VISUAL NEON/TECH EFFECTS (decor) --- */
.card, .feature-grid > div, .testimonial-card {
  position: relative;
}
.card::after, .feature-grid > div::after, .testimonial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 0 transparent;
  z-index: 0;
  transition: box-shadow 0.2s;
}
.card:hover::after, .feature-grid > div:hover::after, .testimonial-card:hover::after {
  box-shadow: 0 0 22px 2px var(--neon-pink), 0 0 8px 0 var(--neon-blue);
}

/* --- END --- */
