/* ----------------- LoSha Strategic Solutions — Refined Theme ----------------- */
:root{
  --navy:#0a1e3f;
  --navy-2:#0f2a5c;
  --ink:#10131a;
  --muted:#5b6578;
  --bg:#f7f9fc;
  --white:#ffffff;
  --outline:#e9edf5;
  --accent:#e6b800;
}

*{box-sizing:border-box}
html { font-size: 17px; }
html,body{margin:0;padding:0}
body{
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.7;
}

h1,h2,h3{font-weight:800;letter-spacing:.1px}
h1{font-size:clamp(2.2rem,3.8vw,3rem);line-height:1.15}
h2{font-size:clamp(1.8rem,2.8vw,2.2rem);margin-bottom:.6rem}
h3{font-size:clamp(1.15rem,2.2vw,1.35rem)}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.15rem);
  color: var(--muted);
  max-width: 760px;
  margin-inline: auto;
}

/* Only the hero subtitle needs to be white on the dark hero */
.hero .lead{
  color: var(--white);
  opacity: .95;                /* optional: slight softness on dark bg */
}

.container{width:min(1200px,92%);margin-inline:auto}
.section{padding:5px 0}

/* Header */
header{
  position:sticky;top:0;z-index:50;
  background:linear-gradient(180deg,var(--navy),var(--navy-2));
  color:var(--white);
  box-shadow:0 12px 32px rgba(0,0,0,.18);
}
.navbar{display:flex;align-items:center;justify-content:space-between;padding:16px 0}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.brand img {
  height: 40px;
  width: auto;
  display: block;
  margin-right: 4px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
}

.brand-logo{
  height:40px;
  width:auto;
  display:block;
}

nav a{
  color:#eaf0ff;margin-left:24px;font-weight:700;opacity:.9;text-underline-offset:6px;
  transition:opacity .2s ease, color .2s ease;
}
nav a:hover{opacity:1;color:#fff}
nav a.active{position:relative}
nav a.active:after{
  content:"";position:absolute;left:0;right:0;margin:auto;bottom:-10px;width:28px;height:3px;
  background:#b9c6e6;border-radius:2px;
}

.hero{
  position: relative; 
  isolation: isolate;
  color: #fff;
  padding: 30px 0 120px;
  background:
    radial-gradient(1200px 500px at -10% -30%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(900px 600px at 120% 10%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg,var(--navy), var(--navy-2));
}

.hero .content {
  max-width: 820px;
  text-align: center;
  margin-inline: auto;
}

.btn {
  display:inline-block;
  padding:12px 22px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  font-weight:800;
  letter-spacing:.2px;
  transition:transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
}

.btn-primary {
  background:#fff;
  color:var(--navy);
  box-shadow:0 10px 24px rgba(10,30,63,.18);
}
.btn-primary:hover {
  transform:translateY(-1px);
  background:#e8edf8;
  color:#0b1f42;
}

.btn-ghost {
  background:transparent;
  color:#fff;
  border:1.5px solid rgba(255,255,255,.45);
}
.btn-ghost:hover {
  background:rgba(255,255,255,.08);
}

.cta-buttons {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Logos strip */
.logos{
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(6, max-content);
  justify-content: center;
  gap: 22px;
}

.trusted-by{
  grid-column: 1 / -1;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
  color: rgba(255,255,255,.85);
}

.logo-box{
  background:#fff;
  border:1px solid var(--outline);
  border-radius:20px;
  display:grid; place-items:center;
  padding:14px 24px;
  height:auto;
  box-shadow: 0 6px 20px rgba(10,30,63,.10);
}
.logo-box span{
  font-weight:900;
  color:#1b2a4f;
  letter-spacing:.5px;
  opacity:.9;
}

@media (max-width: 980px){
  .logos{ grid-template-columns: repeat(3, max-content); }
}
@media (max-width: 640px){
  .logos{ grid-template-columns: repeat(2, max-content); }
}

/* Feature grid */
.grid{display:grid;gap:22px;grid-template-columns:repeat(12,1fr)}
.card{grid-column:span 4;background:#fff;border-radius:18px;padding:24px;border:1px solid var(--outline);box-shadow:0 18px 40px rgba(10,30,63,.08);transition:.25s ease}
.card:hover{transform:translateY(-3px);box-shadow:0 26px 52px rgba(10,30,63,.12)}
.card .icon{
  width:54px;height:54px;border-radius:14px;display:grid;place-items:center;margin-bottom:10px;
  background:linear-gradient(145deg,#fdfefe,#eef2f7); border:1px solid #e6ebf3;
}
.card .icon svg{width:26px;height:26px;fill:var(--navy)}

/* Flip on hover */
.flip-card:hover .front,
.flip-card:focus-within .front { transform: rotateY(180deg); }
.flip-card:hover .back,
.flip-card:focus-within .back { transform: rotateY(0deg); z-index: 3; }

/* About block */
.block{background:#fff;border-radius:22px;padding:28px;border:1px solid var(--outline);box-shadow:0 16px 44px rgba(10,30,63,.08)}

/* Testimonials */
.quote{font-style:italic;color:#0c2247}
.cite{margin-top:10px;color:#4a5b77;font-weight:800}

/* Contact */
.form{max-width:680px;display:grid;gap:14px}
label{font-weight:700;color:#2a3550}
.input,.textarea{
  width:100%;padding:14px 16px;border:1px solid #d9dfeb;border-radius:12px;
  font-size:1rem;transition:border-color .2s ease, box-shadow .2s ease;background:#fff;
}
.input:focus,.textarea:focus{outline:none;border-color:#8aa0c6;box-shadow:0 0 0 4px rgba(63,115,185,.15)}
.helper{font-size:.9rem;color:#5b6578}
.btn-submit{background:var(--navy);color:#fff}
.btn-submit:hover{background:#12346b}

/* Footer */
footer{background:var(--navy);color:#fff;margin-top:60px}
.footer-inner{padding:22px 0;text-align:center;opacity:.95}
.footer-links{display:flex;gap:18px;justify-content:center;margin-top:8px}
.footer-links a{color:#eaf0ff;text-decoration:none}

/* Center text for About page content */
.section h2,
.section .lead {
  text-align: center;
}

.section .block h3,
.section .block p {
  text-align: center;
}

.section .block {
  max-width: 800px;
  margin: 0 auto;
}

/* Testimonials page layout */
.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.testimonials-grid .card {
  width: 100%;         
  max-width: 800px;     
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(10,30,63,.10);

  display: flex;
  flex-direction: column;
  align-items: center;  
  transition: transform .25s ease, box-shadow .25s ease;
}

.testimonials-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(10,30,63,.16);
}

.quote {
  font-style: italic;
  color: #0c2247;
  text-align: center;   
  margin-bottom: 16px;  
  width: 100%;          
}

.cite {
  font-weight: 800;
  color: #4a5b77;
  align-self: flex-end;
}

/* Contact form layout */
.form {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.form h2,
.form .helper { text-align: center; }

.form .btn-submit {
  width: 100%;
  border-radius: 999px;
}

/* Responsive */
@media (max-width: 980px){ .card{grid-column:span 6} .logos{grid-template-columns:repeat(3,1fr)} }
@media (max-width: 640px){
  .navbar{flex-direction:column;gap:10px}
  nav a{margin:0 10px}
  .card{grid-column:span 12}
  .logos{grid-template-columns:repeat(2,1fr)}
}
@media (prefers-reduced-motion: reduce){
  * { transition:none !important; }
}