/* ===========================
   Career Page Styles
   =========================== */

/* Career Hero Section */
.career-hero {
    background: linear-gradient(135deg, #2d5a5a 0%, #3d7a7a 100%);
    color: #ffffff;
    padding: 150px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.career-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.career-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.career-hero .hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.career-hero .hero-title span {
    color: #00aaff;
}

.career-hero .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.career-hero .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Why Join Us Section */
.why-join {
    background: #f8f9fa;
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(45, 90, 90, 0.2);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2d5a5a 0%, #3d7a7a 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #666666;
    line-height: 1.6;
}

/* Open Positions Section */
.open-positions {
    background: #ffffff;
    padding: 80px 0;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.position-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.position-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(45, 90, 90, 0.15);
    border-color: #2d5a5a;
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.position-header h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
}

.position-type {
    background: linear-gradient(135deg, #2d5a5a 0%, #3d7a7a 100%);
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.position-details {
    margin-bottom: 15px;
}

.position-details p {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.position-details i {
    color: #2d5a5a;
    width: 20px;
}

.position-desc {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-apply {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #2d5a5a 0%, #3d7a7a 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(45, 90, 90, 0.3);
    background: linear-gradient(135deg, #245050 0%, #2d6a6a 100%);
    color: #ffffff;
}

/* Career Form Section */
.career-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4ff 100%);
    padding: 80px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a1a;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
     color: #1a1a1a;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2d5a5a;
    box-shadow: 0 0 0 3px rgba(45, 90, 90, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* File Upload Styling */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: #2d5a5a;
    background: #e8f4ff;
}

.file-upload-label i {
    font-size: 2.5rem;
    color: #2d5a5a;
    margin-bottom: 10px;
}

.file-upload-label span {
    color: #666666;
}

.file-name {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #2d5a5a;
    font-weight: 500;
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.checkbox-label span {
    font-weight: normal;
    color: #666666;
}

.checkbox-label a {
    color: #2d5a5a;
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #2d5a5a 0%, #3d7a7a 100%);
    border: none;
    color: #ffffff;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 90, 90, 0.3);
    background: linear-gradient(135deg, #245050 0%, #2d6a6a 100%);
    color: #ffffff;
}

.btn-submit:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Success Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
}

.modal-icon.success {
    background: #d4edda;
    color: #28a745;
}

.modal-content h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.modal-content p {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .career-hero {
        padding: 120px 20px 80px;
    }

    .career-hero .hero-title {
        font-size: 2rem;
    }

    .career-hero .hero-subtitle {
        font-size: 1.2rem;
    }

    .benefits-grid,
    .positions-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 30px 20px;
    }

    .position-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .career-hero .hero-title {
        font-size: 1.7rem;
    }

    .benefit-card,
    .position-card {
        padding: 25px 20px;
    }
}
