/*Technology services*/

/* =========================
   RADIO → PANEL SWITCHING
========================= */

/* Hide radio buttons */
.why-tabs input[type="radio"] {
    display: none;
}
/* Tabs */
.why-tabs label {
    display: block;
    padding: 10px 0;
    margin-bottom: 15px;

    cursor: pointer;

    color: #c6d0e5;

    transition:
        color .45s ease,
        transform .45s ease;
}


/* Tab hover */
.why-tabs label:hover {
    color: #8091bb;
}


/* Active tab */
.why-tabs input[type="radio"]:checked + label {
    color: #1d3985;
}


/* =========================
   FEATURE PANELS
========================= */

.why-visual .feature-panel {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 40px;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .5s ease,
        visibility .5s ease;
}


/* SECURITY */
.why-cerebrium:has(#security:checked)
.panel-security {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* SECURITY & GOVERNANCE */
.why-cerebrium:has(#cold:checked)
.panel-cold {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

}
.panel-cold .stats-card {
    width:75%;
    max-width: 600px;
    margin: 0 auto;
}
.panel-cold {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PROJECT MANAGEMENT */
.why-cerebrium:has(#scaling:checked)
.panel-scaling {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* BEYOND STATEMENT OF WORK */
.why-cerebrium:has(#code:checked)
.panel-code {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* DOING MORE WITH LESS */
.why-cerebrium:has(#observe:checked)
.panel-observe {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


 .cards {
  position: relative;
}

.card {
  position: sticky;
  top: 20px;

  width: calc(100% - 30px);
  min-height: 500px;
  margin: 0 auto 40px;

  padding: 40px;

  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: center;
  gap: 50px;

  box-sizing: border-box;

  background: #071019;
  color: white;

  border-radius: 24px;
  overflow: hidden;

  transform-origin: center top;
}

/* Content */

.card-content {
  /*max-width: 650px;*/
}

/*.card-number {
  position: absolute;
  top: 18px;
  left: 18px;

  color: #aaa;
  font-size: 18px;
}*/

.card h2 {
  margin: 0 0 25px;

  font-size: clamp(45px, 6vw, 70px);
  font-weight: 400;
  letter-spacing: -0.05em;
  color: #d5d5d5;
}

.card h2 span {
  color: #ff5757;
}

.card p {
  max-width: 600px;

  color: rgba(255,255,255,.65);
  font-size: 14px;
  line-height: 1.7;
}

/* Image */

.card-image {
  height: 330px;
  border-radius: 16px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Active effect */
.why-tabs label {
    position: relative;
    display: block;
    padding: 14px 20px 14px 35px;
    margin-bottom: 8px;
    cursor: pointer;
    color: #222;
    border-radius: 10px;

    transition: all .35s ease;
}

/* Hover */
.why-tabs label:hover {
    color:#2642ca;
    background: rgba(255,255,255,0.05);
}

/* Active */
.why-tabs input[type="radio"]:checked + label {
    color:#411b85;
    /* background: #ffeb3b42; */
    /* font-weight: 600; */
    transform: translateX(8px);
    background: linear-gradient(90deg, #ded4ed 0%, #f1dfe4 100%);] ;
       width: 100%;
}
 

/* Active left indicator */
.why-tabs input[type="radio"]:checked + label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 65%;
    transform: translateY(-50%);
    background:#673AB7;
    border-radius: 0 5px 5px 0;
}
/*Active effect end*/


/* Mobile */

@media (max-width: 800px) {
  .card {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    gap: 25px;
  }

  .card-image {
    height: 280px;
  }
}





/*Contract Vehicles*/
 

 /* =========================================
   MAIN WRAPPER
========================================= */

.case-studies {
    position: relative;
    width: 100%;
    padding: 20px 0 0px;
}


/* =========================================
   CARD
========================================= */

.case-card {
    position: sticky;
    top: 20px;

    width: 100%;
    min-height: 90vh;

    margin: 0;

    padding: 50px;

    border-radius: 28px;

    background: #071019;
    color: #fff;

    overflow: hidden;
    z-index: 1;
}

.case-inner {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    min-height: calc(90vh - 100px);

    display: grid;
    grid-template-columns: minmax(0, 1fr) 40%;

    align-items: center;

    gap: 50px;
}


/* =========================================
   STACK ORDER
========================================= */

.case-card:nth-child(1) {
    z-index: 1;
}

.case-card:nth-child(2) {
    z-index: 2;
}

.case-card:nth-child(3) {
    z-index: 3;
}

.case-card:nth-child(4) {
    z-index: 4;
}

.case-card:nth-child(5) {
    z-index: 5;
}

.case-card:nth-child(6) {
    z-index: 6;
}

.case-card:nth-child(7) {
    z-index: 7;
}


/* =========================================
   CARD NUMBER
========================================= */

.card-number {
    position: absolute;

    top:-55px;
    left:0px;

    font-size: 34px;

    font-weight: 300;

    line-height: 1;

    color: #d6d6d6;

    z-index: 5;
}
.tl p{
  text-align: left;
}


/* =========================================
   CONTENT
========================================= */

.card-content {
    position: relative;

    padding-left: 35px;

    z-index: 2;

    transition:
        opacity 0.5s ease;
}


/* =========================================
   HEADING
========================================= */

.card-content h2 {
  margin: 0 0 20px;
  font-size: 35px;
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
}

.card-content h2 span {
    color: #ff5a5a;
}


/* =========================================
   PARAGRAPH
========================================= */

.card-content p {
    /*max-width: 750px;*/

    font-size:18px;

    line-height:1.5;

    color: inherit;
    text-align: left;
}
.card-content li{

    font-size:18px;

    line-height:1.8;

    color: inherit;
    text-align: left;
}
.card-content ul{
  padding-left: 15px;
}

/* =========================================
   IMAGE
========================================= */

.card-image {
    position: relative;

    width: 100%;

    height: 600px;

    border-radius: 18px;

    overflow: hidden;

    z-index: 2;
}

.card-image img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s ease;
}


/* =========================================
   ACTIVE CARD
========================================= */

.case-card.active {
    background: #071019;

    color: #ffffff;
}

.case-card.active .card-content {
    opacity: 1;
}

.case-card.active .card-image img {
    transform: scale(1.02);
}


/* =========================================
   INACTIVE CARD
========================================= */

.case-card:not(.active) {
    background: #45494d;

    color: #b6b7b9;
}

.case-card:not(.active) .card-content {
    opacity: 0.55;
}

.case-card:not(.active) .card-image {
    filter: brightness(0.65);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 800px) {
    .case-card{
        padding: 25px !important;
    }
    .card-content h2 {
    font-size: 28px !important;
    line-height: 31px !important;
}
.card-content h2 {
        font-size: 25px;
        line-height: 29px;
    }
}
    .case-studies {
        padding: 10px 0 0px;
    }

    .case-card {

        top: 10px;

        width: calc(100% - 20px);

        min-height: 90vh;

        margin: 0 10px 10px;

        padding: 60px 40px 30px;

        grid-template-columns: 1fr;

        gap: 30px;

        border-radius: 20px;
    }

/*    .card-number {

        top: 20px;

        left: 20px;

        font-size: 26px;
    }*/

    .card-content {

        padding-left: 0;
    }

    .card-content h2 {

        font-size:37px;

        line-height:1;

    }

    .card-content p {

        font-size: 16px;

        line-height: 1.6;
    }

    .card-image {

        height: 350px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .case-card {

        min-height: auto;

        padding: 55px 18px 25px;

        margin-bottom:20px;
    }

 

    .card-image {

        height: 280px;
    }
}

 
/*Supplier Diversity*/




/* =====================================
   SECTION
===================================== */

.sustainability-section {
  position: relative;
/*border: #ccc solid 1px;*/
padding:35px;
  width:95%;
  border-radius: 15px;
  margin: 0 auto;
    background: #020c32;

  overflow: hidden;
}
.supplier h1,
.supplier p{
  color: #000
}

/* =====================================
   TOP PILLS
===================================== */

.sustainability-tabs {
display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #e2e2e242;
    padding: 0px 0px 15px;
    margin-bottom: 25px;
}


.tabg {
  height:50px;

  padding: 0 30px;

  border: 1px solid rgba(255,255,255,.75);
  border-radius: 100px;

  background:#eee;

  color: #222;

  font-size: 18px;
  font-weight: 500;

  cursor: pointer;

  transition:
    background .45s ease,
    color .45s ease,
    border-color .45s ease;
}


.tabg:hover {
  color:#000;
}


.tabg.active {
  background:#2642ca;
  border-color:#2642ca;

  color: white;
}


/* =====================================
   TWO COLUMNS
===================================== */
.sustainability-layout {
  /*display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  grid-auto-flow: column;
  column-gap: 6vw;*/
  width: 100%;
}



/* =====================================
   LEFT
===================================== */

.sustainability-left {
  position: relative;

  /*min-height: 800px;*/
}


/* =====================================
   GREEN WEB FOUNDATION
===================================== */

.gwf-logo {

  display: flex;
  align-items: center;

  gap: 18px;

  margin-top: 0;
  margin-bottom: 42px;

  color: #f3f3f3;

  font-size: 29px;
  line-height: .95;

  letter-spacing: -.7px;
}


/* create approximate logo */

.gwf-symbol {
  position: relative;

  width: 55px;
  height: 55px;
}


.gwf-symbol::before {

  content: "";

  position: absolute;

  left: 4px;
  bottom: 3px;

  width: 44px;
  height: 27px;

  border: 2px solid white;

  border-radius:
    0 0 50% 50%;

}


.gwf-symbol span {

  position: absolute;

  bottom: 25px;

  left: 26px;

  width: 3px;
  height: 27px;

  background: #20ff28;

  transform-origin: bottom;
}


.gwf-symbol span:nth-child(1) {
  transform: rotate(-55deg);
}

.gwf-symbol span:nth-child(2) {
  transform: rotate(-30deg);
}

.gwf-symbol span:nth-child(3) {
  transform: rotate(0deg);
}

.gwf-symbol span:nth-child(4) {
  transform: rotate(30deg);
}

.gwf-symbol span:nth-child(5) {
  transform: rotate(55deg);
}


/* =====================================
   SLIDES
===================================== */

.slides {
  position: relative;

  width: 100%;
}


/*
   All slides occupy exactly the same space.
   This is what gives the original page
   the "content replacement" effect.
*/

.slide {

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;

  opacity: 0;
  visibility: hidden;

  transform:
    translateY(35px);

  transition:
    opacity .65s ease,
    transform .65s cubic-bezier(.22,.61,.36,1),
    visibility .65s;

}


.slide.active {

  position: relative;

  opacity: 1;
  visibility: visible;

  transform: translateY(0);

}


/* =====================================
   BIG HEADING
===================================== */

.slide h1 {

  /*margin:25px;*/

  color: #ffffff;

  font-size:35px;
  text-align: left;

  font-weight:bold !important;

  line-height: .88;
  /*letter-spacing: -1px;*/
 
}


.slide h1 span {

  color: var(--coral);

  display: inline-block;

  margin-left: 5px;

  letter-spacing: -2px;
}


/* =====================================
   DESCRIPTION
===================================== */

.description {

  margin-top:25px;

  /*max-width: 900px;*/
}


.description p {

  margin: 0 0 10px;

  color: #ffffff;

  font-size: 20px;
  text-align: left;

  line-height: 1.25;

  letter-spacing: -.15px;
  padding-left:25px;
}
.description h3{
        text-align: left;
        font-size: 23px;
        margin-top: 20px;
    }

.description li {

  margin: 0 0 10px;

  color: #ffffff;

  font-size: 20px;
  text-align: left;

  line-height: 1.25;

  letter-spacing: -.15px;
  list-style: none;
   padding-left:25px;
}
.description li,
.description p {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}
.description li::before,
.description p::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: bold;
}

/* =====================================
   RIGHT IMAGE
===================================== */

.sustainability-right {

  position: relative;

  width: 100%;
}


.image-stage {

  position: sticky;

  top: 105px;

  width: 100%;

  height:
    calc(100vh - 145px);

  min-height: 600px;

  overflow: hidden;

  border-radius: 18px;

  background: #111;
}


/* =====================================
   IMAGE CROSS FADE
===================================== */

.sustainability-image {

  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;

  transform: scale(1.06);

  transition:
    opacity .8s ease,
    transform 1.3s cubic-bezier(.2,.7,.2,1);
}


.sustainability-image.active {

  opacity: 1;

  transform: scale(1);
}


/* dark green tint */

.image-stage::after {

  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(0, 40, 25, .10),
      rgba(0, 0, 0, .08)
    );
}


/* =====================================
   DESKTOP SCREEN MATCH
===================================== */

@media (min-width: 1400px) {

  .sustainability-section {
    padding-left: 4.2vw;
    padding-right: 4.2vw;
  }

  .sustainability-layout {

    grid-template-columns:
      1.05fr .83fr;

    column-gap: 6vw;
  }

/*  .description p {
    max-width: 900px;
  }*/

}


/* =====================================
   TABLET
===================================== */

@media (max-width: 1100px) {

  .sustainability-section {
    padding: 70px 30px;
  }

  .sustainability-layout {
    grid-template-columns: 1fr;
  }

  .sustainability-right {
    order: -1;

    margin-bottom: 50px;
  }

  .image-stage {

    position: relative;

    top: auto;

    height: 60vh;

    min-height: 450px;
  }

  .sustainability-left {
    min-height: auto;
  }

}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 700px) {
    .sustainability-tabs {
    display: block;
}
    .why-tabs input[type="radio"]:checked + label {
            padding-left:25px;
                    border-radius: 0px;
                            margin-left: -8px;
    }
.description li {
 font-size: 16px;
    text-align: left;
    line-height: 1.45;
}
.why-visual .feature-panel{
        padding: 15px;
}
.why-tabs label {
    padding: 5px 0;
    margin-bottom:10px;
}
    .why-tabs label {
        font-size:28px;
    }
        .why-visual {
        min-height: 70Vh;
    }

.observe-card, .panel-cold .stats-card {
    width: 100%;
}
.panel-cold .stats-card, .panel-cold .stats-card {
    width:90%;
}
  .sustainability-section {
    padding: 35px 20px 20px;
  }

  .sustainability-tabs {

    overflow-x: auto;

    flex-wrap: nowrap;

    padding-bottom: 8px;

    scrollbar-width: none;
  }

  .sustainability-tabs::-webkit-scrollbar {
    display: none;
  }

  .tabg {

    flex: 0 0 auto;

    height: 48px;

    padding: 0 18px;

    font-size: 18px;
    width: 100%;
    margin-bottom: 10px;
  }

 
  .slide h1 {
    margin: 0px;
}

  .slide h1 {

    font-size:29px;
    line-height:32px;
 
  }

  .description {
    margin-top: 20px;
  }

  .description p {
    font-size: 16px;
    line-height: 1.4;
  }

  .image-stage {

    height: 55vh;

    min-height: 350px;

    border-radius: 14px;
  }
  .case-card{
    margin: 0 10px 10px;
  }

}
