@import url('mainstyle.css');

*{
    font-family: var(--secondfont);
}
a{
    color: inherit;
    text-decoration: none;
}
a:hover{
    color: inherit;
    text-decoration: none;
}
.nav-link{
    font-size: 18px;
    text-transform:Capitalize;
    color: var(--nav-text);
}
.nav-item.active .nav-link, .nav-item:hover .nav-link{
    color: var(--prime-text);
}
/* banner */
.headbanner-main{
    min-height: 850px; 
    background: linear-gradient(120deg, #def1ff, #ffd1da, #fafafa);
    position: relative; 
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
[data-tutoraxus-theme="dark"] .headbanner-main{
    background: linear-gradient(120deg, #0763a467, #cb385538, #fafafa46);
}
.headbanner-main::after{
    content: '';
    position: absolute;
    background: url('../../assets/images/banner.png')no-repeat;
    min-height: 750px;
    width: 600px; 
    background-size: contain;
    background-position: bottom;
    right: 150px;
    bottom: 0px;
}
@media(max-width:1500px){
    .headbanner-main::after{
         min-height: 500px !important;
         width: 300px; 
         right: 0;
    }
    .headbanner-main::before{
        right: -900px !important;
    }
}
@media(max-width:991px){
    .headbanner-main::after{
         min-height: 300px !important;
         width: 300px; 
         right: 0;
    }
}
@media(max-width:575px){
    .headbanner-main::after,  .headbanner-main::before{ 
        display: none;
    }
    .el-img{
        display: none;
    }
    .headbanner-main, .banner{
        min-height: 500px !important;
    }
}
.banner{  
    width: 750px !important;
    min-height: 850px; 
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: start;
    max-width: 100% !important;
    position: relative;
}

.el-img{
    position: absolute;  
}
.el-2{
    left: 0;
    top: 50px; 
    animation: float 3s ease-in-out infinite;
}
.el-5{
    right: -100px;
    top:  300px; 
    animation: float2 3s ease-in-out infinite;
}
.el-9{
    left:  0;
    bottom:  0px; 
    animation: float2 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
  }
}
.headbanner-main::before{
    content: '';
    height: 1200px;
    width: 1200px;
    position: absolute;  
    background-color: var(--second-bg);
    opacity: 0.5;
    right:  -350px;
    top:  -150px;
    z-index: 0;
    border-radius: 50%;
}
.el-1{
    right: 100px;
    top: 100px; 
    animation: float2 3s ease-in-out infinite;
} 
.el-4{
    right: 50px;
    bottom: 50px;
    animation: float 3s ease-in-out infinite;
}
.el-7{
    left: 45%; 
    bottom: 50px;
    animation: float2 3s ease-in-out infinite;
} 
.head-content{
    width: 700px;
    max-width: 100%;
    margin: auto;
}
.card-effect{
    position: relative;
    overflow: hidden;
} 
.card-effect::after{
    content: '';
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    right: -50px;
    background-color: rgba(207, 42, 86, 0.5);
    border-radius: 50%;
    transition: 0.5s ease;
    z-index: -1;
}
.card-effect-main:nth-child(even) .card-effect::after{
    background-color: rgba(88, 94, 212, 0.5);
}
.card-effect, .card-effect img{
    transition: 0.5s ease;
}
.card-effect:hover img{
    transform: scale(1.2);
}
.card-effect:hover{
    transform: scale(1.04);
}
.card-effect:hover::after{
    right: 0;
    border-radius: 0;
    width: 100%;
    height: 100%;
}

/* about section css */
.course-card{
    position: relative;
    transition: 0.5s ease;
}
.course-card hr{
    transition: 0.5s ease;
}
  .course-card-main:hover .course-card hr{
    width: 100% !important;
    border-color: white !important;
 }
 .course-card-main:nth-child(odd):hover .course-card{
    background-color: var(--prime-bg) !important; 
 }
  .course-card-main:nth-child(even):hover .course-card{
    background-color: var(--second-bg) !important; 
 }
 .course-card-main:hover .course-card p, .course-card-main:hover .course-card span, .course-card-main:hover .course-card a, .course-card-main:hover .course-card-ar{
    color: white !important;
 }
 .course-card-ar{
    position: absolute;
    bottom: 25px;
    right: 5px;
    opacity: 0;
    transition: 0.1s ease;
 }
 .course-card-main:hover .course-card-ar{
    opacity: 1;
 }
 .course-card-main:hover .course-card{
    transform: rotate(-2deg);
 }
 .card-bg-img{
    overflow: hidden;
 }
 .card-bg-img img{
    transition: 0.5s ease;
    object-position: bottom;
 }
 .teacher-card:hover .card-bg-img img{
    transform: scale(1.1);
 }
 .globe {
  animation: rotate 20s linear infinite;
  transform-origin: center;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.error{
    color: red;
}
#newsletter div.error{
    position: absolute;
    bottom: 0;
    font-size: 14px;
    left: 25px;
}
#backtotop {
    position: fixed;
    bottom: 30px;
    right: 30px; 
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    width: 50px !important;
    min-width: unset;
    height: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center; 
}
#backtotop.show {
    opacity: 1;
    visibility: visible;
} 
.footer-links a::after{
    content: '';
    display: block;
    width: 0;
    opacity: 0;
    transition: 0.8s ease;
    border: 1px solid var(--light-border);
}
.footer-links a::before{
    content: '';
    display: block;
    width: 0;
    opacity: 0;
    transition: 0.8s ease;
    border: 1px solid var(--light-border);
}
.footer-links a:hover::after{    
    width: 80px;
    opacity: 1;
}
.footer-links a:hover::before{    
    width: 40px;
    opacity: 1;
}
.btn-close{
    background: unset !important;
}
::placeholder{
    color: var(--input-text) !important;
}
.border{
    border-color: var(--light-border) !important;
}
.alertmsg{
    z-index: 9999 !important;
}
.preloader {
    position: fixed;
    background-color: var(--body-bg);
    height: 100vh; 
    width: 100%;
    z-index: 9999;  
    display: flex;
    justify-content: center; 
    align-items: center;
}