/* ==========================================================================
   Simply Cloud Solutions — Stylesheet (clean build)
   ========================================================================== */

/* ---------- Theme ---------- */
:root{
  --bg:#0b1220;
  --fg:#e6eeff;
  --muted:#a5b3d2;
  --card:rgba(255,255,255,.04);
  --card-b:rgba(255,255,255,.12);
  --accent:#3da8e1;
  --accent-2:#f97316;
  --border:1px solid rgba(255,255,255,.12);
  --shadow:0 20px 45px rgba(17,24,39,.22);
  --link:#fff; /* site-wide links are white on this dark theme */
}

/* ---------- Base ---------- */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; color:var(--fg); background:var(--bg);
  font:16px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%; height:auto; display:block}
svg{display:inline-block; vertical-align:middle}

/* Links (no blue bg anywhere) */
a, a:link, a:visited{
  color:var(--link); text-decoration:none; background-color:transparent !important;
}
a:hover, a:active, a:focus{
  color:var(--link); text-decoration:underline; background-color:transparent !important;
  outline-color:rgba(61,168,225,.45);
}

/* Mobile tap & selection */
*{-webkit-tap-highlight-color:rgba(255,255,255,0)}
::selection{background:rgba(255,255,255,.18);color:#fff}
::-moz-selection{background:rgba(255,255,255,.18);color:#fff}

/* ---------- Layout ---------- */
.container{width:min(1100px,92vw);margin:0 auto}
.section{padding:34px 0}
.section.alt{background:rgba(255,255,255,.02)}
.section-head h1,.section-head h2{margin:0 0 6px}
.lead{color:#cfe6ff}
.text-gradient{
  background:linear-gradient(90deg,var(--accent-2),var(--accent));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* Grid */
.grid{display:grid;gap:18px}
.grid.two{grid-template-columns:repeat(2,1fr)}
.grid.three{grid-template-columns:repeat(3,1fr)}
@media (max-width:900px){ .grid.two, .grid.three{grid-template-columns:1fr} }

/* Cards */
.card{background:var(--card); border:var(--border); border-radius:12px; padding:14px; box-shadow:var(--shadow)}

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(11,18,32,.85); backdrop-filter:saturate(140%) blur(8px);
  border-bottom:var(--border);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding:10px 0}
.brand{display:flex; align-items:center; gap:10px; color:#fff; font-weight:700}
.brand img{height:40px; width:auto; image-rendering:auto}
.menu-toggle{display:none; background:transparent; border:0; color:#fff; font-size:22px; cursor:pointer}
.main-nav{display:flex; gap:16px; align-items:center}
.main-nav a{color:#dfe8ff; padding:6px 8px; border-radius:8px}
.main-nav a:hover{background:rgba(255,255,255,.06)}
@media (max-width:800px){
  .menu-toggle{display:block}
  .main-nav{
    position:absolute; right:10px; top:56px;
    background:rgba(11,18,32,.98); border:var(--border); border-radius:10px; box-shadow:var(--shadow);
    padding:10px; display:none; flex-direction:column; gap:6px;
  }
  .main-nav.open{display:flex}
}

/* ---------- Button system (consolidated) ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  font-weight:700; line-height:1; border-radius:10px; white-space:nowrap;
  padding:.8rem 1.1rem; border:2px solid transparent; cursor:pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .08s ease;
  text-decoration:none !important;
}
.btn-sm{padding:.55rem .9rem; font-size:.92rem; border-radius:9px}
.btn-lg{padding:1rem 1.25rem; font-size:1.05rem; border-radius:12px}

/* Solid brand button */
.btn:not(.btn-outline){
  background:linear-gradient(135deg,#f59e0b,#f97316);
  color:#0c1220; border-color:transparent;
}
.btn:not(.btn-outline):hover,
.btn:not(.btn-outline):focus-visible{
  filter:brightness(1.05); transform:translateY(-1px);
}

/* Outline variant (default on light sections) */
.btn-outline{
  background:transparent;
  color:#0b273c;
  border-color:rgba(11,39,60,.45);
}
.btn-outline:hover,
.btn-outline:focus-visible{
  background:#0b273c; color:#fff; border-color:#0b273c;
}

/* Outline buttons on dark/brand sections must be white by default */
.hero .btn-outline,
.section.alt .btn-outline,
#what-we-do .btn-outline,
.site-bottom-actions .btn-outline,
.site-footer .btn-outline{
  color:#fff; border-color:rgba(255,255,255,.9); background:transparent;
  text-shadow:0 1px 0 rgba(0,0,0,.2);
}
.hero .btn-outline:hover,
.section.alt .btn-outline:hover,
#what-we-do .btn-outline:hover,
.site-bottom-actions .btn-outline:hover,
.site-footer .btn-outline:hover,
.hero .btn-outline:focus-visible,
.section.alt .btn-outline:focus-visible,
#what-we-do .btn-outline:focus-visible,
.site-bottom-actions .btn-outline:focus-visible,
.site-footer .btn-outline:focus-visible{
  background:#fff; color:#0b273c; border-color:#fff;
  box-shadow:0 0 0 3px rgba(255,255,255,.28);
  text-shadow:none;
}

/* Header nav CTA */
.main-nav .btn{
  background:linear-gradient(135deg,#f59e0b,#f97316);
  color:#0c1220;
}
.main-nav .btn:hover,.main-nav .btn:focus-visible{filter:brightness(1.05); transform:translateY(-1px)}

/* ---------- Hero ---------- */
.hero{
  padding:40px 0 18px;
  background:
    radial-gradient(1200px 500px at 80% -50%,rgba(61,168,225,.25),transparent),
    radial-gradient(1000px 500px at -20% -60%,rgba(249,115,22,.18),transparent);
}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:20px}
@media (max-width:980px){ .hero-grid{grid-template-columns:1fr} }
.hero h1{font-size:2.2rem;margin:0 0 8px}
.hero-copy{position:relative; z-index:2}
.hero-art{position:relative; z-index:1}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}
.badges{display:flex;gap:10px;list-style:none;padding:0;margin:14px 0 0}
.badges li{background:rgba(255,255,255,.06); border:1px solid var(--card-b); padding:6px 10px; border-radius:999px; color:#dbe8ff; font-weight:600}

/* Keep hero outline button white (Explore Services) */
.hero-ctas .btn-outline{color:#fff; border-color:rgba(255,255,255,.95); background:transparent}

/* Decorative */
.orbit{height:160px; border-radius:16px; background:radial-gradient(600px 120px at 50% -40px,rgba(61,168,225,.35),transparent)}
.hero-art .glass-card{background:rgba(255,255,255,.06); border:var(--border); border-radius:14px; padding:12px; box-shadow:var(--shadow)}

/* ---------- Services / Partners ---------- */
.service-grid .card h3{margin:6px 0 6px}
.partners-grid .partner{display:block; color:#fff; text-decoration:none}
.partners-grid .partner:hover{transform:translateY(-2px)}
.partners-grid .partner:focus-visible{outline:2px solid var(--accent); outline-offset:3px}
.partner-name{font-weight:800}
.partner-tag{color:#cfe2ff}

/* ---------- Certifications (white links, no underline) ---------- */
.certs-grid a.card.cert{color:#fff; text-decoration:none}
.certs-grid a.card.cert:hover,.certs-grid a.card.cert:active{color:#fff; text-decoration:none}
.certs-grid a.card.cert:focus-visible{outline:2px solid var(--accent); outline-offset:3px}
.certs-grid .badge{
  display:inline-block; margin-top:8px; padding:6px 10px; font-weight:700;
  border:1px solid rgba(255,255,255,.25); border-radius:999px; color:#fff;
  background:rgba(255,255,255,.12);
}

/* ---------- About ---------- */
.about-card{background:var(--card); border:var(--border); border-radius:12px; padding:14px}
.about-card a{color:#fff}

/* ---------- Team ---------- */
.team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}
.person .role{color:#a9b7d6;font-weight:600;margin-top:2px}
.person .bio{margin-top:8px;line-height:1.55}
.avatar{
  width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--accent-2),var(--accent));
  font-weight:800;color:#0b1220;margin-bottom:8px
}

/* ---------- Quote Form ---------- */
.form.card label{display:flex;flex-direction:column;gap:6px}
.form.card input,.form.card select,.form.card textarea{
  background:#0b1220; border:1px solid rgba(255,255,255,.18);
  border-radius:10px; color:#e6eeff; padding:10px;
}
.form.card fieldset{border:1px dashed rgba(255,255,255,.2); border-radius:10px; padding:10px}
.form.card legend{padding:0 6px}
.services-field .compact{gap:10px}
.form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.form-note{color:var(--muted)}
.alert{
  margin-top:10px; padding:10px; border-radius:10px;
  background:rgba(61,168,225,.12);
  border:1px solid rgba(61,168,225,.35);
  color:#cfe2ff;
}

/* ---------- Footer ---------- */
.site-footer{border-top:var(--border); background:rgba(6,10,18,.75); margin-top:40px}
.footer-grid{display:grid; gap:22px; grid-template-columns:1.1fr .9fr .7fr; padding:28px 0}
@media (max-width:860px){ .footer-grid{grid-template-columns:1fr} }
.footer-brand{max-width:480px}
.footer-brand img.footer-logo{height:40px; width:auto; object-fit:contain; image-rendering:auto}
.social-links{display:flex; gap:12px; margin-top:10px}
.social-links a{display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:10px; color:#bcd6ff; background:rgba(255,255,255,.06); border:1px solid var(--card-b)}
.social-links a:hover{color:#ffffff; background:rgba(255,255,255,.12)}
.footer-nav{list-style:none; padding:0; margin:0}
.footer-nav li+li{margin-top:6px}
.footnote{border-top:var(--border); padding:14px 0; color:#a5b3d2; text-align:center}

/* ---------- Map (embed) ---------- */
.map-container{position:relative; width:100%; margin-top:20px; border-top:var(--border)}
.map-container::before{
  content:""; display:block; height:4px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2)); opacity:.9;
}
.map-container iframe{display:block; width:100%; height:250px; border:0}

/* ---------- Bottom-center actions (Directions / Open Map) ---------- */
.site-bottom-actions{
  display:flex; justify-content:center; align-items:center; gap:12px;
  padding:12px 0 12px;           /* sits just above the © footnote */
}
.site-bottom-actions .btn.btn-outline{
  background:transparent;
  color:#fff; border:2px solid rgba(255,255,255,.95);
  text-decoration:none;
}

/* ---------- FAQ ---------- */
.faq-list details{
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.12);
  border-radius:10px; padding:12px 14px; margin:10px 0;
}
.faq-list summary{font-weight:600; cursor:pointer; list-style:none}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list details[open]{background:rgba(255,255,255,.05)}
.faq-list details>div{margin-top:8px; line-height:1.6}

/* ---------- Small helpers ---------- */
.checklist{padding-left:18px}
.checklist li{margin:6px 0}
.mt-18{margin-top:18px !important}
.mt-24{margin-top:24px !important}
.centered-card{max-width:760px; margin-inline:auto; text-align:center}

/* Fast Facts (ensure contact/email are white) */
.fast-facts a{color:#fff; text-decoration:none}
.fast-facts a:hover{text-decoration:underline}

/* ---------- Print ---------- */
@media print{
  .menu-toggle,.map-container,.chatbot,.site-bottom-actions{display:none !important}
  a{text-decoration:underline}
}

/* ==== Reverted Partners layout ==== */
.logo-row{
  display:flex; flex-wrap:wrap; gap:16px;
  justify-content:center; align-items:center;
  margin-top:10px;
}
.logo-row .logo{
  display:flex; align-items:center; justify-content:center;
  min-width:160px; height:56px; padding:10px 18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  border-radius:12px; text-decoration:none;
  color:#fff; font-weight:800; letter-spacing:.3px;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease;
}
.logo-row .logo:hover,
.logo-row .logo:focus-visible{
  transform: translateY(-2px);
  background:rgba(255,255,255,.1);
  box-shadow: 0 10px 24px rgba(0,0,0,.24);
  outline: none;
}
.logo-row .logo-text{pointer-events:none}

/* ==== Reverted Get Your Quote two-column form ==== */
.form-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:14px;
}
.form-row{display:flex; flex-direction:column; gap:6px}
.form-span-2{grid-column:1 / -1}
.form.card input, .form.card select, .form.card textarea{
  background:#0b1220; border:1px solid rgba(255,255,255,.18);
  border-radius:10px; color:#e6eeff; padding:10px;
}
.form-actions{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
@media (max-width: 760px){
  .form-grid{grid-template-columns: 1fr}
}

/* Ensure Explore/Submit CTA visibility remains strong on dark background */
.form-actions .btn.btn-outline{
  color:#fff; border-color:rgba(255,255,255,.9);
}
.form-actions .btn.btn-outline:hover,
.form-actions .btn.btn-outline:focus-visible{
  background:#fff; color:#0b273c; border-color:#fff;
}

/* --- FIX: Keep "Get a Quote" visible on hover in header nav --- */
.main-nav a:not(.btn):hover {
  background: rgba(255,255,255,.06);
}

/* Force the CTA button to keep its gradient + legible text */
.main-nav .btn,
.main-nav a.btn {
  background: linear-gradient(135deg,#f59e0b,#f97316);
  color: #0c1220 !important;
  border-color: transparent;
}

.main-nav .btn:hover,
.main-nav .btn:focus-visible,
.main-nav a.btn:hover,
.main-nav a.btn:focus-visible {
  background: linear-gradient(135deg,#f59e0b,#f97316); /* keep gradient on hover */
  color: #0c1220 !important;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Cert cards now use buttons instead of full-card links */
.certs-grid .card.cert { color:#fff; text-decoration:none; }
.certs-grid .card.cert h3 { margin:6px 0 6px; }
.certs-grid .card.cert p { margin:0 0 8px; color:#cfe6ff; }
.certs-grid .card.cert .cta-row { margin-top:6px; }

/* Ensure the "View on Credly" button is high-contrast on dark sections */
.section.alt .certs-grid .btn.btn-outline {
  color:#fff; border-color:rgba(255,255,255,.9);
}
.section.alt .certs-grid .btn.btn-outline:hover,
.section.alt .certs-grid .btn.btn-outline:focus-visible {
  background:#fff; color:#0b273c; border-color:#fff;
}

/* ---- Partner tiles: brand accents (keeps existing logo-row styles) ---- */
.logo-row .logo{
  position: relative;
  overflow: hidden;
}
.logo-row .logo::before{
  content:"";
  position:absolute; left:0; right:0; top:0; height:4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity:.95;
}

/* Brand-specific top bars */
.logo--veeam::before   { background:#00d65c; }                 /* Veeam green */
.logo--nutanix::before { background:linear-gradient(90deg,#1428A0,#2F5BEA); } /* Nutanix blues */
.logo--dizzion::before { background:linear-gradient(90deg,#7C3AED,#06B6D4); } /* Purple→teal vibe */

/* Optional: subtle text tint differences per brand (keeps white look) */
.logo--veeam  { color:#eafff4; }
.logo--nutanix{ color:#e7eeff; }
.logo--dizzion{ color:#f0eaff; }

/* === Legibility Overlay for Hero (darker, subtle) === */
.scs-hero {
  position: relative;
  isolation: isolate; /* keeps overlay behind content */
}
.scs-hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.28), rgba(0,0,0,.42) 50%, rgba(0,0,0,.50));
  z-index:-1;
  pointer-events:none;
}

/* Slightly stronger on very bright screens */
@media (min-width: 1024px){
  .scs-hero::before{
    background:
      linear-gradient(to bottom, rgba(0,0,0,.30), rgba(0,0,0,.46) 55%, rgba(0,0,0,.52));
  }
}

/* === Hero overlay: darker pass === */
.scs-hero::before{
  background: linear-gradient(to bottom,
    rgba(0,0,0,.40),
    rgba(0,0,0,.58) 55%,
    rgba(0,0,0,.66)
  );
}
@media (min-width:1024px){
  .scs-hero::before{
    background: linear-gradient(to bottom,
      rgba(0,0,0,.44),
      rgba(0,0,0,.62) 55%,
      rgba(0,0,0,.72)
    );
  }
}
