:root {
    --primary-blue: #1c4b8b;
    --hero-bg: #2765b2;
    --orange: #f26822;
    --text-dark: #2a3b50;
    --text-light: #666;
    --bg-light: #f6f9fc;
    --border: #e6ebf1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg-light);
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Nav */
.top-badge-wrapper {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
}

.top-badge {
    position: absolute;
    top: 0;
    right: 15px;
    background: #1c4b8b;
    color: white;
    padding: 6px 14px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    text-align: right;
    z-index: 100;
}

.badge-text1 {
    font-size: 10px;
    opacity: 0.9;
    margin-bottom: 2px;
}

.badge-text2 {
    font-size: 12px;
    font-weight: 700;
    color: #ffdc64;
}

.header {
    background: #fff;
    position: relative;
    z-index: 50;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo img {
    height: 100px;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-right: 180px;
    margin-top: 10px;
    /* Visual nudge for better alignment with logo text */
}

.nav-link {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-blue);
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    line-height: 1;
    transition: all 0.3s ease;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-blue);
}

.post-job-nav-btn {
    background: var(--orange);
    color: #fff !important;
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 104, 34, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.post-job-nav-btn i {
    font-size: 14px;
}

.post-job-nav-btn:hover {
    background: #ea4e0e;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(242, 104, 34, 0.2);
}

.post-job-nav-btn.active::after {
    display: none;
}

/* Hero */
.hero-banner-new {
    width: 100%;
    background: #fff;
    overflow: hidden;
}

/* Search Wrapper */
.search-wrapper {
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.search-inner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    padding: 8px;
    width: 100%;
    max-width: 1080px;
    border: 1px solid #eee;
}

.search-input {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
}

.search-input input,
.search-input select {
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: transparent;
    width: 100%;
}

.search-form {
    display: flex;
    width: 100%;
    align-items: center;
}

.search-input.keyword {
    flex: 2;
}

.search-input.location {
    flex: 1;
}

.search-input.category {
    flex: 1.2;
}

.divider {
    width: 1px;
    height: 40px;
    background: #e0e0e0;
}

.search-btn {
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.faster-hiring {
    margin-top: 20px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    padding: 6px 15px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.fh-text a {
    color: var(--orange);
    font-weight: 700;
}

.rocket-icon {
    width: 20px;
}

/* Text Colors */
.text-blue {
    color: var(--primary-blue);
}

/* Categories */
.categories {
    padding: 20px 0 30px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.cat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0;
    text-align: center;
    display: block;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.cat-img-box {
    background: #eef6fc;
    border-radius: 12px 12px 0 0;
    position: relative;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cat-details {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-badge-top {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #3476cb;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.cat-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
    opacity: 0.9;
    line-height: 1.3;
    margin-bottom: 2px;
}

.cat-count {
    font-weight: 600;
    color: #666;
    font-size: 13px;
}

.cat-count.blue {
    color: #3476cb;
}

.cat-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
    color: #777;
}

.cat-sub .fa-square-check {
    color: #5bc579;
}

/* Govt & Promos */
/* Govt & Promos Redesign */
.govt-promos {
    padding: 20px 0 60px;
}

.split-container {
    display: flex;
    gap: 30px;
}

.govt-panel {
    flex: 1.8;
    background: #ffffff;
    border: none;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.govt-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #1c4b8b, #3b82f6);
}

.govt-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.govt-header h2 {
    font-size: 32px;
    font-weight: 900;
    color: #1a2332;
    margin: 0;
    letter-spacing: -0.5px;
}

.gov-icon {
    width: 44px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.badge-yellow {
    background: #ff7e1a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(255, 126, 26, 0.25);
}

.clouds-bg {
    position: absolute;
    right: -20px;
    top: -20px;
    opacity: 0.15;
    height: 120px;
    pointer-events: none;
}

.tabs {
    display: flex;
    background: #f8fafc;
    padding: 8px;
    border-radius: 14px;
    margin-bottom: 30px;
    gap: 10px;
    border: 1px solid #edf2f7;
}

.tab {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab:hover {
    color: #1c4b8b;
    background: #edf5ff;
}

.tab.active {
    color: #ffffff;
    background: #1c4b8b;
    box-shadow: 0 8px 16px rgba(28, 75, 139, 0.2);
}

.job-list {
    display: flex;
    flex-direction: column;
    min-height: 400px;
    /* Prevent layout jump */
}

.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.list-item:hover {
    transform: translateX(10px) scale(1.02);
    border-color: #3b82f6;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.list-logo {
    border-radius: 12px;
    margin-right: 20px;
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #f8fafc;
    padding: 8px;
    border: 1px solid #edf2f7;
}

.list-content {
    flex: 1;
}

.list-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #334155;
    line-height: 1.4;
}

.list-title .text-blue {
    font-weight: 800;
    color: #1c4b8b;
    display: block;
    margin-bottom: 2px;
}

.list-meta {
    font-size: 14px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-meta i {
    color: #3b82f6;
}

.feat-tag {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 800;
    border-radius: 10px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.bg-orange {
    background: linear-gradient(135deg, #f26822, #ea4e0e);
}

.bg-green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.fade-btn {
    background: #f0f9ff;
    color: #0c4a6e;
    border: 1px solid #bae6fd;
}


/* Promos Panel */
.promos-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-box {
    position: relative;
    border-radius: 12px;
    padding: 30px 25px;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.orange-promo {
    background: linear-gradient(135deg, #fff7f2, #ffebdd);
    border: 1px solid #ffe3cd;
}

.yellow-promo {
    background: linear-gradient(135deg, #fffcf3, #fff3d4);
    border: 1px solid #fae7a0;
}

.promo-text {
    position: relative;
    z-index: 2;
}

.promo-text h3 {
    font-size: 22px;
    font-weight: 800;
    color: #1a2332;
    margin-bottom: 6px;
    line-height: 1.3;
}

.promo-text p {
    font-size: 15px;
    color: #666;
    font-style: italic;
    margin-bottom: 18px;
}

.promo-btn {
    background: var(--orange);
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
}

.promo-img {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 65px;
    z-index: 1;
    object-fit: contain;
}

.promo-img.arrow {
    width: 60px;
    transform: translateY(-10%) rotate(-10deg);
    right: 25px;
}

/* Home Page Contact Form Redesign */
.home-contact-container {
    display: flex;
    align-items: center;
    gap: 60px;
    background: linear-gradient(135deg, rgba(16, 52, 96, 0.05), rgba(59, 130, 246, 0.05));
    padding: 60px;
    border-radius: 30px;
    border: 1px solid rgba(16, 52, 96, 0.1);
    margin-top: 40px;
}

.hc-left {
    flex: 1;
}

.hc-tag {
    color: var(--orange);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hc-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #1a2332;
}

.hc-title span {
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
}

.hc-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(59, 130, 246, 0.1);
    z-index: -1;
}

.hc-desc {
    font-size: 18px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 35px;
}

.hc-features {
    display: flex;
    gap: 30px;
}

.hc-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: #374151;
}

.hc-feat-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(28, 75, 139, 0.2);
}

.hc-right {
    flex: 1;
}

.home-contact-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.form-icon-circle {
    transition: all 0.3s ease;
}

.home-contact-form:hover .form-icon-circle {
    background: #1c4b8b !important;
    color: #ffffff !important;
    transform: rotate(-10deg) scale(1.1);
}


.home-contact-form .f-group {
    margin-bottom: 20px;
}

.home-contact-form input,
.home-contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid #f3f4f6;
    background: #f9fafb;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    box-sizing: border-box;
}

.home-contact-form input:focus,
.home-contact-form textarea:focus {
    border-color: var(--primary-blue);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.hc-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--orange), #ea4e0e);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(242, 104, 34, 0.3);
}

.hc-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(242, 104, 34, 0.4);
}

/* Mobile adjustments */
@media (max-width: 992px) {
    .home-contact-container {
        flex-direction: column;
        padding: 40px 25px;
        gap: 40px;
    }

    .hc-title {
        font-size: 30px;
    }
}


/* Top Companies Marquee */
.top-companies {
    padding: 0 0 50px;
    background: #f3f6fc;
}

.top-companies h2 {
    margin-bottom: 30px;
}

.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    display: flex;
    padding: 10px 0;
}

.marquee-content {
    display: flex;
    width: max-content;
}

.marquee-content:hover .marquee-group {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    gap: 20px;
    padding-right: 20px;
    animation: scrollMarquee 25s linear infinite;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.company-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 90px;
    font-family: Arial, sans-serif;
    gap: 8px;
    flex-shrink: 0;
}

.company-card img {
    max-height: 50px;
    max-width: 140px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.company-card:hover img {
    transform: scale(1.05);
}

/* Featured Jobs */
.featured-jobs {
    padding: 10px 0 60px;
}

.pos-relative {
    position: relative;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.featured-header h2 {
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-upgrade {
    background: linear-gradient(90deg, #f26822, #ea4e0e);
    color: #fff;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 6px;
}

.view-all {
    font-size: 16px;
    font-weight: 700;
    color: #555;
}

.carousel-arrows {
    position: absolute;
    top: 55%;
    left: -20px;
    right: -20px;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.c-arrow {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    pointer-events: auto;
    color: #555;
    font-size: 20px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fcard {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    min-width: calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
    flex-shrink: 0;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.fcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(28, 75, 139, 0.1);
    border-color: var(--primary-blue);
}

.fcard-grid {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.3s;
}

.fcard-grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.fc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.fc-head h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
}

.fc-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.bg-orange-light {
    background: #ffebd9;
    color: #ea5021;
}

.bg-green-light {
    background: #e2f4e8;
    color: #2e9f5b;
}

.hidden-badge {
    visibility: hidden;
}

.fc-company {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.sep {
    margin: 0 10px;
    color: #ccc;
}

.spacer {
    flex: 1;
}

.fc-salary {
    font-size: 20px;
    font-weight: 800;
    color: #222;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.month {
    font-size: 14px;
    font-weight: 500;
    color: #777;
}

.mini-tag {
    font-size: 11px;
    padding: 2px 8px;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
}

.fc-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 18px;
}

.fc-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.bg-green-wa {
    background: #25d366;
}

.bg-blue-ph {
    background: var(--primary-blue);
}

.icon-pill {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    padding: 8px 18px;
    border-radius: 25px;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.icon-pill::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Footer */
.footer {
    background: #103460;
    color: #fff;
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
}

.main-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.socials {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.socials .soc-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    transition: transform 0.2s;
    margin-bottom: 0;
}

.socials .soc-icon:hover {
    transform: translateY(-2px);
}

.s-wa {
    background: #25d366;
}

.s-fb {
    background: #3b5998;
}

.s-in {
    background: #0e76a8;
}

.s-wb {
    background: #00add8;
}

.f-phone {
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
}

.f-col h4 {
    font-size: 16px;
    font-weight: 800;
    color: #8ab6e8;
    margin-bottom: 25px;
}

.f-col a {
    display: block;
    margin-bottom: 15px;
    color: #ccdeff;
    font-size: 15px;
    font-weight: 500;
}

.last-col {
    display: flex;
    flex-direction: column;
}

.icon-login {
    margin-left: 5px;
    font-size: 14px;
}

.copyright {
    margin-top: auto;
    font-size: 12px;
    color: #6d93c4;
    padding-top: 20px;
}

/* ==============================================
   HAMBURGER (hidden by default, shown on mobile)
   ============================================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 300;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 4px;
    transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==============================================
   TABLET  ≤ 900px
   ============================================== */
@media (max-width: 900px) {
    .nav {
        margin-right: 0;
        gap: 18px;
    }

    .top-badge {
        display: none;
    }

    .hero-title {
        font-size: 30px;
    }

    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .fcard {
        min-width: calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 24px;
    }

    .main-col {
        grid-column: span 3;
    }

    .last-col {
        grid-column: span 3;
    }
}

/* ==============================================
   MOBILE  ≤ 768px
   ============================================== */
@media (max-width: 768px) {

    /* -- Header -- */
    .top-badge {
        display: none;
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }

    .logo img {
        height: 42px;
    }

    /* Hide desktop nav, show hamburger */
    .hamburger {
        display: flex;
        position: relative;
        z-index: 300;
    }

    .nav {
        display: none !important;
        position: fixed;
        inset: 0;
        background: #0f2057f5;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        z-index: 250;
        margin: 0;
    }

    .nav.open {
        display: flex !important;
    }

    .nav .nav-link {
        color: #fff;
        font-size: 20px;
        font-weight: 700;
    }

    /* -- Hero -- */
    .hero {
        padding: 24px 0 60px;
        border-bottom-left-radius: 50% 5%;
        border-bottom-right-radius: 50% 5%;
    }

    .hero-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content {
        max-width: 100%;
        margin-top: 0;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-features li {
        font-size: 14px;
    }

    .hero-image-wrap {
        display: none;
    }

    /* -- Search -- */
    .search-box {
        flex-direction: column;
        padding: 8px;
        width: 100%;
    }

    .divider {
        display: none;
    }

    .search-input {
        padding: 10px 12px;
        width: 100%;
    }

    .search-form {
        flex-direction: column;
    }

    .search-input.keyword,
    .search-input.location,
    .search-input.category {
        flex: unset;
    }

    .search-input input,
    .search-input select {
        font-size: 14px;
        width: 100%;
    }

    .search-btn {
        width: 100%;
        margin-top: 8px;
        font-size: 15px;
        padding: 13px;
    }

    .faster-hiring {
        font-size: 13px;
        flex-wrap: wrap;
        text-align: center;
    }

    /* -- Categories -- */
    .categories {
        padding: 16px 0 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .cat-img-box {
        height: 75px;
    }

    .cat-name {
        font-size: 13px;
    }

    /* -- Govt Jobs -- */
    .govt-promos {
        padding: 5px 0 25px;
    }

    .split-container {
        flex-direction: column;
    }

    .govt-panel {
        padding: 16px 14px;
    }

    .govt-header h2 {
        font-size: 18px;
    }

    .tabs {
        flex-wrap: wrap;
        gap: 8px;
        border-bottom: none;
        padding-bottom: 4px;
    }

    .tab {
        font-size: 12px;
        padding: 5px 12px;
        border: 1px solid #dde4ef;
        border-radius: 20px;
        margin-bottom: 0;
    }

    .tab.active {
        background: var(--primary-blue);
        color: #fff;
        border-color: var(--primary-blue);
        border-bottom-color: var(--primary-blue);
    }

    .list-item {
        padding: 10px 12px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .list-logo {
        width: 38px !important;
        height: 38px !important;
        margin-right: 10px;
    }

    .list-title {
        font-size: 13px;
    }

    .list-meta {
        font-size: 12px;
    }

    .feat-tag {
        font-size: 11px;
        padding: 4px 9px;
    }

    .promos-panel {
        flex-direction: column;
    }

    .promo-box {
        padding: 20px 18px;
    }

    .promo-text h3 {
        font-size: 18px;
    }

    /* -- Marquee -- */
    .top-companies {
        padding: 0 0 24px;
    }

    /* -- Featured Carousel -- */
    .featured-jobs {
        padding: 8px 0 30px;
    }

    .featured-header h2 {
        font-size: 18px;
    }

    .c-arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .carousel-arrows {
        left: -5px;
        right: -5px;
    }

    .fcard {
        padding: 14px;
        min-width: 100%;
        max-width: 100%;
    }

    .fc-head h3 {
        font-size: 14px;
    }

    .fc-company {
        font-size: 12px;
    }

    .fc-salary {
        font-size: 16px;
    }

    /* -- Footer -- */
    .footer {
        padding: 36px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .main-col {
        grid-column: span 1;
    }

    .last-col {
        grid-column: span 1;
        flex-direction: column;
    }

    .f-col h4 {
        margin-bottom: 12px;
    }

    .f-phone {
        font-size: 17px;
    }

    /* -- Static pages -- */
    .static-hero h1 {
        font-size: 26px;
    }

    .static-hero p {
        font-size: 15px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .static-card {
        padding: 20px 16px;
    }

    .static-card h2 {
        font-size: 18px;
    }
}

/* ==============================================
   SMALL MOBILE  ≤ 480px
   ============================================== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 20px;
    }

    .hero-features li {
        font-size: 13px;
    }

    .search-hero h1 {
        font-size: 20px;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-img-box {
        height: 65px;
    }

    .faster-hiring {
        justify-content: center;
    }
}