/* Mega Dropdown Styles - Desktop */
.has-mega-dropdown {
    position: relative;
}

.has-mega-dropdown > .dropdown-trigger::after {
    content: '';
}

.tp-megamenu-wrapper {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    background: var(--nada-color-white) !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease, opacity 0.4s ease !important;
    z-index: 1000 !important;
    padding: 0 !important;
    top: auto !important;
    bottom: auto !important;
    display: block !important;
    transform: none !important;
}

.has-mega-dropdown.active > .tp-megamenu-wrapper {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 500px !important;
    padding: 40px 0 !important;
}

.tp-megamenu-content {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    max-width: 1400px !important;
    display: flex !important;
    justify-content: center !important;
}

.mega-dropdown-row {
    margin: 0 !important;
    width: 100% !important;
    max-width: 1400px !important;
}

/* Column 1: Services List */
.services-list-col {
    padding-right: 20px;
    border-right: 1px solid var(--tp-border-2);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list-item {
    padding: 12px 16px;
    color: var(--nada-color-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.service-list-item:hover {
    background: var(--nada-color-bg);
    color: var(--nada-color-primary);
    border-left-color: var(--nada-color-primary);
}

.service-list-item.active {
    background: rgba(160, 255, 39, 0.1);
    border-left-color: var(--nada-color-primary);
    font-weight: 600;
}

/* Column 2: Service Details */
.service-details-col {
    padding: 0 30px;
}

.service-detail-content {
    width: 100%;
}

.service-detail-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.service-detail-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--nada-color-secondary);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.service-detail-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Column 3: CTA */
.service-cta-col {
    padding-left: 20px;
    border-left: 1px solid var(--tp-border-2);
}

.service-cta-content {
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 30px 20px;
}

.cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.cta-icon svg {
    width: 60px;
    height: 60px;
}

.cta-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.cta-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--nada-color-primary);
    color: var(--nada-color-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(160, 255, 39, 0.3);
    color: var(--nada-color-secondary);
}

.cta-button i {
    font-size: 14px;
}

/* Mobile Mega Dropdown Styles */
.has-mega-dropdown-mobile {
    position: relative;
}

.tp-megamenu-wrapper-mobile {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.has-mega-dropdown-mobile.active .tp-megamenu-wrapper-mobile {
    max-height: 2000px;
}

/* Mobile: Services List */
.services-list-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--tp-border-2);
}

.service-list-item-mobile {
    padding: 12px 0;
    color: var(--nada-color-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 12px;
    cursor: pointer;
    display: block;
}

.service-list-item-mobile:hover {
    color: var(--nada-color-primary);
    border-left-color: var(--nada-color-primary);
}

.service-list-item-mobile.active {
    color: var(--nada-color-primary);
    border-left-color: var(--nada-color-primary);
    font-weight: 600;
}

/* Mobile: Service Details */
.service-detail-content-mobile {
    display: flex;
    flex-direction: column;
}

.service-detail-image-mobile {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
    display: block;
}

.service-detail-title-mobile {
    font-size: 16px;
    font-weight: 700;
    color: var(--nada-color-secondary);
    margin: 0 0 8px 0;
}

.service-detail-desc-mobile {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.cta-button-mobile {
    display: inline-block;
    padding: 12px 24px;
    background: var(--nada-color-primary);
    color: var(--nada-color-secondary);
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button-mobile:hover {
    background: var(--nada-color-accent);
    color: var(--nada-color-secondary);
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .has-mega-dropdown.active > .tp-megamenu-wrapper {
        max-height: 450px;
    }

    .service-details-col {
        padding: 0 20px;
    }

    .service-detail-image {
        height: 140px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .has-mega-dropdown.active > .tp-megamenu-wrapper {
        max-height: 400px;
    }

    .services-list-col {
        padding-right: 15px;
    }

    .service-details-col {
        padding: 0 15px;
    }

    .service-cta-col {
        padding-left: 15px;
    }

    .service-detail-image {
        height: 120px;
    }

    .service-detail-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .has-mega-dropdown.active > .tp-megamenu-wrapper {
        max-height: 600px;
        padding: 20px 0;
    }

    .mega-dropdown-row {
        display: none;
    }

    .services-list-col,
    .service-details-col,
    .service-cta-col {
        border: none;
        padding: 0;
    }

    .tp-megamenu-content {
        padding: 0 20px;
    }
}
