:root {
  --primary: #0b1f33;
  --accent: #0ea5e9;
  --light: #ffffff;
  --gray: #f3f4f6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, sans-serif;
}

body {
  line-height: 1.6;
  color: #111;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

/* Header */
.site-header {
  position: relative;              /* ✅ not overlapping hero */
  width: 100%;
  background: var(--primary);      /* ✅ dark blue */
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;              /* ✅ compact header height */
}


.logo {
  height: 80px;
}

nav a {
  color: var(--light);
  margin-left: 1.5rem;
  text-decoration: none;
}

/* TICKER FILTERS*/
/*
ticker-filters {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: #f6f8fa;
}

.ticker-filters button {
  border: none;
  background: #e5e7eb;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  font-size: 0.85rem;
}
*/
/* =========================
   Threat Intelligence Ticker
   ========================= */

.threat-ticker {
  background: #0b1f33;
  color: #ffffff;
  font-size: 0.9rem;
  padding: 0.5rem 0;
}

.ticker-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
}

.ticker-label {
  font-weight: 600;
  white-space: nowrap;
}

.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-scroll 40s linear infinite;
}

.threat-item {
  display: inline-block;
  margin-right: 2rem;
}

.threat-map {
  font-style: normal;
  opacity: 0.75;
  margin-left: 0.5rem;
  font-size: 0.85em;
}

.threat-ticker:hover .ticker-content {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.threat-ticker:hover .ticker-content {
  animation-play-state: paused;
}
/* Threat → Service Mapping */

.threat-map {
  font-style: normal;
  opacity: 0.75;
  margin-left: 0.5rem;
  font-size: 0.85em;
  white-space: nowrap;
}

.threat-link {
  margin-left: 0.75rem;
  font-size: 0.85em;
  color: #cfe8ff;
  text-decoration: underline;
  white-space: nowrap;
}

.threat-link:hover {
  color: #ffffff;
}


/* Hero */
.hero {
  min-height: 70vh;
  background:
    linear-gradient(
      rgba(11, 31, 51, 0.45),
      rgba(11, 31, 51, 0.45)
    ),
    url("../images/hero-bg.jpg") center / cover no-repeat;

  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;              /* ✅ normal padding again */
}

.hero .container {
  background: transparent;
}

/* Buttons */
.btn {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  background: var(--accent);
  color: white;
  text-decoration: none;
}

/* Hamburger */
#hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

#hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: white;
  margin: 5px 0;
}

/* Mobile nav */
@media (max-width: 900px) {
  #hamburger {
    display: block;
  }

  #nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #0b1f33;
    flex-direction: column;
    text-align: center;
  }

  #nav-menu.active {
    display: flex;
  }
}


.trust .container {
	text-align:center;
	li:center;
}


/* =========================
   Services Page Enhancements
   ========================= */
.services .container {
  text-align: center;
}

.services {
  background: var(--gray);
}

.services h1 {
  text-align: center;
  margin-bottom: 2rem;
}

/*
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  align-items: start;
}
*/
.service-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.8rem;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}


/* Disable hover transform when expanded (desktop fix) */
.service-card.expanded {
  transform: none;
}

/* Extra safety: stop hover from re-applying transform */
.service-card.expanded:hover {
  transform: none;
}

.service-card h3 {
  margin-bottom: 0.6rem;
}

.service-card p {
  color: #555;
  font-size: 0.95rem;
}

/* =========================
   Expand / Collapse Details
   ========================= */

.service-card {
  overflow: visible; /* ✅ MUST be visible */
}

.service-details {
  height: 0;
  overflow: hidden; /* ✅ collapse only */
  opacity: 0;
  transition: height 0.35s ease, opacity 0.25s ease;
}

.service-card.expanded .service-details {
  opacity: 1;
  margin-top: 1rem;
}

/* Readability inside expanded content */
.service-details > * {
  margin-bottom: 0.75rem;
}

.service-details ul {
  padding-left: 1.2rem;
}

.service-details li {
  margin-bottom: 0.4rem;
}

.service-details h2,
.service-details h3,
.service-details h4,
.service-details h5 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
/* Services page hero / intro */
/* ---  new settings --*/

.services-hero {
  
background: rgba(155, 218, 255, 0.8); /* light blue tint */
  text-align: center;
/*  background: var(--gray); */         /* ✅ soft neutral tint */
  padding: 4rem 2rem 3rem;
  text-align: center;
}
/*
.services-hero {
  text-align: center;
  padding: 4rem 2rem;
}
*/

.services-hero h1 {
  margin-bottom: 1rem;
}
/*  added 4/28/2026 */
services-hero h1 {
  margin-bottom: 1.25rem;
  position: relative;
}

/* Subtle accent divider */
.services-hero h1::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background: var(--accent);
  margin: 1.25rem auto 0;
  border-radius: 2px;
}


.services-hero p {
  max-width: 720px;
  margin: 1.5rem auto 0;
  color: #444;
  font-size: 1.05rem;
}


.services-cta {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
  margin-bottom: 0;          /* ✅ no bleed */
}



.learn-more {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-top: 1rem;
}

.learn-more {
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

/* Industry Tabs */

.industry-tabs {
  display: flex;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.industry-tab {
  background: #f3f4f6;
  border: 1px solid #ccc;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
}

.industry-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.industry-content {
  display: none;
}

.industry-content.active {
  display: block;
}


/* =========================
   Contact Form Styles
   ========================= */

/* Contact page body background */
html, body {
  min-height: 100%;
  margin: 0;
}

body.contact-page {
  background: rgba(155, 218, 255, 0.8); /* light blue tint */
}
.contact-section {
  background: #D6CFCE;
  padding: 4rem 2rem;
  margin: 3rem auto;
  max-width: 1200px;
}
.contact-section .container {
  background: #ffffff;
  padding: 3rem;
  border-radius: 8px;
  max-width: 900px;
}





/*
.contact-section {
  background:#D6CFCE;    
  padding: 4rem 2rem;
}   


.contact-section .container {
  background: #ffffff;
  padding: 3rem;
  border-radius: 8px;
  max-width: 900px;
}*/

/* OEM 
.contact-section {
  max-width: 900px;
}*/

.contact-intro {
  margin-bottom: 2rem;
  color: #444;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  padding: 0.65rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.full-width {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}



.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  align-items: start;
}



.card {
  width: 100%;
  max-width: 320px;        /* ✅ prevents overly wide cards */
  background: white;
  padding: 2rem;
  border-radius: 8px;
}



/* Desktop expansion fixes */
.service-card.expanded {
  transform: none;
  overflow: visible;
}

.learn-more {
  position: relative;
  z-index: 2;
}


.site-footer {
  background: #000;          /* or your desired footer color */
  color: #aaa;
  text-align: center;
  padding: 1.5rem 1rem;
  width: 100%;               /* ✅ ensures edge-to-edge background */
}



/* Force Services grid on desktop */
@media (min-width: 768px) {
  .services-grid,
  .grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
    align-items: start;
  }
}

/* =========================
   Contact Page Background Fix
   ========================= 

/* Neutralize full-page white wrappers */
/*body.contact-page main,
body.contact-page .content,
body.contact-page .page,
body.contact-page .container {
background: transparent !important;
}
*/

/* Light blue page background */
.contact-page-wrapper {
  background: rgba(155, 218, 255, 0.8);
  padding: 4rem 0;
}

/* Grey surround */
.contact-section {
  background: #D6CFCE;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* White form card */
.contact-section .container {
  background: #ffffff;
  padding: 3rem;
  border-radius: 8px;
  max-width: 900px;
}