
/* ==========================================
   ACP IT ZONE - PREMIUM WHITE CAREERS DESIGN
   ========================================== */

.cp-careers {
    --cp-bg: #ffffff;
    --cp-soft: #f6f9ff;
    --cp-card: #ffffff;
    --cp-navy: #101c36;
    --cp-text: #24324b;
    --cp-muted: #68758b;
    --cp-blue: #0866e9;
    --cp-blue-dark: #064fb8;
    --cp-cyan: #16a8ed;
    --cp-border: #e5ebf4;
    --cp-shadow: 0 12px 35px rgba(24, 47, 85, 0.07);

    background: var(--cp-bg);
    color: var(--cp-text);
    font-family: inherit;
    line-height: 1.7;
    overflow: hidden;
}

.cp-careers *,
.cp-careers *::before,
.cp-careers *::after {
    box-sizing: border-box;
}

.cp-careers a {
    text-decoration: none;
}

.cp-careers p {
    color: var(--cp-muted);
    margin: 0 0 16px;
}

.cp-careers h1,
.cp-careers h2,
.cp-careers h3 {
    color: var(--cp-navy);
    line-height: 1.25;
    margin-top: 0;
}

.cp-careers h1 {
    font-size: clamp(40px, 5vw, 66px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 22px;
}

.cp-careers h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 750;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
}

.cp-careers h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cp-container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.cp-section {
    padding: 85px 0;
}

.cp-section-label,
.cp-eyebrow {
    display: inline-block;
    color: var(--cp-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 17px;
}


/* ==========================================
   BUTTONS
   ========================================== */

.cp-careers .cp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 49px;
    padding: 12px 22px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: all 0.22s ease;
}

.cp-careers .cp-btn:hover {
    transform: translateY(-2px);
}

.cp-careers .cp-btn-primary {
    background: var(--cp-blue);
    color: #ffffff;
    border: 1px solid var(--cp-blue);
    box-shadow: 0 7px 18px rgba(8, 102, 233, 0.16);
}

.cp-careers .cp-btn-primary:hover {
    background: var(--cp-blue-dark);
    border-color: var(--cp-blue-dark);
    color: #ffffff;
}

.cp-careers .cp-btn-outline {
    background: #ffffff;
    border: 1px solid #cbd6e6;
    color: var(--cp-navy);
}

.cp-careers .cp-btn-outline:hover {
    border-color: var(--cp-blue);
    color: var(--cp-blue);
}


/* ==========================================
   HERO
   ========================================== */

.cp-hero {
    position: relative;
    padding: 95px 0 90px;
    background:
        radial-gradient(
            ellipse at 85% 20%,
            rgba(29, 125, 255, 0.065),
            transparent 40%
        ),
        #ffffff;
    border-bottom: 1px solid var(--cp-border);
}

.cp-hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 5%;
    right: 12%;
    background: rgba(0, 124, 255, 0.055);
    filter: blur(90px);
    pointer-events: none;
}

.cp-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 55px;
}

.cp-hero-content {
    position: relative;
    z-index: 1;
}

.cp-hero h1 span {
    color: var(--cp-blue);
}

.cp-hero-content > p {
    max-width: 590px;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 28px;
}

.cp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.cp-hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 27px;
    color: var(--cp-muted);
    font-size: 12px;
}

.cp-status-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #17ad78;
}


/* PREMIUM HERO VISUAL */

.cp-hero-visual {
    min-height: 390px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-visual-orbit {
    position: absolute;
    border: 1px solid rgba(8, 102, 233, 0.13);
    border-radius: 50%;
    transform: rotate(-22deg);
}

.cp-orbit-one {
    width: 370px;
    height: 240px;
}

.cp-orbit-two {
    width: 300px;
    height: 350px;
    transform: rotate(35deg);
}

.cp-visual-card {
    position: relative;
    z-index: 1;
    width: min(100%, 355px);
    padding: 36px 30px;
    background: #ffffff;
    border: 1px solid #e4eaf4;
    border-radius: 15px;
    box-shadow: 0 25px 65px rgba(20, 48, 90, 0.11);
}

.cp-visual-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin-bottom: 25px;
    border-radius: 13px;
    background: linear-gradient(135deg, #0866e9, #22a9f5);
    color: white;
    font-size: 28px;
    font-weight: 800;
}

.cp-visual-label {
    color: var(--cp-blue) !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 9px !important;
}

.cp-visual-card h2 {
    font-size: 29px;
    margin-bottom: 12px;
}

.cp-visual-card > p:not(.cp-visual-label) {
    font-size: 13px;
}

.cp-visual-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 23px;
}

.cp-visual-tags span {
    border: 1px solid #e0e9f7;
    background: #f5f8ff;
    padding: 5px 10px;
    border-radius: 5px;
    color: #345174;
    font-size: 11px;
}


/* ==========================================
   INTRODUCTION
   ========================================== */

.cp-intro {
    background: #f8faff;
    border-bottom: 1px solid var(--cp-border);
}

.cp-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.cp-intro h2 span {
    color: var(--cp-blue);
    display: block;
}

.cp-intro-text p {
    line-height: 1.9;
    font-size: 15px;
}

.cp-intro-text p:last-child {
    margin-bottom: 0;
}


/* ==========================================
   SECTION HEADINGS
   ========================================== */

.cp-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 35px;
}

.cp-section-heading h2 {
    margin-bottom: 12px;
}

.cp-section-heading p {
    max-width: 650px;
    margin-bottom: 0;
}

.cp-centered {
    text-align: center;
    display: block;
    margin-bottom: 45px;
}

.cp-centered p {
    margin-left: auto;
    margin-right: auto;
}


/* ==========================================
   JOB OPENINGS
   ========================================== */

.cp-openings {
    background: #ffffff;
}

.cp-job-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px;
}

.cp-job-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    min-width: 0;
    background: #ffffff;
    border: 1px solid var(--cp-border);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(24, 47, 85, 0.035);
    transition: transform 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
}

.cp-job-card:hover {
    transform: translateY(-4px);
    border-color: #b7d2fb;
    box-shadow: var(--cp-shadow);
}

.cp-job-icon {
    display: grid;
    place-items: center;
    width: 53px;
    height: 53px;
    border-radius: 11px;
    margin-bottom: 22px;
    font-size: 24px;
    font-weight: 800;
}

.cp-icon-blue {
    background: #edf4ff;
    color: #0866e9;
}

.cp-icon-purple {
    background: #f3efff;
    color: #7950d9;
}

.cp-icon-pink {
    background: #fff0f5;
    color: #db4785;
}

.cp-icon-green {
    background: #eafaf3;
    color: #11865c;
}

.cp-job-category {
    color: var(--cp-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 11px;
}

.cp-job-card h3 {
    font-size: 20px;
    line-height: 1.4;
}

.cp-job-card > p {
    font-size: 13px;
    line-height: 1.8;
}

.cp-job-card ul {
    padding-left: 19px;
    margin: 4px 0 24px;
    color: #526078;
    font-size: 13px;
}

.cp-job-card li {
    padding-left: 3px;
    margin-bottom: 8px;
}

.cp-job-card li::marker {
    color: var(--cp-blue);
}

.cp-job-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 17px;
    margin-top: auto;
    border-top: 1px solid var(--cp-border);
    color: var(--cp-blue);
    font-size: 13px;
    font-weight: 700;
}

.cp-job-link:hover {
    color: var(--cp-blue-dark);
}

.cp-opening-note {
    margin-top: 23px !important;
    font-size: 12px;
    line-height: 1.8;
}


/* ==========================================
   WHY JOIN US
   ========================================== */

.cp-why {
    background: #f6f9ff;
    border-top: 1px solid #edf1f8;
    border-bottom: 1px solid #edf1f8;
}

.cp-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.cp-benefit {
    padding: 25px 21px;
    background: #ffffff;
    border: 1px solid var(--cp-border);
    border-radius: 11px;
    box-shadow: 0 4px 16px rgba(24, 47, 85, 0.025);
}

.cp-benefit-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 23px;
    border-radius: 9px;
    background: #edf4ff;
    color: var(--cp-blue);
    font-size: 13px;
    font-weight: 800;
}

.cp-benefit h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.cp-benefit p {
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 0;
}


/* ==========================================
   CAMPUS ENGAGEMENTS
   ========================================== */

.cp-campus {
    background: #ffffff;
}

.cp-campus-panel {
    padding: 42px;
    background: #f8faff;
    border: 1px solid #e4ebf6;
    border-radius: 14px;
}

.cp-campus-heading {
    max-width: 740px;
    margin-bottom: 32px;
}

.cp-campus-heading p {
    line-height: 1.9;
}

.cp-campus-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cp-campus-item {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e5ebf4;
    border-radius: 10px;
}

.cp-campus-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 43px;
    height: 43px;
    border-radius: 9px;
    background: #edf4ff;
    font-size: 20px;
}

.cp-campus-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.cp-campus-item p {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 0;
}

.cp-campus-disclaimer {
    margin: 23px 0 0 !important;
    font-size: 11px;
    line-height: 1.8;
}


/* ==========================================
   APPLICATION CTA
   ========================================== */

.cp-apply {
    padding-top: 10px;
    padding-bottom: 90px;
    background: #ffffff;
}

.cp-apply-panel {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 45px;
    padding: 42px;
    border: 1px solid #dce7f7;
    border-radius: 14px;
    background:
        radial-gradient(
            ellipse at 100% 0,
            rgba(8, 102, 233, 0.055),
            transparent 50%
        ),
        #f8faff;
}

.cp-apply-panel h2 {
    margin-bottom: 16px;
}

.cp-apply-panel p {
    line-height: 1.9;
}

.cp-apply-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 25px;
    margin-top: 22px;
    color: #34425b;
    font-size: 12px;
}

.cp-apply-action {
    text-align: center;
}

.cp-apply-action .cp-btn {
    width: 100%;
}

.cp-apply-action p {
    margin: 15px 0 0;
    font-size: 11px;
}


/* ==========================================
   ACCESSIBILITY
   ========================================== */

.cp-careers a:focus-visible {
    outline: 3px solid var(--cp-cyan);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .cp-careers *,
    .cp-careers *::before,
    .cp-careers *::after {
        transition: none !important;
    }
}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 991px) {
    .cp-section {
        padding: 65px 0;
    }

    .cp-hero {
        padding: 70px 0;
    }

    .cp-hero-grid {
        grid-template-columns: 1fr 0.8fr;
        gap: 25px;
    }

    .cp-hero-visual {
        min-height: 320px;
    }

    .cp-visual-card {
        padding: 25px;
    }

    .cp-intro-grid {
        gap: 30px;
    }

    .cp-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cp-campus-panel,
    .cp-apply-panel {
        padding: 30px;
    }

    .cp-apply-panel {
        gap: 25px;
    }
}


/* ==========================================
   MOBILE
   ========================================== */


/* ==========================================
   CAMPUS IMAGE - GLOBAL DESKTOP + MOBILE
   ========================================== */

.cp-careers .cp-campus-feature {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 28px 0 0;
}

.cp-careers .cp-campus-feature img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border: 1px solid #e5ebf4;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(24, 47, 85, 0.08);
}

.cp-careers .cp-campus-feature p {
    margin: 10px 0 0;
    color: #68758b;
    font-size: 12px;
    line-height: 1.7;
}


/* Also supports the standalone image class used in campus cards */
.cp-careers img.cp-campus-image {
    display: block;
    width: 100px;
    height: 90px;
    flex: 0 0 100px;
    object-fit: cover;
    object-position: center;
    border: 1px solid #e5ebf4;
    border-radius: 8px;
}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767px) {
    .cp-container {
        width: calc(100% - 32px);
    }

    .cp-section {
        padding: 52px 0;
    }

    .cp-hero {
        padding: 55px 0 45px;
    }

    .cp-hero-grid,
    .cp-intro-grid,
    .cp-apply-panel {
        grid-template-columns: 1fr;
    }

    .cp-hero-grid {
        gap: 20px;
    }

    .cp-careers h1 {
        font-size: clamp(37px, 10vw, 52px);
        letter-spacing: -1.1px;
    }

    .cp-careers h2 {
        font-size: 29px;
    }

    .cp-hero-content > p {
        font-size: 14px;
    }

    .cp-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cp-hero-actions .cp-btn {
        width: 100%;
    }

    .cp-hero-visual {
        min-height: 320px;
        margin-top: 5px;
    }

    .cp-visual-card {
        width: min(100%, 340px);
    }

    .cp-intro-grid {
        gap: 18px;
    }

    .cp-section-heading {
        display: block;
    }

    .cp-job-grid,
    .cp-campus-list {
        grid-template-columns: 1fr;
    }

    .cp-job-card {
        padding: 23px;
    }

    .cp-benefit-grid {
        gap: 13px;
    }

    .cp-benefit {
        padding: 20px 16px;
    }

    .cp-benefit h3 {
        font-size: 15px;
    }

    .cp-benefit p {
        font-size: 12px;
    }

    .cp-campus-panel {
        padding: 24px 18px;
    }

    .cp-campus-item {
        padding: 17px;
        gap: 12px;
    }

    .cp-apply-panel {
        padding: 27px 21px;
        gap: 15px;
    }

    .cp-apply-details {
        flex-direction: column;
        gap: 8px;
    }

    .cp-careers .cp-campus-feature img {
        width: 100%;
        height: auto;
        max-height: 360px;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .cp-careers img.cp-campus-image {
        width: 75px;
        height: 75px;
        flex-basis: 75px;
    }
}

/* ==========================================
   SMALL MOBILE
   ========================================== */

@media (max-width: 380px) {
    .cp-container {
        width: calc(100% - 24px);
    }

    .cp-careers h1 {
        font-size: 35px;
    }

    .cp-careers h2 {
        font-size: 26px;
    }

    .cp-hero-visual {
        min-height: 285px;
    }

    .cp-visual-card {
        padding: 22px;
    }

    .cp-benefit-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   CAMPUS SECTION - FIXED CARD AND IMAGE LAYOUT
   ========================================== */

.cp-campus-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}

.cp-campus-item {
    min-width: 0;
    height: 100%;
}

.cp-campus-text-item {
    align-items: flex-start;
}

.cp-campus-content {
    flex: 1;
    min-width: 0;
}

.cp-campus-content h3 {
    margin: 0 0 9px;
    font-size: 17px;
}

.cp-campus-content p {
    margin: 0 0 6px;
    overflow-wrap: anywhere;
}

.cp-campus-content strong {
    color: #24324b;
}

.cp-campus-image-item {
    display: block;
    padding: 16px;
}

.cp-campus-feature {
    width: 100%;
    min-width: 0;
}

.cp-campus-feature img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: 9px;
    border: 1px solid #e5ebf4;
    box-shadow: 0 8px 24px rgba(24, 47, 85, 0.08);
}

.cp-campus-image-copy {
    padding: 16px 2px 2px;
}

.cp-campus-date {
    display: inline-block;
    margin-bottom: 8px;
    color: #0866e9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.cp-campus-image-copy h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.cp-campus-image-copy p {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.75;
}

.cp-campus-image-caption {
    color: #7a879b !important;
    font-size: 11px !important;
}

@media (max-width: 767px) {
    .cp-campus-list {
        grid-template-columns: 1fr;
    }

    .cp-campus-image-item {
        padding: 14px;
    }

    .cp-campus-image-copy {
        padding-top: 13px;
    }
}


/* Internship application and OTP modals */
.cp-campus-content .cp-open-application,
.cp-campus-image-copy .cp-open-application {
    margin-top: 12px;
}
.cp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cp-modal.is-open { display: flex; }
.cp-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 20, 43, .72);
    backdrop-filter: blur(4px);
}
.cp-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    max-height: min(90vh, 900px);
    overflow-y: auto;
    background: #fff;
    color: #15233d;
    border: 1px solid #dce5f2;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
}
.cp-modal-dialog h2 {
    margin: 8px 40px 8px 0;
    font-size: clamp(24px, 4vw, 32px);
    line-height: 1.2;
}
.cp-modal-intro {
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 20px;
}
.cp-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #15233d;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}
#cpApplicationForm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
#cpApplicationForm > label,
#cpOtpForm > label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #253653;
    font-size: 14px;
    font-weight: 600;
}
#cpApplicationForm input:not([type="checkbox"]),
#cpApplicationForm select,
#cpOtpForm input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 12px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #fff;
    color: #15233d;
    font: inherit;
    font-weight: 400;
}
#cpApplicationForm input[type="file"] {
    font-size: 12px;
    padding: 9px;
}
#cpApplicationForm > label:nth-of-type(6),
#cpApplicationForm .cp-consent,
#cpApplicationForm .cp-form-error,
#cpApplicationForm .cp-modal-submit {
    grid-column: 1 / -1;
}
#cpApplicationForm .cp-consent {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 9px;
    font-weight: 400;
    line-height: 1.5;
}
.cp-consent input { margin-top: 4px; }
.cp-form-error {
    color: #b42318;
    font-size: 13px;
    margin: 0;
}
.cp-modal-submit,
#cpResendOtp {
    width: 100%;
    justify-content: center;
    cursor: pointer;
}
#cpOtpForm { display: grid; gap: 15px; }
#cpOtpForm input { letter-spacing: .25em; text-align: center; font-size: 20px; }
.cp-btn:disabled { opacity: .65; cursor: wait; }
body.cp-modal-open { overflow: hidden; }
@media (max-width: 600px) {
    .cp-modal { padding: 10px; }
    .cp-modal-dialog { padding: 24px 18px; border-radius: 14px; }
    #cpApplicationForm { grid-template-columns: 1fr; }
    #cpApplicationForm > label,
    #cpApplicationForm > label:nth-of-type(6),
    #cpApplicationForm .cp-consent,
    #cpApplicationForm .cp-form-error,
    #cpApplicationForm .cp-modal-submit { grid-column: 1; }
}


/* Make Apply Online buttons work visually as links and buttons */
.cp-job-card .cp-job-link {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    text-align: left;
}
.cp-job-card .cp-job-link:focus-visible,
.cp-open-application:focus-visible {
    outline: 3px solid rgba(8, 102, 233, .28);
    outline-offset: 4px;
    border-radius: 6px;
}
.cp-campus-content .cp-open-application,
.cp-campus-image-copy .cp-open-application {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.cp-job-card .cp-job-link span { margin-left: 5px; }
.cp-campus-image-copy .cp-open-application { margin-top: 10px; }
.cp-apply-action .cp-open-application { cursor: pointer; border: 0; }
