/* 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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  background: #1a2733;
  color: #F4F4F0;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: 16px;
  outline: none;
  border: none;
  background: none;
  color: inherit;
}
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* BRAND COLORS (OVERRIDE WITH FALLBACKS) */
:root {
  --color-primary: #244157;
  --color-secondary: #F4F4F0;
  --color-accent: #E38619;
  --color-bg-dark: #1a2733;
  --color-bg-light: #232e3a;
  --color-neon: #08F7FE;
}

/* TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700&display=swap');
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -1px;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #08F7FE;
  text-shadow: 0 2px 16px rgba(8,247,254,0.1);
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--color-accent);
  text-shadow: 0 1px 8px rgba(227,134,25,0.10);
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #70ffe7;
  margin-bottom: 8px;
}
h4, h5, h6 { font-weight: 700; }
p, ul li, ol li {
  font-size: 1rem;
  color: var(--color-secondary);
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.175rem;
  color: #AFECEC;
  margin-bottom: 28px;
}
strong { color: #fff; font-weight: 700; }
address {
  font-style: normal;
  color: #e5eefd;
  margin-bottom: 12px;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* HERO SECTION */
.hero {
  min-height: 400px;
  background: linear-gradient(90deg, #244157 70%, #2a4960 100%);
  border-bottom: 4px solid var(--color-accent);
  position: relative;
  overflow: hidden;
}
.hero .container {
  justify-content: center;
  align-items: center;
  min-height: 350px;
  flex: 1;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  min-height: 250px;
}
.hero .cta-btn {
  margin-top: 16px;
}

/* SERVICES GRID (HOMEPAGE & SERVICES) */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 10px;
}
.service-feature {
  background: #232e3a;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(8,247,254,0.14);
  padding: 32px 24px 28px 24px;
  margin-bottom: 20px;
  flex: 1 1 290px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1.5px solid rgba(8,247,254,0.11);
  transition: box-shadow 0.24s, border 0.24s, transform 0.20s;
  position: relative;
}
.service-feature:hover,
.service-feature:focus {
  border: 1.5px solid var(--color-neon);
  box-shadow: 0 6px 30px rgba(8,247,254,0.19), 0 1px 4px 0 rgba(227,134,25,0.06);
  transform: translateY(-4px) scale(1.018);
  z-index: 2;
}
.service-feature img {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 16px #08F7FE55);
}
.service-feature h3 {
  margin-bottom: 8px;
}
.service-feature p {
  font-size: 1rem;
  color: #e8f2fc;
}

/* TESTIMONIALS */
.testimonials {
  background: #1e2432;
  padding: 48px 0 48px 0;
  margin-bottom: 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  color: #1a2733;
  border-radius: 15px;
  box-shadow: 0 4px 30px 0 rgba(8,247,254,0.12), 0 0 24px #e3861922 inset;
  padding: 24px 28px;
  margin-bottom: 20px;
  margin-top: 0px;
  max-width: 560px;
  width: 100%;
  font-size: 1.08rem;
}
.testimonial-card p { color: #1a2733; margin-bottom: 10px; }
.testimonial-author {
  font-weight: 600;
  color: #244157;
  margin-top: 2px;
  font-size: 0.98rem;
  text-align: right;
}

/* CTA SECTION */
.cta {
  background: #232e3a;
  padding: 60px 0 50px 0;
  border-radius: 16px;
  box-shadow: 0 2px 40px 0 rgba(8,247,254,0.07);
}
.cta .cta-btn {
  font-size: 1.18rem;
}

/* BUTTONS / CALLS TO ACTION */
.cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  background: var(--color-accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  padding: 13px 38px;
  line-height: 1.2;
  margin-top: 8px;
  box-shadow: 0 2px 18px #E3861933, 0 0 2px #08F7FE66;
  letter-spacing: 1px;
  transition: background 0.14s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  position: relative;
  z-index: 1;
}
.cta-btn:hover,
.cta-btn:focus,
.cookie-btn:hover,
.cookie-btn:focus {
  background: #08F7FE;
  color: #1a2733;
  box-shadow: 0 3px 20px #08F7FE33, 0 0 8px #08F7FE66, 0 0 0 2px #E38619 inset;
  transform: translateY(-1.5px) scale(1.03);
}

/* NAVIGATION / HEADER */
header {
  width: 100%;
  padding: 0 0 0 0;
  background: #232e3a;
  border-bottom: 2.5px solid var(--color-accent);
  position: sticky;
  top: 0;
  z-index: 111;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 12px 20px;
  gap: 22px;
}
.logo img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 0 28px #08F7FE55);
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: 16px;
}
.main-nav a {
  color: #d4e8ff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.01rem;
  letter-spacing: 0.2px;
  position: relative;
  padding: 7px 8px;
  border-radius: 8px;
  transition: color 0.14s, background 0.12s, box-shadow 0.12s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-neon);
  background: #1a273396;
  box-shadow: 0 2px 12px #08F7FE26;
}
header .cta-btn {
  margin-left: 12px;
  padding: 11px 27px;
  font-size: 1.04rem;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #08F7FE;
  color: #244157;
  font-size: 2rem;
  padding: 6px 17px;
  border-radius: 18px;
  border: none;
  position: relative;
  z-index: 130;
  margin-left: 12px;
  box-shadow: 0 2px 12px #08F7FE33;
  transition: box-shadow 0.20s, background 0.18s, color 0.14s, transform 0.14s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #E38619;
  color: #fff;
  box-shadow: 0 3px 20px #E3861944;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  right: 0; bottom: 0;
  z-index: 990;
  width: 100vw;
  height: 100vh;
  background: #1a2733F2;
  transform: translateX(-110vw);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.34s cubic-bezier(.5,1.9,.78,.98), opacity 0.21s, visibility 0.1s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  box-shadow: 0 4px 50px #0ff8 0 0 0 2px #E3861999 inset;
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: #E38619;
  color: #fff;
  padding: 6px 18px 0 18px;
  border-radius: 18px;
  border: none;
  align-self: flex-end;
  margin-right: 22px;
  margin-bottom: 8px;
  margin-top: 10px;
  box-shadow: 0 2px 12px #E3861933;
  transition: background 0.15s, color 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #08F7FE;
  color: #244157;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 22px 0;
  width: 88vw;
  max-width: 340px;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 13px 6px 13px 14px;
  background: #232e3ac4;
  margin-right: 8px;
  margin-bottom: 3px;
  transition: background 0.12s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #08F7FE;
  color: #1a2733;
}

/* FLEX CONTAINERS & GAPS (MANDATORY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 13px;
  box-shadow: 0 3px 18px rgba(8,247,254,0.08);
  background: #232e3a;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPACING ENFORCEMENT */
.section > .container, .section > .container > .content-wrapper {
  margin-bottom: 0 !important;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card, .testimonial-card, .service-feature {
  margin-bottom: 20px !important;
}

/* FOOTER */
footer {
  background: #232e3a;
  padding-top: 46px;
  padding-bottom: 36px;
  border-top: 2.5px solid var(--color-accent);
}
.footer-navigation {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.footer-navigation nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-navigation a {
  color: #AFECEC;
  font-size: 1.01rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 4px 7px;
  transition: background 0.12s, color 0.1s;
}
.footer-navigation a:hover {
  background: #08F7FE;
  color: #232e3a;
}
.footer-social {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-bottom: 14px;
}
.footer-info {
  margin-top: 14px;
  color: #5addf5;
  font-size: 0.96rem;
  text-align: center;
  opacity: 0.67;
}

/* LINKS */
a {
  color: #08F7FE;
  text-decoration: none;
  transition: color 0.12s;
  outline: none;
}
a:focus {
  outline: 2px solid #E38619;
  outline-offset: 1.5px;
}

/* LISTS */
ul li, ol li {
  position: relative;
  margin-left: 20px;
  margin-bottom: 8px;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #E38619 60%, #08F7FE 100%);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 6px #08F7FE66;
}
ol li::before {
  display: none;
}

/* FORMS (if present) */
input, textarea, select {
  background: #fff;
  color: #232e3a;
  border-radius: 6px;
  border: 1.5px solid #244157;
  padding: 11px 14px;
  margin-bottom: 16px;
  font-size: 1rem;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #08F7FE;
}
label { color: #08F7FE; font-weight: 600; }

/* ACCESSIBILITY ENHANCEMENTS */
:focus-visible {
  outline: 2px solid #E38619;
  outline-offset: 2.5px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #232e3a;
  color: #fff;
  box-shadow: 0 -4px 28px #08F7FE22;
  z-index: 2000;
  padding: 26px 20px 26px 24px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  opacity: 1;
  animation: cookie-slidein 0.7s cubic-bezier(.65,1.4,.66,.99);
}
@keyframes cookie-slidein {
  0% { transform: translateY(110%); }
  100% { transform: translateY(0); }
}
.cookie-banner__text {
  font-size: 1rem;
  color: #fff;
  flex: 1 1 220px;
}
.cookie-banner__actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #08F7FE;
  color: #1a2733;
  font-weight: 700;
  border-radius: 24px;
  padding: 9px 27px;
  font-size: 1rem;
  margin: 0 5px 0 0;
  border: none;
  transition: background 0.14s, color 0.11s, box-shadow 0.13s;
  box-shadow: 0 1px 8px #08F7FE44, 0 0 5px #E3861922;
}
.cookie-btn.reject {
  background: #244157;
  color: #fff;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #E38619;
  color: #fff;
}
.cookie-btn.settings {
  background: #E38619;
  color: #fff;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #08F7FE;
  color: #232e3a;
}

.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(0.95);
  background: #1a2733;
  color: #fff;
  padding: 38px 28px 28px 28px;
  border-radius: 24px;
  box-shadow: 0 8px 58px #0ff7fe55, 0 5px 24px #E3861988;
  z-index: 2100;
  min-width: 280px;
  max-width: 94vw;
  width: 410px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s, transform 0.25s, visibility 0.15s;
  display: flex;
  flex-direction: column;
  gap: 22px;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%,-50%) scale(1);
  pointer-events: auto;
}
.cookie-modal__close {
  position: absolute;
  right: 16px;
  top: 12px;
  background: none;
  border: none;
  color: #08F7FE;
  font-size: 2rem;
  z-index: 2200;
}
.cookie-modal__close:hover { color: #E38619; }
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.22rem;
  color: #08F7FE;
  margin-bottom: 2px;
}
.cookie-modal__cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-modal__cat label {
  font-size: 1rem;
  color: #e5eefd;
  font-weight: 600;
  margin-bottom: 0;
}
.cookie-modal__cat input[type='checkbox'] {
  width: 24px;
  height: 24px;
  accent-color: #08F7FE;
  border-radius: 6px;
}
.cookie-modal__cat .required {
  color: #E38619;
  font-weight: 700;
  font-size: 0.95em;
}

/* TOAST/FEEDBACK (OPTIONAL) */
.toast-message {
  position: fixed;
  right: 32px;
  bottom: 88px;
  background: #08F7FE;
  color: #232e3a;
  padding: 13px 32px;
  border-radius: 16px;
  box-shadow: 0 1px 18px #08F7FE44, 0 0 5px #E3861912;
  font-size: 1rem;
  z-index: 21010;
  opacity: 0.97;
  animation: toast-in 0.56s cubic-bezier(.61,1.3,.73,.97);
}
@keyframes toast-in {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 0.97; }
}

/* ANIMATIONS */
@keyframes fadeInUp {
  0% { opacity:0; transform: translateY(32px); }
  100% { opacity:1; transform: translateY(0); }
}
.animate-fadeInUp { animation: fadeInUp 0.6s cubic-bezier(.48,1.36,.71,1) both; }

/* RESPONSIVE & MEDIA QUERIES */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
  .hero .container { padding: 0 10px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 12px; }
  .footer-navigation { gap: 15px; flex-direction: column; }
}
@media (max-width: 768px) {
  h1, .hero h1 { font-size: 2.1rem; }
  h2 { font-size: 1.3rem; }
  .container { padding: 0 8px; }
  .content-wrapper { gap: 16px; }
  .hero { min-height: 280px; }
  .hero .container { min-height: 200px; }
  .services-grid { flex-direction: column; gap: 20px; }
  .service-feature { min-width: 90vw; padding: 22px 12px; }
  .testimonials { padding: 28px 0 28px 0; }
  .testimonial-card { padding: 16px 10px; max-width: 96vw; }
  .card-container, .content-grid, .footer-navigation { flex-direction: column; gap: 20px; }
  .footer-social { gap: 16px; }
  .cta { padding: 32px 0 30px 0; }
  .section { padding: 18px 4px; margin-bottom: 32px; }
  .card { margin-bottom: 20px; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start !important;
  }
  .main-nav { display: none; }
  header .cta-btn { display: none; }
  .mobile-menu-toggle { display: inline-block; }
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
  header .cta-btn { display: inline-block !important; }
}

/* Prevent content overlap at all breakpoints */
.section, .container, .content-wrapper, .services-grid, .card-container, .card,
.text-image-section, .card-content, .testimonial-card, .feature-item {
  box-sizing: border-box;
}
/* END */
