/* 
   Career Page Styles
   Hind Industec - 2025
*/


/* General Styling */
:root {
    --primary-color: #003280;
    --primary-color-rgb: 109, 199, 122;
    --text-color: #343a40;
    --light-bg: #f7f8fa;
    --shadow-color: rgba(53, 64, 78, 0.2);
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
}

/* Page Header Enhancement */

.heading-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
}

.current-openings-link {
    white-space: nowrap;
}

.career-title{
    font-size: 1.7rem;
    font-weight: 700;
    color: #212529;
    border-bottom: 2px solid #333;
    width: 100%;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    text-align: left;
    word-wrap: break-word;
    padding-top: 35px;

}

.career-openings{
    font-size: 1.7rem;
    font-weight: 700;
    color: #212529;
    text-align: left;
    word-wrap: break-word;
    margin: 0;
}
.page-header {
    padding-top: 46px;
    padding-bottom: 60px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(25, 16, 91, 0.116);
    border-radius: 50%;
    transform: translate(30%, -30%);
    z-index: 0;
} */

/* .page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(25, 16, 91, 0.116);
    border-radius: 50%;
    transform: translate(-30%, 30%);
    z-index: 0;
} */

.display-3-css {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.display-3-css::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

/* Job Card Styling */
.job-card {
    transition: var(--transition);
    height: 100%;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.job-card .card-body {
    padding: 1.5rem;
}

.job-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.job-info {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.job-info i {
    width: 20px;
    margin-right: 10px;
    color: var(--primary-color);
}

/* Badge Enhancement */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 30px;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-primary {
    background-color: var(--primary-color) !important;
    box-shadow: 0 3px 5px rgba(109, 199, 122, 0.3);
}

/* Button Enhancement */
.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(109, 199, 122, 0.4);
}

.btn-primary:hover {
    background-color: #040d89 !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(109, 199, 122, 0.5);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease-out;
    z-index: -1;
}

.btn-primary:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Urgent Tag Animation */
.urgent-tag {
    position: relative;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Current Openings Link */
.current-openings-link {
    position: relative;
    font-weight: 600;
    text-decoration: none;
    color: black;
    padding-bottom: 5px;
    align-self: center;
    margin-left: 15px;
}

/* .current-openings-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
} */

.current-openings-link:hover::after {
    width: 100%;
}

/* Email Link Styling */
a.text-primary {
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

/* a.text-primary:hover {
    color: #000000 !important;
    text-decoration: underline;
} */

/* Empty State Styling */
.empty-state {
    text-align: center;
    padding: 3rem 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.empty-state p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Spinner Enhancement */
#spinner {
    background-color: rgba(255, 255, 255, 0.95) !important;
    z-index: 9999;
}

.spinner-border.text-primary {
    border-color: var(--primary-color) !important;
    border-right-color: transparent !important;
}

/* Section Title Styling */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    height: 3px;
    width: 50px;
    background-color: var(--primary-color);
}

/* Card Animations */
.job-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .page-header {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    .display-3-css {
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding-top: 90px;
        padding-bottom: 30px;
    }
    
    .display-3-css {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .display-3-css::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .right-para {
        text-align: center;
    }
    
    .right-para h4 {
        font-size: 1.3rem;
    }
    
    .section-title {
        display: block;
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .current-openings-link {
        display: block;
        text-align: center;
        margin-top: 0.5rem;
      

    }
}

@media (max-width: 575.98px) {
    .btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .job-card .card-body {
        padding: 1.2rem;
    }
    
    .job-info {
        font-size: 0.9rem;
    }
}