/********** Template CSS **********/
:root {
    --primary: #1E60AA;
    --secondary: #FF4917;
    --light: #EDF1FC;
    --dark: #17224D;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

@media (min-width: 1400px) {

    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 1220px !important;
    }
}

.br-10 {
    border-radius: 10px;
}

.br-5 {
    border-radius: 5px;
}

.br-50{
    border-radius: 50px;
}

.text-black {
    color: #000000;
}

.bg-breadcrumb{
    background: #f5f5f5;
}
.text-justify{
    text-align: justify !important;
}
.faq-btn-bg{
    background: #112975 !important;
}
.fs-15{
    font-size: 15px;
}
.fs-14{
    font-size: 14px;
}
.list-none{
    list-style: none !important;
}
.box-shadow{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
.bx-shadow{
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}


/*** 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: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    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 ***/
.header {
    display: block;
    width: 100%;
    position: relative;
    z-index: 99;
    padding: 15px;
    border-bottom: 3px solid #1E60AA;
}

/* .header .item-left {
    flex: 0 0 17%;
} */

.header .logo img {
    width: 310px;
}

@media (max-width: 990px) {
    .header .logo img {
        width: 265px !important;
        /* or left */
    }
}

/* .header .item-center {
    flex: 0 0 66%;
} */

.header .item-right {
    /* flex: 0 0 17%; */
    display: flex;
    justify-content: flex-end;
}

.menu ul {
    text-align: center;
}

@media (max-width: 990px) {
    .menu ul {
        text-align: start;
        /* or left */
    }
}

.header .item-right a {
    text-decoration: none;
    font-size: 16px;
    color: #555555;
    display: inline-block;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.header .menu>ul>li {
    display: inline-block;
    line-height: 50px;
    margin-left: 15px;
    /* padding-bottom: 15px; */
}

.header .menu>ul>li>a {
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    position: relative;
    text-transform: capitalize;
    transition: color 0.3s ease;
    padding-bottom: 15px;
}

.header .menu>ul>li .sub-menu {
    position: absolute;
    z-index: 500;
    background-color: #ffffff;
    box-shadow: -2px 2px 70px -25px rgba(0, 0, 0, 0.3);
    padding: 20px 30px;
    transition: all 0.3s ease 0.1s;
    /* Slight delay */
    margin-top: 10px;
    /* Reduced gap */
    opacity: 0;
    visibility: hidden;
}

@media(min-width: 992px) {
    .header .menu>ul>li.menu-item-has-children:hover .sub-menu {
        margin-top: 0;
        visibility: visible;
        opacity: 1;
    }
}

.header .menu>ul>li .sub-menu>ul>li {
    line-height: 1;
}

.header .menu>ul>li .sub-menu>ul>li>a {
    display: inline-block;
    padding: 10px 0;
    font-size: 15px;
    color: #555555;
    transition: color 0.3s ease;
    text-decoration: none;
    text-transform: capitalize;
}

.header .menu>ul>li .single-column-menu {
    min-width: 280px;
    max-width: 350px;
}

.header .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li {
    line-height: 1;
    display: block;
}

.header .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li>a {
    padding: 10px 0;
    display: inline-block;
    font-size: 15px;
    color: #555555;
    transition: color 0.3s ease;
}

.header .menu>ul>li .sub-menu.mega-menu {
    left: 50%;
    transform: translateX(-50%);
}

.header .menu>ul>li .sub-menu.mega-menu-column-4 {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 15px;
}

.header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item {
    flex: 0 0 25%;
    /* padding: 0 10px; */
}

.header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item .title {
    font-size: 16px;
    color: #1E60AA;
    font-weight: 500;
    line-height: 1;
    padding: 10px 0;
    text-transform: uppercase;
}

.header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item.text-center .title {
    text-align: center;
}

.header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item img {
    max-width: 100%;
    width: 100%;
    vertical-align: middle;
    margin-top: 10px;
    object-fit: cover;
}

.header .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li>a:hover,
.header .menu>ul>li .sub-menu>ul>li>a:hover,
.header .item-right a:hover,
.header .menu>ul>li:hover>a {
    color: #1E60AA;
}

.mobile-menu-head,
.mobile-menu-trigger {
    display: none;
}

/*responsive*/
@media(max-width: 991px) {

    .header .item-center {
        order: 3;
        flex: 0 0 100%;
    }

    .header .item-left,
    .header .item-right {
        flex: 0 0 auto;
    }

    .v-center {
        justify-content: space-between;
    }

    .header .mobile-menu-trigger {
        display: flex;
        height: 30px;
        width: 30px;
        margin-left: 15px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
    }

    .header .mobile-menu-trigger span {
        display: block;
        height: 2px;
        background-color: #333333;
        width: 24px;
        position: relative;
    }

    .header .mobile-menu-trigger span:before,
    .header .mobile-menu-trigger span:after {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #333333;
    }

    .header .mobile-menu-trigger span:before {
        top: -6px;
    }

    .header .mobile-menu-trigger span:after {
        top: 6px;
    }

    .header .item-right {
        align-items: center;
    }

    .header .menu {
        position: fixed;
        width: 320px;
        background-color: #ffffff;
        left: 0;
        top: 0;
        height: 100%;
        overflow: hidden;
        transform: translate(-100%);
        transition: all 0.5s ease;
        z-index: 1099;
    }

    .header .menu.active {
        transform: translate(0%);
    }

    .header .menu>ul>li {
        line-height: 1;
        margin: 0;
        display: block;
    }

    .header .menu>ul>li>a {
        line-height: 50px;
        height: 50px;
        padding: 0 50px 0 15px;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .header .menu>ul>li>a i {
        position: absolute;
        height: 50px;
        width: 50px;
        top: 0;
        right: 0;
        text-align: center;
        line-height: 50px;
        transform: rotate(-90deg);
    }

    .header .menu .mobile-menu-head {
        display: flex;
        height: 50px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 501;
        position: sticky;
        background-color: #ffffff;
        top: 0;
    }

    .header .menu .mobile-menu-head .go-back {
        height: 50px;
        width: 50px;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
        cursor: pointer;
        line-height: 50px;
        text-align: center;
        color: #000000;
        font-size: 16px;
        display: none;
    }

    .header .menu .mobile-menu-head.active .go-back {
        display: block;
    }

    .header .menu .mobile-menu-head .current-menu-title {
        font-size: 15px;
        font-weight: 500;
        color: #000000;
    }

    .header .menu .mobile-menu-head .mobile-menu-close {
        height: 50px;
        width: 50px;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        cursor: pointer;
        line-height: 50px;
        text-align: center;
        color: #000000;
        font-size: 25px;
    }

    .header .menu .menu-main {
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .header .menu>ul>li .sub-menu.mega-menu,
    .header .menu>ul>li .sub-menu {
        visibility: visible;
        opacity: 1;
        position: absolute;
        box-shadow: none;
        margin: 0;
        padding: 15px;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding-top: 65px;
        max-width: none;
        min-width: auto;
        display: none;
        transform: translateX(0%);
        overflow-y: auto;
    }

    .header .menu>ul>li .sub-menu.active {
        display: block;
    }

    @keyframes slideLeft {
        0% {
            opacity: 0;
            transform: translateX(100%);
        }

        100% {
            opacity: 1;
            transform: translateX(0%);
        }
    }

    @keyframes slideRight {
        0% {
            opacity: 1;
            transform: translateX(0%);
        }

        100% {
            opacity: 0;
            transform: translateX(100%);
        }
    }

    .header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item img {
        margin-top: 0;
    }

    .header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item.text-center .title {
        margin-bottom: 20px;
    }

    .header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item.text-center:last-child .title {
        margin-bottom: 0px;
    }

    .header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item {
        flex: 0 0 100%;
        padding: 0px;
    }

    .header .menu>ul>li .sub-menu>ul>li>a,
    .header .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li>a {
        display: block;
    }

    .header .menu>ul>li .sub-menu.mega-menu>.list-item>ul {
        margin-bottom: 15px;
    }

    .menu-overlay {
        position: fixed;
        background-color: rgba(0, 0, 0, 0.5);
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1098;
        visibility: hidden;
        opacity: 0;
        transition: all 0.5s ease;
    }

    .menu-overlay.active {
        visibility: visible;
        opacity: 1;
    }
}

/************************
      Revision Hub Home 
**************************/
.banner-image {
    position: relative;
    width: 100%;
}

.banner-image img.banner-image-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    border-radius: 5px;
}

.banner-text {
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    z-index: 2;
    background-color: #0000008a;
    width: 60%;
    padding: 20px;
    color: #fff;
}

.banner-text .rh-text {
    font-size: 32px;
}

@media only screen and (max-width: 688px) {
    .banner-image img.banner-image-main {
        height: 500px;
    }
}

@media only screen and (max-width: 688px) {
    .banner-text {
        width: 90%;
        margin-left: 10px;
    }
}

@media only screen and (max-width: 688px) {
    .banner-text .rh-text {
        font-size: 24px;
    }
}

/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .8), rgba(0, 0, 0, .8)), url(../img/benefits-bg.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 5px;
    background-attachment: fixed;
    background-position: center;
}


/*** Footer ***/
.footer_area {
            background-image: url(../img/cscs-card/footer-banner.webp);
            background-size: cover;
            background-position: top;
        }

        .footer_widgets_area {
            padding: 95px 0px 20px 0px;
            background-color: rgba(252, 251, 245, 0.6);
        }

        .f_w_title h3 {
            font-size: 24px;
            font-weight: 700;
            text-transform: uppercase;
            font-family: pt sans, sans-serif;
            font-weight: 700;
        }

        .about_widget p {
            font-size: 15px;
            font-family: open sans, sans-serif;
            color: #646464;
            line-height: 20px;
            padding: 0 0 17px
        }


        .footer_widgets_area .media-body p a:hover {
            color: #008DD2;
        }

        .fot-links {
            background: #000;
            text-align: center;
            padding: 5px 0
        }

        .fot-links ul li:first-child {
            border: medium;
            padding-left: 0
        }

        .fot-links ul li {
            border-left: 1px solid #fff;
            display: inline-block;
            line-height: 12px;
            margin: 0;
            padding: 0 8px
        }

        .fot-links ul li a {
            color: #fff
        }

        .footer_copy_right {
            text-align: center;
            background: #262a31;
            padding: 10px 0;
        }

        /* Accordian - FAQ Sec  */
         .accordion-section .accordion button {
            background: #112975;
            color: #fff;
            border-radius: 10px !important;
            margin-top: 8px;
        }

        .accordion-section .accordion .accordion-collapse {
            border: 1px solid #112975   ;
            border-radius: 10px;
        }

        .accordion-button:focus {
            box-shadow: none !important;
        }

        .accordion-button::after {
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            content: "\f107";
            color: white;
            background-image: none !important;
            font-size: 1.25rem;
            margin-left: auto;
            transition: transform 0.2s ease-in-out;
        }
        
         /* Apply Form  */
         .form-control,
        .form-select {
            height: 40px;
            border-radius: 5px;
            border: 1px solid #e0e0e0;
            padding-left: 45px;
            margin-bottom: 16px;
        }

        .form-control:focus,
        .form-select:focus {
            box-shadow: none;
            border-color: #3498db;
        }

        .input-icon {
            position: absolute;
            left: 15px;
            top: 6px;
            color: #7f8c8d;
            font-size: 1.2rem;
        }



        .form-check-input:checked {
            background-color: #3498db;
            border-color: #3498db;
        }

        .hide {
            display: none !important;
        }

        .thank-you-message {
            display: none;
            height: 100%;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            text-align: center;
            width: 100%;
        }
        
        
        
        
        
        
        