/* CAREER PAGE - Bootstrap 3 / Font Awesome 4.7
   Typography aligned with About and Website Development pages.
   CSS-only modal; no JavaScript or jQuery. */
/* HERO */
.career-hero {
    position: relative;
    min-height: 320px;
    padding: 55px 0;
    overflow: hidden;
    color: #fff;
    background: #031c3a url('../img/career_banner.png') center center/cover no-repeat
}
.career-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(0,18,43,.95),rgba(0,29,61,.86) 43%,rgba(0,29,61,.10))
}
.career-hero .container {
    position: relative;
    z-index: 2
}
.career-hero-content {
    max-width: 590px
}
.career-breadcrumb {
    margin-bottom: 22px;
    color: rgba(255,255,255,.85);
    font-size: 14px;
    font-weight: 400
}
.career-breadcrumb a {
    color: #d7f5ff;
    text-decoration: none
}
.career-breadcrumb a:hover {
    color: #00d1ce
}
.career-breadcrumb i {
    margin: 0 10px;
    color: #00d5d0
}
.career-hero h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 55px;
    line-height: 1.1;
    font-weight: 800
}
.career-hero h1 span {
    color: #00d1ce
}
.career-hero p {
    max-width: 540px;
    margin: 0 0 24px;
    color: #e2edf8;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400
}
.career-btn, .career-outline-btn, .career-apply-btn {
    display: inline-block;
    border-radius: 30px;
    text-decoration: none!important;
    font-size: 14px;
    font-weight: 700;
    transition: all .3s ease
}
.career-btn {
    padding: 13px 25px;
    color: #fff!important;
    background: linear-gradient(100deg,#00a9b5,#00c5a9);
    box-shadow: 0 8px 22px rgba(0,195,190,.22)
}
.career-btn i, .career-outline-btn i, .career-apply-btn i {
    margin-left: 12px;
    transition: transform .3s ease
}
.career-btn:hover, .career-apply-btn:hover {
    color: #fff!important;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,201,192,.32)
}
.career-btn:hover i, .career-outline-btn:hover i, .career-apply-btn:hover i {
    transform: translateX(4px)
}
/* TYPOGRAPHY */
.career-growth-section, .career-join-section, .career-modal {
    font-family: inherit
}
.career-eyebrow {
    margin: 0 0 12px;
    color: #009e9b;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase
}
.career-growth-content h2, .career-join-content h2, .career-modal-header h2 {
    margin: 0 0 14px;
    color: #101d40;
    font-size: 35px;
    line-height: 1.2;
    font-weight: 800
}
.career-growth-content h2 span, .career-modal-header h2 span {
    color: #00a99f
}
.career-description, .career-join-content p {
    color: #43516d;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400
}
/* GROW YOUR CAREER */
.career-growth-section {
    position: relative;
    padding: 65px 0 58px;
    overflow: hidden;
    background: linear-gradient(120deg,#f3faff,#fff 48%,#eaf7ff)
}
.career-growth-section:before {
    content: "";
    position: absolute;
    top: 35px;
    right: 4%;
    width: 90px;
    height: 90px;
    opacity: .45;
    pointer-events: none;
    background-image: radial-gradient(#00b8d2 2px,transparent 2px);
    background-size: 15px 15px
}
.career-growth-row, .career-join-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap
}
.career-growth-content {
    padding: 0 18px 0 0
}
.career-description {
    margin: 0 0 20px
}
.career-outline-btn {
    padding: 11px 21px;
    color: #008f91!important;
    border: 1px solid #00aaa5;
    background: #fff
}
.career-outline-btn:hover {
    color: #fff!important;
    background: #00aaa5;
    transform: translateY(-2px)
}
.career-team-image {
    position: relative;
    margin: 28px 8px 0 0
}
.career-team-image img {
    display: block;
    width: 100%;
    height: 245px;
    object-fit: cover;
    border-radius: 22px 70px 22px 70px;
/*    box-shadow: 0 14px 35px rgba(20,66,104,.13)*/
}
.career-image-caption {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 12px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 7px 22px rgba(14,48,83,.13)
}
.caption-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 10px;
    border-radius: 50%;
    color: #fff;
    background: #00b9ae;
    font-size: 16px
}
.career-image-caption strong, .career-image-caption small {
    display: block
}
.career-image-caption strong {
    color: #102044;
    font-size: 12px;
    font-weight: 800
}
.career-image-caption small {
    margin-top: 2px;
    color: #52617a;
    font-size: 10px
}
/* BENEFIT CARDS */
.career-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
    padding-left: 10px
}
.career-benefit-card {
    min-height: 178px;
    padding: 20px 14px 17px;
    text-align: center;
    border: 1px solid rgba(225,239,248,.9);
    border-radius: 17px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 8px 24px rgba(28,79,116,.045);
    transition: all .3s ease
}
.career-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 13px 28px rgba(28,79,116,.10)
}
.career-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 53px;
    height: 53px;
    margin: 0 auto 12px;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 7px 16px rgba(0,0,0,.10)
}
.benefit-teal {
    background: linear-gradient(135deg,#00c9b7,#00a99f)
}
.benefit-blue {
    background: linear-gradient(135deg,#28b7f5,#1976ed)
}
.benefit-orange {
    background: linear-gradient(135deg,#ffbd36,#ff8a00)
}
.benefit-purple {
    background: linear-gradient(135deg,#bd55f5,#8536dc)
}
.benefit-green {
    background: linear-gradient(135deg,#28d18a,#00a85a)
}
.benefit-pink {
    background: linear-gradient(135deg,#ff6e9c,#ed3670)
}
.career-benefit-card h3 {
    margin: 0 0 7px;
    color: #102044;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800
}
.career-benefit-card p {
    margin: 0;
    color: #52617a;
    font-size: 13px;
    line-height: 1.65;
    font-weight: 400
}
/* JOIN OUR TEAM */
.career-join-section {
    position: relative;
    padding: 55px 0 48px;
    overflow: hidden;
    background: linear-gradient(115deg,#eaf8ff,#dff3ff 58%,#f4fbff)
}
.career-join-content {
    padding-right: 25px
}
.career-join-content h2 {
    margin-bottom: 14px
}
.career-join-content p {
    margin: 0 0 10px
}
.career-join-content .career-btn {
    margin-top: 13px
}
.career-hiring-image {
    text-align: center
}
.career-hiring-image img {
    display: inline-block;
    width: 100%;
    max-height: 390px;
    object-fit: contain
}
/* CSS-ONLY MODAL: href="#job-openings" opens it; close link returns to #join-our-team */
.career-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(3,19,43,.78);
    transition: opacity .25s ease,visibility .25s ease
}
.career-modal:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto
}
.career-modal-backdrop {
    position: absolute;
    inset: 0;
    display: block;
    cursor: default
}
.career-modal-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    max-height: 90vh;
    padding: 28px;
    overflow-y: auto;
    border-radius: 20px;
    background: #f2faff;
    box-shadow: 0 25px 70px rgba(0,0,0,.28);
    transform: translateY(18px);
    transition: transform .25s ease
}
.career-modal:target .career-modal-dialog {
    transform: translateY(0)
}
.career-modal-header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 48px 20px 0
}
.career-modal-header .career-eyebrow {
    margin-bottom: 8px
}
.career-modal-header h2 {
    margin-bottom: 8px
}
.career-modal-header>div>p:last-child {
    margin: 0;
    color: #43516d;
    font-size: 15px;
    line-height: 1.7
}
.career-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border-radius: 50%;
    color: #fff!important;
    background: #102044;
    text-decoration: none!important;
    font-size: 18px;
    transition: all .25s ease
}
.career-modal-close:hover {
    color: #fff!important;
    background: #00a99f;
    transform: rotate(90deg)
}
/* JOB CARDS */
.career-jobs-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 17px
}
.career-job-card {
    padding: 20px;
    border: 1px solid #e7f0f7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(25,74,112,.055)
}
.career-job-title-row {
    display: flex;
    align-items: center;
    margin-bottom: 17px
}
.career-job-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    margin-right: 13px;
    border-radius: 50%;
    color: #fff;
    font-size: 23px;
    box-shadow: 0 5px 14px rgba(0,0,0,.12)
}
.job-blue {
    background: linear-gradient(135deg,#168dff,#1760e9)
}
.job-red {
    background: linear-gradient(135deg,#ff647c,#dc123e)
}
.job-purple {
    background: linear-gradient(135deg,#b55cf4,#7a35d9)
}
.job-pink {
    background: linear-gradient(135deg,#ff6f9c,#e93670)
}
.career-job-title-row h3 {
    margin: 0 0 8px;
    color: #102044;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 800
}
.career-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 13px;
    color: #52617a;
    font-size: 11px;
    line-height: 1.5
}
.career-job-meta span {
    white-space: nowrap
}
.career-job-meta i {
    margin-right: 4px;
    color: #00a99f
}
.career-job-card h4 {
    margin: 13px 0 6px;
    color: #102044;
    font-size: 13px;
    font-weight: 800
}
.career-job-card>p {
    margin: 0 0 12px;
    color: #52617a;
    font-size: 13px;
    line-height: 1.65
}
.career-job-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}
.career-job-details h4 {
    margin-top: 8px
}
.career-job-details ul {
    margin: 0;
    padding: 0;
    list-style: none
}
.career-job-details li {
    position: relative;
    margin-bottom: 6px;
    padding-left: 17px;
    color: #52617a;
    font-size: 12px;
    line-height: 1.5
}
.career-job-details li:before {
    content: "\f058";
    position: absolute;
    top: 1px;
    left: 0;
    color: #00b9ae;
    font-family: FontAwesome;
    font-size: 12px
}
.career-apply-btn {
    margin-top: 13px;
    padding: 10px 20px;
    color: #fff!important;
    background: linear-gradient(100deg,#00a9b5,#00c5a9);
    box-shadow: 0 6px 16px rgba(0,195,190,.20)
}
/* RESPONSIVE */
@media (max-width:1199px) {
    .career-benefit-card {
        min-height: 190px
    }
    .career-job-title-row h3 {
        font-size: 16px
    }
}
@media (max-width:991px) {
    .career-hero {
        min-height: 300px;
        padding: 48px 0;
        background-position: 58% center
    }
    .career-hero h1 {
        font-size: 45px
    }
    .career-growth-row, .career-join-row {
        display: block
    }
    .career-growth-content, .career-join-content {
        padding-right: 0
    }
    .career-team-image {
        max-width: 560px;
        margin: 25px auto 35px
    }
    .career-benefits-grid {
        padding-left: 0
    }
    .career-benefit-card {
        min-height: 165px
    }
    .career-join-content {
        margin-bottom: 25px
    }
    .career-hiring-image img {
        max-height: 340px
    }
    .career-modal-dialog {
        max-width: 760px
    }
}
@media (max-width:767px) {
    .career-hero {
        min-height: 280px;
        padding: 42px 0;
        background-position: 62% center
    }
    .career-hero:before {
        background: linear-gradient(90deg,rgba(0,18,43,.96),rgba(0,29,61,.78))
    }
    .career-hero h1 {
        font-size: 36px
    }
    .career-growth-section, .career-join-section {
        padding: 42px 0
    }
    .career-growth-content h2, .career-join-content h2, .career-modal-header h2 {
        font-size: 29px
    }
    .career-benefits-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px
    }
    .career-benefit-card {
        min-height: 160px;
        padding: 17px 11px
    }
    .career-team-image img {
        height: 230px
    }
    .career-modal {
        padding: 10px
    }
    .career-modal-dialog {
        max-height: 94vh;
        padding: 19px 14px;
        border-radius: 14px
    }
    .career-jobs-grid {
        grid-template-columns: 1fr;
        gap: 13px
    }
    .career-modal-header {
        padding-right: 42px
    }
    .career-modal-header>div>p:last-child {
        font-size: 13px
    }
}
@media (max-width:480px) {
    .career-hero h1 {
        font-size: 31px
    }
    .career-hero p, .career-description, .career-join-content p {
        font-size: 14px
    }
    .career-growth-content h2, .career-join-content h2, .career-modal-header h2 {
        font-size: 26px
    }
    .career-benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px
    }
    .career-benefit-card {
        min-height: 170px;
        padding: 14px 8px
    }
    .career-benefit-card h3 {
        font-size: 13px
    }
    .career-benefit-card p {
        font-size: 11px
    }
    .career-job-card {
        padding: 15px
    }
    .career-job-title-row {
        align-items: flex-start
    }
    .career-job-icon {
        flex-basis: 45px;
        width: 45px;
        height: 45px;
        margin-right: 10px;
        font-size: 19px
    }
    .career-job-title-row h3 {
        font-size: 15px
    }
    .career-job-meta {
        gap: 5px 9px;
        font-size: 10px
    }
    .career-job-details {
        grid-template-columns: 1fr;
        gap: 3px
    }
}

/* =====================================================
   FINAL TYPOGRAPHY OVERRIDES
   Matched with web-development.css typography system.
   Keep this block at the END of career.css.
===================================================== */

/* Eyebrow labels */
.career-eyebrow {
    display: block;
    margin: 0 0 12px;
    color: #009e9b;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Main section and modal headings */
.career-growth-content h2,
.career-join-content h2,
.career-modal-header h2 {
    margin: 0 0 14px;
    color: #101d40;
    font-size: 35px;
    line-height: 1.2;
    font-weight: 800;
}

/* Highlighted heading text */
.career-growth-content h2 span,
.career-join-content h2 span,
.career-modal-header h2 span {
    color: #00a99f;
}

/* Section descriptions */
.career-description,
.career-join-content p {
    color: #43516d;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}

/* Hero typography */
.career-breadcrumb {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
}

.career-hero h1 {
    color: #ffffff;
    font-size: 55px;
    line-height: 1.1;
    font-weight: 800;
}

.career-hero h1 span {
    color: #00d1ce;
}

.career-hero p {
    color: #e2edf8;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}

/* Buttons */
.career-btn,
.career-outline-btn,
.career-apply-btn {
    font-size: 14px;
    font-weight: 700;
}

/* Benefit card typography */
.career-benefit-card h3 {
    color: #102044;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
}

.career-benefit-card p {
    color: #52617a;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
}

/* Job card typography */
.career-job-title-row h3 {
    color: #102044;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
}

.career-job-meta {
    color: #52617a;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.career-job-card h4 {
    color: #102044;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
}

.career-job-card > p,
.career-job-details li {
    color: #52617a;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
}

/* Modal supporting text */
.career-modal-header > div > p:last-child {
    color: #43516d;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}

/* Tablet typography - same breakpoints as web-development.css */
@media (max-width: 991px) {
    .career-hero h1 {
        font-size: 45px;
    }

    .career-growth-content h2,
    .career-join-content h2,
    .career-modal-header h2 {
        font-size: 29px;
    }
}

/* Mobile typography */
@media (max-width: 767px) {
    .career-hero h1 {
        font-size: 39px;
    }

    .career-growth-content h2,
    .career-join-content h2,
    .career-modal-header h2 {
        font-size: 28px;
    }

    .career-description,
    .career-join-content p,
    .career-hero p {
        font-size: 14px;
    }

    .career-modal-header > div > p:last-child {
        font-size: 14px;
    }
}

/* Small mobile typography */
@media (max-width: 420px) {
    .career-hero h1 {
        font-size: 34px;
    }

    .career-growth-content h2,
    .career-join-content h2,
    .career-modal-header h2 {
        font-size: 26px;
    }
}

/* JOIN OUR TEAM - match WHY JOIN US heading typography exactly */
.career-join-content .career-eyebrow {
    color: #009e9b !important;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800 !important;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.career-join-content h2 {
    margin: 0 0 14px;
    color: #101d40 !important;
    font-size: 35px;
    line-height: 1.2;
    font-weight: 800 !important;
}

.career-join-content h2 span {
    color: #00a99f !important;
    font-size: inherit;
    font-weight: inherit;
}

@media (max-width: 991px) {
    .career-join-content h2 {
        font-size: 29px;
    }
}

@media (max-width: 767px) {
    .career-join-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 420px) {
    .career-join-content h2 {
        font-size: 26px;
    }
}