* {
    margin: 0;
    padding: 0;
    border: 0;
    background-color: transparent;
    background: none;
}

img {
    display: block;
    width: 100%;
    height: 100%;
}

.wrapper-secondary {
    width: 85%;
    margin: 0 auto;
}

#results {
    padding: 160px 0 100px;
}
#results h1 {
    color: #232323;
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 25px;
}
#results h1 span {
    color: #054289;
}
#results .search-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
#results .search-results h2 {
    color: #232323;
    font-weight: 600;
    font-size: 16px;
}
#results .search-results h2 span {
}
#results .search-results .search-box {
    position: relative;
    border: 0.5px solid #d9d9d9;
    border-radius: 4px;
    background: #f9f9f9;
    height: 40px;
    padding: 0 10px;
    width: 350px;
}
#results .search-results .search-box .search-icon {
    width: 17px;
    height: 17px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
}
#results .search-results .search-box input {
    color: #000;
    font-size: 14px;
    padding-left: 30px;
    height: 100%;
}
#results .search-results .search-box input::placeholder {
    font-size: 14px;
}
#results .all-results {
    display: flex;
    flex-direction: column;
    border: 0.5px solid #e1e1e1;
    border-radius: 10px;
    margin-bottom: 60px;
    overflow: hidden;
}
#results .all-results .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #054289;
    border-radius: 10px 10px 0px 0px;
    padding: 20px 24px;
    margin-bottom: 0;
}
#results .all-results .top h3 {
    color: #ffffff;
    font-size: 20px;
    font-family: 'poppins-light';
    font-weight: 400;
}
#results .all-results .bottom {
    display: flex;
    flex-direction: column;
}
#results .all-results .bottom .result-box { 
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border: 1px solid #e1e1e1;
    cursor: pointer;
}
#results .all-results .bottom .result-box:nth-child(even) {
    background: #f9f9f9;
}
#results .all-results .bottom .result-box h3 {
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    color: #232323;
}

#results .all-results .bottom .result-box h3.date {
    font-size: 16px;
    color: #232323;
}

#results .all-results .bottom .result-box h3.new::after {
    content: "New";
    padding: 4px 7px;
    border-radius: 4px;
    color: #ffffff;
    font-size: 12px;
    background: #054289;
    font-weight: 400;
    margin-left: 8px;
}

#results .all-results .pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background-color: #fff;
}
#results .all-results .pagination .left {
    display: flex;
    align-items: center;
    gap: 7px;
}
#results .all-results .pagination .left input {
    padding: 5px 5px 5px 8px;
    border-radius: 4px;
    border: 0.5px solid #e1e1e1;
    width: 45px;
}
#results .all-results .pagination .left span {
    font-size: 14px;
    color: #828282;
}
#results .all-results .pagination .right {
    display: flex;
    align-items: center;
    /* gap: 30px; */
    gap: 25px;
}
#results .all-results .pagination .right .previous {
    display: flex;
    align-items: center;
    gap: 8px;
}
#results .all-results .pagination .right .next.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
#results .all-results .pagination .right .previous.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
#results .all-results .pagination .right .previous .previous-icon {
    width: 10px;
}
#results .all-results .pagination .right .previous span {
    font-size: 15px;
    color: #232323;
    font-weight: 600;
}
#results .all-results .pagination .right .page-number {
    color: #232323;
    font-size: 15px;
    font-weight: 600;

    border-radius: 6px;
    padding: 8px 10px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#results .all-results .pagination .right .page-number.active {
    border: 1px solid #032a58;
}
#results .all-results .pagination .next {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

#results .all-results .pagination .next .next-icon {
    width: 10px;
}
#results .all-results .pagination .next span {
    font-size: 15px;
    color: #232323;
    font-weight: 600;
}
#results .border {
    background-color: #e1e1e1;
    height: 1px;
    margin-bottom: 60px;
}
#results .border:last-child {
}
#results .more-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    background-color: #f9f9f9;
    border: 0.5px solid #e1e1e1;
    box-shadow: 7px 11px 30px rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 34px 24px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
#results .more-results:hover {
    border-color: #054289;
    transition: all 0.3s ease-in-out;
    background-color: #054289;
}
#results .more-results:hover h4 {
    color: #f9f9f9;
    transition: all 0.3s ease-in-out;
}
#results .more-results h4 {
    font-size: 18px;
    color: #232323;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}
#results .more-results .more-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease-in-out;
}
#results .more-results:hover .more-icon {
    filter: brightness(10);
    transition: all 0.3s ease-in-out;
}

#results .ignou-results {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #054289;
    border-radius: 24px;
    padding: 65px 50px;
}
#results .ignou-results .content-box {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}
#results .ignou-results .content-box .logo {
    border-radius: 12px;
    overflow: hidden;
    width: 110px;
}
#results .ignou-results .content-box h5 {
    font-size: 32px;
    color: #ffffff;
    font-weight: 500;
}
#results .ignou-results .content-box p {
    color: #e1e1e1;
    font-size: 15px;
    text-align: center;
    width: 60%;
}
#results .ignou-results .content-box .view-more {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}
#results .ignou-results .content-box .view-more span {
    font-size: 15px;
    color: #fff;
    font-family: "poppinsmedium";
}
#results .ignou-results .content-box .view-more .next-icon {
    width: 14px;
}

/* MODAL STYLES */
#result-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(35, 35, 35, 0.6);
    z-index: 100;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}
#result-modal .modal {
    width: 600px;
    border-radius: 20px;
    padding: 40px;
    background-color: #fff;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#result-modal .modal .title {
    color: #232323;
    font-size: 18px;
    font-weight: 400;
    text-align: left;
    width: 90%;
    margin-bottom: 35px;
}
#result-modal .modal .border {
    height: 0.5px;
    width: 100%;
    background-color: #e1e1e1;
    margin-bottom: 35px;
}
#result-modal .modal .form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
#result-modal .modal .form .input-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}
#result-modal .modal .form .input-container label {
    /* font-size: 16px; */
    /* font-weight: 500; */
    color: #010101;
    font-size: 14px;
    font-weight: bold;
}
#result-modal .modal .form .input-container label span {
    color: #e9475b;
    font-size: 14px;
}
#result-modal .modal .form .input-container input {
    font-size: 16px;
    font-family: 'poppins-light';
    padding: 0px 14px;
    border: 1px solid #e7e7e7;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    color: #010101;
    margin-bottom: 5px;
}
#result-modal .modal .form .input-container input::placeholder {
    font-size: 16px;
}
#result-modal .modal .form .input-container input.error {
    border: 1px solid #e9475b;
}
#result-modal .modal .form .input-container .error {
    position: absolute;
    z-index: 10;
    left: 0;
    color: #e9475b;
    font-size: 12px;
    bottom: -23px;
}
#result-modal .modal .form button {
    height: 50px;
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    background-color: #032a58;
    padding: 0 24px;
    width: max-content;
    margin: 0 auto;
    margin-top: 20px;
    font-family: "poppins-light";
}
#result-modal .modal .form button:hover {
    opacity: 0.9;
}

#result-modal .modal .form button .text {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}
#result-modal .modal .form button .icon {
    width: 20px;
    height: 20px;
}
#result-modal .modal .close {
    /* width: 24px; */
    /* height: 24px; */
    cursor: pointer;
    position: absolute;
    right: 35px;
    top: 35px;
    width: 20px;
    height: 20px;
}
#result-modal .modal .close:hover {
    opacity: 0.7;
}

/* RESPONSIVE */
@media all and (max-width: 1400px) {
}

@media all and (max-width: 1280px) {
    #results {
        padding: 140px 0 80px;
    }
    #results h1 {
        font-size: 30px;
    }
    #results .all-results .pagination .right .page-number {
        padding: 6px 8px;
        width: 35px;
        height: 35px;
    }
    #results .ignou-results .content-box h5 {
        font-size: 30px;
    }
}

@media all and (max-width: 1080px) {
    #results h1 {
        font-size: 28px;
    }
    #results .ignou-results .content-box h5 {
        font-size: 28px;
    }
}

@media all and (max-width: 980px) {
    #results {
        padding: 130px 0 70px;
    }
    #results h1 {
        font-size: 26px;
    }
    #results .all-results .pagination .right {
        gap: 18px;
    }
    #results .border {
        margin-bottom: 50px;
    }
    #results .all-results {
        margin-bottom: 50px;
    }
    #results .more-results {
        margin-bottom: 50px;
    }
    #results .ignou-results .content-box h5 {
        font-size: 26px;
    }
    #results .ignou-results .content-box .logo {
        width: 90px;
    }
    #results .search-results .search-box {
        width: 280px;
    }
}

@media all and (max-width: 768px) {
    #results {
        padding: 120px 0 60px;
    }
    #results .all-results .bottom .result-box h3:first-child {
        max-width: 400px;
        width: max-content;
    }
    #results .all-results .pagination .right .previous span {
        font-size: 14px;
    }
    #results .all-results .pagination .right .previous .prev-icon {
        width: 8px;
    }
    #results .all-results .pagination .next .next-icon {
        width: 8px;
    }

    #results .all-results .pagination .next span {
        font-size: 14px;
    }
    #results .all-results .pagination .right .page-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    #results .more-results {
        padding: 26px 24px;
        margin-bottom: 40px;
    }
    #results .more-results h4 {
        font-size: 16px;
    }
    #results .all-results .pagination .right {
        font-size: 18px;
    }
    #results .more-results .more-icon {
        width: 16px;
        height: 16px;
    }
    #results .border {
        margin-bottom: 40px;
    }
    #results .all-results {
        margin-bottom: 40px;
    }

    #result-modal .modal {
        width: 500px;
    }
    #result-modal .modal .title {
        width: 90%;
        font-size: 16px;
        line-height: 1.4em;
        margin-bottom: 25px;
    }
    #result-modal .modal .close {
        width: 18px;
        height: 18px;
        right: 24px;
        top: 24px;
    }
    #result-modal .modal .border {
        margin-bottom: 25px;
    }
    #result-modal .modal .form .input-container label {
        /* font-size: 15px; */
    }
    #result-modal .modal .form .input-container input {
        font-size: 15px;
        height: 42px;
    }
    #result-modal .modal .form .input-container input::placeholder {
        font-size: 15px;
    }
    #result-modal .modal .form button {
        height: 42px;
    }
    #result-modal .modal .form button .text {
        font-size: 15px;
    }
    #result-modal .modal .form button .icon {
        width: 15px;
        height: 15px;
    }
}

@media all and (max-width: 680px) {
    #results h1 {
        font-size: 24px;
    }
    #results .all-results .bottom .result-box h3:first-child {
        max-width: 350px;
    }
    #results .search-results h2 {
        font-size: 15px;
    }
    #results .all-results .pagination .next span {
        display: none;
    }
    #results .all-results .pagination .right .previous span {
        display: none;
    }
    #results .all-results .pagination .right {
        gap: 12px;
    }
    #results .ignou-results .content-box h5 {
        font-size: 24px;
    }
    #results .search-results .search-box {
        width: 220px;
    }
}

@media all and (max-width: 640px) {
    #results .all-results .bottom .result-box h3:first-child {
        max-width: 300px;
    }
}

@media all and (max-width: 540px) {
    #results {
        padding: 110px 0 50px;
    }
    .wrapper-secondary {
        width: 90%;
    }
    #results h1 {
        font-size: 22px;
    }
    #results .all-results .bottom .result-box h3.date {
        font-size: 15px;
    }
    #results .all-results .bottom .result-box h3:first-child {
        max-width: 250px;
        font-size: 15px;
    }
    #results .all-results .bottom .result-box {
        padding: 16px 12px;
    }

    #results .search-results {
        flex-wrap: wrap;
    }
    #results .search-results .search-box {
        width: 100%;
    }
    #results .more-results {
        padding: 26px 14px;
        margin-bottom: 30px;
    }
    #results .more-results h4 {
        font-size: 15px;
    }
    #results .border {
        margin-bottom: 30px;
    }
    #results .all-results {
        margin-bottom: 30px;
    }
    #results .ignou-results .content-box p br {
        display: none;
    }
    #results .ignou-results .content-box h5 {
        font-size: 22px;
    }
    #results .ignou-results {
        padding: 45px 30px;
    }
    #results .ignou-results .content-box {
        gap: 15px;
    }
    #result-modal .modal {
        width: 400px;
        padding: 35px 25px;
    }
    #results .ignou-results .content-box .logo {
        width: 80px;
    }
}

@media all and (max-width: 480px) {
    #results .all-results .bottom .result-box {
        flex-wrap: wrap;
        gap: 10px;
    }
    #results {
        padding: 50px 0 50px;
    }
    #results h1 {
        margin-bottom: 15px;
    }
    #results .all-results .bottom .result-box h3:first-child {
        max-width: unset;
        width: 100%;
        line-height: 1.5em;
    }
    #results .all-results .bottom .result-box h3.date {
        display: flex;
        justify-content: right;
        width: 100%;
    }
    #results .search-results h2 {
        font-size: 14px;
    }
    #results .all-results .pagination {
        padding: 16px 12px;
    }
    #results .ignou-results .content-box p {
        font-size: 14px;
    }

    #result-modal .modal {
        width: 360px;
    }
    #result-modal .modal .close {
        top: 15px;
        right: 15px;
    }
    #result-modal .modal .title {
        text-align: center;
        margin-bottom: 10px;
    }
    #result-modal .modal .form button .text {
        font-size: 12px;
    }

    #result-modal .modal .form button {
        height: 38px;
    }

    #result-modal .modal .form button .icon {
        width: 10px;
        height: 10px;
    }

    #result-modal .modal .form .input-container label {
        /* font-size: 14px; */
    }
    #result-modal .modal .form .input-container input {
        padding: 0 6px;
        font-size: 12px;
    }
    #result-modal .modal .form .input-container input::placeholder {
        font-size: 12px;
    }
}

@media all and (max-width: 420px) {
    #results .all-results .pagination {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }
    #results .all-results .pagination .right {
        width: 100%;
        justify-content: center;
    }

    #results .ignou-results {
        padding: 35px 20px;
    }

    #result-modal .modal {
        width: 320px;
    }
}

@media all and (max-width: 360px) {
    #result-modal .modal {
        width: 300px;
    }
}
