/********** Template CSS **********/
:root {
    --primary: #3f78e0;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #0C2B4B;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}
.bg-custom{
	background:#3f78e0!important;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 3px 0;
    color: #ffffff !important;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: rgba(255,255,255,0.75) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .75);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}


/*** Courses ***/
.courses {
    min-height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/carousel-1.jpg) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    height: 100%;
    opacity: 1;
}


/*** slider ***/
.slider-carousel .owl-dots {
    height: 40px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 10px;
    height: 10px;
    background: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

.slider-carousel .owl-dot.active {
    width: 20px;
    height: 20px;
    background: var(--primary);
}

.slider-carousel .owl-item img {
    width: 100%;
    height: 100%;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #0b5182;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}

/* custom css */
.custom-bg{
	background: linear-gradient(90deg, #3f78e0 0%, #45c4a0 100%);
}

.widget-box {
  padding: 20px;
  border-radius: 10px;
  background: #dce7f9;
  background: linear-gradient(0deg,#fff,#dce7f9);
  border: 1px solid #dce7f9;
  border-bottom: 5px solid #3f78e0;
}
.widget-box-heading span {
  font-size: 12px;
  font-weight: 400;
  color: #3f78e0;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.widget-box-heading span::after, .widget-box-heading span::before {
  content: "";
  width: 28px;
  height: 1px;
  background: #3f78e0;
  display: inline-block;
  vertical-align: middle;
}
.widget-box-heading span::before {
  margin-right: 5px;
}
.widget-box-heading span::after {
  margin-left: 5px;
}
.widget-box-heading h1 {
  font-size: 18px;
  font-weight: 600;
  color: #3f78e0;
}
.card-bg-1{
	background-color: #FBDA61;
background-image: linear-gradient(45deg, #FBDA61 0%, #FF5ACD 100%);

}
.card-bg-2{
	background-color: #3EECAC;
background-image: linear-gradient(19deg, #3EECAC 0%, #EE74E1 100%);

}
.card-bg-3{
	/* background: linear-gradient(19deg, #f8ff00 0%, #3ad59f 100%); */
	background: linear-gradient(180deg,#ef629f,#ebb46e);
}
.card-bg-4{
	background: linear-gradient(19deg, #00d2ff 0%, #3a47d5 100%);
}
.card-bg-5{
	background-color: #0093E9;
background-image: linear-gradient(160deg, #0093E9 0%, #80D0C7 100%);

}
.card-bg-6{
	background: linear-gradient(19deg, #FDBB2D 0%, #22C1C3 100%);
}
.card-bg-7{
	background-color: #F4D03F;
background-image: linear-gradient(132deg, #F4D03F 0%, #16A085 100%);

}
.card-bg-8{
	background-color: #21D4FD;
	background-image: linear-gradient(19deg, #21D4FD 0%, #B721FF 100%);
}
/* .widget-scroll{
	height:207px;
	overflow:auto;
} */
.top-services-col {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #46c3a1;
  background: #46c3a1;
  transition: transform .25s;
  height:100px;
  display:flex;
  align-items:center;
}
.top-services-col a {
  display: inline-block;
  width: 100%;
}

.top-services-col span.col-brown {
  background: #3f78e0;
  border: 2px solid #c4d9ff;
  color:#ffffff;
}
.top-services-col span {
  width: 35px;
  height: 35px;
  line-height: 31px;
  border-radius: 50%;
  display: inline-block;
}
.top-services-col h4 {
  font-weight: 400;
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color:#ffffff;
  margin-bottom:0px;
  text-transform:uppercase;
}
.top-services-col h4:hover {
  text-decoration:underline;
}


.icon-list ul li {
  list-style: none;
  position: relative;
  padding-left: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-bottom: 0 !important;
  border-bottom: 1px solid rgba(63, 120, 224, 0.1);
  transition: all .3s ease-in-out;
}

.icon-list ul li a{
  color:#0C2B4B; 
}
.icon-list ul li a:hover{
  color:#3f78e0; 
}

.icon-list ul li::before {
  content: "\f058";
  display: inline-block;
  font-family: 'Font Awesome 5 Free';
  font-size: 12px;
  font-weight: 900;
  position: absolute;
  top: 2px;
  left: 0;
  color:#3f78e0;
}
.header-bg{
	background-image: linear-gradient(-120deg, #b7eaca 0%, #b0ccf7 100%);
}
.topic-box {  
  background-color: #3f78e0;
  color: #fff;
  line-height: 40px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  width: 100%;
  border-left:6px solid #0b5182;
}

.dot {
  height: 8px;
  width: 8px;
  margin-left: 10px;
  margin-right: 5px;
  margin-top: 0px !important;
  background-color: #3f78e0;
  border-radius: 50%;
  display: inline-block;
}

.card-widget-box1{
	height: 80px;
	display: flex;
	align-items: center;
	padding: 5px;
	border-top-left-radius: 30%;
	border-top-right-radius: 30%;
	border-bottom-left-radius: 30%;
	justify-content:center;
	background: linear-gradient(39deg, rgba(203,203,203,1) 0%, rgba(128,128,128,1) 100%);
	border:3px solid #b0b0b0;
}
.card-widget-box2{
	height: 80px;
	display: flex;
	align-items: center;
	padding: 5px;
	border-top-left-radius: 30%;
	border-top-right-radius: 30%;
	border-bottom-right-radius: 30%;
	justify-content:center;
	background: linear-gradient(347deg, rgba(254,237,167,1) 0%, rgba(235,177,32,1) 100%);
	border:3px solid #fde46d;
}
.card-widget-box3{
	height: 80px;
	display: flex;
	align-items: center;
	padding: 5px;
	border-top-left-radius: 30%;
	border-bottom-right-radius: 30%;
	border-bottom-left-radius: 30%;
	justify-content:center;
	background: linear-gradient(22deg, rgba(255,203,225,1) 0%, rgba(238,112,163,1) 100%); 
	border:3px solid #f1639d;
}
.card-widget-box4{
	height: 80px;
	display: flex;
	align-items: center;
	padding: 5px;
	border-top-right-radius: 30%;
	border-bottom-left-radius: 30%;
	border-bottom-right-radius: 30%;
	justify-content:center;
	border:3px solid #5d97f2;
	background: linear-gradient(352deg, rgba(170,203,254,1) 0%, rgba(86,154,255,1) 100%);;
}

/* Navbar Links White */
.navbar-nav .nav-link,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .dropdown-toggle {
    color: #ffffff !important;
}