*{
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}
.header{
    min-height: 11vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/banner.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav{
    display: flex;
    padding: 0% 0%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 140px;
    margin-top: -50px;
}
.nav-links{
    flex: 1;
    text-align: right;
    margin-top: 0px;
    margin-bottom: 0px !important;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #fff !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin:auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
   width: 100%; 
}
.text-box{
    width: 100%;
    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: 20px;
    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: 25px;
}
    @media(max-width:700px){
        .text-box p{
          font-size: 12px  
        }  
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: #4f5261;
        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: 10px;
    }

    .ptb-60 {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.pdb {
    padding-bottom: 20px !important;
    padding-top: 20px !important;
}

.fonts1 {
    font-size: 22px !important;
    font-family: fangsong !important;
    font-weight: 700 !important;
    margin-top: 20px;
}
}

/*----course-----*/

.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600
}

p{
    color: #777;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    padding: 10px 0px;
    text-align: justify;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.course-col{
    flex-basis: 24%;
    background-color: #faf2f2;
    border-radius: 10px;
    margin-bottom: 0%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
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;
    }
}


/*------campus------*/

.campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.campus-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow:hidden;
}
.campus-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{
    margin: auto;
    text-align: center;
    padding-top: 60px;
}
.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;
}

.testimonial-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    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;
}

.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/banner2.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;
}

.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}
.icons .fa{
    color: #f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}    
.fa-heart-o{
  color: #f44336;  
}

.footer a {
  text-decoration: none; /* Removes underline */
  color: #000; /* Sets the color of the link */
}

a:hover {
  color: #666; /* Sets the color of the link on hover */
}

    
/*------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/background.png);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.sub-header h1{
    margin-top: 0px;
}    
    
.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%;
}

.about-col h1{
    padding-top: 0;
}

.about-col p{
    padding: 15px 0 25px;
    text-align: justify;
    color: blue;
}


.red-btn{
    border: 1px solid #f44336;
    background: tranparent;
    color: #f44336;
}

.red-btn:hover{
    color: #fff;
}

/*-------blog-content------*/

.blog-content{
    width: 80%;
    margin:auto;
    padding: 60px 0;
}

.blog-left{
    flex-basis: 65%;
}
.blog-left img{
    width: 100%
}

.blog-left h2{
    color: #222;
    font-weight: 600;
    margin: 30px 0;
}

.blog-left p{
    color: #0b0a0a;
    background-color: lightyellow;
    padding: 0;
}

.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: 1px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px;
}

.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 page------*/

.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;
}
.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;
}

@media(max-width:700px){
    .contact-col div h5{
        font-size: 15px
    }
    }


    .mb-0{
        margin-bottom: 0px !important;
    }
    

/* footer style start */

.custom-footer {
background: linear-gradient(145deg, #dedfdf, #ffffff);
font-size: 0.9rem;
}

.footer-heading {
    color: #1f2d30 !important;
    font-size: 20px;
    border-bottom: 2px solid #dc3545;
    display: inline-block;
    padding-bottom: 0.3rem;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-link {
    color: #212529 !important;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
    font-size: 17px;
}

.footer-text {
    color: #212529;
}

.footer-link:hover {
color: #a50909 !important;
transform: translateX(5px);
}

.footer-link:hover .link-icon {
opacity: 1;
margin-left: 8px;
}

.social-link {
color: #607d8b !important;
margin-right: 1rem;
transition: all 0.3s ease;
}

.social-link:hover {
color: #2699f5 !important;
transform: translateY(-3px);
}

.btn-scroll-top {
border: none;
background: none;
color: #2699f5;
font-size: 1.5rem;
transition: all 0.3s ease;
}

.btn-scroll-top:hover {
transform: scale(1.1);
}

.newsletter-form .form-control:focus {
border-color: var(--primary-blue);
box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}


.hover-text-success {
transition: all 0.3s ease;
}
.hover-text-success:hover {
color: #28a745!important;
transform: translateY(-1px);
}

.ima-text {
    width: 100%;
    margin-bottom: 15px;
}

.pdb {
    padding-bottom: 50px;
    padding-top: 50px;
}

.text-center{
    text-align: center;
}

.btnso {
    padding: 10px 20px;
    background: #e33c3c;
    border-radius: 3px;
}


.float-container {
    position: fixed;
    top: 70%;
    right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    width: auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.float-container a {
    z-index: 99;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 200px;
    height: 30px;
    margin-right: -160px;
    margin-bottom: 10px;
    padding: 10px 20px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    color: white;
    border-color: #46b8da;
    border-radius: 5px 0 0 5px;
    background-color: #eb690b;
    -webkit-box-shadow: 0 2px 4px #7d7d7d;
    box-shadow: 0 2px 4px #7d7d7d;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    font-family: sans-serif;
}

.float-container a:hover {
    margin-right: 0;
    background-color: #c45100;
    -webkit-box-shadow: 0 2px 4px #7d7d7d;
    box-shadow: 0 2px 4px #7d7d7d;
}

/* Icon settings - remove if not needed*/
.float-container .icon:before {
    font-family: "Font Awesome 5 Free";
    margin-right: 25px;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

/* Media queries */
@media screen and (max-width:440px)
{
	.float-container .icon:last-child {
		display: block;
	}
    .float-container
    {
        position: fixed;
        top: auto;
        bottom: 0;

        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
            -ms-flex-direction: row;
                flex-direction: row;

        width: 100%;

        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: auto;
        -webkit-box-align: auto;
        -ms-flex-align: auto;
        align-items: auto;
    }
		.float-container a.icon
    {
        right: 0;
        bottom: 0;

        width: 100%;
        margin-right: 0;
        margin-bottom: 0;
        padding: 5px;

        border-radius: 0;
        -webkit-box-shadow: 0 0 0 #7d7d7d;
                box-shadow: 0 0 0 #7d7d7d;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
		border-left: 1px solid darkorange;
		border-right: 1px solid darkorange;
    }
}


.float {
  position: fixed;
  width: 53px;
  height: 53px;
  bottom: 43px;
  left: 22px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  z-index: 100;
}

.myfloat{
  position: fixed;
  width: 53px;
  height: 53px;
  bottom: 115px;
  left: 22px;
  background-color: #f9193e;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  z-index: 100;
}


.float i {
  line-height: 22px;
}
.my-float {
  margin-top: 16px;
}


a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}


.dropdown-large {
  position: static !important;
}
.dropdown-menu-large {
  margin-left: 16px;
  margin-right: 16px;
  padding: 20px 0px;
}
.dropdown-menu-large > li > ul {
  padding: 0;
  margin: 0;
}
.dropdown-menu-large > li > ul > li {
  list-style: none;
}
.dropdown-menu-large > li > ul > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight:300;
  line-height: 1.428571429;
  color: #333333;
  white-space: normal;
}
.dropdown-menu-large > li ul > li > a:hover,
.dropdown-menu-large > li ul > li > a:focus {
  text-decoration: none;
  color: #262626;
  background-color: #f5f5f5;
}
.dropdown-menu-large .disabled > a,
.dropdown-menu-large .disabled > a:hover,
.dropdown-menu-large .disabled > a:focus {
  color: #999999;
}
.dropdown-menu-large .disabled > a:hover,
.dropdown-menu-large .disabled > a:focus {
  text-decoration: none;
  background-color: transparent;
  background-image: none;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  cursor: not-allowed;
}
.dropdown-menu-large .dropdown-header {
  color: #428bca;
  font-size: 18px;
}
@media (max-width: 768px) {
  .dropdown-menu-large {
    margin-left: 0 ;
    margin-right: 0 ;
  }
  .dropdown-menu-large > li {
    margin-bottom: 30px;
  }
  .dropdown-menu-large > li:last-child {
    margin-bottom: 0;
  }
  .dropdown-menu-large .dropdown-header {
    padding: 3px 15px !important;
  }
}


.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem !important;
    padding: 0rem 0 !important;
    margin: 0rem 0 0 !important;
    font-size: 1rem;
    color: #212529;
    text-align: center !important;
    list-style: none;
    background-color: #8b8b8b !important;
    background-clip: padding-box;
    border: 0px !important;
    border-radius: 0 !important;
    margin-top: 10px !important;
}

.dropdown-menu.show {
    display: grid !important;
}

.bg-1 {
    background: #fbfdff;
}

.bg-2 {
    background: aliceblue;
}

.f-size{
    font-size: 24px !important;
}

@media (max-width: 768px) {
    .carousel-inner .carousel-item>div {
        display: none;
    }

    .carousel-inner .carousel-item>div:first-child {
        display: block;
    }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

/* display 3 */
@media (min-width: 768px) {

    .carousel-inner .carousel-item-right.active,
    .carousel-inner .carousel-item-next {
        transform: translateX(33.333%);
    }

    .carousel-inner .carousel-item-left.active,
    .carousel-inner .carousel-item-prev {
        transform: translateX(-33.333%);
    }
}

.carousel-inner .carousel-item-right,
.carousel-inner .carousel-item-left {
    transform: translateX(0);
}

.edu2_col_3_wrap{
	float: left;
	width: 100%;
	border: 1px solid #dddddd;
	padding: 4px;
	margin-bottom: 30px;
}
.edu2_col_3_des{
	float: left;
	width: 100%;
	padding: 25px 20px 0 20px;
}
.edu2_col_3_wrap .rating > span{
	width: auto;

}
.edu2_col_3_wrap:hover > figure:before{
	background-color:#000; 
	opacity: 0.5;
}
.edu2_col_3_wrap figure figcaption{
	position: absolute;
	top: 50%;
	margin-top: -30px;
	left: 0;
	right: 0;
	text-align: center;
}
.edu2_col_3_wrap figure figcaption a{
	display: inline-block;
	width: 60px;
	height: 60px;
	line-height: 56px;
	color: #fff;
	border: 1px solid #fff;
	border-radius: 100%;
	font-size: 20px;
	text-align: center;
	transform: scale(3);
	opacity: 0;
}
.edu2_col_3_wrap:hover figure figcaption a{
	opacity: 1;
	transform: scale(1);
}
.edu2_col_3_des h6{
	font-weight: 400;
    margin: 0px 0 10px 0;
    text-transform: uppercase;
    font-size: 19px;
    line-height: 25px;
    overflow: hidden;
}
.edu2_col_3_des p{
	margin: 0 0 0px 0;
}

.bg-2{
    background: #f6f9f9;
}

.pt-60{
    padding-top: 60px;
}

.fi-z{
    font-size: 17px !important;
}

.logo-siz {
    width: 140px;
    margin-bottom: -15px;
    margin-top: -32px;
}

.mbutton{
    margin-bottom: 0px !important;
}

.border-text p {
    border-top: 1px solid;
    text-align: center;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: #66686a !important;
}

.fonts1{
    font-size: 40px;
    font-family: fangsong !important;
    font-weight: 700 !important;
    }

  .bg-4{
background-image: url(../images/back2.jpg);
    background-size: cover;
  }

     .bg-9{
background-image: url(../images/atom-bg.jpg);
    background-size: cover;
  }

       .bg-10{
background-image: url(../images/light-bg.jpg);
    background-size: cover;
  }

   .bg-11{
background-image: url(../images/chemical.jpg);
    background-size: cover;
  }


  .fontsamll1 {
    font-size: 30px !important;
    margin-bottom: 20px !important;
    margin-top: 20px !important;
    color: #cd0000;
}