/* ======================================================
   Cloud Automation Strategy (CASt) Stylesheet
   Provides a clean, light nav bar, a hero with a background image,
   simple button styles, section layouts, feature cards,
   footer styling, and responsive adjustments.
   ====================================================== */

/* 1. Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222222;
  background-color: #ffffff;
}

/* 2. Utility: Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* 3. Header / Navigation */
.header {
  background-color: #ffffff;        /* light nav bar */
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: #0047ab;
}

.brand img {
  height: 36px;
  width: auto;
}

.links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.links a {
  color: #0047ab;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.links a:hover {
  color: #0077cc;
}

/* CTA button in nav */
.btn.small.primary {
  background-color: #0074ff;
  color: #ffffff;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn.small.primary:hover {
  background-color: #005fd1;
}

/* 4. Hero Section (Homepage) */
.hero.home-hero {
  position: relative;
  background: url("/assets/img/hero-bg.png") center/cover no-repeat;
  color: #ffffff;
  text-align: center;
  padding: 6rem 2rem;
}

.hero.home-hero::before {
  /* Overlay to make text/buttons readable */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 32, 77, 0.35);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero.home-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.hero.home-hero .subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero.home-hero .description {
  font-size: 1.1rem;
  color: #e0e6f0;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Minimal hero variant (only buttons, no text) */
.hero-buttons-only {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 5. Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.btn.primary {
  background: #0074ff;
  color: #ffffff;
  border: 2px solid #0074ff;
}

.btn.primary:hover {
  background: #005fd1;
  border-color: #005fd1;
}

.btn.outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn.outline:hover {
  background: #ffffff;
  color: #003d99;
}

/* 6. Main Section Layouts */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  padding: 2rem 0 5rem;
}

section {
  width: 100%;
  padding: 4rem 2rem;
}

.section-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* Blue background sections */
section.blue {
  background-color: #f4f8ff;
}

/* 7. Features / Cards Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.features li {
  list-style: none;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features li:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Impact metrics list */
.impact-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.impact-metrics h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #0047ab;
}

/* 8. Footer */
.site-footer {
  background: #0b0d17;
  color: #bbbbbb;
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  list-style: none;
  margin-top: 1rem;
}

.footer-links a {
  color: #bbbbbb;
}

.footer-links a:hover {
  color: #ffffff;
}

/* 9. Responsive Adjustments */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  .links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero.home-hero {
    padding: 4rem 1rem;
  }

  .hero.home-hero h1 {
    font-size: 2.4rem;
  }

  .hero.home-hero .subtitle {
    font-size: 1.2rem;
  }
}
/* Simple banner for sub-pages (services, process, etc.) */
.sub-hero {
  background-color: #f4f8ff;
  color: #0047ab;
  text-align: center;
  padding: 6rem 2rem;
  border-bottom: 1px solid #e5e5e5;
}

.sub-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.sub-hero .subtitle {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.sub-hero p {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}
/* Sub-page banner with hero background */
.sub-hero {
  position: relative;
  background: url("/assets/img/hero-bg.png") center/cover no-repeat;
  color: #ffffff;
  text-align: center;
  padding: 6rem 2rem;   /* adjust for desired height */
  border-bottom: 1px solid #e5e5e5;
}

.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 32, 77, 0.35); /* dark overlay for contrast */
  z-index: 1;
}

.sub-hero .container {
  position: relative;
  z-index: 2;
}

.sub-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.sub-hero .subtitle {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.sub-hero p {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}
