/*
Theme Name: Global Job Portal
Theme URI: https://example.com/jobportal
Author: Dev Team
Author URI: https://example.com
Description: Multi-Country WP Job Portal Theme with Salary Calculator, Visa Guide, Resume Tips, and Country Landing Pages.
Version: 1.0.4
License: GNU General Public License v2 or later
Text Domain: jobportal
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,700&display=swap');

:root {
    --navy-dark: #06182e;
    --navy-main: #0a2240;
    --navy-light: #113461;
    --gold: #d99a19;
    --gold-bright: #f59e0b;
    --gold-bg: #fffbeb;
    --gold-border: #fde68a;
    --red: #b91c1c;
    --bg-light: #f4f7fa;
    --card-bg: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border: #cbd5e1;
    --shadow: 0 8px 24px rgba(10, 34, 64, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    font-family: 'Noto Sans', sans-serif;
}

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: var(--navy-dark);
    color: #e2e8f0;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 2px solid var(--gold);
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header */
.header-main {
    background: #ffffff;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo-icon {
    width: 52px;
    height: 52px;
    background: var(--navy-main);
    color: var(--gold-bright);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border: 2px solid var(--gold);
}

.brand-text h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy-main);
    letter-spacing: 0.5px;
    font-family: 'Noto Sans', sans-serif;
}

.brand-text p {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.certified-badge {
    background: #fef3c7;
    border: 1px solid var(--gold-border);
    color: #92400e;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Navigation Bar */
.nav-bar {
    background: var(--navy-main);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Noto Sans', sans-serif;
}

.nav-links li.active a {
    background: var(--gold);
    color: var(--navy-dark);
}

/* Ticker Bar */
.ticker-container {
    background: var(--gold-bg);
    border-bottom: 1px solid var(--gold-border);
    padding: 8px 0;
    font-size: 13px;
}

.ticker-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ticker-tag {
    background: var(--red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 3px;
    white-space: nowrap;
}

/* Hero Banner */
.hero-banner {
    background: var(--navy-dark);
    color: #ffffff;
    padding: 60px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-left h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
    font-family: 'Noto Sans', sans-serif;
}

.hero-left h1 span {
    color: var(--gold-bright);
}

.hero-left p {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 30px;
    max-width: 520px;
    line-height: 1.5;
}

.hero-badges {
    display: flex;
    gap: 24px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.badge-label {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

/* Floating Search Card */
.search-card-overlay {
    background: #ffffff;
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border);
}

.search-card-overlay h3 {
    font-size: 17px;
    color: var(--navy-main);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Noto Sans', sans-serif;
}

.search-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 12px;
}

.form-control {
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    outline: none;
    font-family: 'Noto Sans', sans-serif;
}

.btn-search {
    background: var(--navy-main);
    color: #ffffff;
    border: none;
    padding: 11px 24px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Noto Sans', sans-serif;
}

/* Section Banner Header */
.gov-section-header {
    background: var(--navy-main);
    color: #ffffff;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    border-left: 4px solid var(--gold);
    margin: 40px 0 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Noto Sans', sans-serif;
}

/* 5 Country Desk Cards */
.grid-5-desk {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.desk-card-image {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.desk-img-wrapper {
    width: 100%;
    height: 175px;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.desk-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.desk-code-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--gold);
    color: var(--navy-dark);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 2;
}

.desk-card-body {
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.desk-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy-main);
    margin-bottom: 6px;
    font-family: 'Noto Sans', sans-serif;
}

.desk-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
    flex-grow: 1;
    line-height: 1.4;
}

.btn-desk {
    background: var(--navy-main);
    color: #ffffff;
    padding: 9px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    width: 100%;
    font-family: 'Noto Sans', sans-serif;
}

.btn-desk:hover {
    background: var(--navy-light);
}

/* 2-Column Section */
.grid-2col {
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.circular-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.circular-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.circular-list {
    list-style: none;
}

.circular-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 13px;
}

.circular-item-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--navy-main);
}

.tag-new {
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 2px;
}

.circular-date {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}

.links-card {
    background: var(--navy-main);
    color: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.links-header {
    background: var(--navy-dark);
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gold);
    font-family: 'Noto Sans', sans-serif;
}

.links-list {
    list-style: none;
}

.links-list li a {
    display: flex;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    font-weight: 600;
}

.links-list li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold);
}

/* Trust Pillars */
.trust-bar {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px;
    margin-top: 40px;
    box-shadow: var(--shadow);
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy-main);
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.trust-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-main);
    font-family: 'Noto Sans', sans-serif;
}

.trust-text p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Popular Job Sectors */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.sector-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.sector-icon {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--gold);
}

.sector-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-main);
    font-family: 'Noto Sans', sans-serif;
}

/* Register CTA */
.cta-banner {
    background: var(--navy-main);
    color: #ffffff;
    border-radius: 6px;
    padding: 24px 30px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.cta-text h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
    font-family: 'Noto Sans', sans-serif;
}

.cta-text p {
    font-size: 13px;
    color: #cbd5e1;
}

.btn-cta {
    background: var(--gold-bright);
    color: var(--navy-dark);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: 'Noto Sans', sans-serif;
}

/* Footer */
.footer-main {
    background: var(--navy-dark);
    color: #94a3b8;
    padding: 50px 0 20px 0;
    margin-top: 60px;
    border-top: 3px solid var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Noto Sans', sans-serif;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
    font-size: 13px;
}

.footer-col a {
    color: #cbd5e1;
}

.footer-col a:hover {
    color: var(--gold);
}

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

@media (max-width: 992px) {
    .grid-5-desk, .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2col, .trust-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
}
