:root {
    --primary-color: #0084d8;
    --primary-dark: #006bb3;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --border-color: #ddd;
    --success-color: #28a745;
    --vip-color: #ffc107;
    --vip-bg: #fff3cd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    font-size: 16px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 132, 216, 0.8), rgba(0, 132, 216, 0.9)), url('../images/hero-bg.jpg');
    /* Fallback or add image later */
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.search-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-form input {
    padding: 15px;
    border: none;
    border-radius: 5px;
    width: 300px;
    font-size: 16px;
}

.search-form button {
    padding: 15px 30px;
    background-color: var(--text-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.search-form button:hover {
    background-color: #222;
}

/* Ad Banners */
.ad-section {
    padding: 20px 0;
}

.ad-banner {
    background-color: #e9ecef;
    color: #999;
    text-align: center;
    padding: 20px;
    border: 1px dashed #ccc;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.ad-banner.in-feed {
    margin: 20px 0;
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
    padding: 40px 0;
}

/* Job Listings */
.job-listings h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.job-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 5px solid transparent;
    transition: transform 0.2s;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
}

.job-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.job-info .company {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.job-info .location {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.tag {
    background-color: #e3f2fd;
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-details {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
}

.btn-details:hover {
    background-color: var(--primary-dark);
}

/* Sidebar VIP & Ads */
.vip-card {
    background-color: var(--vip-bg);
    border: 2px solid var(--vip-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.vip-card h3 {
    color: #d63384;
    /* Distinctive color for VIP header */
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.vip-card p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.vip-benefits {
    text-align: left;
    margin-bottom: 20px;
}

.vip-benefits li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.vip-benefits i {
    color: var(--success-color);
    margin-right: 8px;
}

.btn-vip {
    display: inline-block;
    background-color: #25D366;
    /* WhatsApp Green */
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-vip:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

.sidebar-ad {
    margin-bottom: 30px;
    min-height: 250px;
}

/* Publish Page Styles */
.publish-page {
    padding: 60px 20px;
    text-align: center;
}

.publish-content {
    max-width: 800px;
    margin: 0 auto;
}

.publish-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.publish-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 50px;
}

.publish-steps {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.step .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.step h3 {
    margin-bottom: 15px;
}

.cta-publish {
    margin-bottom: 50px;
}

.btn-whatsapp-large {
    display: inline-block;
    background-color: #25D366;
    color: var(--white);
    font-size: 1.2rem;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-large:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: #333;
    color: #eee;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bbb;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.socials a {
    color: #white;
    font-size: 1.5rem;
    margin-right: 15px;
}

.socials a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    color: #888;
    font-size: 0.9rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        padding-top: 50px;
    }

    .nav-links li {
        margin: 30px 0;
        opacity: 0;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }

        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }

    .main-layout {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .search-form input {
        width: 100%;
    }

    .search-form button {
        width: 100%;
    }

    .job-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .job-card:hover {
        transform: none;
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Phase 2 Styles */
.search-form input,
.search-form select {
    padding: 15px;
    border: none;
    border-radius: 5px;
    width: 300px;
    font-size: 16px;
    outline: none;
}

.search-form select {
    cursor: pointer;
    background-color: var(--white);
}

.job-card {
    justify-content: flex-start;
    gap: 20px;
}

.company-logo img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.job-info {
    flex: 1;
}

.job-card .btn-details {
    margin-left: auto;
}

@media screen and (max-width: 768px) {
    .job-card .btn-details {
        margin-left: 0;
    }
}