@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
    margin:0;
    padding: 0;
}
.header{
    min-height: 100vh;
    width:100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/pic3-.jpeg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 100px;
    border-radius: 70px;
}
.nav-links{
    flex:1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: white;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width:0px;
    height: 2px;
    background: aqua;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}

.nav-links ul li  a:hover {
    color: red; /* Color on hover */
  }
.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;
    animation: slide-in 10s ease-in-out infinite;
}
@keyframes slide-in {
    0% {
      color: red;

    }
    25% {
    color: darkblue;
    }
    50% {
      color: darkgoldenrod;
      }

      75% {
        color: aquamarine;

      }

      100% {
        color: blue;

      }
    }


.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: aqua;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
    border-radius: 5px;
}
.hero-btn:hover{
    border: 1px solid aqua;
    background: #f44336;
    transition: 1s;
}

nav .fa{
    display: none;
}

.bubbles img{
	width:50px;
	animation:bubble 7s linear infinite;
}
.bubbles{
	width:100%;
	display:flex;
	align-items:center;
	justify-content:space-around;
	position:absolute;
	bottom:-70px;
}

@keyframes bubble{
	0%{
		transform:translateY(0);
		opacity:0;
	}
	50%{
		opacity:1;
	}
	70%{
		opacity:1;
	}
	100%{
		transform:translateY(-80vh);
		opacity:0;
	}
}

.bubbles img:nth-child(1){
	animation-delay:2s;
	width:25px;
}
.bubbles img:nth-child(2){
	animation-delay:1s;
}
.bubbles img:nth-child(3){
	animation-delay:3s;
	width:25px;
}
.bubbles img:nth-child(4){
	animation-delay:4.5s;
}
.bubbles img:nth-child(5){
	animation-delay:3s;
}
.bubbles img:nth-child(6){
	width:20px;
	animation-delay:6s;
}
.bubbles img:nth-child(7){
	width:25px;
	animation-delay:7s;
}
@media(max-width:700px){
    .bubbles img{
        width:30px;}
}




@media(max-width:700px){

    nav img{
        width: 110px;
        border-radius: 70px;
    }
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: linear-gradient(to right,#2c5364,#0f2027);
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
        border-bottom-left-radius: 15px;
        border-top-left-radius:15px ;
    }
    nav .fa{
        display: block;
        color: #fff;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
}


/*.......OUR GALALLEY.....*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body1{
    background: linear-gradient(to right,#2c5364,#0f2027);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.slider{
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: rotate 30s linear infinite;
   
}

@keyframes rotate{
    0%{
        transform: perspective(1000px) rotateY(0deg);
    }
    100%{
        transform: perspective(1000px) rotateY(360deg);
    }
}
 .slider span{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i)*45deg))translateZ(350px);
}
.slider span img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    transition: 2s;
    
}
.slider span:hover img{
    transform: rotateY(-50px) scale(1.2);
}

.side-bar{
	width:50px;
	height:100vh;
	background:linear-gradient(#00545d,#000729);
	position:absolute;
	left:0;
	top:0;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.m{
  display:block;
	width:25px;
	margin:-20px auto 0;
	cursor:pointer;
}

.social-links img,.useful-links img{
	width:25px;
	margin:5px auto;
	cursor:pointer;
  border-radius: 5px;
}

.social-links{
	width:50px;
	text-align:center;
	position:absolute;
	top:50%;
	transform:translateY(-50%);
  border-radius: 5px;
}

.useful-links{
	width:50px;
	text-align:center;
	position:absolute;
	bottom:30px;
  border-radius:5px;
}

@media(max-width:700px){
    .slider{
        width: 160px;
        height: 160px;
    }
}
  
/*-------Course------*/
    
.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    animation: slide-in 10s ease-in-out infinite;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
p{
    color: black;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
.row{
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
}
.course-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5px;
    padding: 20px 12px;
    box-sizing: border-box;
}
.course-col p{
    color: red;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}
@media(max-width:700px){
    .row{
        flex-direction: column;
    }
     h1{
    padding-top: 10px;
    }
}


/*------College------*/
.college{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
    animation: slide-in 10s ease-in-out infinite;
}
.college-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.college-col img{
    width: 100%;
    display: block;
}
.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}
.layer:hover{
    background: rgba(226,0,0,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: 49%;
    opacity: 1;
}

/*-------Facilities------*/
.facilities{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    animation: slide-in 10s ease-in-out infinite;
}
.facilities-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}
.facilities-col img{
    width: 100%;
    border-radius: 10px;
}
.facilities-col p{
    padding: 0;
}
.facilities-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}

/*------Testimonials------*/
.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
    animation: slide-in 10s ease-in-out infinite;
}
.testimonial-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}
.testimonial-col P{
    color: #f44336;
}
.testimonial-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50px;
}
.testimonial-col p{
    padding: 0;
}
.testimonial-col h3{
    margin-top: 15px;
    text-align: left;
}
.testimonial-col .fa{
    color: #f44336;
}
@media(max-width:700px){
    .testimonial-col img{
    margin-left: 0px;
    margin-right: 15px;
    }
}



/*-------call to action------*/
.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(images/R4.jpg);
    background-position: center;
    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: 24px;
    }
}


/*--------FOOTER-------*/
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(to right,#2c5364,#0f2027);
    border-top-right-radius: 25PX;
    border-top-left-radius: 25px;
}
.footer h4,p{
    color: #fff;
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
    font-size: 40px;
    animation: slide-in 10s ease-in-out infinite;
}
.footer p{
    font-size: 17px;
}
.icons .fa{
    color: #f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}

.fa-heart-o{
    color: #f44336;
}

.outer-headings {
    height: 5vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
  }
  .inner-headings {
    border: 0px solid #ddd;
    height: 50px;
    line-height: 25px;
    font-size: 18px;
    text-transform: uppercase;
    overflow: hidden;
  }
  
  .inner-headings span {
    position: relative;
    color: white;
    animation: animation 10s ease infinite;
  }
  @keyframes animation {
    0%,
    100% {
      top: 0;
    }
    20% {
      top: 0;
    }
    25% {
      top: -50px;
    }
    45% {
      top: -50px;
    }
    50% {
      top: -100px;
    }
    70% {
      top: -100px;
    }
    75% {
      top: -150px;
    }
    95% {
      top: -150px;
    }
  }

  /*-------About Us Page------*/
.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/pic1-.jpeg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
    animation: slide-in 10s ease-in-out infinite;

}


.sub-header h1{
    margin-top: 100px;
}
.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}
.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}
.about-col img{
    width: 100%;
    border-radius: 10px;
}


.about-col h1{
    padding-top: 0;
    animation: slide-in 10s ease-in-out infinite; 
}
.about-col p{
    padding: 15px 0 25px;
    color: black;
}
.red-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}
.red-btn:hover{
    color: #fff;
}
/*.....blog.......*/
.blog-content{
    width: 80%;
    margin: auto;
    padding: 60px 0;
}
.blog-left{
    flex-basis: 65%;
}
.blog-left img{
    width: 550px;
    height: 400px;
    border-radius: 15px;
}
.blog-left h2{
    color: #222;
    font-weight: 600;
    margin: 30px 0;
}
.blog-left p{
    color: #999;
    padding: 0;
    text-align: justify;
}
.blog-right{
    flex-basis: 32%;
}
.blog-right h3{
    background: #f44336;
    color: #fff;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}
.blog-right div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}
.comment-box{
    border: 1.5px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px;
    border-radius: 5px;
}
.comment-box h3{
    text-align: left;
}
.comment-form input,.comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;
}
.comment-form button{
    margin: 10px 0;
}
@media(max-width:700px){
    .sub-header h1{
        font-size: 24px;
    }
}

/*.......Contact Us.....*/
.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.location iframe{
    width: 100%;
}
.contact-us{
    width:80%;
    margin: auto;
}
.contact-col{
    flex-basis: 48%;
    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;
    color: #555;
}
.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: 15px;
    outline: none;
    border: 1px solid#ccc;
    box-sizing: border-box;
}