/* 
    August75 Professional Career Portal
    Design: Clean, Corporate, High-Precision
*/

:root {
    --portal-primary: #d9232d;
    --portal-primary-dark: #b01c24;
    --portal-secondary: #0f172a;
    --portal-slate: #334155;
    --portal-bg: #ffffff;
    --portal-light: #f8fafc;
    --portal-border: #e2e8f0;
}

body {
    background: var(--portal-bg);
    color: var(--portal-secondary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
}

/* 1. HERO - PROFESSIONAL CLEAN */
.portal-hero {
    min-height: 80vh;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.portal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('../img/futuristic_career_portal_bg_1777124692364.png') center center no-repeat;
    background-size: cover;
    opacity: 0.05;
    mask-image: linear-gradient(to left, rgba(0,0,0,1), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
}

.hero-tag {
    color: var(--portal-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 14px;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--portal-secondary);
    margin-bottom: 30px;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--portal-slate);
    margin-bottom: 40px;
    max-width: 600px;
}

/* 2. SEARCH BAR - PRECISION */
.search-hub {
    background: #fff;
    border: 1px solid var(--portal-border);
    padding: 8px;
    border-radius: 16px;
    display: flex;
    max-width: 700px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.05);
    transition: 0.3s;
}

.search-hub:focus-within {
    border-color: var(--portal-primary);
    box-shadow: 0 20px 60px rgba(217, 35, 45, 0.1);
}

.search-hub input {
    border: none;
    padding: 15px 25px;
    flex: 1;
    font-size: 1rem;
    outline: none;
    color: var(--portal-secondary);
}

.search-hub button {
    background: var(--portal-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0 40px;
    font-weight: 700;
    transition: 0.3s;
}

.search-hub button:hover {
    background: var(--portal-primary-dark);
}

/* 3. OPPORTUNITY GRID - PERFECT ALIGNMENT */
.grid-section {
    padding: 100px 0;
    background: #fff;
}

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

.job-card {
    background: #fff;
    border: 1px solid var(--portal-border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    border-color: var(--portal-primary);
}

.job-tag {
    color: var(--portal-primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.job-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--portal-secondary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.job-meta {
    margin-top: auto;
    display: flex;
    gap: 20px;
    color: var(--portal-slate);
    font-size: 0.85rem;
    font-weight: 600;
    border-top: 1px solid var(--portal-light);
    padding-top: 20px;
}

.job-meta i {
    color: var(--portal-primary);
}

/* 4. PROFESSIONAL STATS */
.portal-stats {
    background: var(--portal-secondary);
    padding: 80px 0;
    color: #fff;
}

.stat-item h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--portal-primary);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* RESPONSIVE */
@media (max-width: 1199px) {
    .portal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .portal-grid { grid-template-columns: 1fr; }
    .portal-hero { min-height: auto; padding: 120px 0 60px; }
}
