/* VirtualHire.ph LinkedIn-Inspired Homepage CSS */

/* Global Homepage Styles */
.vh-homepage {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1c1e21;
}

/* Hero Section */
.vh-hero {
    background-color: #f3f2ef;
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
}

.vh-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
}

.vh-hero h1 {
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.2;
    color: #0a66c2;
    margin-bottom: 20px;
}

.vh-hero h1 span {
    color: #2c3e50;
}

.vh-hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.4;
    color: #5e6278;
    margin-bottom: 35px;
    font-weight: 300;
}

.vh-hero-buttons .btn {
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-right: 16px;
    margin-bottom: 12px;
}

.vh-hero-buttons .btn-primary {
    background-color: #0a66c2;
    border-color: #0a66c2;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.15);
}

.vh-hero-buttons .btn-outline-primary {
    border-color: #0a66c2;
    color: #0a66c2;
}

.vh-hero-buttons .btn-primary:hover {
    background-color: #004182;
    border-color: #004182;
    transform: translateY(-2px);
}

.vh-hero-buttons .btn-outline-primary:hover {
    background-color: rgba(10, 102, 194, 0.08);
    transform: translateY(-2px);
}

.vh-hero-image {
    position: relative;
    text-align: right;
}

.vh-hero-image img {
    max-width: 100%;
    transform: scale(1.05);
}

/* Stats Section */
.vh-stats {
    background-color: #ffffff;
    margin-top: -40px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    padding: 30px 20px;
}

.vh-stat-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid #eef0f3;
}

.vh-stat-item:last-child {
    border-right: none;
}

.vh-stat-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: #0a66c2;
    margin-bottom: 5px;
    display: block;
}

.vh-stat-text {
    font-size: 1rem;
    color: #5e6278;
    font-weight: 500;
}

/* Section Headers */
.vh-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.vh-section-badge {
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    background-color: rgba(10, 102, 194, 0.1);
    color: #0a66c2;
    border-radius: 20px;
    margin-bottom: 15px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vh-section-title {
    font-size: 36px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.vh-section-subtitle {
    font-size: 18px;
    color: #5e6278;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Trust Score Cards */
.vh-trust-card {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px 25px;
    height: 100%;
    transition: all 0.3s ease;
    border: none;
    background-color: #ffffff;
}

.vh-trust-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.vh-trust-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
}

.vh-trust-level {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
}

.vh-trust-points {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.vh-trust-description {
    color: #5e6278;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
}

.vh-trust-checklist {
    text-align: left;
}

.vh-trust-checklist-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #5e6278;
}

.vh-trust-checklist-icon {
    font-size: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* How It Works Styles */
.vh-process-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    border: none;
}

.vh-process-header {
    padding: 25px 30px;
}

.vh-process-body {
    padding: 30px;
}

.vh-process-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.vh-process-step:last-child {
    margin-bottom: 0;
}

.vh-process-step::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 19px;
    height: calc(100% - 20px);
    width: 2px;
    background-color: #e0e0e0;
}

.vh-process-step:last-child::before {
    display: none;
}

.vh-process-step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: #0a66c2;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    z-index: 1;
}

.vh-process-step-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.vh-process-step-description {
    color: #5e6278;
    font-size: 15px;
    line-height: 1.6;
}

.vh-process-employer .vh-process-step-number {
    background-color: #2c3e50;
}

/* Testimonials Section */
.vh-testimonials {
    background-color: #f3f2ef;
    padding: 80px 0;
    margin-top: 100px;
    margin-bottom: 80px;
}

.vh-testimonial-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.vh-testimonial-quote {
    font-size: 18px;
    line-height: 1.7;
    color: #5e6278;
    margin-bottom: 25px;
    font-style: italic;
}

.vh-testimonial-author {
    display: flex;
    align-items: center;
}

.vh-testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.vh-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vh-testimonial-info {
    flex: 1;
}

.vh-testimonial-name {
    font-size: 17px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.vh-testimonial-role {
    font-size: 14px;
    color: #0a66c2;
}

/* CTA Section */
.vh-cta {
    background: linear-gradient(90deg, #0a66c2, #0077b5);
    padding: 70px 0;
    color: #ffffff;
    border-radius: 12px;
    margin-bottom: 80px;
}

.vh-cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.vh-cta-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.vh-cta .btn {
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.vh-cta .btn-light {
    color: #0a66c2;
}

/* Skills Categories */
.vh-skills-category {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.vh-skills-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.vh-skills-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(10, 102, 194, 0.1);
    color: #0a66c2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 24px;
    flex-shrink: 0;
}

.vh-skills-content {
    flex: 1;
}

.vh-skills-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.vh-skills-count {
    font-size: 14px;
    color: #5e6278;
}

/* Top Freelancers */
.vh-freelancer-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.vh-freelancer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.vh-freelancer-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.vh-freelancer-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
    border: 2px solid #0a66c2;
}

.vh-freelancer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vh-freelancer-info {
    flex: 1;
}

.vh-freelancer-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.vh-freelancer-title {
    font-size: 14px;
    color: #5e6278;
    margin-bottom: 5px;
}

.vh-freelancer-rating {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.vh-freelancer-stars {
    color: #ffc107;
    margin-right: 5px;
}

.vh-freelancer-reviews {
    color: #5e6278;
}

.vh-freelancer-skills {
    margin-bottom: 15px;
}

.vh-freelancer-skill {
    display: inline-block;
    padding: 5px 10px;
    background-color: rgba(10, 102, 194, 0.1);
    color: #0a66c2;
    border-radius: 5px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.vh-freelancer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.vh-freelancer-rate {
    font-weight: 700;
    color: #2c3e50;
}

.vh-freelancer-trust {
    font-size: 14px;
    color: #0a66c2;
    font-weight: 600;
}

/* Media Queries */
@media (max-width: 992px) {
    .vh-hero h1 {
        font-size: 2.5rem;
    }
    
    .vh-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .vh-section-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .vh-hero {
        padding: 60px 0 40px;
        text-align: center;
    }
    
    .vh-hero-image {
        margin-top: 40px;
        text-align: center;
    }
    
    .vh-stat-item {
        border-right: none;
        border-bottom: 1px solid #eef0f3;
        padding: 15px 10px;
    }
    
    .vh-stat-item:last-child {
        border-bottom: none;
    }
    
    .vh-stat-number {
        font-size: 2rem;
    }
    
    .vh-section-title {
        font-size: 26px;
    }
}
