.tp-megamenu-wrapper {
    padding: 25px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08) !important;
    min-width: 780px !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
}

/* Service Card - Horizontal Layout */
.service-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: row;
    margin: 7.5px 0;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.12);
    border-color: rgba(255, 107, 53, 0.15);
}

/* Service Link */
.service-link {
    display: flex;
    flex-direction: row;
    text-decoration: none !important;
    color: inherit !important;
    width: 100%;
}

.service-link:hover {
    text-decoration: none !important;
}

.service-image-container {
    position: relative;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    height: auto;
    min-height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #f5f7fa 100%);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service Image - NO CROPPING, FULL IMAGE */
.service-image {
    width: 100%;
    height: auto;
    min-height: 180px;
    object-fit: contain;
    /* ← This shows the FULL image without cropping */
    object-position: center;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #ffffff;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

/* Alternative: If you want to maintain aspect ratio without cropping */
.service-image-alt {
    width: 100%;
    height: auto;
    object-fit: scale-down;
    /* ← This scales the image to fit within the container */
    object-position: center;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #ffffff;
    max-height: 200px;
}

/* Hover Overlay - Gradient with Icon */
.service-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 107, 53, 0) 0%,
        rgba(255, 107, 53, 0) 100%
    );
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.service-card:hover .service-hover-overlay {
    background: linear-gradient(
        135deg,
        rgba(255, 107, 53, 0.88) 0%,
        rgba(255, 138, 92, 0.88) 100%
    );
    opacity: 1;
}

/* Icon Circle on Hover */
.service-icon-circle {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.6) rotate(-30deg);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover .service-icon-circle {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

.service-icon-circle i {
    font-size: 26px;
    color: #ff6b35;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-circle i {
    transform: scale(1.1);
}

/* Price Tag - Floating on Image */
.service-price-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    color: #ff6b35;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    z-index: 2;
}

.service-card:hover .service-price-tag {
    background: #ff6b35;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
}

/* Service Info - Right Side */
.service-info {
    padding: 20px 24px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Service Title */
.service-title {
    font-size: 16px;
    font-weight: 600;
    color: #0a0a1a;
    margin: 0 0 4px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
}

.service-card:hover .service-title {
    color: #ff6b35;
}

/* Setup Fee Badge */
.service-setup-fee {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    background: #f3f4f6;
    padding: 3px 12px;
    border-radius: 50px;
    margin-top: 2px;
    align-self: flex-start;
}

.service-setup-fee i {
    color: #ff6b35;
    font-size: 11px;
}

/* Divider Line */
.service-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35, #ff8a5c);
    margin: 12px 0 12px 0;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.service-card:hover .service-divider {
    width: 60px;
}

/* Service Action - Learn More */
.service-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.service-learn-more {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.service-card:hover .service-learn-more {
    color: #ff6b35;
}

/* Arrow Button */
.service-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 107, 53, 0.06);
    border-radius: 50%;
    color: #ff6b35;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-arrow {
    background: linear-gradient(135deg, #ff6b35, #ff8a5c);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.row.g-0 {
    margin: 0 -7.5px;
}

.row.g-0 > [class*="col-"] {
    padding: 0 7.5px;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeSlideUp 0.6s ease forwards;
    opacity: 0;
}

.service-card:nth-child(1) {
    animation-delay: 0.05s;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.15s;
}

.service-card:nth-child(4) {
    animation-delay: 0.2s;
}

/* Large Screens */
@media (min-width: 1400px) {
    .tp-megamenu-wrapper {
        min-width: 900px !important;
        padding: 35px !important;
    }

    .service-image-container {
        width: 220px;
        min-width: 220px;
        max-width: 220px;
        min-height: 200px;
    }

    .service-image {
        min-height: 200px;
    }
}

/* Standard Desktop */
@media (max-width: 1399px) and (min-width: 1200px) {
    .tp-megamenu-wrapper {
        min-width: 760px !important;
        padding: 25px !important;
    }

    .service-image-container {
        width: 180px;
        min-width: 180px;
        max-width: 180px;
        min-height: 160px;
    }

    .service-image {
        min-height: 160px;
    }
}

/* Tablet */
@media (max-width: 1199px) {
    .tp-megamenu-wrapper {
        min-width: 100% !important;
        padding: 20px !important;
        border-radius: 16px !important;
    }

    .service-image-container {
        width: 160px;
        min-width: 160px;
        max-width: 160px;
        min-height: 140px;
    }

    .service-image {
        min-height: 140px;
    }

    .service-title {
        font-size: 15px;
    }

    .service-info {
        padding: 16px 18px;
    }

    .service-price-tag {
        font-size: 14px;
        padding: 4px 12px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .tp-megamenu-wrapper {
        padding: 15px !important;
        border-radius: 12px !important;
        min-width: auto !important;
    }

    .service-card {
        flex-direction: column !important;
        margin: 7.5px 0;
    }

    .service-link {
        flex-direction: column !important;
    }

    .service-image-container {
        width: 100% !important;
        min-width: auto !important;
        max-width: 100% !important;
        height: 180px;
        min-height: 180px;
    }

    .service-image {
        min-height: 180px;
        height: 100%;
        object-fit: contain;
    }

    .service-info {
        padding: 14px 16px 16px;
    }

    .service-title {
        font-size: 14px;
    }

    .service-price-tag {
        font-size: 13px;
        padding: 3px 10px;
        bottom: 10px;
        right: 10px;
    }

    .service-icon-circle {
        width: 48px;
        height: 48px;
    }

    .service-icon-circle i {
        font-size: 22px;
    }

    .service-arrow {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .service-image-container {
        height: 150px;
        min-height: 150px;
    }

    .service-image {
        min-height: 150px;
    }

    .service-info {
        padding: 12px 14px 14px;
    }

    .service-title {
        font-size: 13px;
    }

    .service-price-tag {
        font-size: 12px;
        padding: 2px 10px;
    }
}
