* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f8f7;
    color: #17221d;
}


.container {
    width: min(1100px, 92%);
    margin: auto;
}


/* ================= HEADER ================= */

.header {
    background: white;
    border-bottom: 1px solid #e6ebe8;
    position: sticky;
    top: 0;
    z-index: 100;
}


.nav {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    text-decoration: none;
    color: #17221d;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 7px;
}


.logo-icon {
    font-size: 23px;
}


.india {
    color: #16a36a;
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-left: 2px;
}


.nav-button {
    text-decoration: none;
    background: #17221d;
    color: white;
    padding: 11px 20px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
}


/* ================= HERO ================= */

.hero {
    background: white;
    padding: 75px 0 65px;
    border-bottom: 1px solid #e7ece9;
}


.hero-badge {
    display: inline-block;
    background: #e9f8f1;
    color: #087447;
    padding: 8px 13px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 22px;
}


.hero h1 {
    max-width: 700px;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.02;
    letter-spacing: -3px;
    margin-bottom: 22px;
}


.hero h1 span {
    color: #16a36a;
}


.hero p {
    max-width: 650px;
    color: #65726c;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}


.search-box {
    width: min(600px, 100%);
    height: 58px;
    background: white;
    border: 1px solid #dce4df;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.05);
}


.search-box span {
    font-size: 20px;
}


.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    background: transparent;
    color: #17221d;
}


/* ================= COMPANIES ================= */

.companies-section {
    padding: 65px 0 90px;
}


.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 30px;
}


.small-heading {
    color: #16a36a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 7px;
}


.section-heading h2 {
    font-size: 34px;
    letter-spacing: -1px;
}


#companyCount {
    color: #78847e;
    font-size: 14px;
}


/* ================= COMPANY CARDS ================= */

.company-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}


.company-card {
    background: white;
    border: 1px solid #e3e9e5;
    border-radius: 16px;
    padding: 25px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.2s ease;
}


.company-card:hover {
    transform: translateY(-4px);
    border-color: #a9d9c2;
    box-shadow: 0 12px 30px rgba(22, 163, 106, 0.08);
}


.company-top {
    display: flex;
    align-items: center;
    gap: 15px;
}


.company-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #f0f4f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    font-weight: 800;
}


.company-name {
    font-size: 20px;
    font-weight: 800;
}


.jobs-count {
    color: #7b8781;
    font-size: 13px;
    margin-top: 5px;
}


.view-jobs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    color: #087447;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
}


.arrow {
    font-size: 18px;
    transition: 0.2s;
}


.view-jobs:hover .arrow {
    transform: translateX(5px);
}


/* ================= NO RESULTS ================= */

.no-results {
    display: none;
    text-align: center;
    padding: 70px 20px;
    color: #7b8781;
}


.no-results div {
    font-size: 40px;
    margin-bottom: 15px;
}


.no-results h3 {
    color: #17221d;
    margin-bottom: 7px;
}


/* ================= FOOTER ================= */

footer {
    background: #17221d;
    color: white;
    padding: 35px 0;
}


.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.footer-logo {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 7px;
}


.footer-content p {
    color: #aab5af;
    font-size: 13px;
}


.footer-note {
    color: #9aa59f;
    font-size: 13px;
}


/* ================= MOBILE ================= */

@media (max-width: 800px) {

    .company-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 550px) {

    .nav {
        height: 64px;
    }


    .logo {
        font-size: 18px;
    }


    .india {
        font-size: 9px;
    }


    .nav-button {
        padding: 9px 14px;
        font-size: 12px;
    }


    .hero {
        padding: 50px 0;
    }


    .hero h1 {
        font-size: 45px;
        letter-spacing: -2px;
    }


    .hero p {
        font-size: 16px;
    }


    .company-grid {
        grid-template-columns: 1fr;
    }


    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }


    .section-heading h2 {
        font-size: 29px;
    }


    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

}

/* Full Job Details */

.full-job-details {
    margin-top: 25px;
    padding: 25px;
    background: #f8faf9;
    border: 1px solid #e3e9e5;
    border-radius: 12px;
    line-height: 1.7;
    white-space: pre-wrap;
    font-size: 15px;
    color: #34423b;
}

.back-button {
    display: block;
    margin-top: 15px;
    text-align: center;
    padding: 12px;
    border-radius: 9px;
    background: #eef3f0;
    color: #17221d;
    text-decoration: none;
    font-weight: 700;
}

.back-button:hover {
    background: #dfe8e3;
}