* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #111827;
    --violet: #7c3aed;
    --light-violet: #a855f7;
    --white: #ffffff;
    --gray: #f3f4f6;
    --text: #374151;
    --muted: #6b7280;
    --border: #e5e7eb;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--navy);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1180px;
    margin: auto;
}


/* =========================
   HEADER
========================= */

.site-header {
    background: var(--navy);
    color: white;
    padding: 18px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo,
.footer-logo {
    font-size: 29px;
    font-weight: 800;
    color: white;
}

.logo span,
.footer-logo span {
    color: #a855f7;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #e5e7eb;
    font-size: 15px;
    transition: 0.3s;
}

.main-nav a:hover {
    color: white;
}

.post-job-btn {
    background: var(--violet);
    color: white;
    padding: 11px 20px;
    border-radius: 7px;
    font-weight: 600;
}


/* =========================
   HERO
========================= */

.hero-section {
    background: var(--navy);
    color: white;
    padding: 85px 0 100px;
}

.hero-content {
    text-align: center;
}

.hero-text {
    max-width: 950px;
    margin: auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(124, 58, 237, 0.18);
    color: #c4b5fd;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 22px;
}

.hero h1 span {
    color: #a855f7;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 35px;
    color: #d1d5db;
    font-size: 19px;
}


/* SEARCH */

.search-box {
    max-width: 900px;
    margin: auto;
    background: white;
    padding: 8px;
    border-radius: 10px;
    display: flex;
    gap: 6px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
}

.search-field input {
    width: 100%;
    border: none;
    outline: none;
    padding: 15px 5px;
    font-size: 15px;
    color: #111827;
}

.search-box button {
    border: none;
    background: var(--violet);
    color: white;
    padding: 0 28px;
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
}

.popular-searches {
    margin-top: 18px;
    font-size: 13px;
    color: #9ca3af;
}

.popular-searches a {
    color: #d1d5db;
    margin-left: 14px;
}

.popular-searches a:hover {
    color: white;
}


/* =========================
   CATEGORIES
========================= */

.categories-section {
    padding: 75px 0;
    background: white;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading span,
.section-label {
    color: var(--violet);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.section-heading h2 {
    font-size: 34px;
    margin-top: 8px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    border: 1px solid var(--border);
    padding: 28px 22px;
    border-radius: 12px;
    transition: 0.3s;
    background: white;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #c4b5fd;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.category-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 18px;
    margin-bottom: 7px;
}

.category-card p {
    color: var(--muted);
    font-size: 14px;
}


/* =========================
   JOBS
========================= */

.jobs-section {
    padding: 80px 0;
    background: var(--gray);
}

.section-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 35px;
}

.section-top h2 {
    font-size: 34px;
    margin: 5px 0;
}

.section-top p {
    color: var(--muted);
}

.view-all {
    color: var(--violet);
    font-weight: 700;
    font-size: 14px;
}

.job-grid {
    display: grid;
    gap: 18px;
}

.job-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.company-logo {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #ede9fe;
    color: var(--violet);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: 800;
}

.job-info {
    flex: 1;
}

.job-type {
    color: var(--violet);
    font-size: 10px;
    font-weight: 800;
}

.job-info h3 {
    font-size: 18px;
    margin: 3px 0;
}

.job-info p {
    color: var(--muted);
    font-size: 14px;
}

.job-meta {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.apply-btn {
    border: 1px solid var(--violet);
    color: var(--violet);
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.apply-btn:hover {
    background: var(--violet);
    color: white;
}


/* =========================
   VISA SECTION
========================= */

.feature-section {
    padding: 80px 0;
}

.feature-box {
    background: var(--navy);
    color: white;
    border-radius: 18px;
    padding: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feature-content {
    max-width: 650px;
}

.feature-content h2 {
    font-size: 38px;
    margin: 10px 0 15px;
}

.feature-content p {
    color: #d1d5db;
    margin-bottom: 25px;
}

.feature-icon {
    font-size: 100px;
}

.primary-btn {
    display: inline-block;
    background: var(--violet);
    color: white;
    padding: 13px 22px;
    border-radius: 7px;
    font-weight: 700;
}


/* =========================
   REMOTE JOBS
========================= */

.remote-section {
    background: white;
}

.remote-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.remote-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}

.remote-card > span {
    color: var(--violet);
    font-size: 11px;
    font-weight: 800;
}

.remote-card h3 {
    margin: 10px 0 5px;
}

.remote-card p {
    color: var(--muted);
    margin-bottom: 20px;
}

.remote-card a {
    color: var(--violet);
    font-weight: 700;
    font-size: 13px;
}


/* =========================
   SCHOLARSHIPS
========================= */

.scholarship-section {
    padding: 80px 0;
    background: var(--gray);
}

.scholarship-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.scholarship-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.scholarship-icon {
    font-size: 35px;
    margin-bottom: 15px;
}

.scholarship-card h3 {
    margin-bottom: 8px;
}

.scholarship-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.scholarship-card a {
    color: var(--violet);
    font-weight: 700;
    font-size: 13px;
}


/* =========================
   CTA
========================= */

.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: #f5f3ff;
    text-align: center;
    padding: 60px 20px;
    border-radius: 18px;
}

.cta-box h2 {
    font-size: 38px;
    margin-bottom: 10px;
}

.cta-box p {
    color: var(--muted);
    margin-bottom: 25px;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    background: var(--navy);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-grid p {
    color: #9ca3af;
    max-width: 380px;
    margin-top: 15px;
    font-size: 14px;
}

.footer-grid h4 {
    margin-bottom: 15px;
}

.footer-grid > div > a:not(.footer-logo) {
    display: block;
    color: #9ca3af;
    font-size: 14px;
    margin: 8px 0;
}

.footer-bottom {
    border-top: 1px solid #273142;
    text-align: center;
    color: #9ca3af;
    padding: 20px;
    font-size: 13px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .main-nav {
        display: none;
    }

    .post-job-btn {
        display: none;
    }

    .hero-section {
        padding: 60px 0 70px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 17px;
    }

    .search-box {
        flex-direction: column;
        padding: 8px;
    }

    .search-field {
        border-bottom: 1px solid var(--border);
    }

    .search-box button {
        min-height: 48px;
        margin-top: 5px;
    }

    .popular-searches a {
        display: inline-block;
        margin: 5px;
    }

    .category-grid,
    .remote-cards,
    .scholarship-grid {
        grid-template-columns: 1fr;
    }

    .section-top {
        align-items: flex-start;
        gap: 15px;
        flex-direction: column;
    }

    .job-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .job-info {
        min-width: calc(100% - 75px);
    }

    .apply-btn {
        width: 100%;
        text-align: center;
    }

    .job-meta {
        flex-direction: column;
        gap: 4px;
    }

    .feature-box {
        padding: 35px 25px;
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-content h2 {
        font-size: 30px;
    }

    .feature-icon {
        display: none;
    }

    .cta-box h2 {
        font-size: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


@media (max-width: 480px) {

    .container {
        width: 92%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-badge {
        font-size: 12px;
    }

    .section-heading h2,
    .section-top h2 {
        font-size: 28px;
    }

    .category-card,
    .remote-card,
    .scholarship-card {
        padding: 22px;
    }

    .feature-content h2 {
        font-size: 27px;
    }
}


/* =========================
   JOB DETAIL PAGE
========================= */

.job-detail-section {
    background: #f3f4f6;
    padding: 70px 0;
    min-height: 600px;
}

.job-detail-card {
    background: #ffffff;
    max-width: 900px;
    margin: auto;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.job-detail-header {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.large-logo {
    width: 75px;
    height: 75px;
    font-size: 30px;
}

.job-detail-header h1 {
    font-size: 34px;
    margin: 5px 0;
}

.company-name {
    color: #6b7280;
    font-size: 16px;
}

.job-detail-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 30px 0;
    border-bottom: 1px solid #e5e7eb;
}

.job-detail-meta div {
    background: #f9fafb;
    padding: 18px;
    border-radius: 10px;
}

.job-detail-meta strong {
    display: block;
    font-size: 12px;
    margin: 5px 0;
    color: #111827;
}

.job-detail-meta span {
    color: #6b7280;
    font-size: 13px;
}

.job-description {
    padding: 35px 0;
}

.job-description h2 {
    font-size: 22px;
    margin: 25px 0 12px;
}

.job-description h2:first-child {
    margin-top: 0;
}

.job-description p {
    color: #4b5563;
    line-height: 1.8;
}

.job-description ul {
    padding-left: 20px;
    color: #4b5563;
}

.job-description li {
    margin: 8px 0;
}

.apply-section {
    background: #f5f3ff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.apply-section p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 18px;
}

.apply-section .primary-btn {
    border: none;
    cursor: pointer;
}


/* MOBILE JOB PAGE */

@media (max-width: 700px) {

    .job-detail-section {
        padding: 40px 0;
    }

    .job-detail-card {
        width: 92%;
        padding: 25px;
    }

    .job-detail-header {
        align-items: flex-start;
    }

    .large-logo {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .job-detail-header h1 {
        font-size: 25px;
    }

    .job-detail-meta {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 480px) {

    .job-detail-meta {
        grid-template-columns: 1fr;
    }

    .job-detail-header {
        flex-direction: column;
    }

    .job-detail-card {
        padding: 20px;
    }

}


.about-content {
    max-width: 850px;
    margin: auto;
}

.about-content p {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}


/* =========================
   CONTACT PAGE
========================= */

.contact-section {
    padding: 80px 0;
    background: #f3f4f6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    font-size: 38px;
    margin: 8px 0 15px;
}

.contact-info > p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 22px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #ede9fe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.contact-item h3 {
    font-size: 16px;
}

.contact-item p {
    color: #6b7280;
    font-size: 14px;
}

.contact-form-box {
    background: white;
    padding: 35px;
    border-radius: 15px;
    border: 1px solid #e5e7eb;
}

.contact-form-box label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 7px;
    margin-top: 18px;
}

.contact-form-box label:first-child {
    margin-top: 0;
}

.contact-form-box input,
.contact-form-box textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    padding: 13px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
    border-color: #7c3aed;
}

.contact-form-box textarea {
    resize: vertical;
    margin-bottom: 20px;
}

.contact-form-box button {
    border: none;
    cursor: pointer;
}


/* MOBILE */

@media (max-width: 700px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-info h2 {
        font-size: 30px;
    }

    .contact-form-box {
        padding: 25px;
    }

}