.imegx-wrap,
.uscx-wrap {
    padding: 20px;
    font-family: "Segoe UI", sans-serif
}

.imegx-wrap {
    position: relative;
    background: linear-gradient(120deg, #f6fbff, #fff);
    overflow: hidden
}

.imegx-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 60px
}

.imegx-left {
    flex: 1
}

.imegx-title {
    font-size: 36px;
    color: #1a2b49;
    text-align: center;
    margin-bottom: 15px
}

.imegx-sub,
.imegx-sub-welcome {
    font-size: 22px;
    font-weight: 500
}

.imegx-sub,
.imegx-title span,
.uscx-heading span {
    color: #0f766e
}

.imegx-sub {
    margin-bottom: 10px
}

.imegx-text {
    font-size: 16px;
    color: #5b6b82;
    line-height: 1.8;
    margin-bottom: 15px
}

.imegx-right {
    /* flex: 1; */
    position: relative
}

    .imegx-right img {
        width: 100%;
        max-width: 450px;
        height: auto;
        border-radius: 20px;
        box-shadow: 0 25px 50px rgba(0, 0, 0, .15)
    }

.uscx-wrap {
    background: #fff;
    text-align: center
}

.uscx-heading {
    font-size: 38px;
    color: #1a2b49;
    margin-bottom: 15px
}

.uscx-card-para,
.uscx-intro {
    color: #5b6b82;
    line-height: 1.7
}

.uscx-intro {
    max-width: 1100px;
    margin: auto auto 10px;
    font-size: 17px
}

.uscx-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: auto
}

.uscx-card {
    background: #fff;
    padding: 20px 30px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
    transition: .3s;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.uscx-card:hover {
    transform: translateY(-8px)
}

.uscx-yes {
    border-top: 6px solid #018253
}

.uscx-no {
    border-top: 6px solid #0a58c2
}

.uscx-card-para {
    font-size: 15px;
    margin-bottom: 25px
}

.uscx-card-heading {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1a2b49;
    font-weight: 700
}

.uscx-btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 40px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer
}

.uscx-btn-primary {
    background: #018253;
    color: #fff;
    border: none;
    text-align: center
}

.uscx-btn-secondary {
    background: #0a58c2;
    color: #fff;
    border: none
}

.uscx-btn:hover {
    opacity: .9
}

.uscx-bottom-text {
    max-width: 1100px;
    margin: 30px auto 0;
    color: #5b6b82;
    font-size: 15px;
    line-height: 1.7
}

.apply-check-sub {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    background: #0f766e;
    padding: 30px;
    gap: 20px;
    justify-content: center
}

.apply-check-cards {
    background: #fff;
    padding: 15px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    text-align: center
}

.apply-check-cards-heading {
    font-size: 20px;
    font-weight: 700;
    color: black;
}

.apply-check-cards-para {
    color: #5b6b82;
    padding: 0 20px;
}

.apply-check-cards:hover {
    transform: translateY(-5px)
}

.uscx-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ei-civilsurgeon-modal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 100%;
    max-width: 700px;
    border-radius: 10px;
    padding: 24px 22px;
    z-index: 101;
    position: fixed;
    display: none
}

.ei-civilsurgeon-backdrop {
    position: fixed;
    display: none;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 100;
}

.ei-civilsurgeon-modal p {
    font-size: 16px;
    color: #1f2937;
    line-height: 1.4;
    text-align: justify;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

.civil-sugeon-closebtn {
    display: flex;
    justify-content: center;
}

.ei-civilsurgeon-close {
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    background: #0f766e;
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;

}

.ei-civilsurgeon-modal {
    scrollbar-width: thin;
    scrollbar-color: #0f766e #edf7f6;
}

/* POPUP SCROLLBAR ONLY */
.ei-civilsurgeon-modal::-webkit-scrollbar {
    width: 5px;
}

.ei-civilsurgeon-modal::-webkit-scrollbar-track {
    background: #edf7f6;
    border-radius: 10px;
}

.ei-civilsurgeon-modal::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0f766e, #0a5c56);
    border-radius: 10px;
    transition: 0.3s;
}

.ei-civilsurgeon-modal::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0d9488, #0f766e);
}

@media (max-width:1024px) {
    .imegx-title {
        font-size: 40px
    }
}

@media (max-width:768px) {
    .imegx-container {
        flex-direction: column;
        text-align: center
    }

    .imegx-title {
        font-size: 34px
    }

    .uscx-heading {
        font-size: 30px
    }

    .imegx-right {
        display: none
    }
}

@media (max-width:600px) {
    .apply-check-cards-para {
        padding: 0;
    }

    .ei-civilsurgeon-modal {
        max-width: 300px;
        max-height: 350px;
        overflow-y: scroll;
    }

    .apply-check-sub {
        grid-template-columns: none;
    }

    .imegx-title {
        font-size: 27px
    }

    .uscx-wrap {
        padding-top: 0
    }

    .uscx-grid {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .uscx-heading {
        font-size: 24px
    }

    .uscx-card,
    .uscx-yes {
        text-align: center;
        padding: 20px 15px
    }
}