/* =========================================
   MS INSURANCE - JOBS PAGE CSS
========================================= */


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f9fc;
    color: #172033;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* =========================================
   TOP BAR
========================================= */

.top-bar {
    background: #071d49;
    color: #fff;
    font-size: 13px;
}

.top-bar-inner {
    min-height: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.top-left span,
.top-right a {
    display: flex;
    align-items: center;
    gap: 7px;
}

.top-bar i {
    color: #e7b52d;
}

.top-right a {
    color: #fff;
}

#languageBtn {
    border: 1px solid rgba(255,255,255,.35);
    background: transparent;
    color: #fff;
    padding: 5px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: .3s;
}

#languageBtn:hover {
    background: #fff;
    color: #071d49;
}


/* =========================================
   HEADER
========================================= */

.main-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e9edf3;
    transition: .3s;
}

.main-header.scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.lic-logo {
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 7px;
    background: #fff;
}

.lic-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    color: #071d49;
    font-size: 21px;
    letter-spacing: .5px;
}

.brand-text span {
    color: #777;
    font-size: 12px;
    margin-top: 1px;
}


/* =========================================
   DESKTOP NAV
========================================= */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.desktop-nav > a {
    color: #27334b;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    padding: 31px 0;
    transition: .3s;
}

.desktop-nav > a:not(.consultation-btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 23px;
    width: 0;
    height: 2px;
    background: #d8a91d;
    transition: .3s;
}

.desktop-nav > a:hover,
.desktop-nav > a.active {
    color: #071d49;
}

.desktop-nav > a:hover::after,
.desktop-nav > a.active::after {
    width: 100%;
}

.consultation-btn {
    background: #d8a91d;
    color: #fff !important;
    padding: 12px 18px !important;
    border-radius: 5px;
    transition: .3s;
}

.consultation-btn:hover {
    background: #b88c0e;
    transform: translateY(-2px);
}


/* =========================================
   MOBILE MENU
========================================= */

.mobile-menu-btn {
    display: none;
    border: 0;
    background: #071d49;
    color: #fff;
    width: 43px;
    height: 43px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 19px;
}

.mobile-nav {
    display: none;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.mobile-nav.show {
    display: flex;
    flex-direction: column;
}

.mobile-nav a {
    padding: 14px 5%;
    border-bottom: 1px solid #edf0f4;
    color: #172033;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav a i {
    width: 20px;
    color: #c79b17;
}

.mobile-nav a:hover {
    background: #f7f9fc;
}

.mobile-consultation {
    background: #071d49 !important;
    color: #fff !important;
    justify-content: center;
}


/* =========================================
   COMMON SECTION
========================================= */

section {
    position: relative;
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 45px;
}

.section-heading > span {
    display: inline-block;
    color: #c49314;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 9px;
}

.section-heading h2 {
    color: #071d49;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-heading p {
    color: #6c7484;
    font-size: 15px;
}


/* =========================================
   HERO
========================================= */

.jobs-hero {
    background:
        linear-gradient(
            120deg,
            #071d49 0%,
            #0b2b67 55%,
            #123c82 100%
        );
    color: #fff;
    overflow: hidden;
}

.jobs-hero::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    right: -120px;
    top: -160px;
}

.jobs-hero::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 50%;
    left: -120px;
    bottom: -130px;
}

.jobs-hero-inner {
    min-height: 510px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 70px;
    padding-top: 65px;
    padding-bottom: 65px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f1c84b;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
    margin-bottom: 22px;
    max-width: 700px;
}

.hero-content h1 span {
    color: #e8bb36;
}

.hero-content p {
    max-width: 630px;
    color: rgba(255,255,255,.78);
    font-size: 17px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    min-height: 49px;
    padding: 0 21px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 700;
    transition: .3s;
}

.primary-btn {
    background: #dfb22e;
    color: #fff;
}

.primary-btn:hover {
    background: #c79b17;
    transform: translateY(-2px);
}

.secondary-btn {
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    background: rgba(255,255,255,.06);
}

.secondary-btn:hover {
    background: #fff;
    color: #071d49;
}


/* =========================================
   HERO CARD
========================================= */

.hero-job-card {
    background: #fff;
    color: #172033;
    padding: 34px;
    border-radius: 12px;
    box-shadow: 0 25px 55px rgba(0,0,0,.22);
    position: relative;
    z-index: 2;
}

.hero-card-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #f9f1d8;
    color: #c29415;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    margin-bottom: 20px;
}

.hero-job-card h3 {
    color: #071d49;
    font-size: 25px;
    margin-bottom: 10px;
}

.hero-job-card > p {
    color: #70798a;
    font-size: 14px;
    margin-bottom: 22px;
}

.hero-card-points {
    display: grid;
    gap: 13px;
}

.hero-card-points div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

.hero-card-points i {
    color: #c29415;
}


/* =========================================
   JOB CATEGORIES
========================================= */

.job-categories {
    padding: 85px 0;
    background: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.category-card {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 10px;
    padding: 30px 25px;
    transition: .3s;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #d5a91f;
    transform: scaleX(0);
    transform-origin: left;
    transition: .3s;
}

.category-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 35px rgba(20,35,65,.11);
    border-color: #dfe4eb;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 58px;
    height: 58px;
    border-radius: 9px;
    background: #f7f0d9;
    color: #bb8e12;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 20px;
}

.category-card h3 {
    color: #071d49;
    font-size: 20px;
    margin-bottom: 8px;
}

.category-card p {
    color: #70798a;
    font-size: 14px;
    margin-bottom: 20px;
}

.category-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #178b4b;
    font-weight: 700;
    font-size: 14px;
    transition: .3s;
}

.category-whatsapp:hover {
    color: #0c6d38;
    transform: translateX(3px);
}


/* =========================================
   GOVERNMENT JOBS
========================================= */

.job-listing {
    padding: 85px 0;
    background: #f6f8fb;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.job-card {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 10px;
    padding: 25px;
    transition: .3s;
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 17px 35px rgba(20,35,65,.10);
}

.job-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.job-company-icon {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: #eef3fa;
    color: #0a326d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.job-type {
    background: #f8efd3;
    color: #96700d;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 20px;
}

.job-card h3 {
    color: #071d49;
    font-size: 19px;
    margin-bottom: 8px;
}

.job-card > p {
    color: #737c8d;
    font-size: 14px;
    margin-bottom: 18px;
}

.job-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    border-top: 1px solid #edf0f4;
    border-bottom: 1px solid #edf0f4;
    padding: 13px 0;
    margin-bottom: 17px;
}

.job-details span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #697386;
    font-size: 12px;
}

.job-details i {
    color: #bd9015;
}

.job-btn {
    width: 100%;
    min-height: 45px;
    background: #071d49;
    color: #fff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: .3s;
}

.job-btn:hover {
    background: #0c2d66;
    transform: translateY(-2px);
}

.job-btn i {
    color: #49d985;
    font-size: 17px;
}


/* =========================================
   PRIVATE JOBS
========================================= */

.private-jobs {
    padding: 85px 0;
    background: #fff;
}


/* =========================================
   CAREER UPDATES
========================================= */

.career-updates {
    padding: 85px 0;
    background: #f6f8fb;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.update-card {
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 10px;
    padding: 28px 22px;
    text-align: center;
    transition: .3s;
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(20,35,65,.09);
}

.update-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 17px;
    border-radius: 50%;
    background: #f8efd5;
    color: #b88b12;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.update-card h3 {
    color: #071d49;
    font-size: 18px;
    margin-bottom: 7px;
}

.update-card p {
    color: #727b8b;
    font-size: 13px;
    margin-bottom: 15px;
}

.update-card a {
    color: #178b4b;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


/* =========================================
   RESUME SECTION
========================================= */

.resume-section {
    padding: 90px 0;
    background: #071d49;
    color: #fff;
}

.resume-inner {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 65px;
    align-items: center;
}

.resume-tag {
    color: #e6ba37;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    font-weight: 800;
}

.resume-content h2 {
    font-size: 40px;
    line-height: 1.15;
    margin: 12px 0 18px;
}

.resume-content > p {
    color: rgba(255,255,255,.72);
    font-size: 15px;
    margin-bottom: 28px;
}

.resume-points {
    display: grid;
    gap: 14px;
}

.resume-points div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

.resume-points i {
    color: #e6ba37;
}


/* =========================================
   RESUME FORM
========================================= */

.resume-form-box {
    background: #fff;
    color: #172033;
    padding: 32px;
    border-radius: 11px;
    box-shadow: 0 20px 50px rgba(0,0,0,.20);
}

.resume-form-box h3 {
    color: #071d49;
    font-size: 25px;
    margin-bottom: 4px;
}

.resume-form-box > p {
    color: #747d8c;
    font-size: 13px;
    margin-bottom: 23px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    color: #303b4e;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #dce2e9;
    border-radius: 5px;
    padding: 12px 13px;
    outline: none;
    color: #172033;
    background: #fff;
    font-size: 13px;
    transition: .25s;
}

.form-group input {
    min-height: 44px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1d4f95;
    box-shadow: 0 0 0 3px rgba(29,79,149,.08);
}

.form-group input[type="file"] {
    padding: 9px;
    cursor: pointer;
}

.form-group small {
    display: block;
    color: #89919e;
    font-size: 11px;
    margin-top: 5px;
}

.resume-submit-btn {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 5px;
    background: #d2a51e;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: .3s;
}

.resume-submit-btn:hover {
    background: #b88d12;
    transform: translateY(-2px);
}


/* =========================================
   RESUME SUCCESS
========================================= */

.resume-success {
    display: none;
    margin-top: 17px;
    padding: 14px;
    background: #eaf8f0;
    border: 1px solid #c7ecd6;
    border-radius: 6px;
    color: #176b3c;
    gap: 11px;
    align-items: flex-start;
}

.resume-success.show {
    display: flex;
}

.resume-success > i {
    font-size: 20px;
    margin-top: 2px;
}

.resume-success strong {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}

.resume-success span {
    display: block;
    font-size: 12px;
}


/* =========================================
   FINAL CTA
========================================= */

.final-cta {
    background: #f6f8fb;
    padding: 75px 0;
}

.cta-content {
    text-align: center;
    max-width: 760px;
    margin: auto;
}

.cta-content > span {
    color: #bd9014;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.cta-content h2 {
    color: #071d49;
    font-size: 38px;
    margin: 10px 0 12px;
}

.cta-content p {
    color: #727b8a;
    font-size: 15px;
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-call,
.cta-whatsapp {
    min-height: 48px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    transition: .3s;
}

.cta-call {
    background: #071d49;
    color: #fff;
}

.cta-call:hover {
    background: #0d316d;
    transform: translateY(-2px);
}

.cta-whatsapp {
    background: #168b4b;
    color: #fff;
}

.cta-whatsapp:hover {
    background: #0d703b;
    transform: translateY(-2px);
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #061735;
    color: #fff;
}

.footer-grid {
    padding-top: 65px;
    padding-bottom: 50px;
    display: grid;
    grid-template-columns: 1.3fr .8fr .9fr 1.2fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    background: #fff;
    border-radius: 5px;
}

.footer-brand strong {
    display: block;
    color: #fff;
    font-size: 18px;
}

.footer-brand span {
    color: #aeb8c9;
    font-size: 11px;
}

.footer-about > p {
    color: #aeb8c9;
    font-size: 13px;
    max-width: 270px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 15px;
    margin-bottom: 17px;
    color: #fff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links a {
    color: #aeb8c9;
    font-size: 13px;
    transition: .25s;
}

.footer-links a:hover {
    color: #e3b735;
    transform: translateX(3px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-contact p,
.footer-contact a {
    color: #aeb8c9;
    font-size: 12px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.footer-contact i {
    color: #d9ad2b;
    margin-top: 3px;
    min-width: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.09);
}

.footer-bottom .container {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom p {
    color: #8e99ac;
    font-size: 11px;
    text-align: center;
}


/* =========================================
   FLOATING CONTACT
========================================= */

.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-contact a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 23px;
    box-shadow: 0 7px 20px rgba(0,0,0,.20);
    transition: .3s;
}

.floating-whatsapp {
    background: #19a854;
}

.floating-call {
    background: #0b428c;
}

.floating-contact a:hover {
    transform: scale(1.08);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {

    .desktop-nav {
        gap: 15px;
    }

    .desktop-nav > a {
        font-size: 13px;
    }

    .jobs-hero-inner {
        gap: 40px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .updates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   TABLET / MOBILE
========================================= */

@media (max-width: 850px) {

    .top-bar-inner {
        min-height: 38px;
    }

    .top-left {
        display: none;
    }

    .top-bar-inner {
        justify-content: center;
    }

    .header-inner {
        min-height: 70px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .jobs-hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-job-card {
        max-width: 560px;
        width: 100%;
        margin: auto;
    }

    .resume-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .resume-content {
        text-align: center;
    }

    .resume-points {
        max-width: 350px;
        margin: auto;
        text-align: left;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .container {
        width: 91%;
    }

    .top-right {
        gap: 12px;
    }

    .top-right a {
        font-size: 11px;
    }

    #languageBtn {
        padding: 4px 8px;
        font-size: 11px;
    }

    .brand-text strong {
        font-size: 17px;
    }

    .brand-text span {
        font-size: 10px;
    }

    .lic-logo {
        width: 48px;
        height: 48px;
    }

    .header-inner {
        min-height: 64px;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .jobs-hero-inner {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hero-content h1 {
        font-size: 39px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .hero-job-card {
        padding: 25px;
    }

    .job-categories,
    .job-listing,
    .private-jobs,
    .career-updates,
    .resume-section {
        padding: 65px 0;
    }

    .category-grid,
    .jobs-grid,
    .updates-grid {
        grid-template-columns: 1fr;
    }

    .category-card,
    .job-card {
        padding: 23px;
    }

    .resume-content h2 {
        font-size: 31px;
    }

    .resume-form-box {
        padding: 22px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cta-content h2 {
        font-size: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 50px;
    }

    .footer-about > p {
        max-width: none;
    }

    .floating-contact {
        right: 13px;
        bottom: 13px;
    }

    .floating-contact a {
        width: 47px;
        height: 47px;
        font-size: 20px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 390px) {

    .top-right a {
        font-size: 10px;
    }

    .top-right a i {
        display: none;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-job-card h3 {
        font-size: 21px;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .resume-form-box {
        padding: 19px 14px;
    }

}