:root {
    --primary-dark: #0b0c2a;
    --primary-blue: #1c4ed8;
    --primary-blue-hover: #1e40af;
    --text-white: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --tag-gray-bg: #f1f5f9;
    --tag-gray-text: #475569;
    --tag-orange-bg: #fff7ed;
    --tag-orange-text: #ea580c;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    background: var(--text-white);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 48px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo span {
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-dark);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.login-btn {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.register-btn {
    background: var(--primary-dark);
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.register-btn:hover {
    background: #1a1a3a;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #07071f 0%, #151538 100%);
    position: relative;
    padding: 80px 0;
    color: var(--text-white);
    text-align: left;
    overflow: hidden;
}

.hero-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: #3b82f6; /* Lighter blue */
}

.hero-subtitle {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 48px;
    font-weight: 400;
}

.search-box {
    background: var(--text-white);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    max-width: 900px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 24px;
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
}

.search-field input, .search-field select {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
}

.search-field select {
    cursor: pointer;
    color: var(--text-secondary);
}

.search-field i {
    font-size: 20px;
}

.divider {
    width: 1px;
    height: 32px;
    background: var(--border-color);
}

.search-btn {
    background: var(--primary-blue);
    color: var(--text-white);
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.search-btn:hover {
    background: var(--primary-blue-hover);
}

.trending {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.trending-label {
    color: #94a3b8;
}

.trend-tag {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 6px 12px;
    border-radius: 20px;
    color: #cbd5e1;
    transition: all 0.2s;
}

.trend-tag:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* Top Cities */
.top-cities {
    padding: 80px 0;
    background: var(--text-white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary-dark);
}

.explore-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 4px;
}

.cities-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 20px;
}

.city-card {
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.city-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}

.city-card:hover {
    transform: translateY(-4px);
}

.city-info {
    position: absolute;
    bottom: 24px;
    left: 24px;
    color: var(--text-white);
    z-index: 1;
}

.city-info h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
}

.city-info p {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 4px;
}

.large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.wide {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
}

/* Job Categories */
.job-categories {
    padding: 60px 0;
    background: var(--bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-title i {
    color: var(--primary-blue);
}

.job-card {
    background: var(--text-white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    border: 1px solid var(--border-color);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.job-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #cbd5e1;
}

.job-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.job-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.job-title-row h4 {
    margin-bottom: 0;
}

.company {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.tags {
    display: flex;
    gap: 8px;
}

.tag {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.tag.gray {
    background: var(--tag-gray-bg);
    color: var(--tag-gray-text);
}

.tag.orange {
    background: var(--text-white);
    border: 1px solid #fdba74;
    color: #ea580c;
}

.tag.orange-light {
    background: var(--tag-orange-bg);
    color: var(--tag-orange-text);
}

.badge {
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.badge.red {
    background: #fee2e2;
    color: #dc2626;
}

.badge.blue {
    background: #e0e7ff;
    color: #4f46e5;
}

.time-loc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.view-all-btn {
    display: block;
    text-align: center;
    background: #e2e8f0;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 14px;
    padding: 12px;
    border-radius: 6px;
    margin-top: 24px;
    transition: background 0.2s;
}

.view-all-btn:hover {
    background: #cbd5e1;
}

/* Placement Consultants */
.consultants-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #18184a 0%, #08081c 100%);
    color: var(--text-white);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 15px;
    color: #94a3b8;
    margin-bottom: 48px;
}

.consultants-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.consultant-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 24px;
    transition: background 0.3s;
}

.consultant-card:hover {
    background: rgba(255,255,255,0.08);
}

.consultant-logo {
    width: 48px;
    height: 48px;
    background: var(--text-white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.consultant-logo.bg-white {
    background: white;
}

.consultant-logo i {
    font-size: 24px;
    color: #10b981; /* Default distinctive color */
}

.consultant-logo .circle-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.consultant-logo .gradient-1 {
    background: linear-gradient(135deg, #10b981, #3b82f6);
}

.consultant-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 12px;
}

.consultant-card p {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 32px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #cbd5e1;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
}

/* CTA Section */
.cta-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.cta-card {
    background: #f1f5f9;
    border-radius: 16px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 15px;
}

.cta-form form {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
}

.cta-form input {
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 6px 0 0 6px;
    font-size: 14px;
    width: 300px;
    outline: none;
    font-family: var(--font-body);
}

.cta-form button {
    background: var(--primary-dark);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 0 6px 6px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.cta-form button:hover {
    background: #1a1a3a;
}

.privacy-note {
    font-size: 12px;
    color: #94a3b8;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--text-white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    display: inline-block;
}

.footer-logo span {
    font-weight: 400;
}

.brand-col p {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    font-size: 13px;
    color: #94a3b8;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
}

/* ============================================
   RESPONSIVE / MOBILE FRIENDLY STYLES
   ============================================ */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
    .cities-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }
    .large {
        grid-column: 1 / -1;
        grid-row: 1 / 2;
        height: 250px;
    }
    .wide {
        grid-column: 1 / -1;
        grid-row: 3 / 4;
    }
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .consultants-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cta-card {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    /* --- Navbar --- */
    .nav-links {
        display: none;
    }
    .nav-right {
        gap: 12px;
    }
    .register-btn {
        padding: 7px 14px;
        font-size: 13px;
    }

    /* --- Hero Section --- */
    .hero-section {
        padding: 48px 0;
    }
    .hero-title {
        font-size: 32px;
        letter-spacing: -0.5px;
    }
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    /* --- Search Box --- */
    .search-box {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .divider {
        width: 100%;
        height: 1px;
    }
    .search-field {
        padding: 10px 12px;
    }
    .search-field input, .search-field select {
        padding: 4px 0;
        font-size: 14px;
    }
    .search-btn {
        width: 100%;
        justify-content: center;
        border-radius: 0 0 6px 6px;
    }

    /* --- Trending Tags --- */
    .trending {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* --- Cities Grid --- */
    .cities-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;
    }
    .large, .wide {
        grid-column: 1 / -1;
        grid-row: unset;
        height: 200px;
    }
    .top-cities {
        padding: 48px 0;
    }

    /* --- Job Categories --- */
    .job-categories {
        padding: 40px 0;
    }
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* --- Consultants --- */
    .consultants-section {
        padding: 48px 0;
    }
    .consultants-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .section-subtitle {
        margin-bottom: 28px;
    }

    /* --- CTA Section --- */
    .cta-section {
        padding: 40px 0;
    }
    .cta-card {
        padding: 28px 20px;
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .cta-form input {
        width: 100%;
    }
    .cta-form form {
        flex-direction: column;
        gap: 8px;
    }
    .cta-form button {
        border-radius: 6px;
        width: 100%;
    }
    .cta-form input {
        border-radius: 6px;
        width: 100%;
    }

    /* --- Footer --- */
    .footer {
        padding: 40px 0 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 32px;
    }
    .brand-col {
        grid-column: unset;
    }

    /* --- Jobs Page (jobs.php) --- */
    .job-list-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .jlc-right {
        text-align: left;
        width: 100%;
    }
    .btn-apply {
        display: block;
        text-align: center;
        width: 100%;
    }
    .jlc-meta {
        flex-direction: column;
        gap: 6px;
    }

    /* --- Auth pages (login/register) --- */
    .auth-layout, .register-layout {
        grid-template-columns: 1fr !important;
    }
    .auth-quote-panel, .reg-left {
        display: none !important;
    }

    /* --- Footer (inline styles override) --- */
    footer.footer {
        padding: 32px 16px !important;
    }
    footer .footer-container,
    div.footer-container {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .bottom-bar {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center;
        margin-top: 24px !important;
    }
}

/* Small mobiles (max 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero-title {
        font-size: 28px;
    }
    .logo {
        font-size: 17px;
    }
    .nav-container {
        padding: 0 16px;
    }
    .job-list-card {
        padding: 16px;
    }
    .jlc-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}

