* {
    padding: 0;
    margin: 0;
}

.mainContainer {
    margin-top: 7rem !important;
}

.nav-item>.nav-link {
    font-weight: bold !important;
}

.nav-item>.nav-link:hover {
    color: #050C9C !important;
}

.nav-item>.nav-link.active {
    color: #050C9C !important;
}

.nav-tabs .nav-link {
    color: #000 !important;
    border: none;
}

.nav-tabs .nav-link.active {
    border: none;
    color: #050C9C !important;
    border-bottom: 2px solid #050C9C !important;
}

.nav-tabs .nav-link:hover {
    border: none;
    border-bottom: 2px solid #050C9C !important;
}

.btn-custom {
    background-color: #050C9C !important;
    color: #fff !important;
}

.category .card h2 {
    height: 100px;
    width: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.type_container .card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    /*width: 20rem;*/
    padding: 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.type_container .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.type_container .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.type_container .logo {
    width: 50px;
}

.type_container .students {
    background-color: #e6f2ff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #1a73e8;
}

.type_container .card h2 {
    font-size: 24px;
    margin: 15px 0;
    color: #1a73e8;
}

.type_container h3 {
    font-size: 18px;
    color: #2c3e50;
    margin: 10px 0 25px;
}

.type_container ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
    margin: 0 0 25px;
    color: #4a4a4a;
}

.type_container ul li {
    font-size: 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.type_container .buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.type_container .btn {
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    border: none;
    transition: background-color 0.3s, color 0.3s;
}

.type_container .syllabus-btn {
    background-color: #1a73e8;
    color: white !important;
}

.type_container .syllabus-btn:hover {
    background-color: #155ab6 !important;
}

.type_container .fee-btn {
    background-color: #4285f4;
    color: white !important;
}

.type_container .fee-btn:hover {
    background-color: #3367d6 !important;
}



.subject_container .card {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.subject_container .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.subject_container .badge {
    background-color: #007BFF;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-block;
}

.subject_container .title {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.subject_container .price {
    font-size: 26px;
    color: #007BFF;
    margin-bottom: 5px;
}

.subject_container .original-price {
    text-decoration: line-through;
    color: #999;
    margin-left: 10px;
    font-size: 18px;
}

.subject_container .discount {
    color: #28a745;
    font-size: 16px;
    font-weight: bold;
}

.subject_container .add-to-cart {
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s, transform 0.3s;
}

.subject_container .add-to-cart:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.img-circle {
    border: 1px solid black;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 2px
}

.dashboardContainerMobile {
    display: none;
}

.dashboardContainer {
    display: block;
}

.imageDisplay {
    display: block;
}

.forMobileSection {
    display: none;
}

.forDesktopSection {
    display: block;
}

.imgClass {
    height: 450px;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.signinDropdown {
    margin-left: -1rem;
}


@media only screen and (max-width: 600px) {
    .dashboardContainerMobile {
        display: block;
    }

    .dashboardContainer {
        display: none;
    }

    .imageDisplay {
        display: none;
    }

    .forMobileSection {
        display: block;
    }

    .forDesktopSection {
        display: none;
    }

    .signinDropdown {
        margin-left: -3rem;
    }

    .imgClass {
        height: 100%;
    }
}


#newsletter_section .unique-newsletter-box {
    max-width: 500px;
    padding: 40px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#newsletter_section h2 {
    font-weight: bold;
    color: #2D3748;
}

#newsletter_section .unique-text-primary {
    color: #6B46C1 !important;
}

#newsletter_section .unique-btn-primary {
    background-color: #6B46C1;
    border-color: #6B46C1;
    color: white;
    font-weight: bold;
    border-radius: 50px;
    padding: 15px 30px;
    transition: background-color 0.3s, border-color 0.3s;
}

#newsletter_section .unique-btn-primary:hover,
#newsletter_section .unique-btn-primary:focus,
#newsletter_section .unique-btn-primary:active {
    background-color: #553C9A;
    border-color: #553C9A;
    color: white;
    /* Ensures text stays white on hover and focus */
}

#newsletter_section .unique-input {
    border-radius: 50px;
    border: 1px solid #E2E8F0;
    padding: 15px;
    width: 100%;
    height: 50px;
    font-size: 16px;
    margin-bottom: 20px;
}

#newsletter_section .unique-checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-color: #6B46C1;
    border-radius: 50%;
    position: relative;
}

#newsletter_section .unique-checkmark::after {
    content: '';
    display: block;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    position: absolute;
    top: 3px;
    left: 6px;
    transform: rotate(45deg);
}

@media (max-width: 576px) {
    #newsletter_section .unique-newsletter-box {
        padding: 20px;
    }

    #newsletter_section .unique-btn-primary {
        font-size: 14px;
        padding: 10 20px;
    }

    #newsletter_section .unique-input {
        padding: 10px;
    }
}

#overlay {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.6);
}

.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}