
/* ====================================
    1. MODERN HERO BANNER 
==================================== */
.modern-hero-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0 120px 0;
    position: relative;
}

.modern-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

/* 3D Image Presentation */
.image-3d-container {
    perspective: 1000px;
    width: 100%;
    max-width: 500px;
    margin: auto;
}

.image-3d-wrapper {
    width: 100%;
    transform: rotateY(-15deg) rotateX(10deg);
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.6s ease;
    border-radius: 20px;
    box-shadow: -20px 30px 50px rgba(0, 0, 0, 0.25);
    border: 8px solid white;
    background: white;
}

.image-3d-wrapper:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.image-3d-wrapper img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* ====================================
    2. SEARCH BAR & PARTNERS
==================================== */
.search-bar-overlap {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 50%, #fef5f9 100%);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    padding: 35px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    overflow: hidden;
}

.search-bar-overlap::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.search-bar-overlap::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.search-bar-overlap form,
.search-bar-overlap .twm-bnr-popular-search {
    position: relative;
    z-index: 2;
}

.search-bar-overlap .form-select,
.search-bar-overlap .form-control {
    height: 50px;
    font-size: 15px;
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.search-bar-overlap .input-group-text {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.trusted-partners-container {
    margin-top: 40px;
    margin-bottom: 20px;
}

.trusted-cards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.trusted-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.trusted-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.trusted-card img {
    max-width: 100%;
    max-height: 100%;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.trusted-card:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

/* ====================================
    3. JOB SEEKER VIDEO SECTION
==================================== */
.job-seekers-video-section {
    position: relative;
    padding: 70px 0;
    overflow: hidden;
    background-color: #000;
}

.job-seekers-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.job-seekers-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(25, 103, 210, 0.5) 100%);
    z-index: 1;
}

.job-seekers-content {
    position: relative;
    z-index: 2;
}

.job-seekers-content,
.job-seekers-content h2,
.job-seekers-content h3,
.job-seekers-content p,
.job-seekers-content div {
    color: #ffffff !important;
}

.video-stats-divider {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.video-stats-divider:last-child {
    border-right: none;
}

/* ====================================
    4. AI POWERED SECTION (NEW)
==================================== */
.ai-power-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 100%);
    position: relative;
}

.ai-card-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid #eef2f6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-card-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.ai-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.bg-seeker {
    background: rgba(25, 103, 210, 0.1);
    color: #1967d2;
}

.bg-employer {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

/* ====================================
    5. UNLOCK OPPORTUNITIES REDESIGN
==================================== */
.unlock-premium-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin: 60px 0;
}

.unlock-ambient-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: -200px;
    left: -200px;
    z-index: 1;
}

.unlock-ambient-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: -150px;
    right: -100px;
    z-index: 1;
}

.unlock-content-wrap {
    position: relative;
    z-index: 2;
    padding: 80px 60px;
}

.unlock-image-wrap {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 450px;
    background: url('assets/img/girl-large.png') no-repeat bottom center;
    background-size: contain;
}

/* ====================================
    6. TESTIMONIALS & INFINITE SCROLL
==================================== */
.modern-testi-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.modern-testi-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(25, 103, 210, 0.1);
    border-color: rgba(25, 103, 210, 0.2);
}

.modern-testi-card .quote-bg {
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-size: 120px;
    color: rgba(25, 103, 210, 0.04);
    z-index: -1;
    transform: rotate(-10deg);
}

.modern-testi-card img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8fafc;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-right: 15px;
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 15px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollLeft 45s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track.scroll-right {
    animation-direction: reverse;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.cat-marquee-item {
    width: 280px;
    flex-shrink: 0;
    margin-right: 25px;
}

.testi-marquee-item {
    width: 400px;
    flex-shrink: 0;
    margin-right: 25px;
    white-space: normal;
}

.job-categories-block-2 {
    height: 100%;
    margin-bottom: 0 !important;
    background: white;
    border: 1px solid #eef2f6;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.job-categories-block-2:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .trusted-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .image-3d-container {
        margin-top: 40px;
    }

    .modern-hero-banner {
        padding: 60px 0 80px 0;
    }

    .unlock-content-wrap {
        padding: 50px 30px;
        text-align: center;
    }

    .unlock-image-wrap {
        min-height: 300px;
        background-position: center;
    }
}

@media (max-width: 575px) {
    .trusted-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-bar-overlap {
        margin-top: -30px;
        padding: 20px;
    }

    .image-3d-wrapper {
        transform: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .testi-marquee-item {
        width: 320px;
    }
}