*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --topbar-color: #0f141e;
    --navbar-color: #ffffff;
    --primary-color: #c41e3a;
    --secondary-color: #6c757d;
    --background-color: #f8f9fa;
    --text-color: #333;
    --dark-text: #1a1a1a;
}

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* ============ TOPBAR ============ */
.topbar {
    background-color: var(--topbar-color);
    color: #fff;
    padding: 10px 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-bottom: 1px solid #333;
}

.topbar-left {
    display: flex;
    gap: 25px;
    margin-left: auto;
}

.topbar a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.topbar a:hover {
    color: var(--primary-color);
}

/* ============ NAVBAR ============ */
.navbar {
    background-color: var(--navbar-color);
    padding: 15px 50px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 150px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.logo-accent {
    width: 4px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    flex: 1;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu .has-dropdown a i {
    font-size: 12px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.nav-menu .has-dropdown a:hover i {
    transform: rotate(180deg);
}

.nav-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-btn:hover {
    background-color: #a01830;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* ============ HERO SECTION ============ */
.hero {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(15, 20, 30, 0.9) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 768"><defs><filter id="blur"><feGaussianBlur in="SourceGraphic" stdDeviation="3" /></filter></defs><rect width="1024" height="768" fill="%23222"/><path d="M400 200 Q600 150 700 300" stroke="%23333" stroke-width="2" fill="none" filter="url(%23blur)"/></svg>');
                /* background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80'); */
    background-size: cover, cover;
    background-position: center;
    color: #fff;
    padding: 80px 50px 20px 50px;
    position: relative;
    overflow: hidden;
    /* min-height: 750px; */
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 80% 30%, rgba(232, 53, 26, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.animated-text {
    display: inline-block;
    min-width: 320px;
    color: var(--primary-color);
    will-change: opacity, transform;
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    font-size: 15px;
    color: #ccc;
    margin-bottom: 35px;
    line-height: 1.7;
}

/* ============ HERO BUTTONS ============ */
.hero-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--navbar-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #d12f16;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 53, 26, 0.4);
}

.btn-divider {
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

/* ============ JOB SEARCH FORM ============ */
.job-search-form {
    margin-bottom: 60px;
}

.search-subtitle {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 15px;
    font-weight: 500;
}

.search-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    flex: 1;
    min-width: 160px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group select:hover,
.form-group select:focus {
    background: #e8e8e8;
    outline: none;
}

.form-group i {
    position: absolute;
    right: 12px;
    bottom: 10px;
    font-size: 12px;
    color: var(--primary-color);
    pointer-events: none;
}

.advanced-search {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 10px 8px;
}

.advanced-search:hover {
    color: var(--primary-color);
}

.search-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    width: 45px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: #a01830;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.3);
}

/* ============ CATEGORY CARDS ============ */
.categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.category-card:hover {
    background: rgba(232, 53, 26, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.category-image {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ============ SIDE BADGE ============ */
.side-badge {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(180deg, var(--primary-color) 0%, #d12f16 100%);
    color: #fff;
    padding: 20px 12px;
    border-radius: 20px;
    text-align: center;
    z-index: 3;
    box-shadow: 0 5px 20px rgba(232, 53, 26, 0.4);
    animation: badgeFloat 3s ease-in-out infinite;
}

.side-badge span {
    font-size: 13px;
    font-weight: 700;
    display: block;
    letter-spacing: 1px;
}

.side-badge p {
    font-size: 11px;
    font-weight: 600;
    margin-top: 5px;
    line-height: 1.3;
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(5px);
    }
}

/* ============ FLOATING CIRCLE ============ */
.floating-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 30% 30%, var(--primary-color), rgba(232, 53, 26, 0.2));
    border-radius: 50%;
    right: -150px;
    top: 100px;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(20px);
    }
}

/* ============ USP SECTION ============ */
.usp-section {
    background-color: #fff;
    padding: 30px 50px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.usp-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 30px;
    flex-wrap: wrap;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
}

.usp-item:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.usp-item i {
    font-size: 22px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.usp-item:hover i {
    transform: scale(1.1);
}

.usp-item-proof {
    flex-direction: row;
    gap: 15px;
    justify-content: center;
}

.usp-item-proof .avatar-stack {
    width: 140px;
    height: 40px;
    margin: 0;
}

.usp-item-proof .proof-text {
    align-items: flex-start;
    gap: 2px;
}

.usp-item-proof .proof-number {
    font-size: 16px;
}

.usp-item-proof .proof-label {
    font-size: 13px;
}

.avatar-stack {
    display: flex;
    align-items: center;
    position: relative;
    width: 140px;
    height: 40px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    position: absolute;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 10px;
}

.avatar-1 {
    left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 5;
}

.avatar-2 {
    left: 27px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    z-index: 4;
}

.avatar-3 {
    left: 54px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    z-index: 3;
}

.avatar-4 {
    left: 81px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    z-index: 2;
}

.avatar-5 {
    left: 108px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    z-index: 1;
}

.avatar-more {
    left: 81px;
    background-color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    z-index: 0;
}

.proof-text {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

.proof-number {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.5px;
    display: inline;
}

.proof-label {
    font-size: 12px;
    color: #333;
    font-weight: 500;
    display: inline;
    margin-left: 4px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .topbar {
        padding: 10px 30px;
    }

    .navbar {
        padding: 12px 30px;
    }

    .hero {
        padding: 60px 30px;
    }

    .categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .floating-circle {
        width: 300px;
        height: 300px;
        right: -100px;
        top: 50px;
    }

    .usp-section {
        padding: 25px 30px;
    }

    .usp-container {
        gap: 25px;
    }

    .usp-item {
        font-size: 14px;
    }

    .usp-item i {
        font-size: 18px;
    }

    .avatar-stack {
        width: 160px;
    }

    .avatar {
        width: 45px;
        height: 45px;
        border: 2px solid #fff;
    }

    .avatar-1 { left: 0; }
    .avatar-2 { left: 30px; }
    .avatar-3 { left: 60px; }
    .avatar-4 { left: 90px; }
    .avatar-5 { left: 120px; }
    .avatar-more { left: 150px; font-size: 20px; }

    .proof-number {
        font-size: 18px;
    }

    .proof-label {
        font-size: 13px;
    }

    .usp-item-proof {
        flex-direction: row;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .topbar {
        padding: 8px 20px;
        flex-direction: column;
        gap: 8px;
    }

    .topbar-left {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .navbar {
        padding: 12px 20px;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 50px 20px;
        min-height: 600px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
    }

    .btn-divider {
        display: none;
    }

    .search-form {
        flex-direction: column;
        padding: 15px;
    }

    .form-group {
        width: 100%;
        min-width: unset;
    }

    .advanced-search,
    .search-btn {
        width: 100%;
    }

    .search-btn {
        height: 40px;
    }

    .categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 40px;
    }

    .category-card {
        padding: 18px;
    }

    .side-badge {
        right: 15px;
        top: 30%;
        padding: 15px 10px;
    }

    .floating-circle {
        width: 250px;
        height: 250px;
        right: -80px;
        top: 100px;
    }

    .usp-section {
        padding: 20px;
    }

    .usp-container {
        gap: 20px;
    }

    .usp-item {
        flex: 1 1 calc(50% - 10px);
        font-size: 13px;
    }

    .usp-item i {
        font-size: 16px;
    }

    .usp-item-proof {
        flex-direction: row;
        gap: 10px;
    }

    .avatar-stack {
        width: 140px;
        height: 40px;
    }

    .avatar {
        width: 40px;
        height: 40px;
        border: 2px solid #fff;
        font-size: 11px;
    }

    .avatar-1 { left: 0; }
    .avatar-2 { left: 27px; }
    .avatar-3 { left: 54px; }
    .avatar-4 { left: 81px; }
    .avatar-5 { left: 108px; }
    .avatar-more { left: 135px; font-size: 18px; }

    .proof-number {
        font-size: 15px;
    }

    .proof-label {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .categories {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .topbar a {
        font-size: 12px;
    }

    .nav-container {
        gap: 15px;
    }

    .logo-text {
        font-size: 16px;
    }

    .nav-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .usp-section {
        padding: 15px 10px;
    }

    .usp-container {
        flex-direction: column;
        gap: 15px;
    }

    .usp-item {
        flex: 1 1 100%;
        min-width: unset;
        font-size: 12px;
        justify-content: center;
    }

    .usp-item i {
        font-size: 14px;
    }

    .usp-item-proof {
        flex-direction: row;
        gap: 8px;
    }

    .avatar-stack {
        width: 130px;
        height: 40px;
    }

    .avatar {
        width: 36px;
        height: 36px;
        border: 2px solid #fff;
        font-size: 10px;
    }

    .avatar-1 { left: 0; }
    .avatar-2 { left: 24px; }
    .avatar-3 { left: 48px; }
    .avatar-4 { left: 72px; }
    .avatar-5 { left: 96px; }
    .avatar-more { left: 120px; font-size: 16px; }

    .proof-number {
        font-size: 15px;
    }

    .proof-label {
        font-size: 10px;
    }
}