/*
Theme Name: Tier-1 High-CTR Job Portal
Theme URI: https://t.co/20SWYsbr76
Author: Web Publisher
Description: High-converting, mobile & desktop responsive Tier-1 Job Portal theme with USD salaries and instant 300x250 popup.
Version: 1.0
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f0f4f8;
    color: #1e293b;
    line-height: 1.5;
}

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

.top-ticker {
    background: #dc2626;
    color: #ffffff;
    text-align: center;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.3px;
    display: block;
}

header {
    background: #0f172a;
    color: #ffffff;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

.logo {
    font-size: 22px;
    font-weight: 900;
    color: #38bdf8;
    text-transform: uppercase;
}

.logo span {
    color: #facc15;
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-links a {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600;
}

.nav-cta {
    background: #22c55e;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 800;
    animation: pulse 1.8s infinite;
}

.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: #ffffff;
    padding: 45px 20px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: #facc15;
    color: #0f172a;
    font-weight: 800;
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero p {
    font-size: 16px;
    color: #cbd5e1;
    max-width: 680px;
    margin: 0 auto 25px auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #22c55e;
    color: #ffffff;
    padding: 15px 30px;
    font-size: 17px;
    font-weight: 800;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
    display: inline-block;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: scale(1.03);
    background: #16a34a;
}

.btn-secondary {
    background: #f59e0b;
    color: #0f172a;
    padding: 15px 28px;
    font-size: 17px;
    font-weight: 800;
    border-radius: 8px;
    display: inline-block;
}

.quick-filters {
    max-width: 1200px;
    margin: 25px auto 10px auto;
    padding: 0 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-pill {
    background: #ffffff;
    border: 2px solid #cbd5e1;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.filter-pill:hover {
    background: #1e3a8a;
    color: #ffffff;
    border-color: #1e3a8a;
}

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

.section-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.live-dot {
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 22px;
}

.job-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.card-img-wrap {
    position: relative;
    height: 175px;
    width: 100%;
    background: #cbd5e1;
    display: block;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.salary-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #16a34a;
    color: #ffffff;
    font-weight: 900;
    font-size: 16px;
    padding: 5px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.urgent-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.card-body {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.job-meta {
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.job-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.job-perks {
    list-style: none;
    margin-bottom: 18px;
    font-size: 14px;
    color: #334155;
}

.job-perks li {
    margin-bottom: 5px;
}

.apply-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #2563eb;
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    padding: 13px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apply-btn:hover {
    background: #1d4ed8;
}

.bottom-banner {
    background: #0f172a;
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
    border-radius: 12px;
}

.bottom-banner h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

.bottom-banner p {
    color: #94a3b8;
    margin-bottom: 20px;
}

footer {
    background: #020617;
    color: #94a3b8;
    text-align: center;
    padding: 25px 15px;
    margin-top: 40px;
    font-size: 13px;
}

.footer-links {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.78);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.popup-box-300x250 {
    width: 300px;
    height: 250px;
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
    border: 3px solid #22c55e;
    border-radius: 12px;
    position: relative;
    padding: 16px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    animation: popIn 0.3s ease-out;
}

.popup-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 28px;
    height: 28px;
    background: #ef4444;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 900;
    line-height: 24px;
    cursor: pointer;
    text-align: center;
}

.popup-badge {
    background: #fef08a;
    color: #854d0e;
    font-size: 11px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin: 0 auto;
}

.popup-title {
    font-size: 19px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
}

.popup-salary {
    font-size: 22px;
    font-weight: 900;
    color: #16a34a;
}

.popup-sub {
    font-size: 12px;
    color: #475569;
    font-weight: 600;
}

.popup-cta-btn {
    display: block;
    background: #22c55e;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    padding: 11px;
    border-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.4);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 25px; }
    .nav-links a:not(.nav-cta) { display: none; }
}
