@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
:root {
  --logo-color: rgb(0, 0, 0);
  --middle-logo-color: #6CB7D5;
  --navbar-background-color: white;
  --active-link-background-color:#DC8C6E;
  --active-link-text-color: white;
  --navbar-link-color: black;
  /* color of the line when scrolling  */
  --timeline-page-title-color: rgb(0, 0, 0);
  --timeline-scroll-line-color: rgb(108, 183, 213);
  --timeline-card-title-color: rgb(108, 183, 213);
  --timeline-text-background-color: rgb(0, 0, 0);
  --timeline-paragraph-text-color: white;
  --timeline-circle-background-color: rgb(0, 0, 0);
  --timeline-circle-text-color: rgb(255, 255, 255);
  --timeline-circle-border-color: rgb(0, 0, 0);
  /* chanage circle color when card slides in  */
  --time-cricle-active-background-color: black;
  --timeline-circle-active-text-color: white;
  /*chanage background color of arrow on the left/right of each card */
  --timeline-card-arrow-color: rgb(0, 0, 0);
}

body,html {
    background-color: rgb(255, 255, 255);
    font-family:"Poppins";
    overflow-x: hidden;
    padding:0;
    margin:0;
  }


  /* NAVBAR */

.logo{
  padding: 1.4%;
  text-align: center;
  
}

.logo a {
  font-size: calc(0.5rem + 1.2vw);
  font-family: 'Poppins', cursive;
  text-decoration: none;
  margin-left:3rem;
  color: var(--logo-color);
}
.logo a >span{
  color: var(--middle-logo-color);
}



.navbar {
  transition: background-color 0.2s ease-in;
  z-index: 1000;
  position: fixed;
  top: 0;
  width:100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgb(255, 255, 255);
  height: 87px;

}
.nav-link{
  margin-right: 11%;
}

.nav-link ul {
  display: flex;

}

.nav-link li {
  display: inline;
  padding:18px 1.8rem;
  list-style: none;
}





.nav-link a {
  display: block;
  text-decoration: none;
  padding:12px;
  font-size: 1.3rem;
  font-family: "Poppins";
  color: var(--navbar-link-color);
}





.social {
  margin-right: 1rem;
  padding: 0.6rem;
}
.social img {
  height:4rem;
  border-radius: 50%;
  background-color: white;
  width: 4rem;

}

.social img:hover{
  filter: drop-shadow(5px 5px 5px #0483eb);
  background-color:black;
  
}

.toggle-btn {
  position: absolute;
  right:1rem;
  display:none;
  flex-direction: column;
  width: 3%;
  min-width: 40px;
  top: 10%;
  
  
}


.toggle-btn .bar {
  height: 3px;
  width: 100%;
  margin-top: 10px;
  background-color: #000000;
  border-radius: 8px;
}

.nav-link.active {
  display: flex;
  position:absolute;
  top:87px;
}

.link-active {
  background-color: white;
 
}

.link-active a {
  color: black;
 
}

.nav-link li:nth-child(5){
  background-color: var(--active-link-background-color);
}

.nav-link li:nth-child(5) a{
  color: var(--active-link-text-color);
}
  
  img {
    max-width: 100%;
  }
  
  .ag-format-container {
    width: 1160px;
    margin: 0 auto;
  
    position: relative;
  }
  
  .ag-timeline-block {
    padding: 220px 0;
    margin-top: 10vh;

  }
  .ag-timeline_title-box {
    padding: 0 0 30px;
  
    text-align: center;
  }
  .ag-timeline_tagline {
    font-size: 40px;
    color: rgb(84, 89, 95);
  }
  .ag-timeline_title {
    color: var(--timeline-page-title-color);
    font-family: 'Poppins';
    font-size: 80px;
  }
  
  .ag-timeline_item {
    margin: 0 0 50px;
  
    position: relative;
  }
  .ag-timeline_item:nth-child(2n) {
    text-align: right;
  }
  
  .ag-timeline {
    display: inline-block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  
    position: relative;
  }
  .ag-timeline_line {
    width: 4px;
    background-color: #393935;
    position: absolute;
    top: 5px;
    left: 50%;
    bottom: 0;
  
    overflow: hidden;
  
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  
  .ag-timeline_line-progress {
    width: 100%;
    height: 20%;
    background-color: rgb(0, 0, 0);
  }
  
  .ag-timeline-card_box {
    padding: 0 0 20px 50%;
  }
  .ag-timeline_item:nth-child(2n) .ag-timeline-card_box {
    padding: 0 50% 20px 0;
  }
  .ag-timeline-card_point-box {
    display: inline-block;
    margin: 0 14px 0 -28px;
  }
  .ag-timeline_item:nth-child(2n) .ag-timeline-card_point-box {
    margin: 0 -28px 0 14px;
  }
  .ag-timeline-card_point {
    height: 50px;
    line-height: 50px;
    width: 50px;
    border: 3px solid var(--timeline-circle-border-color);
    background-color: var(--timeline-circle-background-color);
    
    text-align: center;
    font-family: 'ESL Legend', sans-serif;
    font-size: 20px;
    color: var(--timeline-circle-text-color);
  
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
  }
  .js-ag-active .ag-timeline-card_point {
    color: var(--timeline-circle-active-text-color);
    background-color:var(--time-cricle-active-background-color);
  }
  .ag-timeline-card_meta-box {
    display: inline-block;
  }
  .ag-timeline-card_meta {
    margin: 10px 0 0;
  
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    color: var(--timeline-card-title-color);
  }
  .ag-timeline-card_item {
    display: inline-block;
    width: 45%;
    margin: -77px 0 0;
    background-color:var(--timeline-text-background-color);
    
    opacity: 0;
    
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
  
    -webkit-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
    -moz-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
    -o-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
    box-shadow: 0 0 0 0 rgba(0,0,0,.5);
  
    -webkit-transition: -webkit-transform .5s, opacity .5s;
    -moz-transition: -moz-transform .5s, opacity .5s;
    -o-transition: -o-transform .5s, opacity .5s;
    transition: transform .5s, opacity .5s;
  
    position: relative;
  }
  .ag-timeline_item:nth-child(2n+1) .ag-timeline-card_item {
    -webkit-transform: translateX(-200%);
    -moz-transform: translateX(-200%);
    -ms-transform: translateX(-200%);
    -o-transform: translateX(-200%);
    transform: translateX(-200%);
  }
  .ag-timeline_item:nth-child(2n) .ag-timeline-card_item {
    -webkit-transform: translateX(200%);
    -moz-transform: translateX(200%);
    -ms-transform: translateX(200%);
    -o-transform: translateX(200%);
    transform: translateX(200%);
  }
  .js-ag-active.ag-timeline_item:nth-child(2n+1) .ag-timeline-card_item,
  .js-ag-active.ag-timeline_item:nth-child(2n) .ag-timeline-card_item {
    opacity: 1;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
  .ag-timeline-card_arrow {
    height: 18px;
    width: 18px;
    margin-top: 20px;
    background-color: var(--timeline-card-arrow-color);
  
    z-index: -1;
    position: absolute;
    top: 0;
    right: 0;
  
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .ag-timeline_item:nth-child(2n+1) .ag-timeline-card_arrow {
    margin-left: calc(-18px / 2);
    margin-right: calc(-18px / 2);
  }
  .ag-timeline_item:nth-child(2n) .ag-timeline-card_arrow {
    margin-left: -10px;
  
    right: auto;
    left: 0;
  }
  .ag-timeline-card_img {
    width: 100%;
  }
  .ag-timeline-card_info {
    padding: 20px 30px;
  }
  .ag-timeline-card_title {
    display: none;
    margin: 10px 0 10px;
  
    font-family: 'ESL Legend', sans-serif;
    font-size: 28px;
    color: var(--timeline-card-title-color);
  }
  .ag-timeline-card_desc {
    line-height: 1.45;
    font-family:"Poppins";
    font-size: 16px;
    color: var(--timeline-paragraph-text-color);
  }

  .custom {
    margin-top: -61px;
    margin-left: 47px;
    width:100%;
  }
  .custom-align {
    margin-top: -110px;
  }
  .ag-timeline-card_img-box{
    height: 293.633px;
  }
  @media screen and (max-width: 3860px) and (min-width:2859px){
    .navbar{
        height: 115px;
    }
    .nav-link a {
      font-size: 30px;
    }
    .ag-timeline-block {
      padding: 30vh 0;
  }
}
  
  @media only screen and (max-width: 1920px) {
    .nav-link a {
      font-size: calc(0.5rem + 0.5vw);
   }
   .nav-link.active {
    top:73px;
   }
   .navbar {
    height: 75px;
  }
  .nav-link li {
    padding: 15px 1.8rem;
  }
  }
  @media only screen and (max-width: 1376px) {
    .social{
      display:none;
    }

    .logo a {
      font-size:20px;
    }
    .navbar{
      background-color: white;
    }
   
    
    .nav-link ul {
      width:100%;
      flex-direction: column;
      margin:0;
      padding:0;
    }
    .nav-link ul li{
      text-align: center;
    }
    .nav-link a {
      color:white;
      font-size: calc(0.5rem + 0.5vw);
      padding: 0.5rem 1rem;
    }
    .toggle-btn{
      display:flex;
   
  
    }
    .toggle-btn .bar {
      height: 2px;
      width: 86%;
      margin-top: 10px;
      background-color: #000000;
      border-radius: 8px;
    }
    .link-active {
      margin-left:-60px;
    }
    
    .link-active a {
      margin-left: 60px;
    }
    .nav-link{
      display: none;
      width:100%;
      background-color: #000000;
    }
    .ag-timeline_line {
      left: 37px;
    }
  
    .ag-timeline_item:nth-child(2n) {
      text-align: left;
     
    }
    .ag-timeline_item{
      width: 70%;
     
    }
    .ag-section{
      margin-left:8%;

    }
    .ag-timeline-card_desc{
      font-size:20px;

    }
    .ag-timeline-card_title{
      font-size: 35px;
    }
  
    .ag-timeline-card_box,
    .ag-timeline_item:nth-child(2n) .ag-timeline-card_box {
      padding: 0 0 20px;
      
    }
    .ag-timeline-card_meta-box {
      display: none;
    }
    .ag-timeline-card_point-box,
    .ag-timeline_item:nth-child(2n) .ag-timeline-card_point-box {
      margin: 0 0 0 8px;
    }
    .ag-timeline-card_point {
      height: 50px;
      line-height: 50px;
      width: 50px;
    }
    .ag-timeline-card_item {
      width: 65%;
      min-width: 400px;
      margin: -65px 0 0 110px;
    }
    .ag-timeline_item:nth-child(2n+1) .ag-timeline-card_item,
    .ag-timeline_item:nth-child(2n) .ag-timeline-card_item {
      -webkit-transform: translateX(200%);
      -moz-transform: translateX(200%);
      -ms-transform: translateX(200%);
      -o-transform: translateX(200%);
      transform: translateX(200%);
    }
    .ag-timeline_item:nth-child(2n+1) .ag-timeline-card_arrow {
      right: auto;
      left: 0;
    }
    .ag-timeline-card_title {
      display: block;
    }
    .ag-timeline-card_arrow {
      margin-top: 12px;
    }
    .ag-timeline-block {
      margin-top: 0vh;
    }
  }
  @media only screen and (max-width: 726px) {
    .ag-timeline-card_item {
      width: 55%;
      margin: -71px 0 0 76px;
      min-width: 0;
    }

  }
  @media only screen and (max-width: 580px) {
    .nav-link a {
      font-size: calc(0.6rem + 0.5vw);
  }
  .ag-timeline-block{
    margin-top: -10vh;
    padding: 140px 0;
  }
    .ag-timeline-card_item {
      width: 84%;
      margin: -71px 0 0 76px;
      min-width: 0;
    }
    .ag-timeline-card_title {
      font-size: 24px;
      margin:0;
      margin-bottom: 15px;
    }
    .ag-timeline-card_desc {
      font-size: 10px;
  }
  .ag-format-container {
    width: 430px;
  }
  .ag-timeline_title {
    font-size: 37px;
  }
  .ag-section {
    margin-left: 0%;
  }
  .ag-timeline-card_img {
    width: 100%;
  }
  .logo a {
    font-size: calc(0.8rem + 1.5vw);
    margin-left: 2rem;
    line-height: 4rem;
  }
  .ag-timeline-card_info {
    padding: 20px 20px;
  }
  .toggle-btn{
    margin-top: 1%;
  }
  .nav-link ul li a {
    padding: .0rem 1rem;
  }
  .ag-timeline-card_img-box {
    height: 142.217px;
  }
}

@media only screen and (max-width: 800px) and (orientation:landscape){
  .nav-link ul li a {
    padding: 0.0rem 1rem;
  }
}
  
