/* Main Styles for Digital Service Marketplace */

/* Global Styles */
:root {
    --primary-color: #1dbf73;
    --secondary-color: #0e0e0f;
    --accent-color: #7a1dff;
    --text-color: #404145;
    --light-text: #74767e;
    --light-bg: #f5f5f5;
    --border-color: #e4e5e7;
    --white: #ffffff;
    --shadow: 0 0 15px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 18px;
    color: var(--light-text);
}

.view-all-btn {
    position: absolute;
    right: 0;
    top: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.view-all-btn i {
    margin-left: 5px;
    transition: var(--transition);
}

.view-all-btn:hover i {
    transform: translateX(5px);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo span {
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    color: var(--secondary-color);
    position: relative;
}

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

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

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

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #19a463;
    border-color: #19a463;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0e0e0f 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/hero-pattern.svg') no-repeat;
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content .highlight {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-container input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 4px;
    border: none;
    font-size: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.search-container button {
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-container button:hover {
    background-color: #19a463;
}

.popular-searches {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.popular-searches a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    font-weight: 500;
}

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

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background-color: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.category-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(29, 191, 115, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.category-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.category-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.category-card p {
    color: var(--light-text);
    font-size: 14px;
}

/* Featured Jobs Section */
.featured-jobs-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.job-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.job-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.job-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.job-card:hover .job-image img {
    transform: scale(1.05);
}

.job-price {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
}

.job-info {
    padding: 20px;
}

.seller-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.seller-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.seller-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.seller-rating {
    font-size: 14px;
    color: var(--light-text);
}

.seller-rating i {
    color: #ffb33e;
}

.job-info h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.job-info h3 a:hover {
    color: var(--primary-color);
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background-color: var(--white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background-color: rgba(29, 191, 115, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.step p {
    color: var(--light-text);
}

/* Top Sellers Section */
.top-sellers-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.sellers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.seller-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.seller-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.seller-header {
    position: relative;
    padding: 30px 20px 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #19a463 100%);
    text-align: center;
}

.seller-header .seller-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--white);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.seller-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.seller-badge i {
    font-size: 12px;
}

.seller-info {
    padding: 30px 20px 20px;
    text-align: center;
}

.seller-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.seller-title {
    color: var(--light-text);
    margin-bottom: 10px;
}

.view-profile-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.view-profile-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.7;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 14px;
    color: var(--light-text);
}

/* Join Section */
.join-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0e0e0f 0%, #1a1a1a 100%);
    color: var(--white);
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.join-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.join-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.join-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}

.join-btn:hover {
    background-color: #19a463;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .join-content {
        grid-template-columns: 1fr;
    }
    
    .join-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        gap: 20px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .view-all-btn {
        position: static;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .search-container button {
        position: static;
        width: 100%;
        margin-top: 10px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Professional Video Section */
.video-section {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1dbf73 0%, #17a2b8 50%, #6f42c1 100%);
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 700px;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 191, 115, 0.9) 0%, rgba(23, 162, 184, 0.85) 50%, rgba(111, 66, 193, 0.9) 100%);
    z-index: 2;
}

.video-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.video-content {
    position: relative;
    z-index: 3;
    padding: 120px 0;
    color: white;
}

.video-text {
    padding-right: 2rem;
    animation: fadeInUp 1s ease-out;
}

.video-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-description {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    max-width: 90%;
}

.video-features {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 30px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-item i {
    font-size: 1.4rem;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.video-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.video-actions .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.video-actions .btn:hover::before {
    left: 100%;
}

.video-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.video-actions .btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
}

.video-actions .btn-primary:hover {
    background: linear-gradient(135deg, #ff5722 0%, #ff9800 100%);
}

.video-actions .btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
}

.video-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.video-graphic {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.98);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    color: var(--text-color);
    min-width: 200px;
    transition: all 0.4s ease;
    animation: float 8s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.floating-card:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.floating-card:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.floating-card:hover {
    transform: translateY(-15px) scale(1.08);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 1);
}

.floating-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    display: block;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.floating-card:hover i {
    transform: scale(1.1);
}

.floating-card h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.floating-card:hover h4 {
    color: var(--primary-color);
}

.floating-card p {
    font-size: 0.95rem;
    color: var(--light-text);
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

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

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Fallback Background */
.video-fallback {
    background: linear-gradient(135deg, #1dbf73 0%, #17a2b8 50%, #6f42c1 100%);
}

/* Gradient Layers */
.gradient-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.layer-1 {
    background: linear-gradient(45deg, #1dbf73 0%, #17a2b8 100%);
    animation: gradientShift1 15s ease-in-out infinite;
}

.layer-2 {
    background: linear-gradient(135deg, #17a2b8 0%, #6f42c1 100%);
    animation: gradientShift2 20s ease-in-out infinite;
    opacity: 0.6;
}

.layer-3 {
    background: linear-gradient(225deg, #6f42c1 0%, #1dbf73 100%);
    animation: gradientShift3 25s ease-in-out infinite;
    opacity: 0.4;
}

/* Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat 20s infinite linear;
}

.particle-1 { width: 4px; height: 4px; top: 20%; left: 10%; animation-delay: 0s; }
.particle-2 { width: 6px; height: 6px; top: 40%; left: 20%; animation-delay: 2s; }
.particle-3 { width: 3px; height: 3px; top: 60%; left: 30%; animation-delay: 4s; }
.particle-4 { width: 5px; height: 5px; top: 80%; left: 40%; animation-delay: 6s; }
.particle-5 { width: 4px; height: 4px; top: 30%; left: 60%; animation-delay: 8s; }
.particle-6 { width: 7px; height: 7px; top: 50%; left: 70%; animation-delay: 10s; }
.particle-7 { width: 3px; height: 3px; top: 70%; left: 80%; animation-delay: 12s; }
.particle-8 { width: 5px; height: 5px; top: 90%; left: 90%; animation-delay: 14s; }
.particle-9 { width: 4px; height: 4px; top: 10%; left: 50%; animation-delay: 16s; }
.particle-10 { width: 6px; height: 6px; top: 25%; left: 85%; animation-delay: 18s; }

/* Geometric Shapes */
.shapes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.geometric-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    animation: shapeFloat 30s infinite ease-in-out;
}

.shape-circle-1 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.shape-circle-2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    top: 70%;
    right: 10%;
    animation-delay: 10s;
}

.shape-square-1 {
    width: 60px;
    height: 60px;
    top: 45%;
    left: 15%;
    transform: rotate(45deg);
    animation-delay: 5s;
}

.shape-square-2 {
    width: 40px;
    height: 40px;
    top: 25%;
    right: 25%;
    transform: rotate(45deg);
    animation-delay: 15s;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    top: 60%;
    left: 80%;
    animation-delay: 8s;
}

.shape-triangle-2 {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    top: 35%;
    left: 70%;
    animation-delay: 18s;
}

/* Wave Animation */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: waveMove 15s infinite linear;
}

.wave-1 { animation-delay: 0s; }
.wave-2 { animation-delay: 5s; opacity: 0.7; }
.wave-3 { animation-delay: 10s; opacity: 0.5; }

/* Keyframe Animations */
@keyframes gradientShift1 {
    0%, 100% { transform: translateX(0%) translateY(0%) rotate(0deg); }
    25% { transform: translateX(5%) translateY(-2%) rotate(1deg); }
    50% { transform: translateX(-3%) translateY(3%) rotate(-1deg); }
    75% { transform: translateX(2%) translateY(-1%) rotate(0.5deg); }
}

@keyframes gradientShift2 {
    0%, 100% { transform: translateX(0%) translateY(0%) rotate(0deg); }
    33% { transform: translateX(-4%) translateY(2%) rotate(-1deg); }
    66% { transform: translateX(3%) translateY(-3%) rotate(1deg); }
}

@keyframes gradientShift3 {
    0%, 100% { transform: translateX(0%) translateY(0%) rotate(0deg); }
    20% { transform: translateX(2%) translateY(-4%) rotate(0.5deg); }
    40% { transform: translateX(-1%) translateY(2%) rotate(-0.5deg); }
    60% { transform: translateX(3%) translateY(1%) rotate(1deg); }
    80% { transform: translateX(-2%) translateY(-1%) rotate(-0.5deg); }
}

@keyframes particleFloat {
    0% { transform: translateY(0px) translateX(0px); opacity: 0.3; }
    25% { transform: translateY(-100px) translateX(50px); opacity: 0.7; }
    50% { transform: translateY(-50px) translateX(-30px); opacity: 1; }
    75% { transform: translateY(-150px) translateX(20px); opacity: 0.5; }
    100% { transform: translateY(-200px) translateX(0px); opacity: 0; }
}

@keyframes shapeFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.8; }
    25% { transform: translateY(-30px) rotate(90deg); opacity: 0.6; }
    50% { transform: translateY(-60px) rotate(180deg); opacity: 1; }
    75% { transform: translateY(-30px) rotate(270deg); opacity: 0.4; }
}

@keyframes waveMove {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

/* Performance optimizations */
.professional-background * {
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Reduced motion for performance */
.professional-background.reduced-motion .particle {
    animation-duration: 60s;
}

.professional-background.reduced-motion .geometric-shape {
    animation-duration: 120s;
}

.professional-background.reduced-motion .gradient-layer {
    animation-duration: 60s;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .professional-background * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Search Page Styles */
.search-page {
    background: #f8f9fa;
    min-height: 100vh;
}

.search-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 60px 0 40px;
    margin-bottom: 40px;
}

.search-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.search-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    text-align: center;
    margin-bottom: 30px;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-input {
    border: none;
    padding: 15px 25px;
    font-size: 1.1rem;
    flex: 1;
    border-radius: 0;
}

.search-input:focus {
    box-shadow: none;
    border-color: transparent;
}

.search-btn {
    border: none;
    padding: 15px 25px;
    background: var(--secondary-color);
    border-radius: 0;
}

.search-btn:hover {
    background: #e67e22;
}

/* Filters Sidebar */
.filters-sidebar {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    position: sticky;
    top: 100px;
}

.filters-title {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.popular-searches-sidebar {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.popular-tag {
    background: var(--light-bg);
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.popular-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Search Results */
.search-results {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-price {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.service-content {
    padding: 20px;
}

.seller-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.seller-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.seller-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

.seller-rating {
    font-size: 0.8rem;
    color: #ffc107;
}

.seller-rating i {
    margin-right: 2px;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.service-title a {
    color: var(--text-color);
    text-decoration: none;
}

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

.service-description {
    color: var(--light-text);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--light-text);
}

.category-tag,
.delivery-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-tag i,
.delivery-time i {
    font-size: 0.8rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results i {
    color: #ddd;
}

.no-results h4 {
    color: var(--text-color);
    margin-bottom: 15px;
}

/* Pagination */
.pagination-nav {
    margin-top: 40px;
}

.pagination .page-link {
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 10px 15px;
    margin: 0 2px;
    border-radius: 8px;
}

.pagination .page-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    background: #f8f9fa;
}

/* Enhanced Categories Section */
.categories-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(29, 191, 115, 0.02) 50%, transparent 51%);
    pointer-events: none;
}

.categories-section .section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.category-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(29, 191, 115, 0.1);
    position: relative;
    overflow: hidden;
    group: category;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 191, 115, 0.02), rgba(122, 29, 255, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover::after {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.category-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 3;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-color);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.category-card:hover h3 {
    color: var(--primary-color);
}

.category-card p {
    color: var(--light-text);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
    position: relative;
    z-index: 3;
}

.category-description {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    z-index: 3;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-description {
    opacity: 1;
}

/* Recent Activity Section */
.recent-activity-section {
    padding: 80px 0;
    background: white;
}

.activity-feed {
    max-width: 800px;
    margin: 0 auto;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--light-bg);
    border-radius: 15px;
    margin-bottom: 20px;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.activity-item:hover {
    background: white;
    box-shadow: var(--shadow);
    border-left-color: var(--primary-color);
}

.activity-icon {
    font-size: 1.5rem;
    margin-top: 5px;
}

.activity-content {
    flex: 1;
}

.activity-text {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 10px;
    color: var(--text-color);
}

.activity-text strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.activity-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--light-text);
}

.activity-time,
.activity-amount {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Enhanced Popular Searches */
.popular-searches {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.popular-searches span {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-right: 8px;
}

.popular-searches a {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-transform: capitalize;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.popular-searches a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.popular-searches a:hover::before {
    left: 100%;
}

.popular-searches a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: white;
}

/* Responsive Design for New Sections */
@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .video-content {
        padding: 80px 0;
    }

    .video-title {
        font-size: 2.5rem;
    }

    .video-text {
        padding-right: 1rem;
        margin-bottom: 3rem;
    }

    .floating-card {
        min-width: 160px;
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .categories-section {
        padding: 80px 0;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-card {
        padding: 35px 25px;
    }

    .popular-searches {
        justify-content: center;
        gap: 10px;
    }

    .popular-searches a {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .video-section {
        min-height: 500px;
    }

    .video-content {
        padding: 60px 0;
    }

    .video-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .video-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .video-features {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .video-graphic {
        height: 300px;
        margin-top: 2rem;
    }

    .floating-card {
        min-width: 140px;
        padding: 1rem;
    }

    .floating-card:nth-child(2) {
        top: 10%;
        right: 5%;
    }

    .floating-card:nth-child(3) {
        bottom: 10%;
        left: 5%;
    }
}

@media (max-width: 480px) {
    .categories-section {
        padding: 60px 0;
    }

    .category-card {
        padding: 30px 20px;
    }

    .category-icon {
        font-size: 3rem;
    }

    .category-card h3 {
        font-size: 1.3rem;
    }

    .popular-searches {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .popular-searches span {
        margin-bottom: 10px;
    }

    .video-section {
        min-height: 400px;
    }

    .video-content {
        padding: 40px 0;
    }

    .video-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .video-description {
        font-size: 1rem;
    }

    .video-features {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .video-actions {
        flex-direction: column;
        align-items: center;
    }

    .video-actions .btn {
        width: 100%;
        max-width: 250px;
    }

    .video-graphic {
        display: none;
    }

    /* Reduce animation complexity on mobile */
    .professional-background .particle {
        display: none;
    }

    .professional-background .geometric-shape {
        animation-duration: 60s;
    }

    .professional-background .gradient-layer {
        animation-duration: 30s;
    }

    /* Search page mobile styles */
    .search-header {
        padding: 40px 0 30px;
    }

    .search-title {
        font-size: 1.8rem;
    }

    .filters-sidebar {
        position: static;
        margin-bottom: 20px;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ===== ULTRA MODERN CATEGORIES SECTION ===== */

.ultra-modern-categories {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.categories-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 15%;
    animation-delay: -5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 25%;
    animation-delay: -15s;
}

.shape-5 {
    width: 40px;
    height: 40px;
    top: 50%;
    left: 50%;
    animation-delay: -8s;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    25% { transform: translateY(-20px) rotate(90deg); opacity: 1; }
    50% { transform: translateY(0px) rotate(180deg); opacity: 0.7; }
    75% { transform: translateY(-10px) rotate(270deg); opacity: 1; }
    100% { transform: translateY(0px) rotate(360deg); opacity: 0.7; }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
}

.categories-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.categories-header .section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.categories-header .section-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 400;
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.deco-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
}

.deco-circle {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}

.categories-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.category-showcase-card {
    position: relative;
    height: 280px;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-showcase-card:hover {
    transform: translateY(-15px) scale(1.02);
}

.category-link {
    display: block;
    height: 100%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    transition: all 0.4s ease;
}

.category-showcase-card:hover .card-background {
    opacity: 0.2;
    transform: scale(1.1);
}

.card-content {
    position: relative;
    z-index: 3;
    height: 100%;
    background: white;
    border-radius: 25px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.category-showcase-card:hover .card-content {
    box-shadow: 0 25px 80px rgba(0,0,0,0.2);
    background: #fafafa;
}

.category-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.icon-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.icon-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    transition: all 0.4s ease;
}

.category-showcase-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.icon-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 25px;
    opacity: 0;
    transition: all 0.4s ease;
    filter: blur(15px);
}

.category-showcase-card:hover .icon-glow {
    opacity: 0.6;
}

.category-details {
    flex: 1;
}

.category-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.category-showcase-card:hover .category-name {
    color: #667eea;
}

.category-stats {
    margin-bottom: 15px;
}

.service-count {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2c3e50;
    display: block;
    line-height: 1;
}

.service-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.category-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.category-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.explore-text {
    font-weight: 600;
    color: #667eea;
    font-size: 1rem;
}

.arrow-icon {
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.category-showcase-card:hover .arrow-icon {
    background: #764ba2;
    transform: translateX(5px);
}

.hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
    z-index: 4;
}

.category-showcase-card:hover .hover-effect {
    left: 100%;
}

.categories-footer {
    text-align: center;
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

.view-all-categories-modern {
    display: inline-block;
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.view-all-categories-modern:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    text-decoration: none;
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    transition: all 0.4s ease;
}

.view-all-categories-modern:hover .btn-background {
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0.1;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.view-all-categories-modern:hover .btn-shine {
    left: 100%;
}

/* ===== ENHANCED HOME PAGE RESPONSIVE STYLES ===== */

/* Mobile First Enhancements */
@media (max-width: 575.98px) {
    /* Hero Section Enhanced Mobile */
    .hero-section {
        padding: 40px 0;
        min-height: 400px;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-section p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }

    .hero-section .btn {
        display: block;
        width: 90%;
        margin: 0 auto 0.5rem;
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* Search Section Enhanced Mobile */
    .search-section {
        padding: 30px 0;
    }

    .search-form {
        flex-direction: column !important;
        gap: 10px;
    }

    .search-form input,
    .search-form select,
    .search-form button {
        width: 100% !important;
        margin-bottom: 10px;
        padding: 12px 15px;
        font-size: 1rem;
    }

    /* Categories Enhanced Mobile */
    .categories-section {
        padding: 40px 0;
    }

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

    .category-card {
        padding: 20px 15px;
        text-align: center;
    }

    .category-card h3 {
        font-size: 0.9rem !important;
        margin-bottom: 5px;
    }

    .category-card i {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    /* Featured Jobs Enhanced Mobile */
    .featured-section {
        padding: 40px 0;
    }

    .jobs-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .job-card {
        margin-bottom: 15px;
    }

    /* Testimonials Enhanced Mobile */
    .testimonials-section {
        padding: 40px 0;
    }

    .testimonials-slider {
        display: block !important;
    }

    .testimonial-card {
        margin-bottom: 20px;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .testimonial-author {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .testimonial-author img {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50%;
        object-fit: cover;
    }

    .testimonial-author h4 {
        font-size: 1rem;
        margin-bottom: 2px;
    }

    .testimonial-author p {
        font-size: 0.8rem;
        color: #666;
    }

    /* Stats Section Enhanced Mobile */
    .stats-section {
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    .stat-item {
        text-align: center;
        padding: 20px 10px;
    }

    .stat-item h3 {
        font-size: 1.5rem !important;
        margin-bottom: 5px;
    }

    .stat-item p {
        font-size: 0.9rem;
    }

    /* Container Enhanced Mobile */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100%;
    }

    /* Section Titles Mobile */
    .section-title {
        font-size: 1.8rem !important;
        text-align: center;
        margin-bottom: 30px;
    }

    .section-subtitle {
        font-size: 1rem !important;
        text-align: center;
        margin-bottom: 40px;
    }
}

/* Small devices (landscape phones) Enhanced */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section {
        padding: 60px 0;
        min-height: 450px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .search-form {
        flex-direction: row;
        gap: 10px;
    }

    .search-form input {
        flex: 2;
    }

    .search-form select {
        flex: 1;
    }

    .search-form button {
        flex: 0 0 auto;
        width: auto;
    }

    /* Ultra Modern Categories Mobile */
    .ultra-modern-categories {
        padding: 80px 0;
    }

    .categories-header .section-title {
        font-size: 2.5rem !important;
    }

    .categories-header .section-subtitle {
        font-size: 1.1rem !important;
    }

    .categories-showcase {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .category-showcase-card {
        height: 250px;
    }

    .card-content {
        padding: 25px;
    }

    .category-icon-container {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .icon-wrapper {
        font-size: 1.8rem;
    }

    .category-name {
        font-size: 1.3rem !important;
    }

    .service-count {
        font-size: 1.5rem;
    }

    .category-description {
        font-size: 0.85rem;
    }

    .view-all-categories-modern {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .categories-footer {
        margin-top: 60px;
    }

    .shape-1, .shape-2, .shape-3, .shape-4, .shape-5 {
        display: none;
    }
}

/* Medium devices (tablets) Enhanced */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        padding: 70px 0;
        min-height: 500px;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-slider {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Large devices (desktops) Enhanced */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .jobs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-slider {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Extra large devices (large desktops) Enhanced */
@media (min-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(8, 1fr);
    }

    .jobs-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

/* General Responsive Improvements */
img {
    max-width: 100%;
    height: auto;
}

.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Fix for testimonial images */
.testimonial-author img {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f8f9fa;
}

/* Ensure proper spacing */
.section {
    margin-bottom: 0;
}

.section + .section {
    margin-top: 0;
}