/* Hero Section */
.home-hero {
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.home-hero-content {
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Hero Section with Container Width */
.home-hero.home-hero-container {
    margin: 0 auto;
    max-width: 1280px;
    padding: 40px 0 0;
}

.home-hero .home-hero-content {
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.home-hero.home-hero-container .home-hero-content {
    border-radius: 8px;
}

.home-hero.home-hero-container .home-hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    z-index: 1;
}

.home-hero.home-hero-container .home-hero-content>* {
    position: relative;
    z-index: 2;
}

.home-hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 40px;
    color: white;
    line-height: 1.2;
}

.home-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.home-hero-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid white;
    background-color: transparent;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-hero-btn:hover {
    background-color: white;
    color: var(--primary-color);
}

.home-hero-search {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.home-hero-search-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 16px;
}

.home-hero-search-btn {
    padding: 0 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.home-btn-large {
    padding: 15px 30px;
    font-size: 18px;
}

/* Core Features */
.home-core-features {
    padding: 50px 0;
}

.home-expert-categories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.home-expert-category {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.home-expert-category span {
    font-size: 20px;
}

.home-expert-category:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.home-expert-category.active {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.home-category-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.home-experts-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .home-expert-categories {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .home-experts-list {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .home-skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .home-hero h1 {
        font-size: 32px;
    }
    
    .home-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .home-expert-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .home-experts-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .home-skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .home-testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .home-how-it-works-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .home-hero h1 {
        font-size: 24px;
    }
    
    .home-hero-content {
        padding: 80px 20px;
    }
    
    .home-expert-categories {
        grid-template-columns: 1fr;
    }
    
    .home-experts-list {
        grid-template-columns: 1fr;
    }
    
    .home-skills-grid {
        grid-template-columns: 1fr;
    }
}

.home-expert-card {
    background-color: var(--white);
    padding: 10px;
}

.home-expert-card .home-img {
    width: 100%;
    border-radius: var(--border-radius);
    object-fit: cover;
    margin-bottom: 10px;
}

.home-expert-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.home-expert-card .home-li {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row;
}

.home-expert-card .home-li .icon {
    width: 20px;
}

.home-skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-top: 10px;
}

.home-skill-tag {
    background-color: var(--light-gray);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-light);
}

/* Skills Section */
.home-skills-section {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    border-radius: 8px;
    padding: 40px;
    margin: 40px 0;
}

.home-skills-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.home-skills-title {
    color: white;
    font-size: 24px;
    margin: 0;
}

.home-skills-search {
    display: flex;
    gap: 10px;
}

.home-skills-search-btn {
    padding: 10px 20px;
    background-color: white;
    color: #4CAF50;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

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

.home-skill-item {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.home-skill-item:hover {
    background: rgba(255, 255, 255, 0.3);
}

.home-skill-item.selected {
    background: rgba(255, 255, 255, 0.9);
    color: #2E7D32;
}

.home-skill-item.selected:hover {
    background: rgba(255, 255, 255, 0.95);
}

/* How It Works */
.home-how-it-works {
    padding: 100px 0;
}

.home-how-it-works-tabs {
    display: flex;
    background-color: #f0f0f0;
    border-radius: 30px;
    padding: 5px;
}

.home-how-it-works-tab {
    padding: 10px 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.home-how-it-works-tab.active {
    background-color: white;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.home-how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.home-how-it-works-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.home-how-it-works-image {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.home-how-it-works-desc {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

.home-how-it-works-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.home-how-it-works-custom-image {
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-how-it-works-custom-content {
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-how-it-works-gradient-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border-radius: 50%;
}

.home-how-it-works-full-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-how-it-works-step-hidden {
    display: none;
}

.home-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.home-process-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.home-process-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.home-process-card p {
    color: var(--text-light);
}

/* Hiring Options */

/* Testimonials */
.home-testimonials {
    padding: 100px 0;
}

.home-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.home-testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-testimonial-category {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.home-testimonial-category img {
    width: 20px;
    height: 20px;
}

.home-testimonial-text {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    flex: 1;
}

.home-testimonial-rating {
    color: #FFB400;
    font-size: 16px;
    letter-spacing: 2px;
}

.home-testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.home-author-info {
    flex: 1;
}

.home-author-info h4 {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 14px;
    margin-bottom: 5px;
}

.home-author-info p {
    color: var(--text-color);
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

.home-author-info .home-author-date {
    font-size: 12px;
    color: var(--text-color);
    margin-top: 3px;
}

.home-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}