/*
=============================
1. common style
============================
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,500;0,700;0,800;1,400&display=swap');
body {
    font-family: 'Times New Roman', Times, serif;
    overflow-x: hidden;
}

* {
	margin: 0;
	padding: 0;
	outline: 0;
}
a , a:hover{
	text-decoration: none;
    -webkit-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    transition: all 300ms ease;

}

h1, h2, h3, h4, h5, h6, p, a, span {
    font-family: 'Times New Roman',Times, serif;
}
ul, ol {
    list-style-type: none;
    padding:0px;
    margin :0px;
}
img {
	border: none;
}
.btn-wrapper .btn {
    display: inline-block;
    text-align: center;
    color: #fff;
    border-radius:5px;
    border: none;
    width: 176px;
    padding: 0px 13px;
    line-height: 42px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #2d3e50;
    background:#2d3e50;
 
}
.btn-wrapper .btn:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #fff;
    transition: all .3s;
    border-radius: 0;
    z-index: -1;
}
.btn-wrapper .btn:hover:before {
    width: 100%;
}
.btn-wrapper .btn:hover {
    color: #2d3e50;
}
.btn-wrapper .btn-yellow {
    background: #fbaa33;
    color: #fff;
    border: 2px solid #fbaa33;
}
.btn-wrapper .btn-yellow:hover {
    color:#fbaa33;
}
h1 {
    font-size: 30px;
}
h2 {
    font-size: 26px; 
}
.section {
    padding: 80px 0px;
    overflow :hidden;
}
/*
=============================
2. Top header style
============================
*/
.top-header {
    background: #2d3e50;
    padding: 9px 0;
}
.top-header ul li {
    display: inline-block;
}
.top-header ul li, .top-header ul li a {
    color: #fff;
}
.top-header .contact-wrapper ul li {
    padding-right: 20px;
}
.top-header .login-registraion-wrapper {
    float: right;
}

/*
=============================
2. header style
============================
*/


header .navbar-nav li.nav-item  a.nav-link {
    padding-top: 7px;
    padding-right: 30px;
    color: #2d3e50;
    font-size: 15px;
    font-weight: 400;    
}
header .navbar-nav li.nav-item  a.nav-link.active ,
header .navbar-nav li.nav-item  a.nav-link:hover{
   color: #fbaa33;
}
header .navbar-nav {
    padding: 0px 0px;
}
header.sticky {
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 999;
    width: 100%;
    transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
}
header .navbar-dark .navbar-brand {
    color: #000;
}
header a.navbar-brand img {
    max-width: 67px;
}
a.navbar-brand span {
    font-size: 27px;
    padding-left: 8px;
    font-weight: 800;
    color: #413b77 ;
    text-shadow: 5px 4px #ddd;
}
header .nav-item {
    position: relative;
    padding: 20px 10px;
}
header .nav-item ul {
    position: absolute;
    width: 200px;
    left: 0px;
    bottom: -69px;
    display: none;
    background: #fff;
}
header .nav-item:hover  ul {
    display: block;
}
header .nav-item ul li a {
    font-size: 14px;
}
header .nav-item ul li {
    border-bottom: 1px solid #ddd;
    padding: 4px 3px;
}
header  ul.navbar-nav {
    padding-top: 6px;
}
header .dropdown-item {
    font-size: 13px;
}
.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link {
    color: #555a5f;
}

/*
=============================
3. Home slider section
============================
*/

.banner-section {
    background-image: url('../images/home-banner.png');
    height: 500px;
        background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.banner-section .banner-content {
    /* position: absolute; */
    text-align: center;
    width: 100%;
    padding: 167px 5px;
}
.banner-section .banner-content h1 {
    color: #fff;
}

/*
=============================
4. About section
============================
*/
.about-section .about-slider  img {
	clip-path: polygon(23% 0, 100% 0, 77% 100%, 0 100%);
    -webkit-clip-path: polygon(23% 0, 100% 0, 77% 100%, 0 100%);
    -moz-clip-path: polygon(23% 0, 100% 0, 77% 100%, 0 100%);
}
.about-section .owl-dots {
    position: absolute;
    text-align: center;
    width: 100%;
    bottom: 20px;
}
.about-section .owl-dot {
    width: 13px;
    height: 13px;
    border: 1px solid #000;
    text-align: center;
    border-radius: 50px;
    display: inline-block;
    margin: 4px;
}
.about-section .owl-dot.active {
    background: #fbaa33;
    border: #fbaa33;
}
.about-section .about-content {
   top: 45%;
    right: 50%;
    transform: translate(50%,-50%);
    -webkit-transform: translate(50%,-50%);
    -moz-transform: translate(50%,-50%);
    -ms-transform: translate(50%,-50%);
    position: relative;
    padding: 0 20px;
}
.about-section .bottom-image {
    text-align: right;
    list-style: 1;
}
.about-section .top-image {
    line-height: 1;
}

/*
=============================
5. counter-section
============================
*/
.counter-section.section {
    background: #2d3e50;
    color: #fff;
    text-align: center;
    padding: 50px 0;
}
.counter-section h3 {
    font-size: 38px;
    font-weight: 800;
}

/*
=============================
5. our-courses-section
============================
*/
.our-courses-section .card {
    border: none;
    margin-bottom: 30px;
}
.our-courses-section .card-body {
    position: relative;
    background: #f5f5f5;
    padding: 20px 20px 40px 20px;
}
.our-courses-section .card-content {
    padding: 25px 0;
}
.our-courses-section .card-content .fa {
    color: #fbaa33;
}
.our-courses-section .course-details h5 {
    font-size: 17px;
    padding-top: 5px;
}
.our-courses-section .course-details p {
    padding: 0;
    margin: 0;
    font-size: 15px;
}
.our-courses-section .card p {
    font-size: 15px;
}
.our-courses-section .card h4 {
    color: #222222;
    font-size: 20px;
    padding-bottom: 12px;
}
.our-courses-section .card:hover h4 {
    color: #fbaa33;
}    
.our-courses-section .cousre-fees p {
    color: #999999;
    font-size: 12px;
}
.our-courses-section .cousre-fees p b {
    color: #444444;
}
.our-courses-section .enroll-now-button .btn-wrapper {
    position: absolute;
    bottom: -19px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}
.our-courses-section .enroll-now-button .btn {
    width: 125px;
    padding: 6px 6px;
}  
.our-courses-section .enroll-now-button {
    text-align: center;
}
.our-courses-section .card-img {
    overflow: hidden;
}
.our-courses-section .card-img:before {
    position: absolute;
    content: '';
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    z-index: 1;
    border: 150px solid rgba(68,57,134,0);
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: all 0.8s cubic-bezier(0.940, 0.850, 0.100, 0.620);
    -webkit-transition: all 0.8s cubic-bezier(0.940, 0.850, 0.100, 0.620);
    -o-transition: all 0.8s cubic-bezier(0.940, 0.850, 0.100, 0.620);
    -ms-transition: all 0.8s cubic-bezier(0.940, 0.850, 0.100, 0.620);
    transition: all 0.8s cubic-bezier(0.940, 0.850, 0.100, 0.620);
}
.our-courses-section .card:hover .card-img:before {
    border: 0px double rgb(251 170 51 / 75%);
}
.our-courses-section .card:hover .card-body{
-webkit-box-shadow: 0px 3px 20px 0px rgb(13 21 75 / 30%);
box-shadow: 0px 3px 20px 0px rgb(13 21 75 / 30%);
}
.our-courses-section .our-courses-slider .owl-nav {
    position: absolute;
    top: 50%;
    display: block;
    width: 100%;
}
.our-courses-section .owl-prev, .our-courses-section .owl-next {
    position: absolute;
    color: #2e3e50;
    font-size: 38px;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    border: 1px solid #2e3e50;
    text-align: center;
}
.our-courses-section .owl-next {
    right: -7%;
}
.our-courses-section .owl-prev {
    left: -7%;
}
.our-courses-section img{
    max-width: 100%;
}

.contact-section .card {
    padding: 30px 18px;
    border: 1px solid #f4ebeb;
    height: 137px;
    text-align: center;
}
.contact-section .fa {
    font-size: 24px;
   margin-bottom : 20px;
}
/*

=============================
Footer section
============================
*/
footer {
    background: #ddd;
    padding: 50px 0 0px;
    color: #fff;
}
footer .footer-logo img {
	max-width: 108px;
}
footer .social-links ul li {
    display: inline-block;
    padding-right: 8px;
}
footer .social-links ul {
    padding-top: 30px;
}
footer .container .fa {
    font-size: 20px;
    color: #2d3e50;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    background: #fff;    
    transition: all linear .5s;
    -webkit-transition: all linear .5s;
    -moz-transition: all linear .5s;
    -ms-transition: all linear .5s;
    -o-transition: all linear .5s;
}
footer .social-links ul li .fa:hover {
    background: #ff9800;
}
footer h3 {
    font-weight: 700;
    font-size: 20px;
    padding-top: 18px;
    padding-bottom: 25px;
    color: #000;
}
footer .quick-links ul li {
    padding: 9px 0;
}
footer .quick-links ul li a {
    color: #000;
}
footer ul li a:hover {
    color: #ff9800;
}
.footer-logo {
    padding-bottom: 30px;
}
footer h6 {
    color: #fbaa33;
    font-weight: 400;
    font-size: 16px;
    padding-bottom: 0px;
}
footer p {
    font-size: 14px;
    color: #000;
}
footer .contact-info .fa {
    width: 50px;
   height: 50px;
   line-height: 50px;
}
footer .copyright span {
    color: #fbaa33;
}
footer .copyright {
    padding: 10px 0;
}
footer .footer-slider img {
    position: relative;
}

/*
=============================
3. Responsive media query
============================
*/
@media(min-width:1300px) {
    h1 {
        font-size: 38px;
    }
    h2 {
        font-size: 35px; 
    }
    .home-slider .item {
        padding: 170px 0;
    }
} 
@media(max-width: 1200px) {
    header .navbar-nav li.nav-item a.nav-link {
        padding-right: 17px;
    }
    .main-slider-carousel .item.slide1 .container {
        max-width: 700px;
    }
    .home-slider .btn-wrapper {
        margin-top: 34px;
    }
    .our-courses-section .owl-prev {
        left: -5%;
    }
    .our-courses-section .owl-next {
        right: -5%;
    }
    .section {
        padding: 50px 0px;
    }
    .testimonial-faq-section .owl-nav {
        left: -1%;
    }
} 
@media(max-width: 991px) {
    nav .fa-bars {
        color: #fbaa33;
    }
    .contact-wrapper {
        display: none;
    }
    header .login-registraion-wrapper ul {
        text-align: center;
    }
    header .navbar-expand-md .navbar-toggler {
        display: block;
        position: relative;
        width: 100%;
        text-align: right;
        outline: none;
    }
    .navbar-expand-md .navbar-collapse {
        display: none !important;
    }
    .navbar-expand-md .navbar-collapse.show {
        display: block !important;
    }
    .navbar-nav {
        margin-right: 0px;
        margin-top: 15px;
        margin-bottom: 10px;
    }
    ul.navbar-nav.ml-auto {
        position: absolute;
        width: 100%;
        background: #fff;
        top: 60px;
        z-index: 99;
        display: block;
        left: 0;
        text-align: center;
    }
    header .btn-wrapper {
        display: none;
    }
    .home-slider .owl-nav, .our-courses-section .our-courses-slider .owl-nav {
        display: none;
    }
    .bottom-image img {
        width: 100%;
    }
    .about-content .btn {
        margin-bottom: 16px;
    }
    .course-rating {
        padding: 15px 15px 0 15px;
    }
    .meeting-section .meeting-img {
        margin-bottom: 20px;
    }
    .testimonial-faq-section div#accordion {
        padding-top: 27px;
    }
    .main-blog-section .small-blog-section .card {
        margin-bottom: 25px;
    }
    .main-blog-section .card-content {
        padding: 18px;
    }
    header .nav-item {
      padding: 2px 10px;
   }
}  
@media(max-width: 767px) {
    header .navbar-expand-md .navbar-toggler {
        width: auto;
    }
   .home-slider .item {
        padding: 58px 0;
    }
    .home-slider .btn-wrapper .btn {
        margin-bottom: 15px;
    }
    .online-classes-section .online-classes-wrapper {
        margin-top: 0;
    }
    .online-classes-section .online-classes-wrapper {
        padding:25px;
    }
    .online-classes-section .card {
        margin-bottom: 20px;
    }
    .online-classes-section {
        padding-bottom: 0;
    }
    .about-section.section img {
        width: 100%;
    }
    .about-section .about-content {
        top: initial;
        right: initial;
        transform:  translate(00%,00%);
        -webkit-transform: translate(00%,00%);
        -moz-transform:  translate(00%,00%);
        -ms-transform:  translate(00%,00%);
        padding: 0 20px;
        padding-top: 25px;        
        text-align: center;
    }
    .row.cousre-fees {
        padding: 0px 20px;
        text-align: center;
    }
    .course-details {
        padding: 0 15px;
    }
    .courses-small-imge {
        display: none;
    }
    .our-courses-section .card p {
        font-size: 13px;
        margin-bottom: 6px;
    }
    .our-courses-section .card-content {
        text-align: center;
    }
    .our-blog-section.section {
        padding-bottom: 100px;
    }
    .banner-section .banner-content {
      padding: 80px 5px;
   }
       a.navbar-brand span {
        font-size: 15px;

    }
    header a.navbar-brand img {
     max-width: 50px;
    }
  
}