@charset "utf-8";
/* CSS Document */
/* =========================================
   DESIGN SYSTEM & COLOR PALETTE
   ========================================= */
:root {
    --brand-green: #148F4D;     
    --brand-cyan-blue: #28B8D1; 
    --brand-grey: #6C757D;      
    --dark: #1F2937;            
    --light-bg: #F9FAFB;        
    --border: #E5E7EB;          
    --text-muted: #6B7280;      
    --attractive-accent: #FF7F50; 
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--dark);
    line-height: 1.5;
}

/* Navbar Layout */
.navbar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.brand-logo img {
    height: 55px;
    width: auto;
    display: block;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--brand-grey);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a.active, .nav-links a:hover { color: var(--brand-green); }
.nav-links li:nth-child(even) a:hover { color: var(--brand-cyan-blue); }

/* Buttons */
.btn-primary, .btn-search {
    background: var(--brand-green);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-primary:hover, .btn-search:hover { 
    background: #10753F; 
    box-shadow: 0 4px 12px rgba(20, 143, 77, 0.2);
}

.btn-login {
    text-decoration: none;
    color: var(--brand-cyan-blue);
    font-weight: 600;
    margin-right: 1.5rem;
    transition: color 0.2s;
}
.btn-login:hover { color: var(--attractive-accent); } 

.btn-outline {
    border: 2px solid var(--brand-cyan-blue);
    color: var(--brand-cyan-blue);
    background: transparent;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-outline:hover {
    border-color: var(--attractive-accent);
    color: var(--attractive-accent);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    background: white;
    border: 1px solid var(--border);
    color: var(--dark);
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-secondary:hover {
    border-color: var(--brand-grey);
    background: var(--light-bg);
    color: var(--brand-cyan-blue);
}

/* =========================================
   📢 GOOGLE ADS CONTAINER STYLING
   ========================================= */
.ad-container-wrapper {
    max-width: 1200px;
    margin: 1.5rem auto;
    padding: 0 2rem;
    text-align: center;
}

.adsense-placeholder {
    background: #F3F4F6;
    border: 1px dashed var(--brand-grey);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 auto;
    overflow: hidden;
}

/* Layout Sizes for Ads */
.ad-leaderboard {
    width: 100%;
    max-width: 970px;
    min-height: 90px;
    height: auto;
}

.ad-billboard {
    width: 100%;
    max-width: 970px;
    min-height: 250px;
    height: auto;
}

/* =========================================
   NEW COMPACT STATIC SEARCH HEADER
   ========================================= */
.search-header-bg {
    background: linear-gradient(135deg, rgba(20, 143, 77, 0.04) 0%, rgba(40, 184, 209, 0.04) 100%);
    padding: 2.5rem 2rem 3.5rem 2rem;
    text-align: center;
}

.search-header-bg h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}
.search-header-bg h1 span.green { color: var(--brand-green); }
.search-header-bg h1 span.cyan { color: var(--brand-cyan-blue); }
.search-header-bg p {
    color: var(--brand-grey);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.search-wrapper-global {
    max-width: 900px;
    margin: -28px auto 0 auto; 
    position: relative;
    z-index: 40;
    padding: 0 2rem;
}

.search-box {
    background: white;
    padding: 0.75rem;
    border-radius: 16px;
    display: flex;
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
    border: 1px solid var(--border);
}

.search-input {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.75rem;
    color: var(--text-muted);
}

.search-input.location { border-left: 1px solid var(--border); }

.search-input input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    color: var(--dark);
}

.popular-tags-slider { 
    font-size: 0.9rem; 
    color: var(--brand-grey); 
    text-align: center; 
    margin-top: 1.25rem; 
}
.popular-tags-slider a {
    color: var(--brand-grey);
    text-decoration: none;
    margin-left: 0.5rem;
    background: #EEEEEE; 
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.2s;
}
.popular-tags-slider a:hover { 
    color: white; 
    background: var(--brand-green); 
}
.popular-tags-slider a:nth-child(odd):hover { 
    background: var(--brand-cyan-blue); 
}

/* Categories & Feed Layout */
.categories, .jobs-feed {
    max-width: 1200px;
    margin: 3.5rem auto;
    padding: 0 2rem;
}

.section-header { margin-bottom: 2.5rem; }
.section-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem;}
.section-header h2 span { color: var(--brand-green); }
.section-header p { color: var(--brand-grey); }

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.2s;
    cursor: pointer;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--brand-green); 
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    transition: transform 0.2s;
}
.category-card:hover .icon-box { transform: scale(1.1); }

.icon-box.green { background: #EBF7EE; color: var(--brand-green); }
.icon-box.cyan { background: #EAF9FB; color: var(--brand-cyan-blue); }
.icon-box.coral { background: #FFF0EB; color: var(--attractive-accent); } 
.icon-box.grey { background: #F3F4F6; color: var(--brand-grey); }

/* Jobs Feed */
.jobs-container { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }

.job-card {
    background: white;
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.2s;
}
.job-card.featured { border-left: 4px solid var(--brand-green); }
.job-card:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.04); border-color: var(--brand-cyan-blue); }

.logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.job-details { flex: 1; }
.job-title-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.25rem; }
.job-title-row h3 { font-size: 1.2rem; color: var(--dark); transition: color 0.2s; }
.job-card:hover h3 { color: var(--brand-cyan-blue); }

.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-fulltime { background: #EAF9FB; color: var(--brand-cyan-blue); }
.badge-remote { background: #EBF7EE; color: var(--brand-green); }
.badge-urgent { background: #FFF0EB; color: var(--attractive-accent); } 

.company-name { font-size: 0.95rem; color: var(--brand-grey); margin-bottom: 0.5rem; }
.job-meta { display: flex; gap: 1.5rem; font-size: 0.85rem; color: var(--brand-grey); }

.text-center { text-align: center; margin-top: 2rem; }

/* Footer */
footer {
    background: white;
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}
.footer-info p {
    color: var(--brand-grey);
    margin-top: 1rem;
    max-width: 300px;
    line-height: 1.5;
    font-size: 0.9rem;
}
.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--dark);
}
.footer-links a {
    display: block;
    color: var(--brand-grey);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.footer-links a:hover { color: var(--brand-green); transform: translateX(3px); }
.footer-links:nth-child(3) a:hover { color: var(--brand-cyan-blue); }

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.9rem;
    color: var(--brand-grey);
}

/* Responsive Media Queries */
@media(max-width: 768px) {
    .navbar { padding: 0.5rem 1rem; }
    .search-header-bg { padding: 2rem 1rem 3rem 1rem; }
    .search-header-bg h1 { font-size: 1.7rem; }
    .search-wrapper-global { margin-top: -45px; padding: 0 1rem; }
    .search-box { flex-direction: column; gap: 0.5rem; padding: 0.5rem;}
    .search-input.location { border-left: none; border-top: 1px solid var(--border); padding-top: 0.5rem; padding-bottom: 0.25rem; }
    .category-grid { grid-template-columns: 1fr; }
    .job-card { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .job-action { width: 100%; }
    .job-action button { width: 100%; }
    .nav-links { display: none; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
    .adsense-placeholder.ad-leaderboard { min-height: 50px; }
}
