/* 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
}
ol, ul {
  list-style: disc inside;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --color-primary: #21406B;
  --color-secondary: #7DC3E5;
  --color-accent: #F8F9FA;
  --color-bg-dark: #171F2B;
  --color-bg-light: #F8F9FA;
  --color-text: #F8F9FA;
  --color-text-dark: #222B38;
  --color-neon: #18ffff;
  --color-shadow: rgba(32,64,107,0.12);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

body {
  min-height: 100vh;
  background: var(--color-bg-dark);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  background-color: var(--color-bg-dark);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* TYPOGRAPHY */
h1, .display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--color-accent);
  line-height: 1.18;
  letter-spacing: 0.01em;
}
@media (min-width: 768px) {
  h1, .display {
    font-size: 3rem;
  }
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--color-secondary);
  margin-bottom: 8px;
}
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--color-accent);
  margin-bottom: 4px;
}
h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
}
p, ul, ol, li, table, td, th {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.7;
}
strong {
  font-weight: 700;
}

/* BUTTONS & CTA */
.cta-btn, .cta-section a.cta-btn, .service-card a, .service-item a, .contact-details a.cta-btn, .confirmation a.cta-btn, .features .feature-item a, .footer-nav a.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 40px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  background: var(--color-secondary);
  color: var(--color-bg-dark);
  box-shadow: 0 2px 24px 0 rgba(24,255,255,0.2);
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.18s,border 0.18s,transform 0.18s,box-shadow 0.22s;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-neon);
  color: var(--color-bg-dark);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 32px 0 var(--color-neon);
  outline: none;
}

button {
  background: transparent;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* HEADER & NAVIGATION */
header {
  background: linear-gradient(90deg,var(--color-primary) 80%, var(--color-secondary) 130%);
  border-bottom: 2px solid var(--color-secondary);
  position: relative;
  z-index: 22;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header img {
  max-height: 44px;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  color: var(--color-accent);
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 7px 0;
  border-radius: 2px;
  position: relative;
  transition: color 0.15s;
}
nav a:not(.cta-btn):hover, nav a:not(.cta-btn):focus {
  color: var(--color-neon);
}

nav a.cta-btn {
  margin-left: 18px;
  box-shadow: 0 2px 18px 0 var(--color-shadow);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  margin-left: 12px;
  z-index: 12;
  transition: color 0.2s;
  outline: none;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--color-neon);
}

/* MOBILE NAVIGATION/OVERLAY MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(23,31,43,0.97);
  box-shadow: 0 0 120px 0 var(--color-neon);
  z-index: 99;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 22px 32px 0 32px;
  visibility: hidden;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  font-size: 2.4rem;
  color: var(--color-neon);
  margin-left: auto;
  margin-bottom: 18px;
  background: none;
  border: none;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  padding-top: 20px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 1px solid rgba(125,195,229,0.09);
  transition: color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-neon);
}

@media (max-width: 1200px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 991px) {
  nav {
    gap: 9px;
  }
}
@media (max-width: 835px) {
  nav {
    display:none;
  }
  .mobile-menu-toggle {
    display:flex;
  }
}
@media (min-width: 836px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none!important;
  }
  nav {
    display: flex;
    flex-direction: row;
  }
}

/* HERO SECTION */
.hero {
  width: 100%;
  padding: 60px 0 0 0;
  background: linear-gradient(90deg, #21406b 70%, #7DC3E5 120%);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  min-height: 220px;
}
.hero h1, .hero p {
  margin-bottom: 18px;
}

/* SECTION SPACING */
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEXBOX LAYOUTS (MANDATORY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  background: #202d41;
  border-radius: 18px;
  box-shadow: 0 3px 28px -17px var(--color-neon);
  padding: 30px 26px 26px 26px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-bg-light);
  border-radius: 18px;
  box-shadow: 0 1px 24px 0 rgba(30,80,155,0.18);
  margin-bottom: 20px;
  color: var(--color-text-dark);
  flex: 1 1 280px;
  min-width: 250px;
  max-width: 520px;
  transition: box-shadow .22s, transform .16s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 40px 0 var(--color-secondary);
  transform: scale(1.016);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 210px;
  max-width: 340px;
  margin-bottom: 16px;
  padding: 15px 16px 13px 16px;
  background: #23334a;
  border-radius: 14px;
  box-shadow: 0 4px 26px 0 rgba(24,255,255,0.06);
  transition: box-shadow 0.19s, background 0.16s;
}
.feature-item img {
  width: 48px; height: 48px; filter: drop-shadow(0 0 8px var(--color-secondary));
}
.feature-item:hover {
  background: #223759;
  box-shadow: 0 6px 24px 0 var(--color-secondary);
}


/* FEATURES Flex Grids */
.features .feature-grid,
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 980px) {
  .features .feature-grid,
  .feature-list {
    gap: 16px;
    justify-content: center;
  }
  .feature-item {
    min-width: 160px;
    max-width: 99vw;
  }
}

/* SERVICES Cards & Grids */
.services .service-cards, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.service-card, .service-item {
  flex: 1 1 280px;
  min-width: 230px;
  max-width: 340px;
  background: #232936;
  border-radius: 17px;
  box-shadow: 0 4px 32px 0 rgba(34,60,120,0.10);
  margin-bottom: 24px;
  padding: 32px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow .20s, transform .18s;
}
.service-card img {
  width: 48px; height: 48px; margin-bottom: 8px;
  filter: drop-shadow(0 0 10px var(--color-neon));
}
.service-card a {
  margin-top: 8px;
  padding: 9px 17px;
  background: none;
  color: var(--color-secondary);
  border-radius: 20px;
  border: 1px solid var(--color-neon);
  box-shadow: 0 1px 22px 0 rgba(24,255,255,0.05);
  font-family: var(--font-display);
  font-size: 0.97rem;
  transition: background 0.15s, color 0.16s, border 0.18s;
}
.service-card a:hover, .service-card a:focus {
  background: var(--color-neon);
  color: var(--color-bg-dark);
  border: 1.8px solid var(--color-secondary);
}
.service-item {
  padding: 19px 18px 15px 18px;
  background: #223759;
}

/* TEAM */
.our-team .team-member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.team-member {
  background: #1d2638;
  border-radius: 13px;
  box-shadow: 0 7px 28px 0 var(--color-secondary);
  padding: 24px 17px 19px 17px;
  flex: 1 1 210px;
  min-width: 170px;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .23s, background 0.18s;
}
.team-member img {
  width: 42px; height: 42px; margin-bottom: 7px;
  filter: drop-shadow(0 0 7px var(--color-neon));
}
.team-member:hover {
  background: #223759;
  box-shadow: 0 3px 34px 0 var(--color-neon);
}

/* TRUST BADGES */
.trust-badges {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-top: 18px;
}
.trust-badges img {
  height: 40px;
  filter: drop-shadow(0 0 8px var(--color-secondary));
  background: none;
}

/* TESTIMONIALS */
.testimonials .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card p {
  color: var(--color-text-dark);
  font-size: 1.05rem;
}
.testimonial-author {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-secondary);
  margin-left: 11px;
  font-weight: 600;
}

/* NEWS PREVIEW */
.news-preview {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: #1E293A;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(30,80,155,0.10);
  padding: 23px 18px 20px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, background 0.13s;
}
.news-preview:hover {
  background: #223759;
  box-shadow: 0 4px 28px 0 var(--color-secondary);
}
.news-preview a {
  color: var(--color-neon);
  font-weight: 600;
  text-decoration: underline;
  letter-spacing: 0.02em;
  font-size: 0.99rem;
  transition: color 0.17s;
}
.news-preview a:hover {
  color: var(--color-secondary);
}

/* CARDS & GENERAL */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* FAQ ACCORDION */
.faq-accordion, .faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #23334E;
  color: var(--color-accent);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 4px 18px 0 rgba(32,64,107,0.08);
  margin-bottom: 6px;
  transition: box-shadow 0.17s, background 0.16s;
}
.faq-item h3 {
  font-size: 1rem;
  color: var(--color-secondary);
  cursor: pointer;
  margin: 0;
  font-weight: 600;
}
.faq-answer {
  margin-top: 7px;
  color: var(--color-accent);
  font-size: 0.97rem;
  transition: max-height 0.23s cubic-bezier(.77,0,.18,1);
  line-height: 1.6;
}
.faq-item.active {
  background: #223759;
  box-shadow: 0 6px 28px 0 var(--color-neon);
}

/* LEGAL & TEXT SECTIONS */
.legal .text-section, .about .text-section {
  background: #1b263c;
  border-radius: 15px;
  padding: 29px 18px 24px 18px;
  box-shadow: 0 2px 22px 0 var(--color-secondary);
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.legal .text-section h2, .about .text-section h3 {
  margin-top: 10px;
  color: var(--color-neon);
}
.legal .text-section ul, .about .text-section ul {
  margin-left: 17px;
}

/* CONTACT/ADDRESS DETAILS */
.contact-details, .contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 17px;
  font-size: 1rem;
}
.contact-details img, .contact-info img {
  width: 19px; height: 19px; margin-right: 7px;
  vertical-align: middle;
}

.office-hours {
  background: #23334a;
  border-radius: 12px;
  margin-bottom: 28px;
  color: var(--color-accent);
  padding: 24px 18px;
}

.map {
  margin: 24px 0 14px 0;
}

.cta-section {
  margin-top: 24px;
}

/* TABLE */
table {
  width: 100%;
  border-radius: 8px;
  background: #223759;
  box-shadow: 0 2px 18px 0 var(--color-shadow);
  margin-top: 16px;
}
th, td {
  padding: 11px 7px;
  text-align: left;
  color: var(--color-accent);
}
th {
  background: var(--color-primary);
  color: var(--color-neon);
  font-size: 1rem;
  border-radius: 8px 8px 0 0;
}
tr:nth-child(even) {
  background: #29425b;
}
tr:nth-child(odd) {
  background: #23334A;
}

/* CONFIRMATION / THANK YOU */
.confirmation {
  background: linear-gradient(90deg, #7DC3E5 0, #21406B 100%);
  border-radius: 16px;
  margin: 54px auto 24px auto;
  color: var(--color-bg-dark);
  box-shadow: 0 8px 50px 0 var(--color-secondary);
  padding: 42px 24px 48px 24px;
  max-width: 700px;
}
.confirmation h1, .confirmation p {
  color: var(--color-bg-dark);
}
.confirmation .cta-btn {
  background: var(--color-primary);
  color: var(--color-accent);
  border: 1.5px solid var(--color-secondary);
}
.confirmation .cta-btn:hover { background: var(--color-neon);  color: var(--color-bg-dark); }

/* FOOTER */
footer {
  background: #182335;
  padding: 50px 0 12px 0;
  color: var(--color-accent);
  border-top: 2.5px solid var(--color-secondary);
  font-size: 0.95rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 16px;
}
.footer-logo img {
  width: 48px; height: 48px; filter: drop-shadow(0 0 10px var(--color-neon));
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 0.97rem;
  transition: color 0.19s;
}
.footer-nav a:hover {
  color: var(--color-neon);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.97rem;
  color: var(--color-accent);
}
.footer-contact img {
  width: 16px; height: 16px; margin-right: 4px;
  vertical-align: middle;
}
.footer-copyright {
  font-size: 0.92rem;
  color: #9cb9d3;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid #263340;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #273447;
  color: var(--color-accent);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 -2px 26px 0 var(--color-secondary);
  z-index: 1201;
  transition: transform 0.36s cubic-bezier(.86,0,.07,1), opacity 0.32s;
  font-size: 0.97rem;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
}
.cookie-banner .cookie-btn {
  min-width: 120px;
  padding: 10px 21px;
  margin-left: 9px;
  border-radius: 21px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-bg-dark);
  background: var(--color-secondary);
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.17s;
}
.cookie-banner .cookie-btn.settings {
  background: #182335;
  color: var(--color-accent);
  border: 1.5px solid var(--color-secondary);
}
.cookie-banner .cookie-btn:hover {
  background: var(--color-neon);
  color: var(--color-bg-dark);
}
.cookie-banner .cookie-btn.settings:hover {
  background: var(--color-secondary);
  color: var(--color-bg-dark);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1);
  width: 94vw;
  max-width: 410px;
  background: #222F48;
  color: var(--color-accent);
  border-radius: 22px;
  z-index: 1300;
  box-shadow: 0 4px 54px 0 var(--color-neon);
  padding: 31px 24px 27px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 1;
  transition: opacity 0.34s,transform 0.33s cubic-bezier(0.7,0,0.3,1.2);
}
.cookie-modal.hide {
  opacity: 0;
  transform: translate(-50%,-50%) scale(0.92);
  pointer-events: none;
}
.cookie-modal h2 {
  font-family: var(--font-display);
  color: var(--color-neon);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #29425b;
}
.cookie-modal .category:last-child {
  border-bottom: none;
}
.cookie-modal .toggle {
  margin-left: 8px;
}
.cookie-modal .close {
  position: absolute;
  top: 22px; right: 24px;
  background: none;
  color: var(--color-secondary);
  font-size: 1.6rem;
  cursor: pointer;
  border: none;
  transition: color 0.13s;
}
.cookie-modal .close:hover {
  color: var(--color-neon);
}

/* Cookie toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 38px; height: 20px;
}
.switch input {
  opacity: 0; width: 0; height: 0;
}
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #112233;
  border-radius: 18px;
  transition: .2s;
}
.switch .slider:before {
  position: absolute;
  content: '';
  height: 16px; width: 16px;
  left: 2px; bottom: 2px;
  background: var(--color-secondary);
  border-radius: 50%;
  transition: .2s;
}
.switch input:checked + .slider {
  background: var(--color-neon);
}
.switch input:checked + .slider:before {
  background: var(--color-primary);
  transform: translateX(18px);
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
  .services .service-cards, .service-grid, .features .feature-grid, .feature-list, .testimonials .testimonial-list, .our-team .team-member-list {
    gap: 18px;
    justify-content: center;
  }
  .testimonial-card {
    min-width: 180px;
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 13px;
  }
  .section,
  section {
    padding: 27px 8px;
    margin-bottom: 38px;
  }
  .hero {
    padding-top: 40px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
  }
  .content-wrapper {
    gap: 13px;
  }
}

@media (max-width: 599px) {
  .footer-logo img {
    width: 36px; height: 36px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    padding: 14px 12px;
  }
}

/* VISUALS: NEON & SLEEK ACCENTS */
hr {
  border: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-neon) 0, transparent 100%);
  border-radius: 2px;
}

/* HOVERS, TRANSITIONS, INTERACTIONS */
section, .section, .feature-item, .service-card, .news-preview, .team-member, .faq-item {
  transition: box-shadow .18s, background .16s;
}
.card, .card-container, .feature-item, .testimonial-card {
  transition: box-shadow .15s, background .13s, transform .12s;
}

/* UTILITY */
.text-center { text-align: center!important; }
.text-right { text-align: right; }
.rounded { border-radius: 11px; }

/* Hide visually but keep accessible */
.sr-only {
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;clip: rect(0,0,0,0);
  border: 0;
}

/* --- END CSS ---*/
