body,
h1,
span {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* ********************************************************* */
/* ******************** Loader Section ******************** */
/* ******************************************************* */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255);
    z-index: 100;


    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loader-container.hidden {
    visibility: hidden;
    opacity: 0;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 10px solid rgba(255, 0, 0, 0.2);
    border-top: 10px solid rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.dots {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.dots span {
    width: 15px;
    height: 15px;
    background-color: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    animation: bounce 1.5s infinite ease-in-out;
}

.dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.loader-container p {
    margin-top: 20px;
    font-size: 18px;
    color: rgba(255, 0, 0, 0.8);
    font-weight: bold;
}


/* ********************************************************* */
/* ********************  Headers        ******************* */
/* ******************************************************* */

.navbar-containair {
    height: 100px;
    background-color: #fff;
    color: white;
    z-index: 5;
    box-shadow: 0 0px 16px 0 rgba(169, 169, 169, 0.5);
    position: fixed;
    width: 100%;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 8%;
    margin-right: 8%;

}

.navbar>div>h3 {
    color: black;
    font-size: 30px;
}

.navbar>div>h3>span {
    color: rgba(197, 29, 29, 0.971);
}

.dropdown {
    position: relative;
    display: block;
    flex-shrink: 0;
}

.full-screen {
    height: 20px;
    width: 20px;
    padding-left: 30px;
    cursor: pointer;
}

.Date-time {
    flex-grow: 1;
    text-align: center;
    font-weight: bold;

}



.profile {
    flex-shrink: 0;
    margin-left: auto;
    height: 20px;
    position: relative;
    display: inline-block;
}

.profile-dropdown img {
    height: 30px;
    width: 30px;
    border-radius: 2px;
    border: 1px solid #c4c0c0;
    cursor: pointer;
    cursor: pointer;
}

.profile-dropdown-content {
    display: none;
    position: absolute;
    right: -8%;
    top: 20px;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    min-width: 250px;
    padding: 10px;
    z-index: 1000;
}

.profile-dropdown-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-dropdown-content ul a {
    text-decoration: none;
    color: black;
}

.profile-dropdown-content ul li {
    padding: 10px;
    text-align: left;
    cursor: pointer;
}

.profile-dropdown-content ul li:hover {
    background: #f1f1f1;
}

.profile:hover .profile-dropdown-content {
    display: block;
}

.nav-buttons a {
    margin-left: 10px;
    padding: 10px 20px;
    background-color: rgba(197, 29, 29, 0.971);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.nav-buttons a:hover {
    background-color: rgb(197, 29, 29);
}

.logo-img {
    height: 90px;
    width: 100px;

}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.main-content {
    padding-top: 100px;
}

.mobile-profile-logout {
    display: none;
}

@media (max-width: 768px) {
    .navbar-containair {
        height: 60px;

    }


    .navbar {
        margin-left: 2%;
        margin-right: 2%;

    }

    .navbar>div>h3 {
        color: black;
        font-size: 20px;
    }

    .logo-img {
        height: 40px;
        width: 40px;

    }

    .main-content {
        padding-top: 60px;
    }

}


@media (max-width: 480px) {
    .navbar-containair {
        height: 60px;

    }

    .navbar {
        margin-left: 2%;
        margin-right: 2%;

    }

    .navbar>div>h3 {
        color: black;
        font-size: 18px;
    }

    .logo-img {
        height: 40px;
        width: 40px;
    }

    .main-content {
        padding-top: 60px;
    }

    .profile {
        display: none;
    }

    .mobile-profile {
        display: block;
        height: 50px;
        width: 50px;
        /* background-color: #007bff; */
    }

    .mobile-profile a>span {
        display: block;
        height: 2px;
        width: 100%;
        background-color: black;
        margin-top: 10px;
        margin-right: 20px;
        margin-bottom: 10px;
    }

    .mobile-profile-logout {
        display: block;



    }

    .mobile-profile-logout a {
        text-decoration: none;
        background-color: #d32f2f;
        border-radius: 4px;
        color: white;
        padding: 10px 20px;

    }
}

.drawer {
    position: fixed;
    top: 0;
    right: -300px;
    /* Initially hidden */
    width: 250px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    padding: 20px;
    z-index: 1000;
}

.drawer.open {
    right: 0;
    padding: 0;
}

.drawer_content ul {
    margin: 0;
    padding: 0;

}

.drawer_content ul a {
    display: block;
    color: black;
    text-decoration: none;
    list-style: none;
    background-color: #007bff;

}

.drawer_content ul li {
    padding: 10px;
    text-align: left;
    cursor: pointer;

}


.drawer_content ul button {
    text-decoration: none;
    list-style: none;
}

/* ********************************************************* */
/* ******************** Index page Section 1 ************** */
/* ******************************************************* */

.section-1 {
    height: 100vh;
    width: 100%;
    background-image: url(../image/custom/index-bg2.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.section-1>h1 {
    padding-left: 10%;
    padding-top: 100px;
    font-size: 60px;
}

.section-1>h1>span {
    color: rgba(197, 29, 29, 0.971);
}

.section-1 .sub-title {
    padding-left: 10%;
    padding-top: 80px;
    width: 600px;
}

.section-1 .sub-title>h3 {
    font-size: 40px;
    font-weight: 500;
    color: #31363f;
}

.section-1 .sub-title>h3>span {
    color: rgba(197, 29, 29, 0.971);
}


@media (max-width: 768px) {
    .section-1>h1 {
        padding-left: 10%;
        padding-top: 100px;
        font-size: 40px;
    }

    .section-1 .sub-title {
        padding-left: 10%;
        padding-top: 80px;
        width: 400px;
    }
}


@media (max-width: 480px) {
    .section-1>h1 {
        padding-left: 10%;
        padding-top: 100px;
        font-size: 20px;
    }

    .section-1 .sub-title {
        padding-left: 10%;
        padding-top: 80px;
        width: 300px;
    }
}

/* ********************************************************* */
/* ******************** Index page Section 2 ************** */
/* ******************************************************* */
.section-2 {
    margin-left: 10%;
}

.section-2>h1 {
    margin-top: 60px;
    font-size: 30px;
    font-weight: 600;
}

.section-2>h1>span {
    color: rgba(197, 29, 29, 0.971);
}

.set-container {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;

}

.card-index-page {


    width: 300px;
    border: 1px solid rgba(165, 139, 139, 0.24);
    border-radius: 8px;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-index-page>img {
    height: 260px;
    width: 288px;
    padding: 6px;
    border-radius: 8px;
}

.card-index-page>span {

    margin: 6px;
}

.card-index-page .set-explain {
    display: flex;
    margin: 6px;
    justify-content: space-between;
    align-items: center;

}

.card-index-page .set-explain>span {
    font-size: 16px;
    color: black;

}

.card-index-page .cards-footer {
    padding: 6px;
    /* display: flex;
    justify-content: end; */
}

.card-index-page .cards-footer>span {
    font-size: 16px;
    padding: 4px;
    color: black;
}

.card-index-page a {
    text-decoration: none;
    padding: 10px 20px;
    background-color: rgba(197, 29, 29, 0.971);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    text-align: center;
}

.card-index-page a:hover {
    background-color: rgb(197, 29, 29);
}

.card-index-page form {
    margin-top: 10px;
}

.card-index-page input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
}

.card-index-page button {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    font-size: 16px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.card-index-page button:hover {
    background-color: #d32f2f;
}

/* ********************************************************* */
/* ******************** Test buy Page        ************** */
/* ******************************************************* */
.test-description-containair {
    display: flex;
    margin: 0 10%;
    padding-top: 80px;
}


.test-description {
    flex: 7;
}

.test-description .full-desciption {
    font-size: 14px;
    color: #31363f;
    font-weight: 400;
    width: 80%;
    line-height: 1.8;
    text-align: justify;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 4px solid #3498db;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;

}

@media (max-width: 480px) {


    .test-description-containair {
        display: flex;

        flex-flow: column-reverse;
        padding-top: 0px;

    }

    .test-description {
        padding-top: 20px;
    }
}

.test-buy {
    flex: 3;
    margin-top: 50px;
}

.card-buy-page {

    height: 400px;
    width: 300px;
    border: 1px solid rgba(165, 139, 139, 0.24);
    border-radius: 8px;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-buy-page>img {
    height: 260px;
    width: 288px;
    padding: 6px;
    border-radius: 8px;
}

.card-buy-page>span {

    margin: 6px;
}

.card-buy-page .set-explain {
    display: flex;
    margin: 6px;
    justify-content: space-between;
    align-items: center;

}

.card-buy-page .set-explain>span {
    font-size: 16px;
    color: black;

}

.card-buy-page .cards-footer {
    padding: 6px;
    display: flex;
    justify-content: space-between;
}

.card-buy-page .cards-footer>span {
    font-size: 16px;
    padding: 4px;
    color: black;
}

.card-buy-page a {
    text-decoration: none;
    margin-left: 10px;
    padding: 10px 20px;
    background-color: rgba(197, 29, 29, 0.971);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.card-buy-page a:hover {
    background-color: rgb(197, 29, 29);
}

/* ********************************************************* */
/* ******************** student Profile        ************** */
/* ******************************************************* */
.profile-container-center {

    padding: 50px;
}

.profile-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 400px;
}

.profile-container>h2 {
    margin-bottom: 10px;
}

.profile-container>p {
    color: gray;
    font-size: 14px;
}

.profile-container .input-group {
    margin-bottom: 15px;
}

.profile-container .input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.profile-container .input-group input {
    width: calc(100% - 10px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f1f1f1;
}

.profile-container .input-group a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    float: right;
}

.profile-container .btn-submit {
    width: 100%;
    padding: 10px;
    background: #f5365c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* ********************************************************* */
/* ******************** student order        ************** */
/* ******************************************************* */

.orders-container {
    width: 60%;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.orders-container>h2 {
    margin-bottom: 20px;
}

.orders-container .filter-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.orders-container .filter-buttons button {
    background: #e0e0e0;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 5px;
}

.orders-container .filter-buttons .active {
    background: #d1d1d1;
}

.orders-container .order {
    display: flex;
    justify-content: space-between;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    border-left: 5px solid green;
}

.orders-container .order-info p {
    margin: 5px 0;
}

.orders-container .status {
    font-weight: bold;
    color: green;
}

/* ********************************************************* */
/* ******************** Modal To change password ********** */
/* ******************************************************* */

/* Modal Background */
.stu_prof_pass_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: center;
}

/* Modal Box */
.stu_prof_pass_modal_content {
    background: white;
    padding: 20px;
    width: 350px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: left;
    position: relative;
}

/* Close Button */
.stu_prof_pass_modal_close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

.stu_prof_pass_modal>h2 {
    margin-bottom: 5px;
}

.stu_prof_pass_modal>p {
    color: gray;
    font-size: 14px;
    margin-bottom: 15px;
}

.stu_prof_pass_modal>label {
    display: block;
    font-weight: bold;
    margin: 10px 0 5px;
}

/* Password Fields */
.stu_prof_pass_modal_field {
    display: flex;
    align-items: center;
    background: #f4f4f4;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
}

.stu_prof_pass_modal_field input {
    border: none;
    background: transparent;
    flex: 1;
    outline: none;
}

.stu_prof_pass_modal_eye {
    cursor: pointer;
    color: gray;
}

/* Save Button */
.stu_prof_pass_modal_save {
    width: 100%;
    padding: 10px;
    background: #f44336;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
}

.stu_prof_pass_modal_save:hover {
    background: #d32f2f;
}

/* ********************************************************* */
/* ********************  Footer        ******************* */
/* ******************************************************* */

.footerbar {
    border: 0.5px solid rgba(251, 203, 203, 0.637);
    margin: 0px 200px;

}

.footer {
    background-color: #ffffff;
    color: #db1717;
    padding: 25px 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.footer a {
    color: #db1717;
    text-decoration: none;
    margin-left: 15px;
}

.footer a:hover {
    text-decoration: none;
}

/* ******************************************************************** */
/* ******************** privacy policy and other pages  ************** */
/* ****************************************************************** */
.policy-center {
    padding: 10px 200px;
}

.policy-center>h5 {
    font-size: 20px;
}

.privacy-header {
    font-size: 60px;
    font-weight: 600;

    padding: 40px 0px;
    text-align: center;
    color: red;
}

@media (max-width: 768px) {
       .policy-center {
    padding: 10px 20px;
}
}


@media (max-width: 480px) {
    .policy-center {
    padding: 10px 20px;
}
    .footer {
        flex-flow: column;
        padding: 10px;
    }

    .footer a {
        display: block;
        color: #db1717;
        text-decoration: none;
        padding-top: 20px;
    }
}
