*,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0;
    margin: 0;
    margin-bottom: 0 !important;
}

body {
    font-family: "Montserrat", serif !important;
}

/*      Navbar      */
.media-nav {
    padding: 10px 4% !important;
}

.main-navbar {
    position: absolute !important;
    width: 100%;
    z-index: 20;
    background-color: white;
    top: 0;
}

.nav-back {
    width: 100%;
    padding: 5% 0;
}

.log-top {
    position: relative;
}

.logg-option {
    width: 45%;
    position: relative;
    top: 0;
    right: -45%;
    background-color: #1d71b7;
    padding: .6%;
    display: flex;
    justify-content: space-evenly;
}

.logg-option a {
    text-decoration: none;
    color: white;
    border: 1px solid white;
    font-size: 14px;
    border-radius: 8px;
    padding: .5% 6%;
}

.navbar {
    /* margin-top: 2.5%; */
    background-color: #F4FAFF;
    padding: 1% 8%;
}

.logo-icon-2 {
    width: 7%;
}

.navbar-item {
    display: flex;
    align-content: center;
}

.navbar-item a {
    align-content: center;
    text-decoration: none;
    color: #6D737A;
    font-weight: 600;
    font-size: 20px;
}

.navbar-item a:nth-child(6) {
    color: #FF782D;
}

.navbar-item a.active {
    color: #1D71B7;
}

.navbar-item a {
    padding: 0 20px;
}

.btn-group {
    padding: 0 20px;
}

.media-drop {
    display: none;
}

.log-drop {
    border: 1px solid rgb(104, 104, 104);
    padding: 6px 13px;
    border-radius: 10px;
    background-color: #F4FAFF;
}

.menu-bar {
    position: absolute;
    top: -300px;
    right: 0;
    background-color: #F4FAFF;
    border-radius: 20px;
    transition: all .5s;
}

.active-menu {
    top: 0;
}

.close-bar {
    right: 18px;
    position: absolute;
    top: 9px;
}

.menu-bar ul {
    list-style: none;
    padding: 16px;
    margin: 0;
}

.menu-bar ul li {
    padding: 3px 0;
}

.menu-bar ul li a {
    text-decoration: none;
    color: #6D737A;
    font-size: 14px;
    margin: 10px;
}

@media (max-width: 768px) {
    .nav-back {
        padding: 13% 0;
    }

    .logg-option {
        width: 70%;
        position: relative;
        top: 0;
        right: -22%;
        background-color: #1d71b7;
        padding: 2%;
        display: flex;
        justify-content: space-evenly;
    }

    .logg-option a {
        text-decoration: none;
        color: white;
        border: 1px solid white;
        font-size: 8px;
        border-radius: 4px;
        padding: .5% 6%;
    }

    .media-drop {
        display: block;
    }

    .logo-icon-2 {
        width: 30%;
    }

    .navbar-item {
        display: none;
    }

    .log-drop {
        border: 1px solid rgb(104, 104, 104);
        padding: 4px 10px;
        font-size: 13px;
        border-radius: 10px;
        background-color: #F4FAFF;
    }


}



/*       Footer          */
.top-scroll {
    background: rgb(202, 202, 202);
    color: black;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 6%;
    right: 2%;
    text-align: center;
    align-content: center;
    cursor: pointer;
}

footer {
    background: #1d71b7;
    color: white;
}

footer a:hover {
    color: #f17853;
}

.footer-top {
    padding: 4% 1% 3%;
    position: relative;
}

.footer-logo {
    background: white;
    width: 42%;
    padding: 1% 2%;
    border-radius: 8px;
    margin-bottom: 8%;
}

.footer-log-text {
    color: white;
    font-size: 18px;
    /* padding: 8% 0 0; */
}

.footer-grids {
    display: block;
}

.footer-grids:nth-child(2),
.footer-grids:nth-child(3) {
    line-height: 35px;
}

.footer-grids h4 {
    margin-bottom: 30px;
    font-weight: 600;
}

.footer-grids a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.social-media {
    padding-top: 10px;
}

.social-media i {
    padding: 10px;
    background-color: #0a4b80;
    transition: all .4s;
    border-radius: 3px;
}

.bot-media i {
    background-color: #1d71b7 !important;
}

.social-media i:hover {
    background-color: #FF6636;
    color: white;
}

.email-footer {
    background: #f17853;
    color: black;
    display: flex;
    position: absolute;
    bottom: 0;
    left: 17%;
    gap: 30px;
    padding: 13px 22px;
    border-radius: 7px 7px 0 0;
}

.mail-text p {
    padding-top: 7px;
    font-size: 14px;
}

.bottom-footer {
    background-color: #1d71b72e;
    text-align: center;
    padding: 16px 0;
    color: #f2ebeb;
}

@media (max-width: 768px) {
    .footer-top {
        padding: 11px 28px !important;
    }

    .footer-grids h4 {
        margin-bottom: 17px;
        font-weight: 600;
    }

    .footer-grids:nth-child(2),
    .footer-grids:nth-child(3) {
        line-height: 25px;
    }

    .footer-grids {
        margin-top: 25px !important;
    }

    .bottom-footer {
        padding: 16px 4%;
    }
}



/*          registration           */
.regiter-form {
    text-align: center;
    align-content: center;
    padding: 8% 2% 5%;
}

.logintext {
    font-size: 35px !important;
    padding-bottom: 14px;
}

.register-text {
    border: none;
    border-bottom: 1px solid #C3BCBC;
    width: 68%;
    height: 51px;
    font-size: 25px;
    margin: 10px 0;
    padding: 12px 0 10px 15px !important;
}

.regiter-but button {
    padding: 1% 6% !important;
    font-size: 17px !important;
}

.logintext-bottom {
    text-align: center;
    font-size: 17px !important;
    font-weight: 700;
    margin-bottom: 10%;
}

.def-text {
    color: black !important;
}

.regiter-form {
    display: none;
    opacity: 0;
    transform: rotateY(90deg);
    transition: all 0.4s ease-in-out;
}

.regiter-form.active {
    opacity: 1;
    display: block;
    transform: rotateY(0deg);
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

@keyframes rotate {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.regiter-form.active {
    opacity: 1;
    display: block;
    animation: rotate 0.4s ease-in-out forwards;
}

.org-back {
    background-color: #ff7d00 !important;
}

.text-bagim {
    position: relative;
}

.text-bagim::before {
    content: '';
    background-image: url(/assets/images/Vector_5.png);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 46%;
    transform: translateX(-50%);
    z-index: 2;
    display: block;
    bottom: -107%;
    pointer-events: none;
}

.refer-tab {
    margin: 0 !important;
    padding: 1% 5.6% !important;
}

.refer-tab:nth-child(1) {
    border-radius: 6px 0 0 6px !important;
}

.refer-tab:nth-child(2) {
    border-radius: 0 0 0 0 !important;
}

.refer-tab:nth-child(3) {
    border-radius: 0 6px 6px 0 !important;
}








/*        Refer Friends          */
.search-container-refer {
    border-radius: 10px !important;
    width: 80% !important;
    margin: 6% auto 3% !important;
}

.search-container-refer button {
    border-radius: 8px !important;
}

.refer-list {
    margin: 20px auto;
    padding: 35px 20px;
    background-color: #edf4f9;
    border-radius: 8px;
}

.card {
    background-color: #fff;
    padding: 20px;
}

.card:nth-child(even) {
    background-color: #e9f2f9;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.details h3 {
    margin: 0;
    font-size: 18px;
}

.details p {
    margin: 5px 0;
    color: #666;
}

.date {
    color: #333;
    font-size: 14px;
}

ol.res-ctd {
    text-align: left;
    list-style-type: none;
    line-height: 35px;
    padding-left: 8%;
}

.regiter-form-ques {
    margin: 20px 0%;
    padding: 5% 8% 5%;
    text-align: left;
}

.regiter-form-ques ol {
    list-style-type: none;
    line-height: 35px;
    padding: 0;
}

.regiter-form-ques h3 {
    text-align: left;
}

.faildeicon {
    text-align: center;
    color: #ff6636;
    font-size: 70px;
}

.sucdeicon {
    text-align: center;
    color: #1db737;
    font-size: 70px;
}

/* tab */
.tab-container {
    margin: 20px;
}

.tabs {
    display: flex;
    margin-bottom: 10px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    margin-right: 5px;
}

.tab.active {
    background-color: #fff;
    border-bottom: none;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}



/*      Modle           */
/* Modal styling */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 4vh auto 0;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 50px;
}

.modal-refer {
    max-width: 48% !important;
    padding: 4% 8% !important;
    border-radius: 20px !important;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.regiter-but-modle button {
    padding: 2% 20% !important;
    font-size: 15px !important;
}

.refer-modle input {
    width: 100%;
    height: 40px;
    border: 1px solid #E3E5E8;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 3px 3px 9px #c2c2c23d;
    margin-top: 18px;
}

.refer-modle textarea {
    width: 100%;
    height: 80px;
    border: 1px solid #E3E5E8;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 3px 3px 9px #c2c2c23d;
    margin-top: 18px;
}

@media (max-width: 768px) {
    .modal-refer {
        max-width: 80% !important;
        padding: 4% 8% !important;
        border-radius: 20px !important;
    }
}




/*         E-Learn           */
.elearn {
    padding: 7%;
    background-image: url(/assets/images/Groupbox2.png);
    background-repeat: no-repeat;
    background-position: top right;
}

.elearn-bottom {
    padding: 0 7% 7%;
    background-image: url(/assets/images/Groupbox.png);
    background-repeat: no-repeat;
    background-position: bottom left;
}

.elearn-search {
    display: flex;
    gap: 10%;
}


.selected-candidates {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 40px;
}

.tag {
    display: flex;
    align-items: center;
    background-color: white;
    border: 1px solid #616161;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
}

.tag span {
    margin-right: 5px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: rgb(80, 80, 80)000;
}

.elearn-table {
    border: 1px solid #549dda !important;
}

.table>:not(caption)>*>* {
    background-color: initial !important;
    padding: 1.1rem .5rem !important;
}

.elearn-table tbody tr:nth-child(even) {
    border-bottom: 2px solid #1D71B7 !important;
    background-color: #EDF4F9 !important;
}

.elearn-table tbody tr:nth-child(odd) {
    border-bottom: 1px solid #3585c7 !important;
    background-color: #ffffff !important;
}

.table-responsive {
    height: 80vh;
}

/* For WebKit Browsers (Chrome, Edge, Safari) */
.table-responsive::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #D7D6D8;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #58A4E3, #8AACC9, #1D71B7);
    border-radius: 10px;
}

.elearn-drop {
    background-color: #EAF6EF !important;
    border: 1px solid #1D71B7 !important;
    color: #1D71B7 !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
}

.dropdown-menu li {
    padding: 5px 20px !important;
}

.dropdown:hover .dropdown-menu {
    /* right: -14px !important; */
}
.ab-morebtn-elrarn {
    width: 20vw !important;
}

@media (max-width: 768px) {
    .elearn-search {
        display: block;
    }
    .ab-morebtn-elrarn {
        width: 60vw !important;
    }
    .elearn-drop{
        margin-top: 20px;
    }
}


/*      Invoice         */
 .invoice-container {
    max-width: 800px;
    min-height: 150vh;
    margin: auto;
    background: #fff;
    padding: 60px 20px 60px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-image: url(/assets/images/invoicetop.png);
    background-repeat: no-repeat;
    background-size: 100% 11%;
    position: relative;
}
.table-container th, .table-container td {
    border-left: 1px solid #1D71B7 !important;
    border-right: 1px solid #1D71B7 !important;
}
.table-container tr:nth-last-child(1) {
    border-bottom: 1px solid #1D71B7 !important;
    border-radius: 10px !important;
}
.invoice-logo{
    height: 60px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1D71B7;
    padding: 20px;
    border-radius: 8px 8px 0 0;
}

.invoice-title {
    font-size: 42px;
    font-weight: bold;
}

.detail-in{
    display: flex;
    justify-content: space-between;
}
.invoice-details h5{
    font-weight: 700;
    color: #1D71B7;
}

.invoice-details p,
.payment-details p {
    margin: 5px 0;
}

.table-container {
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background: #1D71B7;
    color: white;
}

.total-section {
    float: right;
    text-align: right;
}
.total-section p {
    font-size: 18px;
}

.total-section .total {
    color: red;
    font-size: 22px;
}
.invoice-bott{
    width: 100%;
    height: 30px;
    background-color: #1D71B7;
    position: absolute;
    bottom: 0;
    left: 0;
}
.total {
    text-align: right;
    margin-top: 10px;
    font-weight: bold;
    display: flex;
    justify-content: end;
}
.counting {
    display: flex;
    text-align: right;
    gap: 80px;
}
.counting-total{
    background: linear-gradient(90deg, #ff3131, #fe9e64);
    padding: 8px;
    border-radius: 8px;
}


.online-card-img img {
    height: 150px;
}

.online-card-img img {
    height: 250px;
}

.online-card.my-4 {
    height: 500px;
}

.popup-img img {
    height: 465px;
}