/* =========================================================
   CATEGORIES PAGE
   JobsInGoa
========================================================= */
/* =========================================================
   HERO
========================================================= */
.categories-hero {
    position: relative;
    padding: 75px 0 85px;
    background:
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #eef5ff 100%
        );
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.categories-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background:
        rgba(
            11,
            99,
            246,
            0.05
        );
    top: -220px;
    right: -100px;
}
.categories-hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background:
        rgba(
            11,
            99,
            246,
            0.04
        );
    bottom: -180px;
    left: -100px;
}
.categories-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}
.categories-hero-content .section-label {
    display: inline-block;
    margin-bottom: 15px;
}
.categories-hero-content h1 {
    margin: 0;
    font-family:
        "Plus Jakarta Sans",
        sans-serif;
    font-size:
        clamp(
            34px,
            5vw,
            56px
        );
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--dark);
}
.categories-hero-content p {
    max-width: 650px;
    margin: 18px auto 32px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}
/* =========================================================
   SEARCH
========================================================= */
.categories-search {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow:
        0 12px 35px
        rgba(
            16,
            24,
            40,
            0.08
        );
}
.category-search-input {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 0 14px;
}
.category-search-input i {
    flex-shrink: 0;
    margin-right: 12px;
    color: var(--muted);
    font-size: 17px;
}
.category-search-input input {
    width: 100%;
    min-height: 48px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--dark);
    font-family: inherit;
    font-size: 15px;
}
.category-search-input
input::placeholder {
    color: #98a2b3;
}
.categories-search .btn {
    flex-shrink: 0;
    min-height: 48px;
    white-space: nowrap;
}
/* =========================================================
   STATS
========================================================= */
.category-stats-section {
    position: relative;
    z-index: 5;
    margin-top: -32px;
}
.category-stats {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.category-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    border-right: 1px solid var(--border);
}
.category-stat:last-child {
    border-right: 0;
}
.category-stat-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef5ff;
    color: var(--primary);
    font-size: 19px;
}
.category-stat strong {
    display: block;
    color: var(--dark);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2;
}
.category-stat span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
}
/* =========================================================
   SECTION HEADINGS
========================================================= */
.featured-categories-section,
.all-categories-section {
    padding: 85px 0 0;
}
.all-categories-section {
    padding-bottom: 90px;
}
.categories-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px;
}
.categories-section-heading
.section-label {
    display: block;
    margin-bottom: 9px;
}
.categories-section-heading h2 {
    margin: 0;
    color: var(--dark);
    font-family:
        "Plus Jakarta Sans",
        sans-serif;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.7px;
}
.categories-section-heading p {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}
/* =========================================================
   FEATURED CATEGORIES
========================================================= */
.featured-categories-grid {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);
    gap: 20px;
}
.featured-category-card {
    display: flex;
    flex-direction: column;
    min-height: 285px;
    padding: 25px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}
.featured-category-card:hover {
    transform:
        translateY(-5px);
    border-color:
        #c7d7f7;
    box-shadow:
        0 18px 40px
        rgba(
            16,
            24,
            40,
            0.09
        );
}
/* ICON */
.featured-category-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #eef5ff;
    color: var(--primary);
    font-size: 21px;
}
.featured-category-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.featured-category-content h3 {
    margin: 0;
    color: var(--dark);
    font-family:
        "Plus Jakarta Sans",
        sans-serif;
    font-size: 18px;
    line-height: 1.35;
}
.featured-category-content p {
    margin: 10px 0 18px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}
.featured-category-bottom {
    margin-top: auto;
    padding-top: 15px;
    border-top:
        1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.featured-category-bottom span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
}
.featured-category-bottom span i {
    color: var(--primary);
}
.featured-category-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition:
        gap 0.2s ease;
}
.featured-category-bottom a:hover {
    gap: 10px;
}
/* =========================================================
   ALL CATEGORIES HEADER
========================================================= */
.categories-heading-with-action {
    align-items: center;
}
.clear-category-search {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border:
        1px solid var(--border);
    border-radius: 9px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}
.clear-category-search:hover {
    background: var(--light);
    border-color: #cfd4dc;
}
/* =========================================================
   RESULTS INFO
========================================================= */
.categories-results-info {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
}
.categories-results-info strong {
    color: var(--dark);
}
/* =========================================================
   CATEGORY GRID
========================================================= */
.categories-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 20px;
}
/* =========================================================
   CATEGORY CARD
========================================================= */
.category-card {
    display: flex;
    gap: 17px;
    padding: 22px;
    background: var(--white);
    border:
        1px solid var(--border);
    border-radius: 14px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}
.category-card:hover {
    transform:
        translateY(-3px);
    border-color:
        #c7d7f7;
    box-shadow:
        0 12px 30px
        rgba(
            16,
            24,
            40,
            0.08
        );
}
/* =========================================================
   CATEGORY CARD ICON
========================================================= */
.category-card-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #f1f6ff;
    color: var(--primary);
    font-size: 19px;
}
/* =========================================================
   CONTENT
========================================================= */
.category-card-content {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.category-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}
.category-card-heading h3 {
    margin: 0;
    color: var(--dark);
    font-family:
        "Plus Jakarta Sans",
        sans-serif;
    font-size: 16px;
    line-height: 1.35;
}
.category-featured {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    color: #a15c00;
    font-size: 10px;
    font-weight: 700;
}
.category-featured i {
    font-size: 9px;
}
/* DESCRIPTION */
.category-description {
    margin: 11px 0 15px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}
/* FOOTER */
.category-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top:
        1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.category-job-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
}
.category-job-count i {
    color: var(--primary);
}
.category-view-jobs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition:
        gap 0.2s ease;
}
.category-view-jobs:hover {
    gap: 10px;
}
/* =========================================================
   EMPTY STATE
========================================================= */
.categories-empty {
    max-width: 650px;
    margin: 15px auto 0;
    padding: 60px 30px;
    text-align: center;
    background: var(--white);
    border:
        1px solid var(--border);
    border-radius: var(--radius-lg);
}
.categories-empty-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef5ff;
    color: var(--primary);
    font-size: 25px;
}
.categories-empty h3 {
    margin: 0;
    color: var(--dark);
    font-family:
        "Plus Jakarta Sans",
        sans-serif;
    font-size: 22px;
}
.categories-empty p {
    max-width: 480px;
    margin: 10px auto 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}
/* =========================================================
   EMPLOYER CTA
========================================================= */
.categories-employer-section {
    padding: 0 0 90px;
}
.categories-employer-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px 40px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(
            135deg,
            #eef5ff 0%,
            #f8fafc 100%
        );
    border:
        1px solid #dbe7fb;
    overflow: hidden;
}
.categories-employer-box::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background:
        rgba(
            11,
            99,
            246,
            0.05
        );
    right: -80px;
    top: -110px;
}
.categories-employer-icon {
    position: relative;
    z-index: 2;
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--white);
    color: var(--primary);
    box-shadow:
        0 8px 20px
        rgba(
            16,
            24,
            40,
            0.07
        );
    font-size: 25px;
}
.categories-employer-content {
    position: relative;
    z-index: 2;
    flex: 1;
}
.categories-employer-content
.section-label {
    display: block;
    margin-bottom: 7px;
}
.categories-employer-content h2 {
    margin: 0;
    color: var(--dark);
    font-family:
        "Plus Jakarta Sans",
        sans-serif;
    font-size: 24px;
}
.categories-employer-content p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}
.categories-employer-action {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}
/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1100px) {
    .featured-categories-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
    .categories-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}
@media (max-width: 850px) {
    .categories-hero {
        padding: 60px 0 75px;
    }
    .category-stats {
        grid-template-columns:
            repeat(3, 1fr);
    }
    .category-stat {
        padding: 20px;
    }
    .category-stat-icon {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    .category-stat strong {
        font-size: 19px;
    }
    .featured-categories-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
    .categories-grid {
        grid-template-columns:
            1fr;
    }
    .categories-employer-box {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .categories-employer-content {
        min-width:
            calc(
                100% - 100px
            );
    }
    .categories-employer-action {
        width: 100%;
        padding-left: 90px;
    }
}
@media (max-width: 600px) {
    .categories-hero {
        padding: 50px 0 65px;
    }
    .categories-hero-content h1 {
        font-size: 32px;
        letter-spacing: -0.8px;
    }
    .categories-hero-content p {
        font-size: 14px;
        margin-bottom: 25px;
    }
    /* SEARCH */
    .categories-search {
        flex-direction: column;
        align-items: stretch;
        padding: 8px;
    }
    .category-search-input {
        width: 100%;
        padding: 0 10px;
    }
    .categories-search .btn {
        width: 100%;
    }
    /* STATS */
    .category-stats-section {
        margin-top: -25px;
    }
    .category-stats {
        grid-template-columns:
            1fr;
    }
    .category-stat {
        border-right: 0;
        border-bottom:
            1px solid var(--border);
        padding: 18px 20px;
    }
    .category-stat:last-child {
        border-bottom: 0;
    }
    /* SECTIONS */
    .featured-categories-section,
    .all-categories-section {
        padding-top: 60px;
    }
    .all-categories-section {
        padding-bottom: 65px;
    }
    .categories-section-heading {
        display: block;
        margin-bottom: 25px;
    }
    .categories-section-heading h2 {
        font-size: 26px;
    }
    .clear-category-search {
        margin-top: 15px;
    }
    /* FEATURED */
    .featured-categories-grid {
        grid-template-columns:
            1fr;
    }
    .featured-category-card {
        min-height: auto;
    }
    /* CATEGORY CARD */
    .category-card {
        padding: 18px;
        gap: 14px;
    }
    .category-card-icon {
        width: 50px;
        height: 50px;
    }
    .category-card-heading {
        display: block;
    }
    .category-featured {
        margin-top: 5px;
    }
    .category-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }
    .category-view-jobs {
        width: 100%;
        justify-content: space-between;
        padding-top: 4px;
    }
    /* EMPLOYER */
    .categories-employer-section {
        padding-bottom: 65px;
    }
    .categories-employer-box {
        padding: 25px;
        display: block;
    }
    .categories-employer-icon {
        margin-bottom: 18px;
    }
    .categories-employer-content {
        min-width: 0;
    }
    .categories-employer-content h2 {
        font-size: 21px;
    }
    .categories-employer-action {
        width: auto;
        padding: 20px 0 0;
    }
    .categories-employer-action .btn {
        width: 100%;
    }
}
@media (max-width: 400px) {
    .categories-hero-content h1 {
        font-size: 28px;
    }
    .featured-category-card {
        padding: 20px;
    }
    .category-card {
        display: block;
    }
    .category-card-icon {
        margin-bottom: 14px;
    }
}