  /* prev vacant */
  
  :root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-colors: #e74c3c;
    --light-color: #ecf0f1;
    --text-color: #34495e;
    --border-radius: 8px;
}



.career-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 70%;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-colors));
    bottom: 0;
    left: 15%;
    border-radius: 2px;
}

.job-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: none;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.job-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.job-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.job-header::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -75px;
    right: -75px;
}

.job-header::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -40px;
    left: 30px;
}

.job-body {
    padding: 1.5rem;
    background-color: white;
}

.job-body p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.job-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.job-date {
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: 600;
}

.job-date i {
    margin-right: 5px;
}

.job-status {
    background-color: var(--light-color);
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.job-status.closed {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--accent-colors);
}

.job-status.active {
    background-color: rgba(46, 204, 113, 0.1);
    color: #27ae60;
}

.btn-read-more {
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.btn-read-more:hover {
    background: linear-gradient(135deg, #2980b9, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    color: white;
}

.job-card .job-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .career-section {
        padding: 2rem 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .job-header h3 {
        font-size: 1.2rem;
    }
}
.nav-link{
    color: #ffff !important;
}
.nav-link:hover{
    color: red !important;
}


/* Fix for modal centering */
.modal-container {
    position: fixed;
    top: 0;
    left: 20%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
    /* background-color: rgba(0, 0, 0, 0.5); */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}
        
        .modal-container.active {
            opacity: 1;
            visibility: visible;
        }
   /* Ensure the modal itself is properly centered */
.modal {
    background-color: var(--light-color);
    width: 90%;
    max-width: 800px;
    max-height: 100vh;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: all 0.4s ease-in-out;
    margin: 0 auto; /* Add this to ensure horizontal centering */
}
        
        .modal-container.active .modal {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
        
        .modal-header {
            background-color: var(--secondary-color);
            color: black;
            padding: 25px 60px 25px 25px;
            text-align: center;
            position: relative;
        }
        
        .modal-header h2 {
            font-size: 28px;
            margin-bottom: 10px;
            font-weight: 600;
        }
        
        .modal-header p {
            color: var(--ash-color);
            font-size: 16px;
            max-width: 80%;
            margin: 0 auto;
        }
        
        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: var(--light-color);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s;
            z-index: 10;
        }
        
        .close-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(90deg);
        }
        
        .modal-body {
            padding: 30px;
            overflow-y: auto;
        }
        
        /* Option cards */
        .option-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .option-card {
            background-color: #f9f9f9;
            border-radius: 8px;
            padding: 25px 20px;
            text-align: center;
            cursor: pointer;
            position: relative;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            overflow: hidden;
        }
        
        .option-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        }
        
        .option-card.selected {
            border-color: var(--primary-color);
            background-color: #fff;
            box-shadow: 0 10px 25px rgba(255, 51, 51, 0.15);
        }
        
        .option-card i {
            font-size: 36px;
            color: var(--primary-color);
            margin-bottom: 15px;
            transition: transform 0.3s ease;
        }
        
        .option-card.selected i {
            transform: scale(1.1);
        }
        
        .option-card h3 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--secondary-color);
        }
        
        .option-card p {
            font-size: 14px;
            color: var(--ash-color);
            line-height: 1.4;
        }
        
        .active-indicator {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background-color: var(--primary-color);
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 12px;
            opacity: 0;
            transform: scale(0);
            transition: all 0.3s ease;
        }
        
        .option-card.selected .active-indicator {
            opacity: 1;
            transform: scale(1);
        }
        
        /* Form styles */
        .form-container {
            display: none;
            background-color: #fff;
            border-radius: 8px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            animation: fadeIn 0.5s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .form-container h3 {
            font-size: 22px;
            margin-bottom: 20px;
            color: var(--secondary-color);
            text-align: center;
        }
        
        .form-row {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 15px;
        }
        
        .form-group {
            flex: 1;
            min-width: 250px;
            margin-bottom: 15px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 6px;
            font-size: 14px;
            font-weight: 500;
            color: var(--secondary-color);
        }
        
        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            font-size: 14px;
            transition: all 0.3s;
        }
        
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(255, 51, 51, 0.1);
            outline: none;
        }
        
        textarea.form-control {
            resize: vertical;
            min-height: 100px;
        }
        
        .btn-container {
            display: flex;
            justify-content: flex-end;
            gap: 15px;
            margin-top: 20px;
        }
        
        .btn {
            padding: 12px 25px;
            border-radius: 6px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
        }
        
        .btn-secondary {
            background-color: #f0f0f0;
            color: var(--secondary-color);
        }
        
        .btn-secondary:hover {
            background-color: #e0e0e0;
        }
        
        .submit-btn {
            background-color: var(--primary-color);
            color: white;
        }
        
        .submit-btn:hover {
            background-color: #cc0000;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
        }
        
        .animate-pulse {
            position: relative;
            overflow: hidden;
        }
        
        .animate-pulse::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.3);
            transform: translateX(-100%);
            animation: pulse 1.5s infinite;
        }
        
        @keyframes pulse {
            0% { transform: translateX(-100%); }
            60% { transform: translateX(100%); }
            100% { transform: translateX(100%); }
        }
        
        /* Success message */
        .success-message {
            display: none;
            text-align: center;
            padding: 30px;
            animation: fadeIn 0.5s ease;
        }
        
        .success-message i {
            font-size: 60px;
            color: var(--success-color);
            margin-bottom: 20px;
            animation: scaleIn 0.5s ease;
        }
        
        @keyframes scaleIn {
            from { transform: scale(0); }
            to { transform: scale(1); }
        }
        
        .success-message h3 {
            font-size: 24px;
            margin-bottom: 15px;
            color: var(--secondary-color);
        }
        
        .success-message p {
            font-size: 16px;
            color: var(--ash-color);
            margin-bottom: 25px;
        }
        
        .success-message .btn {
            background-color: var(--primary-color);
            color: white;
            padding: 12px 30px;
        }
        
        .success-message .btn:hover {
            background-color: #cc0000;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
               .modal {
        width: 95%;
        max-height: 95vh;
        margin: 0 auto; /* Reinforce centering on mobile */
    }
            
            .modal-header h2 {
                font-size: 24px;
            }
            
            .modal-body {
                padding: 20px;
            }
            
            .option-cards {
                grid-template-columns: 1fr;
            }
            
            .form-row {
                flex-direction: column;
                gap: 0;
            }
            
            .form-group {
                width: 100%;
            }
            
            .btn-container {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
                text-align: center;
            }
        }
        
        /* Add checkmark to selected card */
        .option-card.selected .active-indicator::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
        }


        @media(max-width: 992px){
            .modal-container{
                position: fixed;
    top: 10%;
    bottom: 5%;
    left: 3%;
    width: 100%;
    height: 100%;
    display: flex
;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
    /* background-color: rgba(0, 0, 0, 0.5); */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;

            }
        }