/* ============================================================
   SCCloud Solutions — Site Stylesheet
   Brand: Sky Blue #47C8F5 | Gold #FFCD05 | Navy #0B2239
   ============================================================ */
:root {
  --blue: #47C8F5;
  --blue-dark: #1ba8dd;
  --gold: #FFCD05;
  --gold-dark: #e0b400;
  --navy: #0B2239;
  --navy-2: #11304F;
  --navy-3: #1A3E63;
  --ink: #1f2937;
  --muted: #5b6b7c;
  --bg: #ffffff;
  --bg-soft: #f2f8fc;
  --border: #e3ecf3;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(11, 34, 57, 0.10);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .6em; }
h3 { font-size: 1.25rem; margin-bottom: .4em; }
p { margin-bottom: 1em; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-blue { background: var(--blue); color: var(--navy); }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--navy); }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(0,0,0,.25);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.logo img { height: 48px; display: block; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > ul { display: flex; list-style: none; gap: 2px; align-items: center; }
.main-nav a {
  color: #dbe9f5;
  font-weight: 600;
  font-size: .95rem;
  padding: 10px 14px;
  border-radius: 8px;
  display: block;
  text-decoration: none;
}
.main-nav a:hover, .main-nav li.active > a { color: var(--gold); }
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: " ▾"; font-size: .7em; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-2);
  min-width: 240px;
  border-radius: 0 0 10px 10px;
  list-style: none;
  padding: 8px 0;
  box-shadow: var(--shadow);
}
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { display: block; }
.dropdown a { padding: 10px 18px; font-size: .9rem; }
.nav-cta { margin-left: 14px; padding: 11px 22px !important; border-radius: 50px; background: var(--gold); color: var(--navy) !important; font-weight: 700; }
.nav-cta:hover { background: var(--gold-dark); }
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 1.4rem;
  padding: 4px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 60%, #1d5a8a 100%);
  color: #fff;
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71,200,245,.25), transparent 70%);
}
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 .accent { color: var(--gold); }
.hero p { font-size: 1.2rem; color: #cfe5f5; max-width: 640px; margin-bottom: 1.6em; }
.hero .container { position: relative; z-index: 1; }
.hero-tag {
  display: inline-block;
  background: rgba(71,200,245,.15);
  border: 1px solid var(--blue);
  color: var(--blue);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #cfe5f5; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.kicker {
  color: var(--blue-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  display: block;
  margin-bottom: 8px;
}
.section-navy .kicker { color: var(--gold); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
}
.card.gold .icon { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; }

/* ---------- Steps ---------- */
.step { text-align: center; padding: 20px; }
.step .num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.step p { color: var(--muted); }

/* ---------- Split (text + visual) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .visual {
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  border-radius: var(--radius);
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  box-shadow: var(--shadow);
}
.split .visual svg { width: 55%; height: auto; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 18px 0; }
.checklist li {
  padding: 8px 0 8px 36px;
  position: relative;
  color: var(--ink);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px; height: 24px;
  background: var(--blue);
  color: var(--navy);
  font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
}
.section-navy .checklist li { color: #cfe5f5; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy), var(--navy-3));
  border-radius: var(--radius);
  padding: 60px 50px;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #cfe5f5; max-width: 560px; margin: 0 auto 26px; }

/* ---------- Industries ---------- */
.industry-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 50px; }
.industry-nav a {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
}
.industry-nav a:hover { background: var(--blue); text-decoration: none; }
.industry-block { padding: 36px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 100px; }
.industry-block:last-child { border-bottom: none; }

/* ---------- News ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card .thumb {
  height: 170px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-2), var(--blue-dark));
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem;
}
.post-meta { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.article-body { max-width: 780px; margin: 0 auto; }
.article-body h2 { margin-top: 1.4em; }
.article-body ul { margin: 0 0 1em 1.4em; }

/* ---------- Contact ---------- */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
}
.contact-card .icon { font-size: 2rem; margin-bottom: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9fb6c9; padding: 70px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 1.05rem; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #9fb6c9; }
.site-footer a:hover { color: var(--gold); }
.footer-logo img { height: 44px; margin-bottom: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .85rem;
}
.footer-email { color: var(--gold) !important; font-weight: 700; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #fff;
  padding: 70px 0;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #cfe5f5; max-width: 680px; font-size: 1.15rem; }
.breadcrumb { font-size: .85rem; margin-bottom: 14px; color: var(--blue); }
.breadcrumb a { color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy-2);
    padding: 12px 0 24px;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 13px 28px; }
  .dropdown { position: static; min-width: 0; background: rgba(0,0,0,.18); display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown a { padding-left: 44px; }
  .nav-cta { margin: 14px 24px 0; text-align: center; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 72px; }
  .cta-banner { padding: 44px 24px; }
}
