:root {
  --pcg-blue: rgb(13, 110, 253);
  --pcg-orange: rgb(233, 113, 50);
  --bs-secondary-rgb: 233, 113, 50;

   --bg: #f8fafc;
   --card-bg: #dcdcdc;
   --primary: #2563eb;
   --secondary: #64748b;
   --line: #94a3b8;
   --text: #0f172a;
   --muted: #64748b;
   --shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
   --radius: 14px;
}

* {
    box-sizing: border-box;
}

/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-top: 3rem;
  padding-bottom: 0rem;
  color: rgb(var(--bs-tertiary-color-rgb));
  background-image: url("/static/media/Contour_bg2.png");
  background-repeat: repeat;
  background-size: auto;
  background-position: top left;
  background-size: 50%;
  font-family: "Montserrat";
  font-size: 1.2em;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  opacity: 1.0;
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
  border-top: 1px solid var(--pcg-orange);
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

#rigel-logo {
	position: fixed;
	top: 10px;
	right: 10px;
	width: 150px;
	border-radius: 50%; 
	border: 1px solid #085eef;
	filter: drop-shadow(#403d3d 8px 8px 5px);
}

#rigel {
	border-radius: 20px;
}

#container {
	display: flex;
	flex-direction: column;
}

#header {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 123px;
	margin: 0 auto;
	border-bottom: 100px solid #085eff;
	text-align: center;
	margin-bottom: 10px;
}

#header h1 {
	margin-bottom: -20px;
	color: #941c01;
	text-shadow: 1px 1px #403d3d;
}

#header h3 {
	font-weight: lighter;
	color: #941c01;
	text-shadow: 1px 1px #403d3d;
}

#content {
	position: fixed;
	top: 133px;
}

#pcg_footer {
    margin-top: 2em !Important;
}

.float-scontainer {
	padding-top: 10px;
	overflow: auto; /* Clears floats */
}
.float-box {
	float: left;
	width: 600px;
	text-align: left;
	margin-right: -250px;
}

#navbar_title_h1 {
    margin-top: 0px;
    margin-bottom: 0px;
    font-family: "Montserrat";
    font-weight: 500;
    text-shadow: 1px 1px #403d3d;
}

#navbar_title_h6 {
    margin-top: -30px;
    font-size: 1.1em;
    font-family: "Montserrat";
    text-shadow: 1px 1px #403d3d;
}

.pcg-shadow {
    text-shadow: 1px 1px #403d3d;
}

.pcg-img-round45 {
    border-radius: 45px;
}

.pcg-img-drop-shadow {
  filter: drop-shadow(8px 8px 5px rgba(0, 0, 0, 0.5));
}

#title_background {
    font-family: "Montserrat";
    font-size: 24pt;
    font-weight: 900;
    line-height: 20pt;
}

#title_blue_precog {
    color: #1c60a0;
    text-shadow: 1px 1px Silver;
}

#title_gs {
    text-shadow: 1px 1px Silver;
}

#title_orange_agd {
    color: #e97132;
    letter-spacing: 0.65em;
    font-size: 10pt;
    text-shadow: 1px 1px Silver;
}

 .org-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    padding: 100px 20px;
  }

  .org-chart {
    position: relative;
    min-width: 900px;
    display: grid;
    grid-template-columns: repeat(8, minmax(120px, 1fr));
    grid-auto-rows: auto;
    gap: 70px 24px;
    align-items: start;
  }

  .connections {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 0;
    filter: drop-shadow(8px 8px 5px rgba(0,0,0,0.5));
  }

  .node {
    position: relative;
    z-index: 1;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
    text-align: center;
    border-top: 5px solid var(--pcg-orange);
    border-right: 2px solid var(--pcg-orange);
    min-height: 92px;
    max-width: 300px;
    filter: drop-shadow(8px 8px 5px rgba(0,0,0,0.5));
  }

  .node img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .node ul li {
    text-align: left;
    font-size: 10pt;
  }

  .node h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: bold;
    color: var(--pcg-orange);
  }

  .node p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
  }

  .exec {
    grid-column: 4 / span 2;
    grid-row: 1;
  }

  .act {
    grid-column: 1 / span 2;
    grid-row: 2;
  }

  .prod {
    grid-column: 3 / span 2;
    grid-row: 2;
  }

  .sales {
    grid-column: 5 / span 2;
    grid-row: 2;
  }

  .rnd {
    grid-column: 7 / span 2;
    grid-row: 2;
  }

  svg path {
    fill: none;
    stroke: var(--line);
    stroke-width: 2;
  }

  /* Tablet */
  @media (max-width: 900px) {
    body {
      padding: 16px;
    }

    .org-chart {
      min-width: 720px;
      grid-template-columns: repeat(6, minmax(100px, 1fr));
      gap: 60px 18px;
    }

    .node {
      padding: 14px;
    }

    .node h3 {
      font-size: 15px;
    }
  }

  /* Mobile: allow horizontal scrolling instead of crushing the chart */
  @media (max-width: 600px) {
    .org-wrapper {
      padding: 24px 8px;
    }

    .org-chart {
      min-width: 680px;
    }

    .node {
      min-height: 84px;
    }
  }
