.uppal-timeline-slider {
  padding: 80px 20px;
 
}

.uppal-container {
  display: block;
 float: left;
 width: 50%;
}
.uppal-timeline-content h1{
  font-size: 3rem;
}
.uppal-timeline-content p{
  font-size: 1.1rem;
}
/* TIMELINE */
.uppal-timeline {
  width: 100%;
  position: relative;
      
}
.uppal-timeline h4{
    font-family: "Hanken Grotesk", sans-serif;
        font-weight: 600 !important;
        padding: 0;
        margin: 0;
}
.uppal-line {
  position: absolute;
      left: 9px;
    top: 0px;
    width: 2px;
    height: 92%;
    background: #ddd;
       z-index: -9999;
}

.uppal-line-progress {
  position: absolute;
  width: 100%;
  height: 0%;
  background: #151723;
  transition: height 0.6s ease;
}

.uppal-item {
  display: flex;
  gap: 15px;
  margin: 30px 0;
  cursor: pointer;
  opacity: 1;
  transition: 0.3s;
}
.uppal-item h4,.uppal-item p{
  opacity:.5;
}
.uppal-item.active h4, .uppal-item.active p {
  opacity: 1;
}
.uppal-item .uppal-dot {
opacity: 1 !important;
}
.uppal-dot {
    width: 20px;
    height: 20px;
    background: #fffbf3;
    border-radius: 50%;
    border: 2px solid #000;
    
}

.uppal-item.active .uppal-dot {
  background: #151723;
  transform: scale(1.4);

}

/* SLIDER */
.uppal-slider {
  width: 50%;
  float: left;
    padding-left: 90px;
    padding-top: 70px;
}

.uppal-slide {
  position: absolute;
 
  width: 100%;
 opacity: 0;
  visibility: hidden;
  pointer-events: none;
   transition: opacity 0.8s ease, visibility 0.8s ease;
  max-width: 500px;
  max-height: 600px;
}

.uppal-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

 .hide-tab{
    display: block;
  }
  .hide-desktop{
     display: none;
   }

/* MOBILE */
@media (max-width: 768px) {
  .uppal-container {
    flex-direction: column;
  }
  .uppal-timeline, .uppal-slider {
    width: 100%;
  }
}


/* =========================================================
   MOBILE + TABLET ONLY
   ========================================================= */

@media only screen and (max-width: 1024px) {

    /* FIRST IMAGE VISIBLE */
.uppal-slide:first-child {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* FIRST CONTENT VISIBLE */
.uppal-item:first-child .t-content {
    display: block;
}

/* FIRST DOT ACTIVE */
.uppal-item:first-child .uppal-dot {
    background: #132736;
    transform: scale(1.15);
}

  .hide-tab{
    display: none;
  }
  .hide-desktop{
     display: block;
   }

    .uppal-timeline-slider {
        padding: 40px 20px 60px;
        overflow: hidden;
        position: relative;
    }

    /* CONTAINER */
    .uppal-container {
        width: 100%;
        float: none;
        display: block;
    }

    /* =====================================
       CONTENT
    ===================================== */

    .uppal-timeline-content {
        width: 100%;
        margin-bottom: 30px;
    }

    .uppal-timeline-content h1 {
        font-size: 52px;
        line-height: 0.95;
        margin-bottom: 25px;
    }

    .uppal-timeline-content p {
        font-size: 16px;
        line-height: 1.65;
        text-align: justify;
    }

    /* =====================================
       SLIDER
    ===================================== */

    .uppal-slider {
        width: 100%;
        float: none;
        padding: 0;
        position: relative;
        margin-top: 35px;
    }

    .uppal-slider::after {
        content: "";
        display: block;
        padding-top: 115%;
    }
/* BEFORE JS LOAD */
.uppal-slider:not(.uppal-initialized) .uppal-slide:first-child {
    opacity: 1;
    visibility: visible;
}

/* OTHER SLIDES */
.uppal-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
}

.uppal-slide.active {
    opacity: 1;
    visibility: visible;
}

    .uppal-slide {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.8s ease;
        
    }

    .uppal-slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }

     /* ====================================
       TIMELINE
    ==================================== */

    .uppal-timeline {
        width: 100%;
        margin-top: 35px;
        position: relative;
    }

    /* HORIZONTAL LINE */
    .uppal-line {
        position: absolute;
        top: 9px;
        left: 50%;
        transform: translateX(-50%);

        width: 75%;
        height: 2px;

        background: #b5b5b5;
        z-index: 1;
    }

    .uppal-line-progress {
        width: 0%;
        height: 100%;
        background: #132736;

        transition: width 0.5s ease;
    }

    /* DOTS ROW */
    .uppal-timeline {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .uppal-item {
        width: auto;
        flex: 1;

        display: flex;
        flex-direction: column;
        align-items: center;

        position: relative;
        z-index: 2;

        margin: 0;
    }

    /* DOT */
    .uppal-dot {
        width: 18px;
        height: 18px;

        background: #fffdf7;
        border: 2px solid #132736;
        border-radius: 50%;

        transition: all 0.4s ease;
    }

    .uppal-item.active .uppal-dot {
        background: #132736;
        transform: scale(1.15);
    }

    /* ====================================
       CONTENT AREA
    ==================================== */

    .uppal-item .t-content {
        display: none;

        width: 100%;
        max-width: 100%;

        padding-top: 25px;

        text-align: center;
    }

    .uppal-item.active .t-content {
        display: block;
    }

    .uppal-item.active h4 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 10px;
        color: #151723;
    }

    .uppal-item.active p {
        font-size: 14px;
        line-height: 1.6;

        max-width: 280px;
        margin: auto;
    }

    /* HIDE INACTIVE CONTENT */
    .uppal-item h4,
    .uppal-item p {
        opacity: 1;
    }
    /* =====================================
       MOBILE ARROWS
    ===================================== */

    .uppal-mobile-nav {
        position: absolute;
        top: 42%;
        left: 0;

        width: 100%;
        z-index: 10;

        display: flex;
        justify-content: space-between;
        pointer-events: none;
    }

    .uppal-mobile-arrow {
        width: 42px;
        height: 42px;

        border-top: 2px solid #111;
        border-right: 2px solid #111;

        pointer-events: auto;
        cursor: pointer;
    }

    .uppal-mobile-prev {
        transform: rotate(-135deg);
        margin-left: 10px;
    }

    .uppal-mobile-next {
        transform: rotate(45deg);
        margin-right: 10px;
    }

    /* =====================================
       BUTTON
    ===================================== */

    .uppal-timeline-slider .button {
        display: table;
        margin: 30px auto 0;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media only screen and (max-width: 767px) {

    .uppal-timeline-content h1 {
        font-size: 42px;
    }

    .uppal-item.active h4 {
        font-size: 18px;
    }

    .uppal-item.active p {
        font-size: 13px;
        max-width: 200px;
    }

    .uppal-line {
        width: 78%;
    }

}