/* ==========================================================================
   CARE-HOSPITAL - CAREER PAGE ENTERPRISE VALUES STYLES (career-cards.css)
   Overrides investor styles for the 'Life across our enterprise' section
   ========================================================================== */

/* 1. SECTION TITLE */
.career-page-cards .investor-card {
    border-radius: 20px;
    background-color: #f7f7f7;
}

.career-page-cards .investor-card:nth-child(1){
    background: #2342951A;

}
.career-page-cards .investor-card:nth-child(2){
    background: #1C579133;

}
.career-page-cards .investor-card:nth-child(3){
    background: #099E9833;

}
.career-page-cards .investor-card:nth-child(4){
    background: #7D7FB233;

}
.career-page-cards .investor-card:nth-child(5){
    background: #9478CD33;


}
.career-page-cards .investor-card:nth-child(6){
    background: #9EC0E633;


}
.career-page-cards .investor-card:nth-child(7){
    background: #AF575433;

}
.career-page-cards .investor-card:nth-child(8){
    background: #C0312133;

}

.career-section-title {
    font-size: 14px;
    font-weight: 400;
    /* color: #1E1E1E; */
    color:#757575;
    margin-top: 10px;
    margin-bottom: 0;
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.02em;
}

.career-values-header {
    margin-bottom: 40px;
}

.career-section-subline {
    margin: 12px 0 0;
    color: #757575;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    font-family: 'Manrope', sans-serif;
}

/* 2. GRID LAYOUT OVERRIDES (4 Columns on Desktop) */
.career-page-cards .investor-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 23px;
}

/* 3. CARD MODIFICATIONS */
.career-page-cards .investor-card {
    height: auto;
    min-height: 154px;
    padding: 32px 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

/* Hide investor specific elements */
.career-page-cards .investor-card-number,
.career-page-cards .investor-card-arrow {
    display: none;
}

/* Reset spacing in card headers */
.career-page-cards .investor-card-header {
    margin-bottom: 20px;
    padding-right: 0;
    /* No space needed for numbers */
}

/* Value Description Text */
.career-page-cards .investor-card-desc {
    color: #757575E5;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    margin: 0;
    font-family: 'Manrope', sans-serif;
}

.career-page-cards a.investor-card--playbook {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.career-page-cards a.investor-card--playbook:hover {
    background-color: #efefef;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   RESPONSIVE LAYOUT BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
    .career-page-cards .investor-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .career-page-cards .investor-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .career-page-cards .investor-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .career-values-header {
        margin-bottom: 25px;
    }

    .career-section-subline {
        font-size: 14px;
        line-height: 22px;
    }

    .career-page-cards .investor-card {
        padding: 24px;
        min-height: auto;
    }
}

/* ==========================================================================
   4. PLAYBOOK SECTION (Get a Glimpse of How we Work)
   ========================================================================== */
.playbook-section {
    position: relative;
    height: 380px;
    /* Reduced from 400px to look extremely clean and elegant */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #0f172a;
    /* Dark navy fallback */
}

/* Background picture tag positioning */
.playbook-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.playbook-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Dark overlay for readability */
.playbook-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    /* Sophisticated dark overlay */
    z-index: 2;
}

.playbook-content-container {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
}

.playbook-content {
    max-width: 820px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Heading style */
.playbook-heading {
    color: #ffffff;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 11px 0;
    /* 11px gap between heading and paragraph */
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.01em;
}

/* Paragraph style */
.playbook-paragraph {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    margin: 0 0 32px 0;
    /* 32px space below paragraph */
    font-family: 'Manrope', sans-serif;
    max-width: 650px;
}

/* Button style */
.playbook-section .view-all-btn {
    background: #ffffff;
    color: #1e1e1e;
    padding: 15px 49px;
    font-size: 14px;
    font-weight: 600;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .playbook-section {
        height: auto;
        padding: 50px 0;
    }

    .playbook-heading {
        font-size: 24px;
        /* Reduced on mobile */
        margin-bottom: 11px;
    }

    .playbook-paragraph {
        font-size: 13px;
        line-height: 20px;
        margin-bottom: 24px;
        /* Slightly tighter bottom spacing on mobile */
    }

    .playbook-section .view-all-btn {
        padding: 12px 24px;
    }
}

/* ==========================================================================
   5. CAREER CONTACT SECTION (Submit Your Resume)
   ========================================================================== */

.career-page-contact .contact-addresses-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 44px;
    box-sizing: border-box;
}

.career-submit {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.3;
}

.career-submit-para {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 22px;
    margin: 0;
    max-width: 420px;
    /* Keep it nice and readable */
}

/* Form & File Upload Styling */
.career-page-contact .file-upload-wrapper {
    position: relative;
    display: block;
    width: 100%;
    cursor: pointer;
}

.career-page-contact .file-upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.career-page-contact .file-upload-text {
    cursor: pointer !important;
    padding-right: 30px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    pointer-events: none;
}

.career-page-contact .file-upload-icon {
    position: absolute;
    right: 0;
    bottom: 18px;
    color: rgba(255, 255, 255, 0.75);
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
}

.career-page-contact .file-upload-wrapper:hover .file-upload-icon {
    color: #ffffff;
}

.career-page-contact .file-upload-wrapper:hover .file-upload-text {
    border-bottom-color: #ffffff;
}

/* Textarea placeholder and margin */
.career-page-contact .form-textarea::placeholder {
    font-size: 12px !important;
    text-transform: uppercase !important;
}

.career-page-contact .form-textarea {
    margin-top: 15px !important;
    font-size: 16px;
}

/* Submit Button override */
.career-page-contact .contact-submit-btn {
    background: #ffffff !important;
    color: #2E5399 !important;
    border: none !important;
    padding: 15px 49px !important;
    /* Matches playbook button style */
    border-radius: 8px 8px 0 8px !important;
    clip-path: polygon(0 0,
            100% 0,
            100% calc(100% - 16px),
            calc(100% - 1px) calc(100% - 13px),
            calc(100% - 4px) calc(100% - 10px),
            calc(100% - 10px) calc(100% - 4px),
            calc(100% - 13px) calc(100% - 1px),
            calc(100% - 16px) 100%,
            0 100%) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    transition: background-color 0.2s, transform 0.2s !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    align-self: flex-start !important;
}

.career-page-contact .contact-submit-btn:hover {
    background-color: #f5f5f5 !important;
    transform: translateY(-1px);
}

.career-page-contact .contact-submit-btn svg {
    transition: transform 0.2s;
}

.career-page-contact .contact-submit-btn:hover svg {
    transform: translateX(3px);
}

.career-page-contact .contact-submit-btn svg path {
    stroke: #2E5399 !important;
}

.career-page-contact .form-actions {
    display: flex;
    justify-content: flex-start;
    /* Align submit button left */
    margin-top: 24px;
}

/* 1440px screen adjustments and below */
@media (max-width: 1439px) {
    .career-page-contact .contact-addresses-container {
        padding-left: 40px;
    }
}

@media (max-width: 1200px) {
    .career-page-contact .contact-addresses-container {
        padding-left: 20px;
    }
}

@media (max-width: 991px) {
    .career-page-contact .contact-addresses-container {
        padding-left: 10px;
    }
}

@media (max-width: 768px) {
    .career-page-contact .contact-addresses-container {
        padding-left: 0;
        align-items: center;
        text-align: center;
    }

    .career-submit {
        font-size: 24px;
        /* Reduced on mobile */
        margin-bottom: 12px;
    }

    .career-submit-para {
        font-size: 13px;
        /* Reduced on mobile */
        line-height: 20px;
        max-width: 100%;
    }

    .career-page-contact .form-actions {
        justify-content: center;
        /* Center submit button on mobile */
    }

    .career-page-contact .contact-submit-btn {
        padding: 12px 36px !important;
    }
}