/* ============================================================
   assets/css/style.css — TalentBridge Public Site Styles
   Red + White + Dark editorial theme
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
    --red:        #C8102E;
    --red-dark:   #9B0B22;
    --red-light:  #FF3352;
    --red-pale:   #FFF0F2;
    --black:      #0D0D0D;
    --dark:       #1A1A2E;
    --mid:        #4A4A6A;
    --muted:      #8888AA;
    --light:      #F7F7FB;
    --white:      #FFFFFF;
    --border:     #EAEAF0;
    --radius:     14px;
    --shadow:     0 4px 24px rgba(200,16,46,.1);
    --shadow-lg:  0 12px 48px rgba(200,16,46,.15);
    --font-head:  'Playfair Display', serif;
    --font-body:  'DM Sans', sans-serif;
}

/* ── Reset / Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); line-height: 1.7; }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }

.navbar-brand {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--dark) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.brand-icon { color: var(--red); }
.brand-accent { color: var(--red); }

.nav-link { color: var(--mid) !important; font-weight: 500; transition: color .2s; }
.nav-link:hover { color: var(--red) !important; }

.btn-outline-primary-custom {
    border: 2px solid var(--red);
    color: var(--red);
    background: transparent;
    border-radius: 50px;
    padding: .4rem 1.2rem;
    font-weight: 600;
    font-size: .9rem;
    transition: all .2s;
    text-decoration: none;
}
.btn-outline-primary-custom:hover { background: var(--red); color: var(--white); }

/* ── Hero Section ─────────────────────────────────────────── */
.hero-section {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--white) 0%, var(--red-pale) 100%);
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: .06;
    background: var(--red);
}
.shape-1 { width: 600px; height: 600px; top: -200px; right: -200px; }
.shape-2 { width: 300px; height: 300px; bottom: -100px; left: 10%; }
.shape-3 { width: 150px; height: 150px; top: 20%; left: 5%; }

.hero-tag {
    display: inline-block;
    background: var(--red-pale);
    color: var(--red);
    border: 1px solid #FFCCD5;
    border-radius: 50px;
    padding: .3rem 1rem;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 1.2rem;
}
.title-highlight {
    color: var(--red);
    position: relative;
}
.title-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 0; right: 0;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
    opacity: .3;
}
.hero-sub { font-size: 1.1rem; color: var(--mid); max-width: 540px; margin-bottom: 2rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.btn-hero-primary {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: .85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all .25s;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(200,16,46,.35);
}
.btn-hero-primary:hover { background: var(--red-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,16,46,.4); }

.btn-hero-ghost {
    background: transparent;
    border: 2px solid var(--dark);
    color: var(--dark);
    padding: .85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all .25s;
    display: inline-flex;
    align-items: center;
}
.btn-hero-ghost:hover { background: var(--dark); color: var(--white); }

.hero-stats { display: flex; align-items: center; gap: 2rem; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 1.8rem; font-weight: 700; color: var(--red); font-family: var(--font-head); }
.stat-item span { font-size: .85rem; color: var(--muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero illustration */
.hero-illustration { position: relative; height: 420px; }
.hero-circle {
    width: 360px; height: 360px;
    border-radius: 50%;
    border: 3px solid rgba(200,16,46,.15);
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
	background-image:url(https://lightcast.io/_next/image?url=https%3A%2F%2Fwww.datocms-assets.com%2F62658%2F1689753721-european-skills-index-consultancy.png&w=2560&q=75);
	-background-image:url(https://www.jkexec.com/wp-content/uploads/2024/11/6015cc29f1455f158e452a5b_The-Handshake.jpg);
	background-size:100%;
	background-position:center center;
}
.float-card {
    position: absolute;
    background: var(--white);
    border-radius: 12px;
    padding: .7rem 1.1rem;
    font-size: .85rem;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    white-space: nowrap;
    animation: float 3s ease-in-out infinite;
}
.card-1 { top: 15%; left: 0; animation-delay: 0s; }
.card-2 { top: 45%; right: -10px; animation-delay: 1s; }
.card-3 { bottom: 15%; left: 20%; animation-delay: 2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── Jobs Section ─────────────────────────────────────────── */
.jobs-section { padding: 80px 0; background: var(--light); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
    display: inline-block;
    background: var(--red-pale);
    color: var(--red);
    border-radius: 50px;
    padding: .3rem 1rem;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: .8rem;
}
.section-title { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: var(--dark); }
.text-accent { color: var(--red); }
.section-sub { color: var(--muted); max-width: 480px; margin: .5rem auto 0; }

/* Filter bar */
.filter-bar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.search-wrap { position: relative; }
.search-wrap i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-wrap .form-control { padding-left: 2.5rem; }
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: .65rem 1rem;
    font-family: var(--font-body);
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(200,16,46,.1);
    outline: none;
}

/* Job Cards */
.job-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.6rem;
    border: 1.5px solid var(--border);
    transition: all .25s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.job-card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.job-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.job-domain-icon {
    width: 52px; height: 52px;
    background: var(--red-pale);
    color: var(--red);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.job-meta-right { text-align: right; }
.badge-job-type {
    display: inline-block;
    background: var(--dark);
    color: var(--white);
    border-radius: 50px;
    padding: .2rem .75rem;
    font-size: .75rem;
    font-weight: 600;
}
.job-time { display: block; font-size: .78rem; color: var(--muted); margin-top: .3rem; }

.job-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.job-desc { font-size: .88rem; color: var(--mid); margin-bottom: 1rem; flex: 1; }

.job-details-row { display: flex; flex-wrap: wrap; gap: .4rem .8rem; margin-bottom: 1rem; }
.job-detail-item { font-size: .82rem; color: var(--mid); display: flex; align-items: center; gap: .3rem; }
.job-detail-item i { color: var(--red); font-size: .9rem; }

.job-skills { margin-bottom: 1.2rem; }
.skill-badge {
    display: inline-block;
    background: var(--light);
    color: var(--mid);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: .2rem .6rem;
    font-size: .75rem;
    font-weight: 500;
    margin-bottom: .3rem;
    transition: all .15s;
}
.skill-badge:hover { background: var(--red-pale); color: var(--red); border-color: #FFCCD5; }

.job-card-footer { display: flex; gap: .8rem; }
.btn-apply {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: .55rem 1.3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
}
.btn-apply:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); }

.btn-details {
    background: var(--light);
    color: var(--dark);
    border: 1.5px solid var(--border);
    padding: .55rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .9rem;
    transition: all .2s;
    cursor: pointer;
}
.btn-details:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }

/* ── About Section ────────────────────────────────────────── */
.about-section { padding: 80px 0; background: var(--white); }
.about-visual { position: relative; height: 280px; }
.about-box {
    position: absolute;
    background: var(--red);
    color: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: .8rem;
}
.about-box i { font-size: 1.8rem; }
.about-box p { margin: 0; font-weight: 600; font-size: .95rem; }
.box-main { top: 30px; left: 0; right: 60px; }
.box-side { bottom: 0; right: 0; left: 80px; background: var(--dark); }

.feature-card {
    background: var(--light);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    border: 1.5px solid var(--border);
    transition: border-color .2s;
}
.feature-card:hover { border-color: var(--red); }
.feature-card i { font-size: 1.3rem; color: var(--red); margin-top: .1rem; flex-shrink: 0; }
.feature-card strong { display: block; font-size: .9rem; color: var(--dark); }
.feature-card p { margin: 0; font-size: .82rem; color: var(--muted); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: var(--white); padding: 2rem 0; }
.brand-footer { font-family: var(--font-head); font-size: 1.3rem; font-weight: 900; }
.brand-footer span { color: var(--red); }
.footer-copy { color: rgba(255,255,255,.5); font-size: .85rem; margin-top: .3rem; }
.footer-link { color: rgba(255,255,255,.6); text-decoration: none; margin-left: 1.5rem; font-size: .9rem; }
.footer-link:hover { color: var(--red); }

/* ── Registration Page ────────────────────────────────────── */
.register-page { background: var(--light); min-height: 100vh; }
.register-wrapper { padding: 3rem 0 4rem; }

.register-card {
    background: var(--white);
    border-radius: 20px;
    border: 1.5px solid var(--border);
    box-shadow: 0 8px 40px rgba(0,0,0,.06);
    overflow: hidden;
}
.register-card-header {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
    padding: 2rem 2.5rem;
}
.register-card-header h2 { font-family: var(--font-head); font-size: 1.9rem; font-weight: 900; }
.register-card-header p { opacity: .85; margin: 0; }

.register-form { padding: 2rem 2.5rem; }

.form-section { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.form-section:last-of-type { border-bottom: none; }
.form-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.step-num {
    width: 26px; height: 26px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    flex-shrink: 0;
}
.form-label { font-weight: 600; font-size: .88rem; color: var(--dark); margin-bottom: .4rem; }

/* Experience toggle */
.exp-toggle { display: flex; gap: .6rem; }
.exp-option {
    flex: 1;
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: .65rem 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: .88rem;
    text-align: center;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.exp-option input { display: none; }
.exp-option.active, .exp-option:has(input:checked) {
    border-color: var(--red);
    background: var(--red-pale);
    color: var(--red);
}
.exp-option:hover { border-color: var(--red); }

/* Resume dropzone */
.resume-dropzone {
    border: 2px dashed var(--border);
    border-radius: 14px;
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    background: var(--light);
    position: relative;
}
.resume-dropzone:hover, .resume-dropzone.drag-over {
    border-color: var(--red);
    background: var(--red-pale);
}
.resume-dropzone input[type=file] {
    position: absolute; inset: 0; opacity: 0; cursor: pointer;
}
.dropzone-content i { font-size: 2.5rem; color: var(--red); display: block; margin-bottom: .5rem; }
.dropzone-content p { font-weight: 600; color: var(--dark); margin: 0; }
.dropzone-content span { font-size: .82rem; color: var(--muted); }

.form-submit-area { padding: 0 2.5rem 2.5rem; }
.btn-submit-app {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: .9rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all .25s;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(200,16,46,.35);
}
.btn-submit-app:hover { background: var(--red-dark); transform: translateY(-2px); }

/* Success card */
.success-card {
    background: var(--white);
    border-radius: 20px;
    padding: 4rem 3rem;
    border: 1.5px solid var(--border);
    text-align: center;
}
.success-icon {
    width: 90px; height: 90px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
    border-radius: 50%;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.success-card h2 { font-family: var(--font-head); color: var(--dark); }

/* ── Modal ────────────────────────────────────────────────── */
.modal-content { border-radius: var(--radius); border: none; }
.modal-header { border-bottom: 1px solid var(--border); }
.modal-title { font-family: var(--font-head); font-weight: 700; }

/* ── Login Page ───────────────────────────────────────────── */
.login-page { min-height: 100vh; }
.login-split { display: flex; min-height: 100vh; }

.login-panel-left {
    flex: 1;
    background: linear-gradient(145deg, var(--red-dark) 0%, var(--red) 50%, #FF5577 100%);
    color: var(--white);
    padding: 3rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.login-brand { position: relative; z-index: 2; }
.login-logo {
    width: 80px; height: 80px;
    background: rgba(255,255,255,.2);
    border-radius: 20px;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    backdrop-filter: blur(10px);
}
.login-brand h1 { font-family: var(--font-head); font-size: 2.5rem; font-weight: 900; }
.login-brand span { opacity: .7; }
.login-brand p { opacity: .7; margin: .3rem 0 0; }

.decor-circle {
    position: absolute; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.15);
}
.c1 { width: 400px; height: 400px; top: -150px; right: -150px; }
.c2 { width: 250px; height: 250px; bottom: -80px; left: -80px; }
.c3 { width: 150px; height: 150px; top: 40%; left: 10%; }

.login-stats-preview { position: relative; z-index: 2; margin-top: 3rem; }
.lsp-item {
    display: flex; align-items: center; gap: .8rem;
    background: rgba(255,255,255,.12);
    border-radius: 12px;
    padding: .7rem 1.2rem;
    margin-bottom: .6rem;
    backdrop-filter: blur(8px);
    font-weight: 600;
}
.lsp-item i { font-size: 1.2rem; }

.login-panel-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--white);
}
.login-form-box { width: 100%; max-width: 440px; }
.login-form-header { text-align: center; margin-bottom: 2rem; }
.lf-icon {
    width: 64px; height: 64px;
    background: var(--red-pale);
    color: var(--red);
    border-radius: 16px;
    font-size: 1.8rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.login-form-header h2 { font-family: var(--font-head); font-size: 1.8rem; font-weight: 900; }
.login-form-header p { color: var(--muted); }

.input-icon-wrap { position: relative; }
.input-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.form-control-lg { font-size: 1rem; }
.pw-toggle {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--muted); cursor: pointer; padding: .25rem;
}

.btn-login {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: .9rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s;
    box-shadow: 0 4px 20px rgba(200,16,46,.3);
}
.btn-login:hover { background: var(--red-dark); transform: translateY(-2px); }

.login-back { text-align: center; margin-top: 1.5rem; }
.login-back a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.login-back a:hover { color: var(--red); }
.login-hint { text-align: center; margin-top: .5rem; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 992px) {
    .hero-section { padding: 110px 0 60px; min-height: auto; }
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
    .register-form, .form-submit-area { padding-left: 1.5rem; padding-right: 1.5rem; }
    .register-card-header { padding: 1.5rem; }
}
@media (max-width: 576px) {
    .hero-title { font-size: 2rem; }
    .hero-actions { flex-direction: column; }
    .btn-hero-primary, .btn-hero-ghost { width: 100%; justify-content: center; }
    .login-split { flex-direction: column; }
    .login-panel-left { padding: 2rem; min-height: 200px; }
    .exp-toggle { flex-direction: column; }
}
