.maint {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.maint img {
 top: 0;
 left: 25%;
 position: absolute;
 opacity: .5;
 width: 50%;
 height: auto;
 margin-bottom: 50px;
}
.maint-title {
    font-size: 25px;
    color: black;
    width: 50%;
    text-align: justify;
    margin: 20px auto;
}
:root {
	--cards: 5;
	--cardHeight: 87vh;
	--cardTopPadding: 1.5em;
	--cardMargin: 4vw;
}

.contain {
	width: 70%;
	margin: 10px auto;
}

#cards {
	list-style: none;
	padding-left: 0;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: repeat(var(--cards), var(--cardHeight));
	gap: var(--cardMargin);
	padding-bottom: calc(var(--cards) * var(--cardTopPadding));
	margin-bottom: var(--cardMargin);
}

#card1 {
	--index: 1;
}
#card2 {
	--index: 2;
}
#card3 {
	--index: 3;
}
#card4 {
	--index: 4;
}
#card5 {
	--index: 5;
}
#card6 {
	--index: 6;
}
#card7 {
	--index: 7;
}
#card8 {
	--index: 8;
}

.card {
	position: sticky;
	top: 0;
	padding-top: calc(var(--index) * var(--cardTopPadding));
}
#card1 .card-body {
position: relative;
}
#card1 .card-body::before {
    background-image: url(/img/db-sec.jpg);
}

#card1 .card-body {
    position: relative;
    }
#card1 .card-body::before {
    background-image: url(/img/sec.jpg);
    }
    
#card2 .card-body {
    position: relative;
}
#card2 .card-body::before {
    background-image: url(/img/servers.jpg);
    }

#card3 .card-body {
    position: relative;
}
#card3 .card-body::before {
    background-image: url(/img/update.jpg);
    }

#card4 .card-body {
    position: relative;
}
#card4 .card-body::before {
    background-image: url(/img/ref1.jpg);
    }

#card5 .card-body {
    position: relative;
}
#card5 .card-body::before {
    background-image: url(/img/perf.jpg);
    }

#card1 .card-body::before,
#card2 .card-body::before,
#card3 .card-body::before,
#card4 .card-body::before,
#card5 .card-body::before

{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    border-radius: 50px;
}

.card-body {
	box-sizing: border-box;
	padding: 30px;
	border-radius: 50px;
	box-shadow: 0 0 30px 0 rgba(0,0,0,0.8);
	height: var(--cardHeight);
	display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: center;
	transition: all 0.5s;
    font-size: 25px;
    color: white;
}
.card-title, .card-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    width: 80%;
    font-size: 25px;
    color: white;
    font-weight: bolder;
}

.card-title {
    text-transform: uppercase;
}
.card-text {
    text-align: justify;
}
.card1 li,.card2 li, .card3 li, .card4 li, .card5 li, .card6 li, .card7 li, .card8 li {
    margin: 20px 0;
}
.disclaimer ul li, .footer span{
    color: black!important;
}

/*--- Responsive Code ---*/
@media only screen and (min-width: 1000px) and (min-height:700px) {

    .ag-timeline-card_meta {
        padding: 10px 30px;
    }
    #card-text {
        text-align: justify;
        font-size: 20px;
    }
    #card-title {
      text-align: justify;
      font-size: 20px;
  }

    
    }
@media only screen and (max-width: 900px) {
    
    :root {
	--cardHeight: 50vh;
}


      .ag-timeline_line {
        left: 30px;
      }
    
      .ag-timeline_item:nth-child(2n) {
        text-align: left;
      }
    
      .ag-timeline-card_box,
      .ag-timeline_item:nth-child(2n) .ag-timeline-card_box {
        padding: 0 0 20px;
      }
      
      .ag-timeline-card_meta-box {
        display: flex;
        flex-direction: column;
        margin-bottom: 50px;
        align-items: center;
        justify-content: center;
        
      }
      #card-intro {
        font-size: 14px;
      }
      #card-title h2{
        font-size: 20px;
        margin-left: 40px;
    
      }
      #card-text {
        font-size: 18px;
        margin-left: 40px;
        margin-right: 20px;
        margin-bottom: 50px;
        text-align: justify;
    
      }
      
      .ag-timeline-card_point-box,
      .ag-timeline_item:nth-child(2n) .ag-timeline-card_point-box {
        margin: 0 0 0 8px;
      }
      .ag-timeline-card_meta {
        margin-bottom: 30px;
    }
    .ag-timeline-card_meta h2 {
        padding: 0;
        margin: 0;
    }
    
    .Main-section {
        margin-left: 40px;
    }
      
       /* id added to div card img */
      .ag-timeline-card_point {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        line-height: 40px;
        width: 40px;
        font-size: 13px;
      }
      
      .ag-timeline-card_item {
        width: auto;
        margin: -65px 0 0 75px
      }
      
      .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_arrow {
        margin-top: 12px;
      }
      .ag-timeline-card_img {
        height: auto;
        max-width: 60%;
      }
      .db-ex-title h2{
        font-size: 20px;
        text-align: center;
      }
      .db-ex1-txt h2, .db-ex2-txt h2 {
        font-size: 18px;
      }
      .db-ex1-img,.db-ex2-img {
        width: 100%;
        
    }
    
      .db-ex1-img img,.db-ex2-img img {
        width: 100%;
        padding: 0;
    }
    }
@media only screen and (min-width: 550px) and (max-width:930px) and (orientation:landscape) {
        
        :root {
            --cardHeight: 80vh;
            --cardTopPadding: 1.5em;
            --cardMargin: 2vw;
        }
        .contact button {
            font-size: 14px;
        }
        .maint-title {
            font-size: 12px;
            width: 65%;
        }    
        .maint-img img {
            display: none;
        }
        .card-body {
            padding: 10px;
        }
        .card-title {
            font-size: 10px;
            padding: 0 10px;
        }
        .card-text {
            font-size: 10px;
            width: 100%;
            padding: 0;
        }
        .footer-anim span {
            font-size: 100px;
        }
    
    }      
    @media only screen and (max-width: 767px) and (orientation:portrait)  {
       

    }
    @media only screen and (max-width: 639px) {
            :root {
	--cardHeight: 70vh!important;
}

    .maint-title {
        font-size: 12px;
        width: 65%;
        }
    .maint-img img {
        display: none;
    }
    .card {
        height:90vh;
    }
    .card-body {
        padding: 10px;
    }
    .card-title {
        font-size: 10px;
        padding: 0 10px;
    }
    .card-text {
        font-size: 10px;
        width: 100%;
        padding: 0;
    }
  }
    
    @media (min-width: 768px) and (max-width: 979px) {
      .Container {
        width: 750px;
      }
    }
    
    @media (min-width: 980px) and (max-width: 1161px) {
      .Container {
        width: 960px;
      }
    }
    /*--- Responsive Code End ---*/
