/* =========================
   NANO CREST SECURITY CSS  
   Tech Futuristic Theme
   ========================= */

/* 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, menu, 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,
main, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #0C192E;
  /* fallback for no gradients */
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  color: #F3F7FA;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: linear-gradient(134deg, #113866 0%, #19386f 40%, #0C192E 100%);
  font-size: 16px;
  letter-spacing: 0.01em;
  transition: background 0.4s;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #F4B528;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
  text-shadow: 0 0 4px #F4B528, 0 0 10px #F4B52844;
}
ul, ol {
  margin-left: 24px;
  padding-left: 0;
}
li + li {
  margin-top: 12px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.015em;
}
h1 { font-size: 2.75rem; line-height: 1.13; }
h2 { font-size: 2rem;   line-height: 1.2;  }
h3 { font-size: 1.36rem;   line-height: 1.3;  }
h4 { font-size: 1.12rem;  }

p, .text-section, .feature-item, .service-list li, .solution-list li, .outcome-highlights, .benefit-highlights, .testimonial-card, .section {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
p {
  margin-bottom: 14px;
}

/* ========= LAYOUT CONTAINERS ========== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(17,56,102,0.16);
  border-radius: 24px;
  box-shadow: 0 4px 32px 0 #0C192E44;
}
.hero-section {
  background: linear-gradient(124deg, #0C192E 70%, #113866 100%);
  padding: 60px 0 50px 0;
  min-height: 380px;
  display: flex;
  align-items: center;
}

/* ========= FLEXBOX PATTERNS ========= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 10px;
  margin-bottom: 20px;
}
.card-container, .card-grid, .case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #122649;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 #16275533;
  padding: 32px 26px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #F3F7FA;
  color: #113866;
  padding: 20px 24px;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 #18315833;
  min-width: 240px;
  max-width: 350px;
  flex: 1 1 0;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 5px 18px 0 #F4B52866, 0 0 0 2px #F4B52844;
  transform: translateY(-4px) scale(1.02);
}
.testimonial-meta {
  font-size: 0.95rem;
  font-weight: 500;
  color: #365a83;
}
.testimonial-rating img {
  height: 20px;
  margin-right: 2px;
}
.testimonial-rating{
  display: flex;
  align-items: center;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #172b47;
  padding: 26px 23px 22px 23px;
  border-radius: 18px;
  box-shadow: 0 2px 17px 0 #253c5b22;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 300px;
  transition: box-shadow 0.22s, background 0.19s, transform 0.15s;
}
.feature-item:hover {
  box-shadow: 0 5px 28px 0 #F4B52877;
  background: #113866;
  transform: translateY(-3px) scale(1.012);
}
.feature-item img {
  height: 36px;
}

.service-list, .solution-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 18px 0;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 20px 0;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #11213b;
  padding: 12px 20px;
  border-radius: 15px;
  font-size: 1rem;
  color: #F3F7FA;
  min-width: 210px;
}
.contact-details img {
  height: 26px;
}

/**** Buttons (CTAs) ****/
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: #113866;
  color: #F4B528;
  border-radius: 38px;
  padding: 13px 38px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  border: 2px solid #F4B528;
  box-shadow: 0 1px 13px 0 #F4B52833;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.15s, box-shadow 0.18s;
  margin-top: 20px;
  margin-bottom: 12px;
  text-shadow: 0 0 2px #F4B52811;
}
.cta-btn:hover, .cta-btn:focus {
  color: #113866;
  background: #F4B528;
  box-shadow: 0 2px 30px 0 #F4B52888, 0 0 0 2px #fff;
  transform: translateY(-2px) scale(1.03);
}
/* NAVIGATION HEADER -- DESKTOP */
header {
  position: relative;
  z-index: 40;
  background: transparent;
  margin-bottom: 0px;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
  gap: 28px;
}
.main-nav img {
  height: 48px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav ul li {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
.main-nav ul li a {
  color: #F3F7FA;
  border-radius: 8px;
  padding: 9px 18px;
  transition: background 0.2s, color 0.22s, box-shadow 0.19s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #113866;
  color: #F4B528;
  box-shadow: 0 2px 8px 0 #F4B52844;
}

/* ----------- MOBILE NAV ----------- */
.mobile-menu-toggle {
  position: absolute;
  right: 18px;
  top: 22px;
  z-index: 91;
  padding: 10px 12px;
  background: #0C192E99;
  border: none;
  border-radius: 8px;
  color: #F4B528;
  font-size: 2rem;
  display: none;
  cursor: pointer;
  transition: background 0.17s, transform 0.12s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #19386f;
  color: #fff;
  transform: scale(1.08);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(12,25,46,0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 35px 28px 28px 28px;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.61, 0.35, 0.46, 1);
  box-shadow: 0 0 40px 10px #F4B52811;
  min-width: 260px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 28px;
  top: 24px;
  background: none;
  border: none;
  color: #F4B528;
  font-size: 2.35rem;
  cursor: pointer;
  z-index: 210;
  transition: color 0.18s, filter 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  filter: drop-shadow(0 0 8px #F4B52877);
}
.mobile-nav {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F3F7FA;
  padding: 14px 8px;
  border-radius: 12px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4B528;
  color: #0C192E;
}

/* Hide desktop nav on mobile */
@media (max-width: 950px) {
  .main-nav ul {
    display: none;
  }
  .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Hide mobile nav on desktop */
@media (min-width: 951px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============= FOOTER ============= */
.site-footer {
  background: linear-gradient(10deg, #113866 18%, #172b47 100%);
  width: 100%;
  padding: 46px 0 10px 0;
  color: #F3F7FA;
  box-shadow: 0 -4px 30px 0 #0C192E66;
  margin-top: 45px;
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-brand img {
  height: 48px;
  margin-bottom: 8px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-menu a {
  color: #F4B528;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 7px;
  transition: background 0.18s, color 0.16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #fff;
  color: #113866;
}
.footer-social {
  display: flex;
  gap: 18px;
  margin-bottom: 6px;
}
.footer-social a img {
  height: 32px;
}
.site-footer p {
  font-size: 0.96rem;
  color: #e3eaf0;
}

/* ============= COOKIE CONSENT BANNER ============= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  background: #193866fa;
  color: #fff;
  box-shadow: 0 -2px 24px #0C192E55;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 25px 24px 22px 24px;
  z-index: 9000;
  font-family: 'Roboto', Arial;
  animation: banner-popin 0.61s cubic-bezier(0.4,0.4, 0.19, 1.23);
  opacity: 0.97;
}
@keyframes banner-popin {
  0% { transform: translateY(100px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0.97; }
}
.cookie-banner p {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 7px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.15s, box-shadow 0.13s;
  margin-right: 5px;
}
.cookie-accept {
  background: #F4B528;
  color: #113866;
  box-shadow: 0 1px 12px #F4B52855;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #fff;
  color: #113866;
  box-shadow: 0 2px 15px #F4B52899, 0 0 0 2px #F4B528;
}
.cookie-reject {
  background: #293E69;
  color: #F4B528;
  border: 2px solid #F4B52877;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #F4B528;
  color: #113866;
}
.cookie-settings {
  background: #113866;
  color: #F4B528;
  border: 2px solid #F4B52877;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #F4B528;
  color: #113866;
}

/* ============= COOKIE MODAL =============== */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(12,25,46,0.87);
  z-index: 10050;
  animation: fadein 0.42s cubic-bezier(0.36,0.4,0.28,1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  max-width: 540px;
  background: #172b47;
  color: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 30px #11386655;
  padding: 40px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-popin 0.45s cubic-bezier(0.44,0.4,0.28,1.1);
  position: relative;
}
@keyframes modal-popin {
  0% { transform: translateY(70px) scale(0.88); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal .modal-title {
  font-family: 'Montserrat', Arial;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 5px;
}
.cookie-modal .modal-group {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 9px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 3px;
}
.cookie-toggle label {
  font-size: 1rem;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-switch span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 36px;
  height: 18px;
  background: #1c355c;
  border-radius: 13px;
  transition: background 0.17s;
}
.cookie-switch input:checked + span {
  background: #F4B528;
}
.cookie-switch span:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.19s cubic-bezier(.7,.3,.4,1.13);
}
.cookie-switch input:checked + span:before {
  transform: translateX(16px);
  background: #113866;
}
.cookie-modal-close {
  position: absolute;
  right: 21px;
  top: 18px;
  color: #fff;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F4B528;
}

/* ========== MODERN ACCENTS  (NEON/SHADOWS) ========== */
.cta-btn, .feature-item, .testimonial-card {
  box-shadow: 0 3px 15px 0 #F4B52822, 0 0 0 1.2px #F4B52816;
}
.cta-btn:hover, .feature-item:hover {
  box-shadow: 0 5px 22px 2px #F4B52841, 0 0 0 1.5px #F4B52844;
}

/**** VISUAL EFFECTS ****/
.feature-item, .card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.12s, background 0.11s;
}

/* ================= RESPONSIVENESS ================= */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
  .feature-grid, .testimonial-list, .card-container, .case-study-list {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .testimonial-list, .card-container, .case-study-list {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item, .testimonial-card, .card {
    max-width: unset;
    min-width: 170px;
  }
  .footer-menu {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0 33px 0;
    min-height: 260px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .footer-brand img {
    height: 36px;
  }
  .container {
    padding-left: 8px; padding-right: 8px;
  }
  .section {
    padding: 24px 9px;
    margin-bottom: 32px;
  }
  .content-wrapper {
    gap: 21px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 540px) {
  .footer-menu {
    flex-direction: column;
    gap: 11px;
  }
  .cookie-banner {
    padding: 19px 8px 11px 8px;
    font-size: 0.97rem;
  }
}

/* ================= UTILITY CLASSES ============== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom:0 !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom:24px !important; }
.gradient-text {
  background: linear-gradient(90deg, #F4B528, #fff8c4 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========== MISCELLANEOUS & FIXES ============= */
.next-steps ul { margin-left: 18px; }
.next-steps ul li { color: #87a7ce; }

/**** ANIMATIONS & MICRO-INTERACTIONS ****/
.button-glow {
  box-shadow: 0 0 6px 2px #F4B52880, 0 0 10px #F4B52850;
  animation: btn-glow 1.5s infinite alternate;
}
@keyframes btn-glow {
  0% { box-shadow: 0 0 3px 1.2px #F4B52828; }
  100% { box-shadow: 0 0 16px 6px #F4B528cc, 0 0 17px #fff06788; }
}

/* ============ TYPOGRAPHY SCALE & HIERARCHY ============ */
.text-section h2, .outcome-highlights h3, .benefit-highlights h3 {
  color: #F4B528;
  font-size: 1.26rem;
}
strong { color: #F4B528; font-weight: 600; }

/* ========== SPACING BETWEEN SECTIONS/CARDS =========== */
.section + .section,
.section + section, 
section + .section,
.content-wrapper > * + * {
  margin-top: 32px !important;
}
.feature-item + .feature-item, .testimonial-card + .testimonial-card {
  margin-top: 0 !important;
}

/* ========== ENSURE NO OVERLAP, GOOD Z-INDEX STACKING ============ */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 99;
}

/* ==== FORMS (if included later) ==== */
input, textarea, select {
  font-family: 'Roboto', Arial;
  border-radius: 7px;
  border: 2px solid #223E66;
  padding: 11px 14px;
  font-size: 1rem;
  background: #172b47;
  color: #fff;
  margin-bottom: 17px;
  width: 100%;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #F4B528;
}

/* ============ END OF NANO CREST SECURITY FUTURISTIC CSS ============ */