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