* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; line-height: 1.6; }
a { text-decoration: none; }

/* Header */
.header {
    background: #fff;
    border-bottom: 2px solid #1a6fb5;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo img {
    height: 50px;
    width: auto;
}
nav { display: flex; align-items: center; gap: 8px; }
nav a {
    color: #444;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
nav a:hover { color: #1a6fb5; background: #f0f7ff; }
nav a.active { color: #1a6fb5; font-weight: 600; }

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a6fb5 0%, #0d4a7a 100%);
    color: #fff;
    padding: 80px 0 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.hero p {
    font-size: 19px;
    max-width: 700px;
    margin: 0 auto 35px;
    opacity: 0.92;
    line-height: 1.7;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    margin-bottom: 25px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}
.btn-white { background: #fff; color: #1a6fb5; }
.btn-white:hover { background: #f0f7ff; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-primary { background: #1a6fb5; color: #fff; }
.btn-primary:hover { background: #155d9a; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(26,111,181,0.3); }
.btn-green { background: #1a8a4a; color: #fff; }
.btn-green:hover { background: #157a3f; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(26,138,74,0.3); }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a6fb5;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    margin-bottom: 20px;
    transition: gap 0.2s;
}
.btn-back:hover { gap: 10px; }

/* Section Title */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; color: #1a3a5c; margin-bottom: 12px; }
.section-title p { font-size: 17px; color: #666; max-width: 600px; margin: 0 auto; }

/* Services Section */
.services { padding: 80px 0; background: #fff; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: #f8fafc;
    border: 1px solid #e8eef3;
    border-radius: 10px;
    padding: 35px 28px;
    transition: all 0.3s;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: #1a6fb5;
}
.service-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #1a6fb5, #2d8fd5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
}
.service-card h3 { font-size: 18px; color: #1a3a5c; margin-bottom: 12px; }
.service-card p { font-size: 14px; color: #666; line-height: 1.7; }

/* How it Works */
.how-it-works { padding: 80px 0; background: #f8fafc; }
.steps-container { display: flex; gap: 0; position: relative; justify-content: center; }
.step {
    text-align: center;
    flex: 1;
    max-width: 250px;
    position: relative;
    padding: 0 20px;
}
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: #1a6fb5;
}
.step-number {
    width: 60px;
    height: 60px;
    background: #1a6fb5;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin: 0 auto 18px;
}
.step h3 { font-size: 16px; color: #1a3a5c; margin-bottom: 8px; }
.step p { font-size: 13px; color: #666; }

/* Dual Section - Candidati & Angajatori */
.dual-section { padding: 80px 0; background: #fff; }
.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.dual-card {
    border-radius: 12px;
    padding: 45px 40px;
    position: relative;
    overflow: hidden;
}
.dual-card.candidates {
    background: linear-gradient(135deg, #f0f7ff 0%, #e3f0fc 100%);
    border: 1px solid #c8ddf0;
}
.dual-card.employers {
    background: linear-gradient(135deg, #f0faf4 0%, #e3f5eb 100%);
    border: 1px solid #c0e0cc;
}
.dual-card h3 { font-size: 24px; margin-bottom: 20px; }
.dual-card.candidates h3 { color: #1a6fb5; }
.dual-card.employers h3 { color: #1a8a4a; }
.dual-card ul { list-style: none; margin-bottom: 25px; }
.dual-card ul li {
    padding: 8px 0;
    font-size: 15px;
    color: #444;
    padding-left: 25px;
    position: relative;
}
.dual-card.candidates ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #1a6fb5;
    font-weight: bold;
}
.dual-card.employers ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #1a8a4a;
    font-weight: bold;
}

/* Forms Section */
.forms-section { padding: 80px 0; background: #f8fafc; }
.forms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.form-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.form-card h3 {
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid;
}
.form-card.candidate-form h3 { color: #1a6fb5; border-color: #1a6fb5; }
.form-card.employer-form h3 { color: #1a8a4a; border-color: #1a8a4a; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
    font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a6fb5;
    box-shadow: 0 0 0 3px rgba(26,111,181,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.upload-area:hover { border-color: #1a6fb5; background: #f8fafc; }
.upload-area span { font-size: 28px; display: block; margin-bottom: 8px; }
.upload-area p { font-size: 13px; color: #888; }

/* Job Listings Table */
.listings-section { padding: 60px 0; }
.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.listings-header h2 { font-size: 28px; color: #1a3a5c; }
.listings-count { color: #666; font-size: 15px; }
.listings-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.listings-table thead { background: #1a6fb5; color: #fff; }
.listings-table th {
    padding: 14px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.listings-table td {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid #eef2f6;
}
.listings-table tbody tr {
    cursor: pointer;
    transition: background 0.15s;
}
.listings-table tbody tr:hover { background: #f0f7ff; }
.listings-table tbody tr:last-child td { border-bottom: none; }
.badge-contract {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.badge-full { background: #e3f0fc; color: #1a6fb5; }
.badge-part { background: #fef3e2; color: #c77d1a; }

/* Job Detail */
.job-detail { padding: 60px 0; }
.job-detail-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    overflow: hidden;
}
.job-detail-header {
    background: linear-gradient(135deg, #1a6fb5 0%, #0d4a7a 100%);
    color: #fff;
    padding: 40px;
}
.job-detail-header h1 { font-size: 30px; margin-bottom: 8px; }
.job-detail-header .company { font-size: 18px; opacity: 0.9; margin-bottom: 20px; }
.job-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 14px;
    opacity: 0.85;
}
.job-meta-item { display: flex; align-items: center; gap: 6px; }
.job-detail-body { padding: 40px; }
.job-detail-body h3 {
    font-size: 18px;
    color: #1a3a5c;
    margin: 30px 0 12px;
}
.job-detail-body h3:first-child { margin-top: 0; }
.job-detail-body p { font-size: 15px; color: #555; line-height: 1.8; }
.job-detail-body ul {
    list-style: none;
    margin: 10px 0;
}
.job-detail-body ul li {
    padding: 6px 0 6px 22px;
    position: relative;
    font-size: 15px;
    color: #555;
}
.job-detail-body ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #1a6fb5;
    font-weight: bold;
}
.job-apply-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e8eef3;
}
.job-apply-section h3 { margin-top: 0 !important; }
.apply-form { max-width: 500px; }

/* Contact */
.contact-bar {
    background: #1a3a5c;
    color: #fff;
    padding: 50px 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}
.contact-item h4 { font-size: 16px; margin-bottom: 8px; color: #8ebde6; }
.contact-item p { font-size: 15px; opacity: 0.9; }

/* Footer */
.footer {
    background: #0d2137;
    color: rgba(255,255,255,0.6);
    padding: 30px 0;
    text-align: center;
    font-size: 13px;
}
.footer a { color: #8ebde6; text-decoration: none; }

/* Page Header (for inner pages) */
.page-header {
    background: linear-gradient(135deg, #1a6fb5 0%, #0d4a7a 100%);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}
.page-header h1 { font-size: 34px; font-weight: 700; margin-bottom: 10px; }
.page-header p { font-size: 17px; opacity: 0.85; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 28px; }
    .services-grid,
    .dual-grid,
    .forms-grid,
    .contact-grid { grid-template-columns: 1fr; }
    .steps-container { flex-direction: column; align-items: center; }
    .step:not(:last-child)::after { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .listings-table { font-size: 13px; }
    .listings-table th,
    .listings-table td { padding: 10px 12px; }
    .job-meta { flex-direction: column; gap: 8px; }
    .page-header h1 { font-size: 26px; }
    nav { gap: 4px; }
    nav a { font-size: 13px; padding: 6px 10px; }
}
