/* Careers Page Specific Styles */

.bodycolor{
    background-color: #F7F9FF;
}
/* Hero Section */
.careers-hero {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 120px 24px 0px;
}

.careers-hero-title {
    font-size: clamp(36px, 1.2vw, 48px);
    font-weight: 600;
    color: #1D54DD;
    margin-bottom: 24px;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.careers-hero-subtitle {
    font-size: clamp(13px, 1.2vw, 14px);
    color: #1E1E1E;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Why Join Section */
.why-join-section {
    padding: 60px 10px;
    background: #F7F9FF;
}

.why-join-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.why-join-card {
    background: white;
    border: 1px solid #6EA7F9;
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-join-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.why-join-icon {
    margin-bottom: 24px;
}

.why-join-title {
    font-size: clamp(18px, 1.2vw, 20px);
    font-weight: 600;
    color: #0A1630;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.why-join-description {
    font-size: clamp(13px, 1.2vw, 14px);
    color: #1E1E1E;
    line-height: 1.6;
}

/* Openings Section */
.openings-section {
    padding: 80px 24px;
    background: white;
}

.openings-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.openings-title {
    font-size: clamp(34px, 4vw, 40px);
    font-weight: 600;
    color: #1D54DD;
    margin-bottom: 8px;
    border-bottom: 1px solid #6EA7F9;
    padding-bottom: 16px;
    font-family: var(--font-heading);
}

.job-listing {
    background: white;
    border-bottom: 1px solid #6EA7F9;
    padding: 24px 0;
    /* transition: all 0.3s ease; */
}

.job-listing:last-child {
    border-bottom: none;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;

}

.job-header-left {
    flex: 1;
    padding-right: 20px;
}

.job-title {
    font-size: clamp(18px, 2vw, 20px);
    font-weight: 600;
    color: #0A1630;
    margin: 0 0 8px 0;
    font-family: var(--font-heading);
    width: 25%;
}

.job-intro {
    font-size: clamp(13px, 1.5vw, 14px);
    color: #1E1E1E;
    line-height: 1.5;
    margin: 0;
}

.job-expand-btn {
    background: transparent;
    border: 1px solid #E5E5E5;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: #666;
}

.job-expand-btn:hover {
    border-color: #0047FF;
    color: #0047FF;
    background: rgba(0, 71, 255, 0.05);
}

.job-listing.active .job-expand-btn svg {
    transform: rotate(45deg);
}

.job-meta-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding-top: 20px;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: clamp(12px, 1.2vw, 14px);
    color: #000;
    background: #fff;
    border: 1px solid #E9E3E3;
    padding: 6px 10px;
    border-radius: 6px;
    
}

.job-meta-item svg {
    color: #999;
    width: 14px;
    height: 14px;
}

.job-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding-top: 20px;
    margin-top: 20px;
    display: none;
   
}

.job-dtls-content{
 padding-left: 25%;
 width: 100%;
}

.job-listing.active .job-details {
    max-height: 5000px;
    padding-top: 20px;
    margin-top: 16px;
    border-top: 1px solid #F0F0F0;
    display: block;
}

.job-section {
    margin-bottom: 24px;
}

.job-section-title {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 600;
    color: #0A1630;
    margin: 0 0 8px 0;
    font-family: var(--font-heading);
}

.job-section-text {
    font-size: clamp(13px, 1.5vw, 14px);
    color: #1E1E1E;
    line-height: 1.6;
    margin: 0;
}

.job-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-list li {
    padding: 4px 0 4px 16px;
    position: relative;
    font-size: clamp(13px, 1.5vw, 14px);
    color: #1E1E1E;
    line-height: 1.5;
}

.job-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0047FF;
    font-weight: bold;
    font-size: 16px;
}

.job-apply-section {
    margin-top: 24px;
    padding-top: 20px;
    border-radius: 8px;
    display: flex;
}

.job-apply-section h5{
    width: 25%;
      font-size: clamp(16px, 1.3vw, 20px);
    color: #1D54DD;

}

.job-apply-text {
       font-size: clamp(13px, 1.3vw, 14px);

    color: #1E1E1E;
    margin-bottom: 12px;
}

.job-apply-text a {
    color: #1E1E1E;
    text-decoration: none;
    font-weight: 500;
}

.job-apply-text a:hover {
    text-decoration: underline;
}

.job-apply-btn {
    background: #0A1630;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: clamp(13px, 1.5vw, 14px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.job-apply-btn:hover {
    background: #0047FF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 71, 255, 0.3);
}

.openings-cta {
    margin-top: 48px;
    padding: 32px;
    background: #F8F9FA;
    border-radius: 8px;
    text-align: left;
    border-left: 4px solid #0047FF;
}

.openings-cta-title {
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 600;
    color: #0047FF;
    margin: 0 0 8px 0;
}

.openings-cta-text {
    font-size: clamp(14px, 1.5vw, 16px);
    color: #666666;
    margin: 0;
    line-height: 1.5;
}

/* Application Section */
.application-section {
    padding: 80px 24px;
    background: #003AC5;
}

.application-container {
    max-width: 900px;
    margin: 0 auto;
}

.application-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 48px;
    font-size: clamp(34px, 2.5vw, 40px);
    font-family: var(--font-heading);
}

.application-form {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 48px 20px;
    align-items: start;
}

.form-group {
    display: contents;
}

.form-group-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: white;
    margin: 0;
    padding-top: 8px;
    font-family: var(--font-heading);
     font-size: clamp(18px, 2.5vw, 20px);
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input {
    width: 100%;
    padding: 0 0 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: clamp(13px, 2.5vw, 14px);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
    outline: none;
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

.form-textarea {
    resize: vertical;
    min-height: 60px;
    padding-top: 8px;
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='white' stroke-opacity='0.6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 32px;
}

.file-upload-box {
    position: relative;
}

.file-upload-box input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding:40px 24px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.file-upload-label:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

.file-upload-label svg {
    flex-shrink: 0;
}

.file-upload-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

.form-consent {
    grid-column: 1 / -1;
    margin-top: 16px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: white;
}

.consent-checkbox {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: white;
}

.consent-text {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.form-submit-btn {
    grid-column: 1 / -1;
    padding: 14px 48px;
    background: white;
    color: #0047FF;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
    width: fit-content;
}

.form-submit-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .careers-hero {
        padding: 60px 16px 0px;
    }

    .careers-hero-title {
        font-size: 2rem;
    }

    .careers-hero-subtitle {
        font-size: 1rem;
    }

    .why-join-section,
    .openings-section,
    .application-section {
        padding: 60px 16px;
    }

    .openings-title,
    .application-title {
        font-size: 2rem;
    }

    .job-header {
        flex-direction: column;
        gap: 16px;
        position: relative;
    }

    .job-title{
        width: calc(100% - 62px);
    }

    .job-header-left{
        padding-right: 0;
    }
    
    .job-expand-btn {
        align-self: flex-end;
        margin-top: 0px;
        position: absolute;
        top: 0;
    }

    .job-meta-row {
        gap: 12px;
    }
    
    .job-meta-item {
        font-size: 12px;
        padding: 3px 6px;
    }

    .application-form {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-group-title {
        margin-bottom: 16px;
    }

    .why-join-grid {
        grid-template-columns: 1fr;
    }

    .form-submit-btn {
        width: 100%;
    }
    .job-dtls-content{
 padding-left: 0%;
}
}
