@import url("./bootstrap.min.css");
@import url("./fonts.css");
@import url("./variable.css");
@import url("./default.css");

.hero-section {
  min-height: 100svh;
  background: url("../images/bg/hero-bg.jpg") no-repeat center center/cover;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(var(--clr-rgb-brown), 0.9);
  z-index: 0;
}
.logo {
  max-width: 180px;
  margin-left: 20px;
  margin-bottom: 100px;
}
.hero-buttons {
  gap: 19rem;
}
.text-report {
  margin-left: 22rem;
  /* use em for the negative top margin so that spacing remains consistent with
   * scale */
  margin-top: -0.21em;
}
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  margin-bottom: 2rem;
  /* styles to override button default */
  -webkit-appearance: none;
  background: transparent;
  border: none;
  font-family: var(--bs-body-font-family);
}

.arrows {
  display: inline-block;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(8px);
  }
  60% {
    transform: translateY(4px);
  }
}
.main-content-section {
  min-height: 100svh;
}
.main-content-wrapper {
  gap: var(--space-lg);
}
.sidebar {
  padding: 2rem;
  border-radius: 10px;
  min-height: calc(100svh - 40px);
  width: var(--sidebar-width);
  position: sticky;
  top: 20px;
  background-color: var(--clr-white);
}
.main-content {
  width: calc(100% - var(--sidebar-width));
}
.emissions-grid {
  display: grid !important;
  grid-template-areas: "a b"
                       "c d";
  gap: 0 !important;
  max-width: 880px;
  margin: 0 auto;
  grid-template-columns: 250px 1fr;
}
.emissions-box {
  max-width: 250px;
  padding: 16px 24px;
  margin-top: 125px;
  align-self: flex-end;
  grid-area: a;
}
.emissions-content {
  max-width: 630px;
  padding: 4.6rem;
  grid-area: d;
}
.forest-img-wrapper {
  max-width: 440px;
  align-self: flex-end;
  grid-area: b;
}
.quote-box {
  max-width: 270px;
  margin-right: 6rem;
}
.wind-open-pit-wrapper {
  --wind-turbines-img-width: 220px;
}
.open-pit-mine-img-wrapper {
  max-width: calc(100% - var(--wind-turbines-img-width));
}
.wind-turbines-img-wrapper {
  max-width: var(--wind-turbines-img-width);
}
.annual-impact-img-wrapper {
  max-width: 700px;
}
.making-progress-detail {
  max-width: 330px;
}
.chat-title-text {
  max-width: 756px;
}
.chart {
  width: 100%;
}

.title-left {
  width: 25rem;
}

.title-right {
  width: calc(100% - 10rem);
}

.left-progress {
  width: 12rem;
  height: 45rem;
  margin-left: 3rem;
}

.left-fill {
  position: relative;
  height: 100%;
}

.left-remaining {
  height: 100%;
  background: #d88282;
  position: relative;
  overflow: hidden;
}

.left-label {
  background: #941e1e;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.bars {
  height: 45rem;
  min-width: 550px;
  margin-left: 0 !important;
  background: #fff;
  border: 2px solid #b04444;
  z-index: 0;
  padding: 10px 20px !important;
}

.bar-group {
  height: 100%;
}

.bar-fill {
  position: absolute;
  bottom: 0;
  width: 100%;
  color: white;
  text-align: center;
  display: flex;
    align-items: center;
    justify-content: center;
}

.bar-fill-left {
  position: absolute;
  bottom: 0;
  width: 100%;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 8px;
}

.bar-label {
  position: absolute;
  bottom: 5px;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 12px;
  z-index: 10;
}

/* Individual Widths */
.public-equity {
  width: 16%;
}
.hedge-funds {
  width: 21%;
}
.private-equity {
  width: 38%;
}
.real-estate {
  width: 15%;
}
.natural {
  width: 7%;
}

/* Backgrounds */
.public-equity .bar-bg {
  background-color: var(--public-equity-bg);
  overflow: hidden;
}
.hedge-funds .bar-bg {
  background-color: var(--hedge-funds-bg);
  overflow: hidden;
}
.private-equity .bar-bg {
  background-color: var(--private-equity-bg);
  overflow: hidden;
  z-index: 1;
}
.real-estate .bar-bg {
  background-color: var(--real-estate-bg);
  overflow: hidden;
}
.natural .bar-bg {
  background-color: var(--natural-resources-bg);
  overflow: hidden;
  width: 50px;
}

/* Fill Heights and Colors */
.direct-bar {
  background: var(--direct-bar-fill);
}
.fund-bar {
  background: var(--fund-bar-fill);
}
.hedge-bar {
  background: var(--hedge-bar-fill);
}
.private-bar {
  background: var(--private-bar-fill);
}
.real-bar {
  background: var(--real-bar-fill);
}
.natural-bar {
  background: var(--natural-bar-fill);
}

/* Make sure marker is visible above fills but below external labels */
.cy22-marker { z-index: 6; }
.cy22-marker .cy22-label { z-index: 7; }

.label {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.2;
  padding: 0 5px;
}

/* 09-08-2025 start */

/* General Bar Styles for the 'tree' structure */
/* .bar-line-1::before,
.bar-line-1::after {
    content: '';
    position: absolute;
    background-color: #695c87;
} */

/* Vertical lines for the 'tree' branches */
/* .bar-line-1::before {
    width: 2px;
    height: 25px;
    top: -34px;
    left: 35%;
    transform: translateX(-50%);
} */

/* .bar-line-1::after {
    width: 2px;
    height: 23px;
    top: -33px;
    right: 10.5%;
    transform: translateX(50%);
} */

/* Horizontal line connecting the two vertical branches */
/* .bar-line-a1::before {
    content: '';
    width: 48%;
    height: 2px;
    background-color: #695c87;
    position: absolute;
    top: -11px;
    left: 26%;
} */

/* Central vertical line from the text to the horizontal line */
/* .bar-line-a1::after {
    content: '';
    width: 2px;
    height: 25px;
    background-color: #695c87;
    position: absolute;
    bottom: 75%;
    left: 50%;
    transform: translateX(-50%);
} */

/* bar-line-2 */
/* .bar-line-2::before {
    content: '';
    width: 2px;
    height: 30px;
    background-color: #3f6c7c;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
} */

.private-equity::before {
    background-color: #148d86;
}

.real-estate::before {
    background-color: #977157;
}

.natural-resources::before {
    background-color: #899f50;
}
.bars-wrapper .label span {
    display: block;
    width: max-content;
    margin: 0 auto;
    padding: 10px 15px;
}

.fund-bar-text {
    color: #695c87;
}

.hedge-bar-text {
    color: #3f6c7c;
}

.private-bar-text {
    color: #148d86;
}

.real-bar-text {
    color: #977157;
}

.natural-bar-text {
    color: #899f50;
}

.left-fill-trainagle {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #941e1e;
    position: absolute;
    right: -12px;
    bottom: calc(var(--tri-pct, 0) * 1% - 10px);
}

/* New S-Connector Style for Natural Resources */
/* .s-connector::before {
    content: '';
    position: absolute;
    background-color: #899f50;
    width: 2px;
    height: 29px;
    top: -61%;
    left: 0%;
    transform: translateX(-50%);
}

.s-connector::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 12px;
    border-top: 2px solid #899f50;
    border-right: 2px solid #899f50;
    /* Position the L-shape at the end of the first vertical line */
    /* top: calc(-40% + 15px);
    left: calc(38% - 20px); */
/* } */

/* For Tablets and smaller desktops */
/* @media (max-width: 991px) { */
    /* Tree structure adjustments */
    /* .bar-line-1::before,
    .bar-line-1::after {
        top: -27px;
        height: 20px;
    }

    .bar-line-a1::before {
        top: -8px;
        left: 25%;
        width: 50%;
    }

    .bar-line-a1::after {
        height: 20px;
        bottom: 70%;
        left: 50%;
    } */
    
    /* Single line connector adjustments */
    /* .bar-line-2::before {
        height: 25px;
        top: -25px;
    } */

    /* S-connector adjustments */
    /* .s-connector::before {
        height: 20px;
        top: -45%;
        left: 0%;
    } */
    
    /* .s-connector::after {
        width: 15px;
        height: 10px;
        top: calc(-35% + 15px);
        left: calc(30% - 15px);
    } */
/* } */

/* For Mobile Devices */
@media (max-width: 767px) {
    /* .bar-line-1::before,
    .bar-line-1::after {
        top: -27px;
        height: 19px;
    }
    
    .bar-line-a1::before {
        left: 40%;
        width: 36%;
    }

    .bar-line-a1::after {
        height: 19px;
        bottom: 83%;
    }

    .bar-line-2::before {
        height: 35px;
        top: -27px;
    }
    
    .s-connector::before {
        height: 30px;
        top: -40%;
        left: -24%;
    }
    
    .s-connector::after {
        width: 25px;
        height: 19px;
        top: calc(-18% + 12px);
        left: calc(6% - 10px);
    } */
}
/* 09-08-2025 end */

/* 20-08-2025 start*/

.hero-content-wrapper{
  margin: 15px 10px 0 15px;
}

.hero-title-wrapper {
  margin: 0 20px 0 50px;
}

.hero-title {
  font-weight: 300 !important;
}

/* 20-08-2025 end*/

/* 26-08-2025 start*/

.measuring-side-bar {
  /* Safari fix */
  min-width: 270px;
}

.small-cap {
  font-size: 0.8em;
}

.labels {
  padding-top: 48px !important;
}

.lines {
  position: absolute;
  top: 0;
  left: 0;
}

[class^=line-1] {
  display: flex;
  flex-flow: column nowrap;
  justify-content: stretch;
  align-items: center;
}

[class^=connector-] {
  height: 100%;
  width: 2px;
}

.connector-horz, .connector-horz + [class^=connector-] {
  position: relative;
  display: none;
}

.connector-horz {
  height: 2px;
}

.fork-1 {
  flex: 1 1 auto;
  width: 100%;
  height: 34%;
  border: 2px solid var(--direct-bar-fill);
  border-top: none;
}
[class^=connector-1], .connector-1 + .connector-horz {
  background-color: var(--direct-bar-fill);
}

[class^=connector-2], .connector-2 + .connector-horz {
  background-color: var(--hedge-bar-fill);
}

[class^=connector-3], .connector-3 + .connector-horz {
  background-color: var(--private-bar-fill);
}

[class^=connector-4], .connector-4 + .connector-horz {
  background-color: var(--real-bar-fill);
}

[class^=connector-5], .connector-5 + .connector-horz {
  background-color: var(--natural-bar-fill);
}

.bars-wrapper {
  position: relative;
}

/* 26-08-2025 end*/