@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,600;1,700&display=swap');


* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins';
    box-sizing: border-box;
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.6), rgba(4, 9, 30, 0.6)),
        url(images/banner.png);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 80px;
}

.nav-links {
    flex: 1;
    text-align: right;
    position: relative;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li a::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
}
.nav-links ul li a:hover::after {
    width: 100%;
    transition: 0.5s;

}
.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 62px;
}

.text-box p {
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
   
}
.hero-btn:hover {
    border: 1px solid #f44336;  
    background: #f44336;
    transition: 1s;
}

nav .fa{
    display: none;
}
@media (max-width: 700px) {
    .text-box h1 {
        font-size: 20px;
    }

    .nav-links ul li{
        display: block;
    }

    .nav-links{
        position: fixed;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul{
        padding: 30px;
    }
}

html{
    scroll-behavior: smooth;
}




.Magazine{
    width: 90%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.MagazineDiv{
    padding: 10px 10%;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
.Mag-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.Mag{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.Mag img{
    height: 100%;
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}
.Mag-layeer{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(204, 204, 204, 0.6),#ff004f);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}
.Mag-layeer h3{
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}
.Mag-layeer p{
    font-weight: 500;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}
.Mag-layeer a{
    margin-top: 20px;
    color: #ff004f;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}
.Mag:hover img{
    transform: scale(1.1);
}
.Mag:hover .Mag-layeer{
    height: 100%;
}




/*commented in main page no course part*/

.abt{
    width: 80%;
    margin: auto;
    padding-top: 100px;

}
.abt h2{
    font-size: 36px;
    font-weight: 600;
    color: #6488ec;
    text-align: left;

}

.abt p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
    text-align: left;


}
.abt li{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    text-align: left;
}
.abtrow{
    margin-top: auto;
    display: flex;
    justify-content: space-between;
}
@media(max-width: 700px){
    .abtrow{
        flex-direction: column; 
    }
}
.abt-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
.abt-col h3{
    color: #6488ec;
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.abt-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}


/*------------------------*/





.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
@media(max-width: 700px){
    .row{
        flex-direction: column; 
    }
}




.campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.campus-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.campus-col img{
    width: 100%;
    height: 100%;
    display: block;
}
.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}
.layer:hover{
    background: rgba(0, 47, 100, 0.7);
}
.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}
.layer:hover h3{
    bottom: 10%;
    opacity: 1;
}
.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 50px;
    text-align: center;
}
.testimonial-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff0f0;
    padding: 25px;
    cursor: pointer;
    display: flex;
}
.testimonial-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}
.testimonial-col p{
    padding: 0;
}
.testimonial-col h3{
    margin-top: 15px;
    text-align: left;
}
@media(max-width: 700px){
    .testimonial-col img{
        margin-left: 0px;
        margin-right: 15px;
        
}
}



#slide {
    width: 80%;
    padding-top: 50px;
    text-align: center;
    justify-content: center;
    margin: auto;
  }
  
  .wrapper {
      display: inline-flex;
      max-width: 1200px;
      position: relative ;
      padding: 20px 0px;
  }
  
  .wrapper i {
      top: 50%;
      height: 44px;
      width: 44px;
      color: #343F4F;
      cursor: pointer;
      font-size: 1.15rem;
      position: absolute;
      text-align: center;
      line-height: 44px;
      background: #CCC;
      border-radius: 50%;
      transform: translateY(-50%);
      transition: transform 0.1s linear;
  }
  
  .wrapper i:active {
      transform: translateY(-50%) scale(0.9);
  }
  
  .wrapper i:hover {
      background: #f2f2f2;
  }
  
  .wrapper i:first-child {
      left: -22px;
      display: none;
  }
  
  .wrapper i:last-child {
      right: -22px;
  }
  
  .wrapper .carousel {
      font-size: 0px;
      cursor: pointer;
      overflow: hidden;
      white-space:nowrap;
      scroll-behavior: smooth;
  }
  
  .carousel.dragging {
      cursor: grab;
      scroll-behavior: auto;
  }
  
  .carousel.dragging img {
      pointer-events: none;
  }
  
  .carousel img {
      padding: 20px 5px;
      height: 300px;
      object-fit: cover ;
      user-select: none;
      margin-left: 14px;
      width: calc(100%/4);
  }
  
  .carousel img:first-child {
      margin-left: 0px;
  }
  
  @media screen and (max-width: 900px) {
      #slide {
        padding-left: 0px;
        }
      .carousel img {
        height: 200px;
        width: calc(100% / 3);
      }
  }
  
  @media screen and (max-width: 600px) {

      .carousel img {
          width: calc(100% / 2);
      }
  }






.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(images/banner2.png);
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.cta h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}
@media(max-width: 700px){
    .cta h1{
        font-size: 20px;
    }
}

.footer{
    width: 100% !important;
    text-align: center;
    padding: 30px 0;
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}




.containern {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
#update-list {
    text-align: left;
    list-style: none;
    padding: 0;
    word-wrap: break-word
}

#update-list h4 {
    font-size: 18px;
    color: #5a6dd6;
    word-wrap: break-word
}

#update-list p {
    font-size: 15px;
    color: #fff;
    word-wrap: break-word
}

#update-list .update-date {
    margin-right: 10px;
    font-size: 13px;
    color: #ababab;
    word-wrap: break-word
}

#update-list .line {
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

#updates-card {
    width: 80%;
    padding: 20px;
    background-color: #262626;
    border: 1px solid #262626;
    border-radius: 5px;
    margin: 20px auto;
    height: 400px;
    overflow: auto;
}

#updates-card::-webkit-scrollbar {
    width: 10px; 
}

#updates-card::-webkit-scrollbar-thumb {
    background-color: #ffffff; 
    border-radius: 5px; 
}

#updates-card::-webkit-scrollbar-track {
    background-color: #262626;
}







/*---About us page & contact ---*/
.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.5),rgba(4,9,30,0.5)),url(images/banner1.png);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;

}
.sub-header h1{
    margin-top: 70px;
}
.about-us{
    width: 80%;
    margin: auto;
    padding-top: 50px;
    padding-bottom: 0px;
}

.about-col{
    flex-basis: 48%;
    padding: 5px 2px;
}
.about-col img{
    width: 100%;
}

.about-col h1{
    padding-top: 0;
}
.about-col p{
    padding: 15px 0 25px;

}
.red-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}

.red-btn:hover{
    color: #fff;
}



@media(max-width: 800px){
    .contact-us{
        width: 80%;
    }
}
.contact-us{
    width: 70%;
    margin: auto;
    padding: auto;
    justify-content: center;
}
.con-col{
    margin-bottom: 30px;
}
.con-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.con-col div .fa{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}
.con-col div p{
    padding: 0;
}
.con-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400 ;
}
.con-col input, .con-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
#txtnm{
    width: 49.6%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}


@media(max-width: 760px){
    #txtnm{
        width: 49.4%;
    }
}
@media(max-width: 530px){
    #txtnm{
        width: 100%;
    }
}



.ccc{
    padding-right: 30px ;
}
.contact-col{
    flex-basis: 48%;
    padding: auto;
    margin-bottom: 30px;
}
.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.contact-col div .fa{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p{
    padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400 ;
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}



.foot{
    padding-top: 50px !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
    text-decoration: none;
}
footer{
  width: 100%;
  bottom: 0;
  left: 0;
  background: #111;
}
footer .content{
  max-width: 1350px;
  margin: auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer .content p,a{
  color: #fff;
  text-decoration: none;
}
footer .content .box{
  width: 33%;
  transition: all 0.4s ease;
}
footer .content .topic{
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

footer .content .campusesheading{
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}


footer .content p{
  text-align: justify;
}
footer .content .lower .topic{
  margin: 24px 0 5px 0;
}
footer .content .lower i{
  padding-right: 16px;
}
footer .content .middle{
  padding-left: 80px;
}
footer .content .middle a{
  line-height: 32px;
  text-decoration: none;
}
footer .content .right input[type="text"]{
  height: 45px;
  width: 100%;
  outline: none;
  color: #d9d9d9;
  background: #000;
  border-radius: 5px;
  padding-left: 10px;
  font-size: 17px;
  border: 2px solid #222222;
}
footer .content .right input[type="button"]{
  height: 42px;
  width: 100%;
  font-size: 18px;
  color: #d9d9d9;
  background: #eb2f06;
  outline: none;
  border-radius: 5px;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 12px;
  border: 2px solid #eb2f06;
  transition: all 0.3s ease-in-out;
}
.content .right input[type="button"]:hover{
  background: none;
  color:  #eb2f06;
}

footer .content .media-icons a{
  font-size: 16px;
  height: 45px;
  width: 45px;
  display: inline-block;
  text-align: center;
  line-height: 43px;
  border-radius: 5px;
  border: 2px solid #222222;
  margin: 30px 5px 0 0;
  transition: all 0.3s ease;
}
.content .media-icons a:hover{
  border-color: #eb2f06;
}
footer .bottom{
  width: 100%;
  text-align: right;
  color: #d9d9d9;
  padding: 0 40px 5px 0;
}
footer .bottom a{
  color: #eb2f06;
}
footer a{
  transition: all 0.3s ease;
}
footer a:hover{
  color: #eb2f06;
}
@media (max-width:1100px) {
  footer .content .middle{
    padding-left: 50px;
  }
}
@media (max-width:950px){
  footer .content .box{
    width: 50%;
  }
  .content .right{
    margin-top: 40px;
  }
}
@media (max-width:560px){
  footer{
    position: relative;
  }
  footer .content .box{
    width: 100%;
    margin-top: 30px;
  }
  footer .content .middle{
    padding-left: 0;
  }
}