/* --- CSS RESET & BASE NORMALIZE --- */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; }
html, body { height: 100%; }
body { min-height: 100vh; font-size: 16px; background: #191C24; color: #F5F7FA; font-family: 'Roboto', Arial, sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s; }
ul, ol { margin-left: 20px; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; color: #F5F7FA; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.01em; }
h1 { font-size: 2.375rem; line-height: 1.16; }
h2 { font-size: 1.85rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
p { margin-bottom: 18px; }

/* --- BRAND COLORS AS CSS VARIABLES (with fallback) --- */
:root {
  --clr-primary: #1A2538;
  --clr-secondary: #6C8DA7;
  --clr-accent: #F5F7FA;
  --clr-bg-gradient-dark: #232C3D;
  --clr-neon: #B1E2FF; /* Neon blue for accents */
  --clr-danger: #E53E3E; /* For reject etc */
  --clr-success: #14FF9F;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-md: 0 2px 16px 0 rgba(22,32,50,0.13);
}

/* --- CONTAINERS & SPACING --- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 900px) {
  .section { padding: 30px 10px; margin-bottom: 40px; }
}

.text-section {
  background: rgba(26,37,56,0.91);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

/* --- FLEX LAYOUTS FOR ALL GRIDS/CARDS --- */
.card-container,
.card-grid,
.feature-grid,
.service-list,
.testimonial-slider,
.testimonial-list,
.footer-nav,
.footer-contact,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* Shared card style */
.card,
.feature-item,
.testimonial-card,
.service-item {
  margin-bottom: 20px;
  position: relative;
  background: #232C3D;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 32px 0 rgba(54,120,255,0.11);
  padding: 26px 22px 22px 22px;
  transition: box-shadow 0.3s,transform 0.25s;
}
.card:hover,
.feature-item:hover,
.testimonial-card:hover,
.service-item:hover {
  box-shadow: 0 4px 32px 0 rgba(54,220,255,0.21),0 0 0 2px var(--clr-neon);
  transform: translateY(-4px) scale(1.025);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  flex: 1 1 220px;
}
@media (max-width: 768px) {
  .feature-grid { flex-direction: column; }
  .feature-item { min-width: 0; width: 100%; }
}

.service-list {
  width: 100%;
  flex-wrap: wrap;
  gap: 24px 24px;
}
.service-item {
  flex: 1 1 260px;
  min-width: 230px;
  background: #232C3D;
}
@media (max-width: 900px) {
  .service-list { flex-direction: column; }
}

/* Testimonials (cards must use proper contrast) */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 22px;
  background: #F5F7FA;
  color: #232C3D;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px 0 rgba(26,37,56,0.11);
  min-width: 200px;
  max-width: 420px;
}
.testimonial-card p {
  color: #21243D;
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-style: italic;
}
.testimonial-card span {
  color: #6C8DA7;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.testimonial-slider,
.testimonial-list {
  gap: 20px;
  flex-wrap: wrap;
  align-items: stretch;
}
@media (max-width: 800px) {
  .testimonial-slider,
  .testimonial-list { flex-direction: column; }
  .testimonial-card { width: 100%; }
}

/* --- HEADER / NAVIGATION --- */
header {
  width: 100%;
  background: linear-gradient(90deg, #1A2538 0%, #232C3D 100%);
  box-shadow: 0 3px 24px 0 rgba(26,40,60,0.08);
  position: sticky; top: 0; z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  height: 76px;
}
.logo { display: flex; align-items: center; height: 52px; }
.logo img { height: 44px; width: auto; filter: drop-shadow(0 2px 8px #232C3D66); }
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-left: 24px;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #F5F7FA;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  padding: 6px 10px;
  border-radius: 8px;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #14FF9F18;
  color: var(--clr-neon);
}
.btn-primary {
  background: linear-gradient(90deg,#6C8DA7 0%,#14FF9F 100%);
  color: #21243D;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 34px;
  border-radius: var(--radius-md);
  margin-left: auto;
  box-shadow: 0 2px 24px 0 #14FF9F11;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  outline: none;
  transition: box-shadow 0.18s, background 0.16s, color 0.15s, transform 0.16s;
}
.btn-primary:hover, .btn-primary:focus {
  box-shadow: 0 6px 36px 0 #14FF9F44;
  color: #1A2538;
  background: linear-gradient(90deg,#14FF9F 0%,#6C8DA7 100%);
  transform: scale(1.03);
}
.btn-secondary {
  background: none;
  color: var(--clr-neon);
  border: 2px solid var(--clr-neon);
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: var(--radius-md);
  margin-top: 18px;
  letter-spacing: 0.01em;
  transition: box-shadow 0.17s, background 0.16s, color 0.15s, transform 0.16s;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--clr-neon);
  color: #1A2538;
  box-shadow: 0 6px 30px 0 #B1E2FF66;
  transform: scale(1.03);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.45rem;
  color: var(--clr-neon);
  margin-left: 18px;
  padding: 5px 16px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  z-index: 1003;
}
.mobile-menu-toggle:hover { background: #2e3745; }

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: #232C3DF4;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.75,.05,.37,.89);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100vw; height: 100vh;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  font-size: 2.2rem;
  color: var(--clr-neon);
  padding: 16px 22px 6px 0px;
  border-radius: 8px;
  border: none;
  margin-right: 14px;
  cursor: pointer;
  transition: background 0.17s;
  z-index: 2002;
}
.mobile-menu-close:hover { background: #2e3745; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 34px;
  gap: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat',sans-serif;
  font-size: 1.36rem;
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid #38435b;
  width: 100%;
  margin-bottom: 2px;
  transition: color 0.2s,background 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--clr-neon);
  background: #2e374530;
}

@media (max-width: 1050px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .btn-primary { margin-left: auto; }
}
@media (max-width: 540px) {
  header .container { height: 60px; padding: 0 8px; gap:16px; }
  .logo { height: 40px; }
  .logo img { height: 36px; }
}

/* --- HERO SECTIONS, CTA, ETC --- */
section {
  width: 100%;
  margin: 0 auto 60px auto;
  padding: 40px 0;
}
section:first-child {
  margin-top: 12px;
}
@media (max-width: 850px) {
  section { margin-bottom: 36px; padding: 24px 0; }
}

/* Text + Image Flex Section Template */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* --- BUTTONS --- */
button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  background: none;
  color: inherit;
  border: none;
  outline: none;
}

/* --- FORM ELEMENTS (if needed in the future) --- */
input, textarea, select {
  font-family: inherit;
  font-size: 1em;
  border: 1.5px solid #38435b;
  border-radius: var(--radius-md);
  padding: 11px 17px;
  color: #1A2538;
  background: #F5F7FA;
  outline: none;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--clr-neon); }

/* --- LINKS WITH NEON EFFECT --- */
a, .neon-link {
  transition: color 0.2s, border-color 0.12s, box-shadow 0.2s;
}
a.neon-link:hover {
  color: var(--clr-neon); border-bottom: 1.5px solid var(--clr-neon);
  box-shadow: 0 1px 0 0 var(--clr-neon);
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: linear-gradient(90deg, #232C3D 0%, #181C24 100%);
  padding: 42px 0 32px 0;
  box-shadow: 0 -2px 22px 0 #13191F55;
  color: #F5F7FA;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-nav {
  flex-wrap: wrap;
  gap: 18px 24px;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #B1E2FF;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.012em;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--clr-success);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 32px;
  font-size: 1rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #B1E2FF;
}
.footer-contact img {
  width: 25px; height: 25px;
  filter: drop-shadow(0 0 2px #6C8DA7CC);
}
@media (max-width: 700px) {
  .footer-contact { flex-direction: column; gap: 10px 0px; align-items: flex-start; }
  .footer-nav { flex-wrap: wrap; gap: 10px; }
}

/* --- TYPOGRAPHY --- */
body, html { font-family: 'Roboto', Arial, sans-serif; }
h1, h2, .logo, .btn-primary, .btn-secondary, nav a, .mobile-nav a { font-family: 'Montserrat', Arial, sans-serif; }
strong { color: var(--clr-neon); font-weight: 700; }

/* --- LISTS --- */
ul, ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
li { margin-bottom: 10px; }

/* --- OL & UL NUMBER STYLING --- */
ol li { list-style-type: decimal; }
ul li { list-style-type: disc; }
ul.feature-grid, ul.service-list, ul.footer-nav { list-style-type: none; padding-left: 0; }

/* --- MAP SNIPPET BOX --- */
.map-snippet, .contact-details {
  background: #232C3D;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
  margin: 20px 0 24px 0;
  color: #B1E2FF;
  font-size: 1.08rem;
}
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-row { display: flex; align-items: center; gap: 16px; }
.contact-row strong { color: var(--clr-neon); }

/* --- ROUNDED CORNERS + SHADOW FOR ALL KEY CARDS/BOXES --- */
.card, .feature-item, .service-item, .testimonial-card, .text-section, .map-snippet, .contact-details {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}

/* --- VISUAL ACCENTS & DIVIDERS --- */
h2::after {
  content: '';
  display: block;
  width: 47px; height: 4px;
  margin-top: 6px;
  border-radius: 2px;
  background: linear-gradient(90deg,#14FF9F,#B1E2FF);
}
.text-section h2::after { margin-bottom: 8px; }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 900px) {
  .container { padding: 0 8px; }
  .footer-nav, .footer-contact { flex-direction: column; gap: 8px; }
  header .container {gap: 12px;}
}
@media (max-width: 900px) {
  .service-item, .feature-item, .testimonial-card { min-width: 0; width: 100%; }
}
@media (max-width: 768px) {
  section, .section { padding: 18px 0; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  .content-wrapper, .text-section { padding: 16px 5px; }
}
@media (max-width: 540px){
  .testimonial-card,.feature-item, .service-item, .card, .map-snippet, .text-section, .contact-details { padding: 13px 8px; }
  ul, ol { padding-left: 13px; }
}

/* --- MICRO-INTERACTIONS --- */
a, button, .btn-primary, .btn-secondary {
  transition: color 0.18s, background 0.19s, box-shadow 0.18s, transform 0.14s;
}
h1,h2,h3,h4 { transition: color 0.13s; }

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #232C3DEF;
  color: #F5F7FA;
  box-shadow: 0 -8px 22px 0 #1A253899;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 12px 18px 12px;
  gap: 18px;
  animation: banner-fade-in 0.6s cubic-bezier(.3,1.17,.75,1.01);
}
@keyframes banner-fade-in {
  0% { transform: translateY(50%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  margin: 0 8px;
  padding: 10px 19px;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.15s;
}
.cookie-banner .cookie-accept {
  background: linear-gradient(90deg,#14FF9F 10%,#6C8DA7 90%);
  color: #21243D;
  margin-right: 7px;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus { background: #14FF9F; color:#181C24; }
.cookie-banner .cookie-reject {
  background: #232C3D;
  color: #14FF9F;
  border: 2px solid #14FF9F;
  margin-right: 7px;
}
.cookie-banner .cookie-reject:hover,.cookie-banner .cookie-reject:focus{ background: #181C24; color:#FF4848; border-color:#FF4848; }
.cookie-banner .cookie-settings {
  background: none; color: #B1E2FF;
  border: 2px solid #B1E2FF;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  border-color: #14FF9F;
  color: #14FF9F;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  display: none; /* set to flex when open */
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  z-index: 3500;
  background: rgba(22,34,46,0.72);
  justify-content: center; align-items: center;
  animation: modal-fade-in 0.55s cubic-bezier(.22,1.08,.6,1.01);
}
.cookie-modal-overlay.open { display: flex; }
@keyframes modal-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #262F44;
  color: #F5F7FA;
  min-width: 330px;
  max-width: 98vw;
  padding: 34px 26px 28px 26px;
  border-radius: 19px;
  box-shadow: 0 0 44px 0 #14FF9F22;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.23rem;
  color: #B1E2FF;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex; align-items: center; gap: 12px;
  margin: 7px 0;
}
.cookie-modal input[type="checkbox"] {
  width: 24px; height: 24px; vertical-align: middle;
  accent-color: #14FF9F;
}
.cookie-modal .cookie-category.disabled label { color:#98A6BE; }
.cookie-modal .cookie-close {
  position: absolute; top: 12px; right: 16px;
  font-size: 1.6rem; color: #14FF9F;
  background: none; border: none; cursor: pointer;
  opacity: 0.77;
  transition: opacity 0.14s;
}
.cookie-modal .cookie-close:hover { opacity: 1; }
.cookie-modal .modal-action-row {
  margin-top: 14px;
  display: flex; gap: 15px; flex-wrap: wrap;
}
.cookie-modal .cookie-save, .cookie-modal .cookie-cancel {
  background: linear-gradient(90deg,#6C8DA7 10%,#14FF9F 90%);
  color: #181C24; border-radius: 10px;
  font-size: 1rem; font-weight: 700;
  padding: 11px 21px; border: none;
}
.cookie-modal .cookie-cancel {
  background: none; color: #B1E2FF; border: 2px solid #B1E2FF;
}
.cookie-modal .cookie-cancel:hover { color: #14FF9F; border-color: #14FF9F; }
.cookie-modal .cookie-save:hover { background: #14FF9F; color: #232C3D; }

/* --- FOCUS VISIBLE FOR ACCESSIBILITY --- */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus { outline: 2.5px solid #14FF9F; outline-offset: 3px; box-shadow: 0 0 0 4px #14FF9F33; }

/* --- MISC --- */
::-webkit-scrollbar { width: 9px; background: #232C3D; }
::-webkit-scrollbar-thumb { background: #6C8DA7; border-radius:8px; }
::-webkit-selection, ::selection { background: #14FF9F77; color: #181C24; }

/* --- SPACING & VERTICAL RHYTHM --- */
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }
.mt-16 { margin-top: 16px; }
.gap-24 { gap: 24px; }

/* --- PAGE SPECIFIC OVERRIDES (optional for more color pop) --- */
.feature-item img, .service-item img, .footer-contact img, .contact-row img {
  filter: drop-shadow(0 0 4px #14FF9F99) drop-shadow(0 0 2px #B1E2FF99);
  background: #181C24;
  border-radius: 7px;
  padding:3px;
  width:31px; height:31px;
}

/* --- END --- */
