
.renew--hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;

    z-index: 1;

    transform-origin: center center;
    will-change: transform;
}

.renew--hero-image {
    width: 100%;
    height: 100%;
}

.renew--hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.renew--hero-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    z-index: 1;
    pointer-events: none;
}


.renew--hero-content {
    position: absolute;
    right: 70px;
    bottom: 45px;

    width: 48%;
    max-width: 720px;

    z-index: 2;
}


.renew--hero-content h2 {
    margin: 0 0 22px;

    font-family: "LT Superior Serif", serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 1;

    color: #000000;
}


.renew--hero-content p {

    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;

    color: #000000;
}
.journey--section {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    perspective: 1000px;

    will-change: transform;
    isolation: isolate;
}

.renew--transition {
    position: relative;
}

.renew--transition::before {
    content: "";
    position: absolute;

    top: 0;
    bottom: 0;

    left: 50%;
    transform: translateX(-50%);

    width: 1px;
    background: rgba(0, 0, 0, 0.35);

    z-index: 2;
    pointer-events: none;
    display: none;
}
.journey--timeline {
    position: absolute;

    top: 0;
    bottom: 0;

    left: 50%;
    transform: translateX(-50%);

    width: 40px;

    z-index: 100;

    pointer-events: none;
    height: calc(100vh + 100px);
    position: sticky;
}
.journey--timeline::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left: 50%;
    transform: translateX(-50%);

    width: 5px;

    background: linear-gradient(
        180deg,
        #F2BA85 9.2%,
        #FFFFFF 44.13%,
        #76D583 86.82%
    );

    z-index: 1;
}

.journey--absolute {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    height: 100%;
}

.journey--timeline-circle {
    position: absolute;

    top: 0;
    left: 50%;

    width: 32px;
    height: 32px;

    transform: translateX(-50%);

    border: 7px solid #ffffff;
    border-radius: 50%;
    box-sizing: border-box;

    background: #133D6A;

    z-index: 5;

    will-change: transform;
}

.journey--absolute .journey--timeline-circle {
    top: 50%;
}

.journey--title {
    position: absolute;

    left: 11%;
    bottom: 10%;

    z-index: 10;
}
.journey--description {
    position: absolute;

    right: 8%;
    bottom: 10%;

    z-index: 10;
}

/* =========================
   PARALLAX IMAGE
========================= */
.journey--image {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    will-change: transform;

    overflow: hidden;
}

.journey--image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: translate3d(0, 0, 0) scale(1.001);

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    will-change: transform;

    /* prevents browser image repaint flashes */
    -webkit-transform: translate3d(0, 0, 0) scale(1.001);
}
.journey--section,
.journey--image,
.journey--image img {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.journey--image img {
    transform: translate3d(0,0,0) scale(1.001);
}




.journey--timeline-line {
    width: 5px;
    height: 100px;
   
      background: transparent;

}


/* Circle */
.journey--timeline-circle {
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    box-sizing: border-box;
    background: url('../images/renew-timeline/Ashoka_Chakra.webp');
    z-index: 2;
    background-size: 100%;
    background-repeat: no-repeat;
    border: 2px solid var(--white);
}

.journey--timeline-bottom {
    height: 100%;
}



.journey--title {
    position: absolute;
    left: 15%;
    bottom: 80px;
    z-index: 2;
    color: #ffffff;
    max-width: 400px;
}
.journey--title h2.year--heading{
      font-family: "LT Superior Serif", serif;
      font-size: 32px;
      font-weight: 400;
      color: #ffffff;
      padding-bottom: 10px;
}

.journey--title h2 {
    margin: 0;
    font-family: "LT Superior Serif", serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
}


.journey--title p {
    font-family: "LT Superior Serif", serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;

    color: #ffffff;
}

.journey--description {
    position: absolute;
    left: 55%;
    bottom: 80px;
    max-width: 450px;
    padding: 25px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.24);

    /* Blur whatever is behind this box */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    z-index: 2;
    z-index: 2;
}


.journey--description p {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
}

@media (max-width: 767px) {

 .renew--hero-image img {
        min-height: 500px;
        object-fit: cover;
                object-position: left;
    }

    .renew--hero-content {
        left: 20px;
        right: 20px;
        bottom: 25px;
        width: auto;
    }

    .renew--hero-content h2 {
        font-size: 38px;
        margin-bottom: 15px;
    }

    .renew--hero-content p {
        font-size: 14px;
        line-height: 1.4;
    }

    /* =========================
       JOURNEY IMAGE
    ========================= */

    .journey--image img {
        min-height: 650px;
        object-fit: cover;
    }

       .journey--section {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    row-gap: 10px;
    height: 90vh;
    padding: 15px 75px;
    padding-right: 15px;
    padding-bottom: 30px;
    }
    .journey--section .journey--image:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #000;
    z-index: 1;
    opacity: 0.2;
}

    .journey--section .journey--image{
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
    }

.journey--year{
	position: relative;
    left: 0px;
    top: 0px;
    transform: translateX(0%);
    font-size: 30px;
}
.journey--title{
	position: relative;
    top: 0;
    left: 0;
}
.journey--description{
	position: relative;
    top: 0;
    left: 0;	
    padding: 25px 15px;
}

    /* =========================
       TIMELINE
    ========================= */
    .journey--absolute, .journey--absolute.is-active {
        left: 17px;
        transform: none;
    }

    .journey--timeline {
        top: 0;
        left: 17px;
        bottom: 0;
        transform: none;
        align-items: center;
        z-index: 2;
    }
    .renew--transition::before{
        left: 35px;
    }

    .journey--timeline::before {
        width: 4px;
    }

    .journey--timeline-line {
        height: 120px;
        width: 4px;
    }

    .journey--timeline-circle {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }


    /* =========================
       TITLE
    ========================= */



    /* =========================
       TITLE HEADING
    ========================= */

    .journey--title h2 {
        margin: 0 0 5px;
        font-size: 24px;
        overflow: visible;
    }
    .journey--title h2.year--heading{
    font-size: 20px;
    padding-bottom: 5px;
}


    /* =========================
       TITLE SUBHEADING
       <p> ALWAYS FULLY VISIBLE
    ========================= */

    .journey--title p {
        margin: 0;
        font-size: 24px;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;

        /*
         * Allow text to go onto multiple lines.
         */
        white-space: normal;

        /*
         * Do not clip long subtitles.
         */
        overflow: visible;
        text-overflow: clip;

        /*
         * Wrap naturally.
         */
        overflow-wrap: normal;
        word-wrap: normal;
        word-break: normal;

        /*
         * Keep p above description background.
         */
        position: relative;
        z-index: 6;
    }


    /* =========================
       DESCRIPTION
    ========================= */

    .journey--description p {
        margin: 0 0 14px;

        font-size: 14px;
        line-height: 1.45;
    }

    .journey--description p:last-child {
        margin-bottom: 0;
    }
    .renew--hero{
        height: 87vh;
    }
}

/* =========================================================
   TABLET RESPONSIVE
   768px - 1199px
========================================================= */

@media (min-width: 768px) and (max-width: 1199px) {

    /* =====================================================
       HERO
    ===================================================== */

    .renew--hero {
        height: 100vh;
    }

    .renew--hero-image {
        width: 100%;
        height: 100%;
    }

    .renew--hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .renew--hero-content {
        left: auto;
        right: 40px;
        bottom: 40px;

        width: 55%;
        max-width: 600px;
    }

    .renew--hero-content h2 {
        font-size: 48px;
        line-height: 1;
        margin-bottom: 18px;
    }

    .renew--hero-content p {
        font-size: 15px;
        line-height: 1.5;
    }


    /* =====================================================
       JOURNEY SECTION
    ===================================================== */

    .journey--section {
        width: 100%;
        height: 100vh;
        min-height: 700px;

        overflow: hidden;
    }


    /* =====================================================
       BACKGROUND
    ===================================================== */

    .journey--image {
        top: -20%;
        width: 100%;
        height: 140%;
    }

    .journey--image img {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center;
    }


    /* =====================================================
       YEAR
    ===================================================== */

    .journey--year {
        top: 80px;
        left: 50%;

        transform: translateX(-50%);

        font-size: 34px;

        white-space: nowrap;
    }


    /* =====================================================
       TIMELINE
    ===================================================== */

    .journey--timeline {
        top: 0px;
        bottom: 0;

        left: 50%;
        transform: translateX(-50%);

        width: 20px;
    }

    .journey--timeline::before {
        width: 4px;
    }

    .journey--timeline-line {
        width: 4px;
        height: 100px;
    }



    /* =====================================================
       LEFT TITLE
    ===================================================== */

    .journey--title {
        left: 50px;
        bottom: 35px;

        width: calc(50% - 90px);
        max-width: 350px;

        overflow: visible;
    }

    .journey--title h2 {
        margin: 0 0 6px;

        font-size: 42px;
        line-height: 1;

        white-space: normal;
    }

    .journey--title p {
        margin: 0;

        font-size: 26px;
        line-height: 1.05;

        width: 100%;

        white-space: normal;
        overflow: visible;

        overflow-wrap: normal;
        word-break: normal;
    }


    /* =====================================================
       RIGHT DESCRIPTION
    ===================================================== */

    .journey--description {
        left: auto;
        right: 40px;
        bottom: 35px;

        width: calc(50% - 80px);
        max-width: 390px;

        padding: 20px;

        box-sizing: border-box;
    }

    .journey--description p {
        margin: 0 0 12px;

        font-size: 14px;
        line-height: 1.45;
    }

    .journey--description p:last-child {
        margin-bottom: 0;
    }
    
}