/* ================= CAREER HERO ================= */
.career-hero {
    background: #eef3f8;
    padding: 80px 20px;
}

/* MAIN CONTAINER */
.career-container {
    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* LEFT */
.career-left {
    flex: 1;
}

/* TAG */
.career-left .tag {
    background: none;     /* remove background */
    color: #ff5b5b;       /* red text */
    padding: 0;           /* remove extra space */
    font-weight: 600;
    font-size: 30px;
}

/* TITLE */
.career-left h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* DESC */
.career-left .desc {
    color: #6b7c93;
    font-size: 17.5px;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 30px;
}

/* STATS */
.career-stats {
    display: flex;
    gap: 50px;
}

.stat h2 {
    color: #2d6cdf;
    font-size: 32px;
    font-weight: 800;
}

.stat span {
    display: block;
    font-size: 14px;
    color: #6b7c93;
}

/* RIGHT IMAGE */
.career-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.career-right img {
    width: 100%;
    max-width: 420px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}


/* ================= SECTION ================= */
/* SECTION */
/* SECTION */
.why-section {
    padding: 40px 15px;
    background: #f9fbfd;
}

/* CONTAINER */
.why-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* HEADER */
.why-header {
    text-align: center;
    margin-bottom: 25px;
}

.why-header h2 {
    font-size: 24px;
    font-weight: 600;
}

.why-header h2 span {
    color: #007bff;
}

.why-header p {
    font-size: 14px;
    color: #666;
}

/* GRID */
.why-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* IMAGE (IMPORTANT CHANGE) */
.why-img {
    width: 100%;
    height: auto; /* 🔥 allow natural GIF height */
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

/* HOVER */
.why-img:hover {
    transform: scale(1.05);
}


/* SECTION */
.jobs-section {
    background: #eef2f6;
    padding: 80px 20px;
}

/* HEADER */
.jobs-header {
    text-align: center;
    margin-bottom: 50px;
}

.jobs-header h2 {
    font-size: 34px;
    font-weight: 800;
    color: #111;
}

.jobs-header p {
    font-size: 18px;
    color: #555;
    margin-top: 8px;
}

.jobs-header span {
    color: #2d6cdf;
    font-weight: 600;
}

/* GRID */
.jobs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    min-height: 700px;
}

/* CARD */
.job-card {
    flex: 1 1 calc(33.333% - 30px);
    max-width: 320px;

    background: #fff;
    padding: 25px;
    border-radius: 12px;

    text-align: center;

    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

/* HOVER */
.job-card:hover {
    transform: translateY(-6px);
}

/* TITLE */
.job-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

/* TEXT */
.job-card p {
    font-size: 16px;
    color: #555;
    margin: 6px 0;
}

/* TAGS */
.tags {
    margin: 15px 0;
}

.tags span {
    display: inline-block;
    font-size: 15px;
    background: #e6eefc;
    color: #2d6cdf;

    padding: 5px 10px;
    border-radius: 20px;
    margin: 3px;
}

/* BUTTON */
.apply-btn {
    display: inline-block;
    margin-top: 10px;

    background: #2d6cdf;
    color: #fff;

    padding: 10px 18px;
    border-radius: 8px;

    font-size: 16px;
    text-decoration: none;

    transition: 0.3s;
}

.apply-btn:hover {
    background: #1b4fbd;
}


/* ================= CTA SECTION ================= */

.career-cta {
    background: #4b66a3;
    padding: 70px 20px;
    text-align: center;
}

/* CONTAINER */
.career-cta-container {
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
}

/* TITLE */
.career-cta h2 {
    font-size: clamp(22px, 3vw, 30px); /* responsive scaling */
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* TEXT */
.career-cta p {
    font-size: clamp(14px, 1.2vw, 18px);
    color: #e0e6f2;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* BUTTON */
.career-btn {
    display: inline-block;
    background: #ffffff;
    color: #222;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* HOVER */
.career-btn:hover {
    background: #f1f1f1;
    transform: translateY(-2px);
}



/* ================= TABLET ================= */
@media (max-width: 1024px) {

    .career-container {
        flex-direction: column;
        text-align: center;
    }

    .career-left .desc {
        margin: auto;
    }

    .career-stats {
        justify-content: center;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {

    .career-left h1 {
        font-size: 28px;
    }

    .career-stats {
        flex-direction: column;
        gap: 20px;
    }


    /* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .why-img {
        width: 45%;
    }
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 1024px) {
    .job-card {
        flex: 1 1 calc(50% - 20px);
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .job-card {
        flex: 1 1 100%;
    }

    .jobs-header h2 {
        font-size: 26px;
    }
}


/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 992px) {
    .career-cta {
        padding: 60px 20px;
    }

    .career-cta-container {
        max-width: 700px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .career-cta {
        padding: 50px 15px;
    }

    .career-cta p {
        margin-bottom: 25px;
    }

    .career-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .career-cta {
        padding: 40px 15px;
    }

    .career-cta h2 {
        line-height: 1.4;
    }

    .career-cta p {
        font-size: 13.5px;
    }

    .career-btn {
        width: 100%;          /* full width button */
        max-width: 260px;
    }
}

/* LARGE SCREENS */
@media (min-width: 1400px) {
    .career-cta {
        padding: 90px 20px;
    }

    .career-cta-container {
        max-width: 900px;
    }

    .career-cta h2 {
        font-size: 34px;
    }

    .career-cta p {
        font-size: 17px;
    }
}
}
/* TABLET */
@media (max-width: 768px) {
    .why-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .why-cards {
        grid-template-columns: 1fr;
    }

    .why-header h2 {
        font-size: 20px;
    }
}