/* Service Page Styles V2 */

/* Container */
.liangji-service-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.liangji-service-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #333; /* Fallback */
    color: #fff;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 50px;
}

.liangji-service-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1;
}

.liangji-service-hero-content {
    position: relative;
    z-index: 2;
}

.liangji-service-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #fff;
}

.liangji-service-hero .breadcrumbs {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Service Card V2 - 2x2 Layout Enhancements */
.liangji-service-card-v2 {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    padding: 20px; /* Ensure padding inside */
}

/* Hover Effect: Scale Up & Shadow */
.liangji-service-card-v2:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #4a6fa5; /* Blue-Grey Border */
}

/* Icon Animation */
.liangji-service-card-v2 .elementor-icon-box-icon {
    transition: transform 0.4s ease;
}

.liangji-service-card-v2:hover .elementor-icon-box-icon {
    transform: scale(1.1) rotate(5deg);
}

.liangji-service-card-v2 .elementor-icon-box-icon i {
    color: #ff6600; /* Default brand color */
}

/* Title Styling */
.liangji-service-card-v2 .elementor-icon-box-title {
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.liangji-service-card-v2:hover .elementor-icon-box-title {
    color: #4a6fa5; /* Blue-Grey Text on Hover */
}

/* Description Styling */
.liangji-service-card-v2 .elementor-icon-box-description {
    color: #666;
    line-height: 1.6;
}

/* Button/Link Styling */
/* If you use a button widget inside, or the link wrapper of icon box */
.liangji-service-link {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #ff6600;
    color: #ff6600;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.liangji-service-link:hover {
    background: #4a6fa5; /* Blue-Grey Background */
    border-color: #4a6fa5;
    color: #fff;
}
