@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
body {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  background-color: #000; /* Safety net color */
}

/* THE NEW FIXED BACKGROUND */
body::before {
  content: "";
  position: fixed; /* Locks the image in place so you scroll over it */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  /* This combines your dark overlay and your image in one smooth layer */
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url("/images/website-background-image.png") center/cover no-repeat;
  z-index: -1; /* Puts it behind everything else on the site */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* --- BULLETPROOF BRAND HEADER --- */
/* --- BRAND HEADER (DESKTOP) --- */
.brand {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 30px 40px 0;

  display: grid;
  grid-template-columns: 1fr min(520px, 88vw) 1fr;
  grid-template-rows: auto auto;
  row-gap: 14px;
  align-items: center;
}

.logo-wrapper {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  margin: 0;
  position: relative;
}

.logo {
  width: 100%;
  height: auto;
  display: block;
}

.brand-nav.left {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
}

.brand-nav.right {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
}

/* --- THE HERO INTRO TEXT (Smooth & Subtle) --- */
.hero-intro {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 800px; /* Brought back slightly so the text doesn't stretch too long */
  color: #ffffff;
}

.hero-intro h1 {
  font-size: 38px;
  font-weight: 500; /* Softened the weight so it isn't shouting */
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.intro-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #e5e7eb;
  margin-bottom: 40px;
}

.catchphrase {
  font-size: 15px;
  color: #a1a1aa;
  margin-bottom: 30px;
  letter-spacing: 0.05em; /* Adds an elegant, cinematic spacing */
}

/* Let the text flow naturally without a box */
.pipeline-steps p {
  font-size: 16px;
  line-height: 1.8; /* Extra breathing room between lines */
  color: #d1d5db; /* Softer grey */
  margin-bottom: 25px;
}

.pipeline-steps p:last-child {
  margin-bottom: 0;
}

/* Subtle emphasis, not aggressive */
.hero-intro strong {
  color: #ffffff;
  font-weight: 500; 
}

/* Logo */
.logo-wrapper {
  width: min(520px, 88vw);
  margin: 0 auto;
  position: relative; /* This makes it the anchor! */
}

.logo {
  width: 100%;
  height: auto;
  display: block;
}

/* Contact pill (Desktop) - No absolute positioning needed! */
.contact {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1); 
  transition: opacity 160ms ease, background 160ms ease, transform 160ms ease;
}

.contact:hover, .contact:focus-visible {
  background: rgba(0, 0, 0, 0.55);
  opacity: 1;
}

.contact:active {
  transform: scale(0.98); 
}

/* Mobile (Increased to 768px to cover all phones safely) */
@media (max-width: 768px) {
  .brand {
    padding: 30px 0 0;
    width: min(360px, 90vw);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "contact"
      "linkedin";
    row-gap: 14px;
    justify-items: center;
    align-items: center;
  }

  .logo-wrapper {
    grid-area: logo;
    width: 100%;
  }

  .brand-nav.right {
    grid-area: contact;
    justify-self: center;
  }

  .brand-nav.left {
    grid-area: linkedin;
    justify-self: center;
  }

  .contact {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;

    white-space: nowrap;
    font-size: 12px;
    padding: 6px 12px;
  }

  .contact:hover,
  .contact:focus-visible,
  .contact:active {
    background: rgba(0, 0, 0, 0.55);
    opacity: 1;
    transform: scale(0.98);
  }
}

/* --- THE MASTER BLOCK: Sector Showcase --- */
.sector-showcase {
  color: #ffffff;
  padding: 80px 5%; /* Uses percentages so it breathes nicely on big screens */
  max-width: 1400px; /* Stops the row from stretching too wide on giant monitors */
  margin: 0 auto; /* Centers the whole block perfectly */
  position: relative; 
  z-index: 20;
}

/* 1. The Top Details Section */
.sector-details {
  margin-bottom: 40px; /* Pushes the boxes down */
}

.sector-details h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.sector-details p {
  font-size: 16px;
  margin-bottom: 5px;
  color: #d1d5db; /* Light grey to help the Title stand out */
}

/* 2. The 3-Column Grid */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Creates 3 perfectly equal columns */
  gap: 30px; /* The breathing room between each box */
}

/* 3. The Strict 16:9 Boxes */
.media-box {
  aspect-ratio: 16 / 9; /* The magic rule that locks the geometry */
  background-color: rgba(255, 255, 255, 0.08); /* A sleek, dark placeholder box */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px; /* Soft, modern corners */
  
  /* Centers the placeholder text perfectly inside the box */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.media-box span {
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #fff;
}

/* 4. The Captions Under the Boxes */
.caption {
  margin-top: 15px;
  font-size: 14px;
  line-height: 1.6;
  color: #a1a1aa; /* Dimmed text so the boxes remain the star of the show */
}

/* 5. The Mobile Stacking Rule */
@media (max-width: 900px) {
  .pipeline-grid {
    grid-template-columns: 1fr; /* Changes from 3 columns to 1 single column */
    gap: 50px; /* Gives more space between stacked items on phones */
  }
}
/* Forces images and videos to perfectly fill the 16:9 box */
.grid-media {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Fills the box without distorting the picture */
  border-radius: 12px; /* Matches the smooth corners of the box */
  display: block;
}
/* --- FOOTER & COOKIE BANNER --- */
.site-footer {
  text-align: center;
  padding: 30px 20px;
  color: #6b7280;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 60px;
}
.site-footer a { color: #d1d5db; text-decoration: none; transition: color 0.3s; }
.site-footer a:hover { color: #ffffff; }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  color: #a1a1aa;
  text-align: center;
  padding: 15px 20px;
  z-index: 1000;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cookie-banner button {
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 6px 16px;
  margin-left: 15px;
  cursor: pointer;
  font-weight: 600;
  border-radius: 4px;
  transition: opacity 0.3s;
}
.cookie-banner button:hover { opacity: 0.8; }

/* --- LINKEDIN BUTTON --- */
.linkedin-btn {
  display: inline-block;
  background-color: #0a66c2; 
  color: #ffffff !important; 
  padding: 8px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.linkedin-btn:hover {
  background-color: #004182; 
}
