.w3l-header-4 nav ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem;
}

.w3l-header-4 nav ul li {
    margin: 0
}

/* Homepage search */
.search-container {
    margin-top: 20px;
}

.search-form {
    display: flex;
    margin-bottom: 15px;
    box-shadow: 1px 1px 5px -2px #aaa;
    border-radius: 5px;
    overflow: hidden;
}

.search-input {
    flex-basis: 0;
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
}

.search-button {
    padding: 12px 20px;
    background-color: #fff;
    color: var(--theme-color);
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
}

.search-button:hover {
    color: var(--theme-color-dark);
}

.tags-list {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-link {
    text-decoration: none;
    background-color: #f1f1f1;
    padding: 5px 10px;
    border-radius: 15px;
    color: #333;
    font-size: 14px;
}

.tag-link:hover {
    background-color: var(--theme-color);
    color: #fff;
}

/* Details page vendor */
.vendor-info {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
}

.vendor-avatar {
    margin-right: 1rem;
}

.vendor-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #007bff;
}

.vendor-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.vendor-services-count {
    color: #666;
    font-size: 0.9rem;
}

.vendor-services-count a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.pricing-main .w3l-covers-4 div#covers4-block::before {
    display: none;
}

.pricing-main .w3l-covers-4 .csslider>.navigation {
    position: relative;
    top: 0;
    font-size: inherit;
    left: 0;
    bottom: auto;
    width: 100%;
    line-height: 1.2;
}

.pricing-main .w3l-covers-4 .csslider>.navigation label {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    display: block;
    border-radius: 0;
    margin: 0;
    border: 1px solid #eee;
    border-right-color: #fcfcfc;
    border-bottom: 0;
    background-color: #eee;
    padding: 15px 0;
}

.pricing-main .w3l-covers-4 .csslider>.navigation label:last-child {
    border-right-color: #eee;
}

.pricing-main .w3l-covers-4 .csslider>.navigation label::after {
    display: none;
}

.pricing-main .w3l-covers-4 .csslider>input:nth-of-type(1):checked~.navigation label:nth-of-type(1),
.pricing-main .w3l-covers-4 .csslider>input:nth-of-type(2):checked~.navigation label:nth-of-type(2),
.pricing-main .w3l-covers-4 .csslider>input:nth-of-type(3):checked~.navigation label:nth-of-type(3) {
    color: var(--theme-color);
    border-bottom: 1px solid var(--theme-color);
    background-color: #fcfcfc;
}

.pricing-main .w3l-covers-4 .csslider>ul {
    border: 1px solid #eee;
}

.pricing-main .w3l-covers-4 .csslider>ul>li {
    padding: 1.5rem .5rem;
}

.w3l-pricing-6 .grid-column-3 {
    grid-template-columns: repeat(3, 33.3333333%);
}


.w3l-pricing-6 .service-description {
    padding-right: 15px;
}


@media (max-width: 600px) {
    .w3l-pricing-6 .grid-column-3 {
        grid-template-columns: 100%;
    }

    .w3l-pricing-6 .grid-column-4 {
        grid-template-columns: 1fr 1fr;
    }

    .w3l-pricing-6 .service-description {
        padding-right: 0;
    }

    .w3l-features-2 .feature-text {
        font-size: 35px;
        line-height: 35px;
    }

}

/* ========================================
   MODERN DESIGN STYLES
   ======================================== */

/* Modern Header */
.w3l-header-modern {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.modern-header {
    padding: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo-section {
    flex-shrink: 0;
}

.main-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: #f5f5f5;
    color: var(--theme-color);
}

.nav-item.has-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    margin-top: 0.5rem;
    list-style: none;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    background: #f5f5f5;
    color: var(--theme-color);
    padding-left: 1.5rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.contact-link i {
    color: var(--theme-color);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--theme-color);
    color: white;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
#nav {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.nav-icon {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Modern Hero Section */
.modern-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    padding: 4rem 0;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text-section {
    padding-right: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-search-box {
    max-width: 600px;
}

.modern-search-form {
    margin-bottom: 1.5rem;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-icon {
    color: #999;
    margin-right: 1rem;
}

.modern-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 0.5rem;
}

.modern-search-button {
    padding: 0.875rem 2rem;
    background: var(--theme-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-search-button:hover {
    background: var(--theme-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.popular-categories {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.popular-label {
    font-weight: 600;
    color: #666;
}

.category-chip {
    padding: 0.5rem 1rem;
    background: white;
    color: #555;
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.category-chip:hover {
    background: var(--theme-color);
    color: white;
    border-color: var(--theme-color);
}

.hero-image-section {
    position: relative;
}

.hero-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

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

/* Modern About Section */
.modern-about-section {
    padding: 5rem 0;
    background: white;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.section-description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.feature-list i {
    color: var(--theme-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

/* Modern Services Section */
.modern-services-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 0;
}

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

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #f5f5f5;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.package-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.package-badge i {
    color: var(--theme-color);
    margin-right: 0.25rem;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.service-pricing {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.pricing-label {
    font-size: 0.875rem;
    color: #999;
}

.pricing-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--theme-color);
}

.service-action {
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.view-packages-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--theme-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-packages-btn i {
    transition: transform 0.3s ease;
}

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

/* Modern CTA Section */
.modern-cta-section {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-dark) 100%);
    padding: 5rem 0;
    color: white;
}

.cta-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.cta-description {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.95;
}

.cta-action {
    text-align: right;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--theme-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Modern Page Header */
.modern-page-header {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    padding: 3rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Modern Categories Section */
.modern-categories-section {
    padding: 4rem 0;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: var(--theme-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.category-card-content {
    padding: 2rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.category-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-card:hover .category-title a {
    color: var(--theme-color);
}

.category-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.category-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #999;
    font-size: 0.875rem;
}

.meta-item i {
    color: var(--theme-color);
}

.category-action {
    text-align: left;
}

.view-category-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--theme-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-category-btn:hover {
    background: var(--theme-color-dark);
    transform: translateX(5px);
}

/* Modern Footer */
.modern-footer {
    background: #1a1a1a;
    color: #b0b0b0;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #333;
}

.footer-about {
    padding-right: 2rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-description {
    color: #999;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2a2a2a;
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--theme-color);
    color: white;
    transform: translateY(-3px);
}

.footer-heading {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--theme-color);
    margin-top: 0.25rem;
}

.footer-contact a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
}

.copyright-text {
    color: #666;
    margin: 0;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--theme-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top-btn:hover {
    background: var(--theme-color-dark);
    transform: translateY(-3px);
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .header-container {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: flex;
        order: 3;
    }

    .main-navigation {
        order: 4;
        width: 100%;
        display: none;
    }

    #nav:checked ~ .main-navigation {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        padding: 1rem;
    }

    .nav-item.has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
    }

    .header-actions {
        order: 2;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text-section {
        padding-right: 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .about-content-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-action {
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-link span {
        display: none;
    }
}
