/********** Template CSS **********/
:root {
    --primary: #F3BD00;
    --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: 5px;
    z-index: 99;
}


/*** 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: #0c2b4b;
}

.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: 20px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.login {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem !important;
    background-color: var(--primary) !important;
    color: #0c2b4b !important;
    text-decoration: none;
}

.login i {
    margin-right: 0.5rem;
}

/* Media query for mobile view */
@media (max-width: 768px) {
    .login {
        display: inline;
        background-color: transparent !important;
        padding: 0 !important;
    }
}
@media (max-width: 575px) {
    #navbarCollapse{
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        width: 100%;
    }
    .nav-item{
        padding-left: 1rem !important;
    }
}



@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 ***/
#header-carousel .carousel-item {
    /*height: 400px;*/
    position: relative;
}
@media (min-width: 1024px){
    #header-carousel .carousel-item img{
        width: 100% !important;
    }
}

/* Carousel Caption Styles */
.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, 0.25);
    z-index: 1;
    padding: 20px;
}

/* Carousel Control Styles */
.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);
}

/* Responsive Styles */
@media (max-width: 768px) {
    #header-carousel .carousel-item {
        /*height: 450px;*/
    }

    #header-carousel .carousel-item img {
        object-fit: cover;
        width: 100%;
        height: 250px !important;
    }

    .carousel-caption {
        font-size: 25px !important;
        padding: 10px;
    }
}


.page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/carousel-1.webp) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        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.webp) 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;
}



/**klbjdkvgbcfjd**/
.team-member {
    background-color: #fff;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-radius: 5px;
    transition: 0.5s;
    padding: 30px;
    height: 100%;
}
.team-member .pic {
    overflow: hidden;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    flex-shrink: 0;
}
.team-member .pic img {
    transition: ease-in-out 0.3s;
    max-width: none;
    width: 150px;
    height: 150px;
}
.team-member .member-info {
    padding-left: 30px;
}
.team-member .member-info h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 20px;
}
.team-member p {
    margin: 10px 0 0 0;
    font-size: 15px;
    line-height: 1.5;
}
.team-member .member-info .social {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
}
.team-member .social a {
    border: 2px solid #2b4685;
    transition: ease-in-out 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    width: 36px;
    height: 36px;
    margin-left: 8px;
}
.team-member .social a:hover{
    border-color: #ffc107;
}
.team-member .social a i {
    color: #2b4685;
    font-size: 18px;
    margin: 0 2px;
}
.team-member .social a:hover i {
    color: #ffc107;
}

@media (max-width: 468px) {
    .team-member {
        flex-direction: column;
        justify-content: center !important;
        align-items: center !important;
        padding: 30px !important;
    }
    .team-member .member-info {
        text-align: center;
        padding: 0;
    }
    .team-member .member-info .social {
        justify-content: center;
        padding-right: 8px;
    }
}

/*** 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;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}


/*** 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(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #092139;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}

.top-logo {
    width: 240px;
}

@media (max-width: 768px) {
    .top-logo {
        width: 180px;
    }
}

.team-item {
    margin-bottom: 20px;
}

.team-item .bg-light {
    min-height: 210px;
}

.colorlight {
    background: linear-gradient(to top, #00aeff 0%, #2531a1 100%);
    color: #ffffff;
    padding: 10px;
    border-radius: 10px 5px 10px 5px;
}

.bg1 {
    background: #f4f7fe;
    padding: 10px;
}

.panel-body {
    padding: 15px;
}

.panel-body h4 {
    margin-top: 15px;
}

.bg2 {
    background: #f7f7f7;
    padding: 10px;

}


.form {
    display: flex;
    columns: 2;
}

.form .left {
    padding: 0 50px;
    display: flex;
    border-right: 1px solid #f1f1f1;
}

.form .grid-item {
    /*background-color: rgba(255, 255, 255, 0.8);*/
    padding: 0px;
    font-size: 30px;
}

.form .left p {
    font-size: 34px;
    color: #324f95;
    line-height: 35px;
    padding: 0 30px;
    vertical-align: middle;
    align-self: center;
}

.form .grid-item label {
    display: none;
}

.form .form-group {
    width: 100%;
    margin-right: 2%;
    display: inline-block;
}

.form .form-group:nth-child(2n) {
    margin: 0;
}

.form .form-group:nth-child(7n) {
    width: 100%;
    margin: 10px 0 0 0;
}

.form .form-group:nth-child(8n) {
    width: 0%;
    display: none;
}

.form .form-group textarea {
    width: 100%;
    font-size: 16px;
    padding: 8px 0 8px 8px;
    height: 100px;
    resize: none;
}

.form .grid-item input {
    display: inline-block;
    width: 100%;
    font-size: 16px;
    padding: 8px 0 8px 8px;
}

.form .grid-item .submit input {
    display: inline-block;
    background: #0C2B4B;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border: 0;
    padding: 12px 0 12px 8px;
}


.form {
    display: flex;
    columns: 2;
}

.form .left {
    padding: 0 50px;
    display: flex;
    border-right: 1px solid #f1f1f1;
}

.form .grid-item.two {
    /*background-color: rgba(255, 255, 255, 0.8);*/
    padding: 0px;
    font-size: 30px;
    display: grid;
}

.form .left p {
    font-size: 34px;
    color: #324f95;
    line-height: 35px;
    padding: 0 30px;
    vertical-align: middle;
    align-self: center;
}

.form .grid-item label {
    display: none;
}

.form .form-group {
    width: 47%;
    margin-right: 2%;
    display: inline-block;
}

.form .form-group:nth-child(2n) {
    margin: 0;
}

.form .form-group:nth-child(7n) {
    width: 100%;
    margin: 10px 0 0 0;
}

.form .form-group:nth-child(8n) {
    width: 0%;
    display: none;
}

.form .form-group textarea {
    width: 98%;
    font-size: 16px;
    margin: 0 1%;
    padding: 8px 0 8px 8px;
    height: 100px;
    resize: none;
}

.form .grid-item input {
    display: inline-block;
    width: 100%;
    font-size: 16px;
    padding: 8px 0 8px 8px;
}

.form .grid-item .submit input {
    display: inline-block;
    background: #0C2B4B;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border: 0;
    margin-bottom: 10px;
    padding: 12px 0 12px 8px;
}

.toptext-small {
    font-size: 20px;
}

.btmtext-small {
    font-size: 14px;
}

.video-testimonials {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    grid-gap: 10px;
}

.video-testimonials .video-blocks {
    max-width: 320px;
}

@media (max-width: 768px) {
    .form .grid-item.two {
        padding: 20px 0;
    }

    .form .form-group {
        width: 100%;
        margin-right: 0%;
        padding: 0px 16px;
        display: inline-block;
    }

    .bg-primary.text-center.p-5 {
        padding: 3rem 16px !important;
    }

    .video-testimonials {
        display: grid;
        grid-template-columns: 100%;
        columns: 1;
        grid-gap: 10px;
    }

    .video-testimonials .video-blocks {
        max-width: 320px;
    }
}



/*  Blog Css   */
.blog-category-nav ul.d-flex {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #0c2b4b80;
}

.blog-category-nav ul.d-flex li {
    margin-right: 10px;
}

.blog-category-nav ul.d-flex li button {
    border: none;
    cursor: pointer;
}

.blog-category-nav>ul li {
    list-style: none;
    padding: 0.5rem 1rem;
}

.blog-category-nav>ul li button {
    border: none !important;
    outline: none !important;
    color: #0c2b4b !important;
}

.blog-category-nav > ul li.active,
.blog-category-nav > ul li:hover,
.blog-category-nav > ul li:focus {
    background: #f3bd00;
    color: #0c2b4b;
    font-weight: 500;
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog-card {
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

.blog-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Glass effect on the image */
.blog-glass {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.blog-left {
    display: flex;
    flex-direction: column;
}

.blog-right {
    font-weight: 600;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0C2B4B;
    margin-top: 15px;
}

.blog-description {
    color: #626e77;
    font-size: 1rem;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 8px;
}

.read-more {
    text-decoration: none;
    color: #0C2B4B;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 768px) {
    .blog-container {
        grid-template-columns: 1fr;
        /* 1 card per row on smaller screens */
    }
}

/*   Blog Details    */
.user-social-icons{
    display: flex;
}
.user-social-icons .social-icon{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #f3bd00;
    display: flex;
    justify-content: center;
    align-items: center;
}
.user-social-icons .social-icon .fab{
    color: #f3bd00;
    font-size: 20px;
}
.form .grid-item.two{
    /*padding: 2rem;*/
}
.btn-outline-dark:hover{
    color: #f3bd00 !important;
    background-color: #fff !important;
    border-color: #f3bd00 !important;
}
}

.tc {
    width: 900px;
    margin: 0 auto;
}
.tcheadings {

    margin-bottom: 0px;
    padding-bottom: 0px;

}

.tctext {

    margin-top: 0px;
    
}
