.newsletter {
    width: 100%;
}

.newsletter form {
    display: flex;
    flex-wrap: wrap;
}

.newsletter input[type="email"] {
    flex: 1;
    padding: 12px;
    border: none;
    outline: none;
    background: #222;
    color: #fff;
    font-size: 14px;
    width: 100%;
}

.newsletter input[type="email"]::placeholder {
    color: #aaa;
}

.newsletter input[type="submit"] {
    padding: 12px 20px;
    border: none;
    background: #333;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.newsletter input[type="submit"]:hover {
    background: #555;
}

.job-filter-form {
    background: #EEEDEB;
    padding: 20px;
    border-radius: 8px;
}

.filter-header {
    color: #141414;
}

.job-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    align-items: center;
}

.job-filter-form .filter-field input,
.job-filter-form .filter-field select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 0px;
    font-size: 14px;
    background: #fff;
    height: 48px;
}

.filter-with-button {
    display: flex;
    gap: 8px;
    align-items: center;
}

.filter-with-button select {
    flex: 1;
}

.filter-with-button .filter-btn {
    background: #111;
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.filter-with-button .dashicons {
    font-size: 18px;
    line-height: 1;
}

.results {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    padding-left: 12px;
    padding-top: 10px;
}

.job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fff;
    flex-wrap: wrap;
}

.job-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.job-logo img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: contain;
    background: #f5f5f5;
}

.job-info {
    line-height: 1.5;
}

.job-id {
    font-size: 12px;
    color: #999;
}

.job-title {
    color: #141414;
    font-size: 18px;
    font-weight: bold;
    margin: 3px 0;
}

.job-company {
    font-size: 14px;
    color: #666;
}

.job-location {
    font-size: 13px;
    color: #444;
}

.job-location i {
    margin-right: 6px;
    color: #888;
}

.job-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.job-mode {
    font-size: 13px;
    color: #555;
}

.job-mode i {
    margin-right: 5px;
    color: #888;
}

.job-type-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-left: 8px;
    border: 1px solid #ccc;
    background: #fff;
}

.job-type-badge.full-time {
    color: #2ecc71;
    border-color: #2ecc71;
}

.job-type-badge.part-time {
    color: #7f8c8d;
    border-color: #7f8c8d;
}

.job-type-badge.contract {
    color: #3498db;
    border-color: #3498db;
}

.job-type-badge.temporary {
    color: #e74c3c;
    border-color: #e74c3c;
}

.job-type-badge.internship {
    color: #f39c12;
    border-color: #f39c12;
}

.apply-btn-wrap {
    text-align: left;
}

.apply-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 25px;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background: #000;
    color: #fff;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.pagination a,
.pagination span {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background: #0073e6;
    color: #fff;
    border-color: #0073e6;
}

.pagination .current {
    background: #0073e6;
    color: #fff;
    border-color: #0073e6;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.filter-actions button {
    padding: 8px 16px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

.filter-actions button:hover {
    background: #eee;
}


.job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.job-item-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.job-item-logo {
    margin-right: 15px;
    flex-shrink: 0;
    border-radius: 6px;
}

.job-item-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-item-info {
    display: flex;
    flex-direction: column;
}

.job-item-id {
    font-size: 12px;
    color: #777;
    margin: 0;
}

.elementor .job-item-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px;
}

.job-item-category {
    font-size: 14px;
    color: #444;
    margin: 2px 0;
}

.job-item-meta {
    font-size: 13px;
    color: #666;
    margin: 4px 0;
    display: grid;
    gap: 5px;
}

.job-item-meta span {
    margin-right: 12px;
}

.job-item-right {
    text-align: right;
    margin-left: 20px;
}

.job-item-details {
    margin-bottom: 10px;
}

.job-item-mode {
    font-size: 13px;
    color: #444;
    margin: 0;
}

.job-item-mode .job-item-remote {
    color: #d9534f;
    font-weight: 600;
}

.job-item-type {
    display: inline-block;
    font-size: 12px;
    background: #e8f9f0;
    color: #1a7f37;
    padding: 2px 8px;
    border: 1px solid #cce7da;
    border-radius: 12px;
    margin-left: 8px;
}

.job-item-apply {
    display: inline-block;
    padding: 10px 18px;
    background: #000;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
}

.job-item-apply:hover {
    background: #333;
}

.news-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow: hidden;
}

.card-item {
    display: flex;
    flex-direction: row;
    padding: 20px;
    overflow: hidden;
    max-width: 1320px;
    background-color: #F8F8F8;
    gap: 42px;
}

.elementor .card-item img {
    max-width: 400px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    height: 100%;
}

.custom-post-content {
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.custom-post-date {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.card-item .custom-post-title {
    font-size: 30px;
    margin: 0 0 14px 0;
    color: #000;
}

.card-item .custom-post-excerpt {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 22px;
}

.custom-post-btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #141414;
    background: #fff;
    color: #141414;
    text-decoration: none;
    transition: 0.3s;
    width: fit-content;
}

.custom-post-btn:hover {
    background: #141414;
    color: #fff;
}

.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 30px 0;
    padding: 0;
    gap: 6px;
    flex-wrap: wrap;
}

.custom-pagination li {
    display: inline-block;
}

.custom-pagination a,
.custom-pagination span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: #fff;
}

.custom-pagination a:hover {
    background: #f5f5f5;
    border-color: #bbb;
}

.custom-pagination .current {
    background: #000;
    color: #fff;
    border-color: #000;
    font-weight: 600;
}

.custom-pagination li:first-child a,
.custom-pagination li:last-child a {
    font-weight: bold;
}

.archive-card-wrapper {
    overflow: hidden;
}

.archive-card {
    display: flex;
    padding: 15px;
    border-radius: 4px;
    overflow: hidden;
    max-width: 1320px;
    background-color: #F8F8F8;
}

.archive-card img {
    width: 400px;
    height: auto;
    object-fit: cover;
}

.archive-post-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.archive-post-date {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.archive-card .archive-post-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #000;
}

.archive-card .archive-post-excerpt {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 15px;
}

.archive-post-btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #141414;
    background: #fff;
    color: #141414;
    text-decoration: none;
    transition: 0.3s;
    width: fit-content;
}

.archive-post-btn:hover {
    background: #141414;
    color: #fff;
}

.archive-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 30px 0;
    padding: 0;
    gap: 6px;
    flex-wrap: wrap;
}

.archive-pagination li {
    display: inline-block;
}

.archive-pagination a,
.archive-pagination span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: #fff;
}

.archive-pagination a:hover {
    background: #f5f5f5;
    border-color: #bbb;
}

.archive-pagination .current {
    background: #000;
    color: #fff;
    border-color: #000;
    font-weight: 600;
}

.archive-pagination li:first-child a,
.archive-pagination li:last-child a {
    font-weight: bold;
}

.course-categories-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    margin: 40px 0 20px;
    font-size: 24px;
    line-height: 30px !important;
    font-weight: 500;
    color: #222;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.course-card {
    height: 100%;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.course-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.course-icon-img {
    background: #FFFFFF;
    border-radius: 50px !important;
    padding: 20px;
}

.course-title {
    font-size: 18px;
    line-height: 24px !important;
    margin-bottom: 10px;
    font-weight: 400;
}

.course-desc {
    font-size: 14px;
    margin-bottom: 15px;
    color: #474747;
}

.course-count {
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    color: #474747;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
}

.course-card-link {
    text-decoration: none;
    display: block;
}

.course-card-link .course-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card-link .course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.archive-post-content {
    position: relative;
    padding: 20px;
}

.archive-dept {
    display: inline-block;
    padding: 4px 10px;
    background: #ffffff;
    border-radius: 20px;
    font-size: 12px;
    color: #7E7E7E;
    margin-bottom: 10px;
    width: fit-content;
}

.archive-skill-level {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
}

.archive-skill-level.beginner {
    background: #e6f3ff;
    color: #0073e6;
}

.archive-skill-level.intermediate {
    background: #fff4cc;
    color: #b38600;
}

.archive-skill-level.advanced {
    background: #e6f9e6;
    color: #2d8a34;
}

.custom-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.custom-popup .popup-inner {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.custom-popup .popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

.archive-sorting-wrapper {
    text-align: right;
    margin-bottom: 15px;
}

.archive-sorting-form select {
    padding: 6px 10px;
    border: 1px solid #D7D7D7;
    margin-right: 40px;
}

p.gform_required_legend {
    display: none;
}



.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #E5E5E5 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #F5F7F9 !important;
    border: 0 !important;
    border-radius: 2px !important;
    color: #434343 !important;
    padding: 5px 25px 5px 5px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border-right: 0 !important;
    right: 6px !important;
    top: 10px !important;
    left: inherit !important;
    font-size: 0 !important;
    background: url(../images/close-circle.png) 0 0 no-repeat !important;
    width: 16px !important;
    height: 16px !important;
}

.select2-container .select2-search--inline .select2-search__field {
    margin-top: 10px !important;
    margin-left: 10px !important;
}


.select2-container--default .select2-selection--multiple {
    border-color: #E5E5E5 !important;
}

.select2-container .select2-selection--multiple {
    min-height: 43px !important;
}




.program-structure>.e-con-inner::before {
    content: '';
    width: 2px;
    height: calc(100% - 80px);
    background: #C7C7C7;
    position: absolute;
    left: 57px;
    top: 50%;
    transform: translateY(-50%);
}

/* .gform_title {
    display: none;
} */


input#gform_submit_button_4 {
    background-color: #141414;
}

input#gform_submit_button_2 {
    background-color: #141414;
}

#user_country,
#user_state,
#user_city {
    max-height: calc(1.5em * 5 + 10px);
    /* Show ~5 items */
    overflow-y: auto;
    /* Scroll for remaining items */
}

.gform-theme--foundation form .gform_fields {
    row-gap: 20px !important;
}

.mc4wp-response {
    text-align: center !important;
    padding-top: 10px !important;
}
@media (max-width: 1366px) {
    .program-structure>.e-con-inner::before {
        left: 26px;
        height: calc(100% - 100px);
    }
}


@media (max-width: 768px) {
    .program-structure>.e-con-inner::before {
        left: 17px;
        height: 88%;
    }
    .section-title {
        font-size: 20px;
    }

    .course-card {
        padding: 16px;
    }

    .course-icon {
        font-size: 30px;
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-right {
        margin-top: 10px;
        justify-content: flex-start;
        width: 100%;
    }

    .job-item-card {
        padding: 15px;
    }

    .job-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        margin-bottom: 12px;
    }

    .job-item-left {
        width: 100%;
        margin-bottom: 12px;
        align-items: start;
    }

    .job-item-right {
        width: 100%;
        text-align: left;
        margin-left: 0;
    }

    .job-item-details {
        margin-bottom: 10px;
        display: flex;
        justify-content: space-between;
        align-items: end;
    }

    .job-item-apply {
        width: 100%;
        text-align: center;
    }

    .card {
        flex-direction: column;
    }

    .card img {
        width: 100%;
        height: auto;
    }

    .archive-card {
        flex-direction: column;
    }

    .archive-card img {
        width: 100%;
        height: auto;
    }

    .archive-post-title {
        line-height: 30px !important;
        margin-top: 25px !important;
    }

    .job-id {
        margin-bottom: 0;
    }

    .elementor .job-item-logo img {
        max-width: 80px;
    }

    .course-categories-wrapper .section-title {
        margin: 25px 0 10px 0;
        font-size: 26px;
    }

    .course-categories-wrapper {
        padding: 0;
    }

    .course-categories-wrapper .course-grid {
        gap: 10px;
    }

}

@media (max-width: 480px) {
    .section-title {
        font-size: 18px;
    }

    .course-title {
        font-size: 16px;
    }

    .newsletter form {
        flex-direction: column;
    }

    .newsletter input[type="submit"] {
        margin-top: 10px;
        width: 100%;
    }

    .elementor .job-item-title {
        font-size: 16px;
        line-height: 1.2em;
    }

    .job-item-category,
    .job-item-meta {
        font-size: 12px;
        line-height: 1.2em;
    }

    .job-item-meta {
        margin: 10px 0 0 0;
    }

    .job-item-apply {
        font-size: 13px;
        padding: 8px 14px;
    }
}


@media (max-width: 991px) {
    .job-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {
    .job-filter-grid {
        grid-template-columns: 1fr;
    }

    .newsletter {
        flex-wrap: wrap;
    }

    .newsletter input[type="email"],
    .newsletter input[type="submit"] {
        flex: 0 0 100%;
    }

    .newsletter input[type="submit"] {
        margin: 5px 0 0;
    }

    .program-structure:before {

        opacity: 0;
    }
}

.newsletter {
    display: flex;
}

.newsletter input[type=email] {
    flex: 1;
}

.newsletter input[type=submit] {
    background: #141414;
    border: solid 1px #4E4E4E;
    font-size: 18px;
}

#account-dropdown {
    z-index: 1;
}

.account-menu {
    position: relative;
    display: inline-block;
}

.account-trigger img.userpic-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

.account-dropdown {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    min-width: 150px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.account-dropdown.open {
    display: block;
}

.account-dropdown li {
    margin: 0;
}

.account-dropdown li a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
}

.account-dropdown li a:hover {
    background: #f5f5f5;
}


.sc-get-sec-newletter .newsletter {
    width: 100%;
    max-width: 640px;
    margin: 20px auto 0 auto;
}

.filter-with-button button#reset-filters {
    border: 0;
}

@media only screen and (max-width: 1200px) {
    .card-item {
        gap: 30px;
    }
}

@media only screen and (max-width: 1024px) {
    .newsletter input[type="submit"] {
        padding: 8px 14px;
        font-size: 14px;
    }

    .elementor .card-item img {
        max-width: 220px;
    }

    .card-item {
        padding: 16px;
    }
}

@media only screen and (max-width: 767px) {
    .card-item {
        flex-direction: column;
        gap: 20px;
    }

    .elementor .card-item img {
        width: 100%;
        max-width: 100%;
    }

    .news-card {
        gap: 15px;
    }
}