/* =====================================================
   QUICKJOBS HOME
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}


:root {
    --green: #18b99a;
    --green-dark: #0e9279;
    --dark: #20283d;
    --text: #333b4f;
    --muted: #777f91;
    --light-green: #eaf8f5;
    --white: #ffffff;
}


html {
    scroll-behavior: smooth;
}


body {
    background: white;
    color: var(--text);
    overflow-x: hidden;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    width: 100%;
    height: 76px;

    display: flex;
    align-items: center;

    padding: 0 7%;

    background: white;
    border-bottom: 1px solid #eeeeee;

    position: relative;
    z-index: 100;
}


.logo {
    flex: 1;
}


.logo a {
    text-decoration: none;
    color: #273149;

    font-size: 19px;
    font-weight: 800;
}


.logo span {
    color: var(--green);
}


.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}


.desktop-nav a {
    text-decoration: none;
    color: #252c3d;

    font-size: 12px;
    font-weight: 700;

    transition: 0.25s;
}


.desktop-nav a:hover {
    color: var(--green);
}


.nav-right {
    display: flex;
    align-items: center;

    margin-left: 28px;
    gap: 12px;
}


.signin-btn {
    text-decoration: none;

    border: 1px solid #9eb9b4;

    color: #273149;

    padding: 8px 21px;

    border-radius: 25px;

    font-size: 13px;
    font-weight: 700;
}


.signin-btn:hover {
    background: var(--green);
    border-color: var(--green);
    color: white;
}


.profile-open {
    width: 38px;
    height: 38px;

    border: 1px solid #dce5e3;
    border-radius: 50%;

    background: white;
    color: var(--green);
}


.mobile-menu-btn {
    display: none;

    border: none;
    background: transparent;

    font-size: 21px;
    color: var(--dark);

    cursor: pointer;
}


/* =====================================================
   MOBILE SIDE MENU
===================================================== */

.side-menu {
    display: none;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 650px;

    display: flex;
    justify-content: center;

    padding: 85px 20px 70px;

    background: white;
}


.hero-content {
    width: 100%;
    max-width: 1050px;
}


.hero h1 {
    color: var(--dark);

    font-size: 53px;
    line-height: 1.08;

    font-weight: 800;
    letter-spacing: -2px;

    margin-bottom: 17px;
}


.hero h1 span {
    color: var(--dark);
}


.hero-subtitle {
    color: #656d7d;

    font-size: 14px;

    margin-bottom: 36px;
}


/* =====================================================
   SEARCH
===================================================== */

.search-box {
    width: 570px;
    max-width: 100%;

    min-height: 58px;

    display: flex;
    align-items: center;

    background: #f7f8f8;

    border-radius: 35px;

    padding: 6px 7px 6px 20px;

    border: 1px solid #f0f1f1;

    box-shadow: 0 5px 20px rgba(20, 40, 50, 0.06);
}


.search-field {
    display: flex;
    align-items: center;

    gap: 10px;

    flex: 1;
    min-width: 0;
}


.search-field i {
    color: #9ba3ad;
    font-size: 13px;
}


.search-field input {
    width: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: #444;

    font-size: 12px;
}


.search-field input::placeholder {
    color: #9ca3aa;
}


.search-divider {
    width: 1px;
    height: 25px;

    background: #d8dddd;

    margin: 0 15px;
}


.search-button {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    border: none;
    border-radius: 50%;

    background: var(--green);

    color: white;

    cursor: pointer;

    font-size: 16px;

    transition: 0.3s;
}


.search-button:hover {
    background: var(--green-dark);
    transform: scale(1.05);
}


.category-hidden {
    display: none;
}


/* =====================================================
   POPULAR SEARCH
===================================================== */

.popular-search {
    margin-top: 40px;
}


.popular-search h3 {
    font-size: 15px;
    color: var(--dark);

    margin-bottom: 18px;
}


.popular-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}


.popular-tags a {
    text-decoration: none;

    color: #4ab9a5;
    background: #effaf7;

    padding: 8px 15px;

    border-radius: 5px;

    font-size: 11px;
    font-weight: 600;

    transition: 0.25s;
}


.popular-tags a:hover {
    background: var(--green);
    color: white;

    transform: translateY(-2px);
}


/* =====================================================
   COMPANY SLIDER
===================================================== */

.companies-slider {
    width: 100%;
    max-width: 1050px;

    overflow: hidden;

    margin-top: 55px;

    position: relative;
}


.companies-track {
    display: flex;
    align-items: center;

    gap: 55px;

    width: max-content;

    animation: companySlide 22s linear infinite;
}


.company-item {
    min-width: 145px;

    display: flex;
    align-items: center;

    justify-content: center;

    gap: 9px;

    white-space: nowrap;
}


.company-circle {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    border-radius: 50%;

    overflow: hidden;

    background: #f0f3f3;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--green);

    font-size: 13px;
    font-weight: 800;
}


.company-circle img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


.company-name {
    color: #50596a;

    font-size: 13px;
    font-weight: 700;
}


@keyframes companySlide {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


.companies-slider:hover
.companies-track {
    animation-play-state: paused;
}


/* =====================================================
   JOB SECTION
===================================================== */

.job-list-section {
    padding: 80px 7%;
}


.section-heading {
    text-align: center;
    margin-bottom: 40px;
}


.section-heading span,
.reviews-header span,
.review-form-section > span {
    color: var(--green);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.section-heading h2 {
    color: var(--dark);

    font-size: 30px;

    margin-top: 10px;
}


.job-list {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}


.job-card {
    position: relative;

    background: white;

    border-radius: 15px;

    padding: 23px;

    border: 1px solid #edf0f0;

    transition: 0.3s;
}


.job-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}


.save-btn {
    position: absolute;

    right: 20px;
    top: 20px;

    width: 35px;
    height: 35px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: #f5f8f8;

    color: var(--green);

    text-decoration: none;

    font-size: 15px;
}


.job-top {
    display: flex;
    align-items: center;

    gap: 13px;

    padding-right: 40px;
}


/* SMALL ROUND JOB LOGO */

.job-logo {
    width: 48px;
    height: 48px;

    min-width: 48px;

    border-radius: 50%;

    overflow: hidden;

    background: var(--light-green);

    color: var(--green);

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 18px;
    font-weight: 800;
}


.job-logo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


.job-company-info {
    min-width: 0;
}


.job-card h3 {
    color: var(--dark);

    font-size: 17px;

    margin-bottom: 5px;
}


.job-title {
    color: var(--green);

    font-size: 13px;
}


.job-info {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 20px;
}


.job-info span {
    background: #f4f7f7;

    padding: 7px 10px;

    border-radius: 6px;

    font-size: 11px;

    color: #6c7480;
}


.job-info i {
    color: var(--green);

    margin-right: 4px;
}


.age-limit {
    margin-top: 14px;

    font-size: 12px;

    color: #777;
}


.contact-box {
    margin-top: 20px;
}


.details-btn {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;
    height: 45px;

    border-radius: 9px;

    background: var(--dark);

    color: white;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition: 0.3s;
}


.details-btn:hover {
    background: var(--green);

    transform: translateY(-2px);
}


.no-job {
    grid-column: 1 / -1;

    text-align: center;

    padding: 50px;

    color: #777;
}


.all-jobs-button-section {
    text-align: center;

    margin-top: 40px;
}


.all-jobs-btn {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 25px;

    background: var(--green);

    color: white;

    text-decoration: none;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;
}


.all-jobs-btn:hover {
    background: var(--green-dark);

    transform: translateY(-2px);
}


/* =====================================================
   REVIEWS SLIDER
===================================================== */

.reviews-section {
    padding: 85px 7%;

    background: white;

    overflow: hidden;
}


.reviews-header {
    text-align: center;

    margin-bottom: 35px;
}


.reviews-header h2 {
    color: var(--dark);

    font-size: 30px;

    margin: 10px 0;
}


.reviews-header p {
    color: #7a818d;

    font-size: 13px;
}


.reviews-slider {
    max-width: 1100px;

    margin: auto;

    overflow: hidden;
}


.review-track {
    display: flex;

    gap: 20px;

    width: max-content;

    animation: reviewSlide 28s linear infinite;
}


.review-card {
    width: 280px;

    min-width: 280px;

    background: #f7faf9;

    padding: 25px;

    border-radius: 14px;
}


.stars {
    color: #f6b73c;

    letter-spacing: 2px;

    margin-bottom: 15px;
}


.review-card p {
    color: #646c79;

    font-size: 13px;

    line-height: 1.7;

    margin-bottom: 18px;
}


.review-card h4 {
    color: var(--dark);

    font-size: 13px;
}


@keyframes reviewSlide {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


.reviews-slider:hover
.review-track {
    animation-play-state: paused;
}


/* =====================================================
   REVIEW FORM
===================================================== */

.review-form-section {
    max-width: 650px;

    margin: 80px auto;

    padding: 0 25px;

    text-align: center;
}


.review-form-section h2 {
    color: var(--dark);

    font-size: 27px;

    margin: 10px 0 25px;
}


.star-rating {
    display: flex;

    flex-direction: row-reverse;

    justify-content: center;

    gap: 5px;

    margin-bottom: 20px;
}


.star-rating input {
    display: none;
}


.star-rating label {
    color: #d8dcdc;

    font-size: 32px;

    cursor: pointer;
}


.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #f5b83d;
}


.review-form-section textarea {
    width: 100%;

    height: 130px;

    border: 1px solid #e0e4e4;

    border-radius: 12px;

    padding: 15px;

    resize: vertical;

    outline: none;

    font-size: 13px;
}


.review-form-section textarea:focus {
    border-color: var(--green);
}


.review-form-section button {
    margin-top: 15px;

    border: none;

    background: var(--green);

    color: white;

    padding: 12px 28px;

    border-radius: 8px;

    cursor: pointer;

    font-weight: 700;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #20283d;

    color: white;

    padding-top: 60px;
}


.footer-container {
    max-width: 1100px;

    margin: auto;

    padding: 0 25px 45px;

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;

    gap: 40px;
}


.footer-box h2 {
    color: white;

    margin-bottom: 15px;
}


.footer-box h3 {
    font-size: 14px;

    margin-bottom: 17px;
}


.footer-box p {
    color: #aeb5c2;

    font-size: 12px;

    line-height: 1.7;

    margin-bottom: 8px;
}


.footer-box a {
    display: block;

    text-decoration: none;

    color: #aeb5c2;

    font-size: 12px;

    margin-bottom: 12px;
}


.footer-box a:hover {
    color: var(--green);
}


.footer-box p i {
    color: var(--green);

    margin-right: 7px;
}


.social-icons {
    display: flex;

    gap: 8px;

    margin-top: 15px;
}


.social-icons a {
    width: 34px;
    height: 34px;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(255,255,255,0.08);

    color: white;

    margin: 0;
}


.footer-bottom {
    text-align: center;

    padding: 20px;

    border-top: 1px solid rgba(255,255,255,0.08);

    color: #8992a3;

    font-size: 11px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .navbar {
        padding: 0 5%;
    }


    .desktop-nav {
        gap: 18px;
    }


    .job-list {
        grid-template-columns: 1fr;
    }


    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 650px) {

    .navbar {
        height: 65px;

        padding: 0 20px;
    }


    .logo a {
        font-size: 16px;
    }


    .desktop-nav {
        display: none;
    }


    .nav-right {
        margin-left: auto;
    }


    .signin-btn {
        padding: 7px 16px;

        font-size: 12px;
    }


    .mobile-menu-btn {
        display: block;
    }


    .profile-open {
        display: none;
    }


    /* MOBILE SIDE MENU */

    .side-menu {

        display: flex;

        position: fixed;

        top: 0;
        right: -280px;

        width: 260px;
        height: 100vh;

        background: white;

        z-index: 999;

        padding: 80px 25px 30px;

        flex-direction: column;

        gap: 10px;

        box-shadow: -10px 0 30px rgba(0,0,0,0.12);

        transition: right 0.3s ease;

    }


    .side-menu.show {
        right: 0;
    }


    .side-menu a {

        display: flex;

        align-items: center;

        gap: 12px;

        padding: 14px 10px;

        text-decoration: none;

        color: var(--dark);

        font-size: 14px;

        font-weight: 700;

        border-radius: 8px;

    }


    .side-menu a:hover {
        background: var(--light-green);

        color: var(--green);
    }


    .side-close {

        position: absolute;

        top: 20px;
        right: 20px;

        width: 35px;
        height: 35px;

        border: none;

        background: #f3f5f5;

        border-radius: 50%;

        cursor: pointer;

        color: var(--dark);

    }


    /* HERO */

    .hero {

        min-height: auto;

        padding: 60px 22px 65px;

    }


    .hero h1 {

        font-size: 39px;

        letter-spacing: -1.5px;

    }


    .hero-subtitle {

        font-size: 13px;

        line-height: 1.6;

        margin-bottom: 28px;

    }


    /* SEARCH */

    .search-box {

        width: 100%;

        min-height: 55px;

        padding: 6px 6px 6px 15px;

    }


    .search-divider {

        margin: 0 8px;

    }


    .search-button {

        width: 43px;

        height: 43px;

    }


    .search-field input {

        font-size: 11px;

    }


    .search-field i {

        display: none;

    }


    /* POPULAR */

    .popular-search {

        margin-top: 32px;

    }


    .popular-tags {

        gap: 7px;

    }


    .popular-tags a {

        padding: 7px 11px;

    }


    /* COMPANY */

    .companies-slider {

        margin-top: 40px;

    }


    .companies-track {

        gap: 30px;

        animation-duration: 18s;

    }


    .company-item {

        min-width: 125px;

        font-size: 11px;

    }


    .company-circle {

        width: 28px;
        height: 28px;

        font-size: 11px;

    }


    .company-name {

        font-size: 11px;

    }


    /* JOB */

    .job-list-section {

        padding: 60px 20px;

    }


    .section-heading h2 {

        font-size: 25px;

    }


    .job-card {

        padding: 18px;

    }


    .job-info span {

        font-size: 10px;

    }


    /* REVIEWS */

    .reviews-section {

        padding: 60px 20px;

    }


    .reviews-header h2 {

        font-size: 25px;

    }


    .review-card {

        width: 260px;

        min-width: 260px;

    }


    /* REVIEW FORM */

    .review-form-section {

        margin: 60px auto;

    }


    .review-form-section h2 {

        font-size: 23px;

    }


    /* FOOTER */

    .footer-container {

        grid-template-columns: 1fr;

        gap: 30px;

        padding-bottom: 35px;

    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 400px) {

    .hero h1 {

        font-size: 34px;

    }


    .search-box {

        border-radius: 15px;

    }


    .search-divider {

        display: none;

    }


    .search-button {

        width: 40px;

        height: 40px;

    }

}
