 *{
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body{
  overflow-x: hidden;
}

.head{
    background-image: linear-gradient( 108.5deg,  rgba(0,67,122,1) 22.6%, rgb(114, 120, 126) 81.1% );
    background-size: cover;
    position: relative;
    overflow: hidden;
    height: 400px;
}
.head::after{
    content: '';
    position: absolute;
    bottom: 0;
    width: 100vw;
    background-image: url(../wave-bottom.png);
    height: 275px;
}
.header-content p{
    color: white;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 30px;
    margin-top: 30px;
    text-align:center;
}


.company_description{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
}
.company_description .desc1{
   margin-top: 100px;
   margin-right: 20px;
   line-height: 30px;
}
.desc2{
margin: 20px;
line-height: 30px;
}

h3{
    font-weight: 800;
}
 .desc1 p,.desc2 p{
    text-align: justify;
    margin-top: 24px;
    font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif;
    color: #989bac;
    letter-spacing: 0.4px;
}
.row{
  margin-bottom:10px;
}
.mission,.position{
position: relative;
}
.text{
position: absolute;
top:35%;
 margin:0 auto;
  background:radial-gradient(#080808,transparent);
  color:white;
  width:90%;
  text-align:center;
  padding:30px;
  font-size:24px;
  font-weight:bold;
  font-family: 'Cardo',sans-serif;
  letter-spacing: 1px;
}
.text p{
  margin:0;
}
.miss img{
  width:99%;
  margin:10px;
}
/* .miss p{
  margin-bottom:0px !important;
} */
@media screen and (max-width: 768px) and (min-width: 300px){

.text{
  position: relative;
  top:5px;
  font-size:16px;
  }
.miss img{
  width:100%;
  margin:10px auto;
}
.header-content p{
  color: white;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  margin-top: 10px;
  text-align:center;
}
}
  @media(max-width: 768px) {
  .noBorder
  {
    border-right: 0px!important;
    border-bottom: 3px solid green;
    padding-bottom: 10px;
  }
  .company_description{
    display: block;
}
.company_description .desc1,.company_description .desc2{
   margin: 10px;
   padding: 10px;
   text-align: left!important;
}
}
@media only screen and (min-device-width:774px) and (max-device-width: 1114px){
  .head{
    background-image: linear-gradient( 108.5deg,  rgba(0,67,122,1) 22.6%, rgb(114, 120, 126) 81.1% );
    background-size: cover;
    position: relative;
    overflow: hidden;
    height: 400px;
}
.head::after{
    content: '';
    position: absolute;
    bottom: 0;
    width: 100vw;
    background-image: url(wave-bottom.png);
    height: 275px;
}
}
    

/*    timeline styling starts here*/
  .timeline ul {
  background: #fff;
  padding: 50px 0;
}

.timeline ul li {
  list-style-type: none;
  position: relative;
  width: 6px;
  margin: 0 auto;
  padding-top: 50px;
  background: #456990;
}

.timeline ul li::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.timeline ul li div {
  position: relative;
  bottom: 0;
  width: 500px;
  padding: 15px;
  background: #8FBC8F;

}

.timeline ul li div::before {
  content: '';
  position: absolute;
  bottom: 7px;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline ul li:nth-child(odd) div {
  left: 45px;
}

.timeline ul li:nth-child(odd) div::before {
  left: -15px;
  border-width: 8px 16px 8px 0;
  border-color: transparent #8FBC8F transparent transparent;
}

.timeline ul li:nth-child(even) div {
  left: -539px;
}

.timeline ul li:nth-child(even) div::before {
  right: -15px;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent #8FBC8F;
}

time {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}


/* EFFECTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline ul li::after {
  transition: background .5s ease-in-out;
}

.timeline ul li.in-view::after {
  background: #456990;
}

.timeline ul li div {
  visibility: hidden;
  opacity: 0;
  transition: all .5s ease-in-out;
}

.timeline ul li:nth-child(odd) div {
  transform: translate3d(200px, 0, 0);
}

.timeline ul li:nth-child(even) div {
  transform: translate3d(-200px, 0, 0);
}

.timeline ul li.in-view div {
  transform: none;
  visibility: visible;
  opacity: 1;
}


/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen and (max-width: 900px) {
  .timeline ul li div {
    width: 250px;
    height: auto;
  }
  .timeline ul li:nth-child(even) div {
    left: -289px;
    /*250+45-6*/
  }
}

@media screen and (max-width: 600px) {
  body{
    overflow-x:hidden;
  }
  .timeline ul li {
    margin-left: 20px;
  }
  .timeline ul li div {
    width: calc(100vw - 91px);
  }
  .timeline ul li:nth-child(even) div {
    left: 45px;
  }
  .timeline ul li:nth-child(even) div::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent #8FBC8F transparent transparent;
  }
  
}


