/* ===================== Variables ===================== */
:root {
    --primary-color: #013365;
    --secondary-color: #f0f0f0;
    --accent-color: #dda83d;
    --light-color: #ffffff;
    --text-color: #6B7280;
    --button-color: #e9292f;
}

/* ===================== Animations ===================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== General ===================== */
a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}



/* ===================== Hero Section ===================== */
.careers-hero {
    height: 500px;
    background: linear-gradient(rgba(31, 58, 147, 0.4), rgba(31, 58, 147, 0.4)),
        url('../image/HandShake.png') no-repeat center center/cover;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/dark-denim-3.png');
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out forwards;
}

.careers-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.careers-hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color: var(--secondary-color);
}

/* ===================== Sections ===================== */
.section {
    padding: 100px 20px;
    text-align: center;
}

.section-heading h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

/* ===================== Buttons ===================== */
.careers-hero .btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(201, 160, 77, 0.3);
    transition: 0.3s ease;
}

.careers-hero .btn:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 160, 77, 0.4);
}

.careers-hero .btn-outline {
    background-color: transparent;
    border: 2px solid var(--light-color);
    color: var(--light-color);
}

.careers-hero .btn-outline:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* ===================== Benefits ===================== */
.benefits {
    background-color: var(--secondary-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.section-heading h2 {
    color: var(--button-color);
}

.section-heading h2 svg {
    margin-bottom: 5px;
}

.benefit-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.main-icon-sec img {
    width: 60px;
    height: 55px;
    margin: auto;
}

/* ===================== Job Openings ===================== */
.job-openings {
    background-color: var(--light-color);
}

.jobs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.job-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.job-tab {
    padding: 12px 25px;
    margin: 0 10px 10px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
    background-color: transparent;
}

.job-tab.active {
    background-color: var(--primary-color);
    color: white;
}

.job-tab:hover:not(.active) {
    background-color: rgba(31, 58, 147, 0.1);
}

.job-list {
    display: none;
}

.job-list.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.job-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 20px;
    transition: 0.3s ease;
    text-align: left;
    border-left: 4px solid var(--accent-color);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.job-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 0.9rem;
}

.job-meta span {
    display: flex;
    align-items: center;
}

.job-meta i {
    margin-right: 8px;
    color: var(--accent-color);
}

.job-description {
    margin-bottom: 20px;
    color: var(--text-color);
}

.job-apply {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s ease;
}

.job-apply:hover {
    background-color: #b08c3a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 160, 77, 0.3);
}

/* ===================== Culture ===================== */
.culture {
    background-color: var(--primary-color);
    color: white;
    overflow: hidden;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 50px;
}

#careers-page h2 {
    margin-bottom: 0 !important;
    font-size: 1.5rem !important;
    margin-bottom: ;
}

.culture-card {
    /* background-color: rgba(255, 255, 255, 0.1); */
    border-radius: 12px;
    padding: 0 30px;
    backdrop-filter: blur(5px);
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    transition: 0.3s ease;
    text-align: center;
}

.culture-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.culture-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--accent-color);
}

.culture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.culture-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.culture-grid p {
    color: var(--light-color);
}

/* ===================== Responsive ===================== */
@media (max-width: 576px) {
    .careers-hero .btn {
        margin-bottom: 20px;
    }

    .job-tab {
        margin-bottom: 10px;
    }

    .job-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 10px;
    }

    .job-tabs .job-tab:first-child {
        grid-column: 1 / -1;
    }

    .job-list {
        display: none;
    }

    .job-list.active {
        display: block;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 100px 20px;
    }

    .careers-hero h1 {
        font-size: 2.5rem;
    }

    .careers-hero p {
        font-size: 1rem;
    }

    .job-tabs {
        flex-direction: column;
        align-items: center;
    }


}