/**
 * Services Section - Modern Design
 * GRPCMedia Theme
 * Version: 1.0.0
 */

/* Section Container */
.grpc-services-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Section Header */
.grpc-services-header {
    text-align: center;
    margin-bottom: 60px;
}

.grpc-services-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(47, 36, 131, 0.1);
    color: #2F2483;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 2px solid rgba(47, 36, 131, 0.2);
}

.grpc-services-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.2;
}

.grpc-services-title .highlight {
    color: #2F2483;
    position: relative;
    display: inline-block;
}

.grpc-services-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2F2483 0%, #005a8b 100%);
    border-radius: 2px;
}

.grpc-services-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Grid */
.grpc-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Service Card */
.grpc-service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.grpc-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(47, 36, 131, 0.9) 0%, rgba(0, 90, 139, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.grpc-service-card:hover::before {
    opacity: 1;
}

.grpc-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(47, 36, 131, 0.25);
}

/* Service Image */
.grpc-service-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.grpc-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.grpc-service-card:hover .grpc-service-image img {
    transform: scale(1.1);
}

.grpc-service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #2F2483 0%, #005a8b 100%);
    color: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Service Content */
.grpc-service-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.grpc-service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(47, 36, 131, 0.1) 0%, rgba(0, 90, 139, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.grpc-service-icon i {
    font-size: 28px;
    color: #2F2483;
    transition: all 0.4s ease;
}

.grpc-service-card:hover .grpc-service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.grpc-service-card:hover .grpc-service-icon i {
    color: #fff;
    transform: scale(1.1);
}

.grpc-service-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.4s ease;
}

.grpc-service-card:hover .grpc-service-title {
    color: #fff;
}

.grpc-service-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    transition: color 0.4s ease;
}

.grpc-service-card:hover .grpc-service-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* Service Features */
.grpc-service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.grpc-service-features li {
    font-size: 14px;
    color: #666;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    transition: color 0.4s ease;
}

.grpc-service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #2F2483;
    transition: color 0.4s ease;
}

.grpc-service-card:hover .grpc-service-features li {
    color: rgba(255, 255, 255, 0.9);
}

.grpc-service-card:hover .grpc-service-features li::before {
    color: #fff;
}

/* Service Footer */
.grpc-service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    transition: border-color 0.4s ease;
}

.grpc-service-card:hover .grpc-service-footer {
    border-color: rgba(255, 255, 255, 0.2);
}

.grpc-service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2F2483;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.grpc-service-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.grpc-service-card:hover .grpc-service-link {
    color: #fff;
    gap: 12px;
}

.grpc-service-card:hover .grpc-service-link i {
    transform: translateX(4px);
}

.grpc-service-price {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    transition: color 0.4s ease;
}

.grpc-service-card:hover .grpc-service-price {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 1024px) {
    .grpc-services-title {
        font-size: 36px;
    }
    
    .grpc-services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .grpc-services-section {
        padding: 60px 0;
    }
    
    .grpc-services-title {
        font-size: 32px;
    }
    
    .grpc-services-subtitle {
        font-size: 16px;
    }
    
    .grpc-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .grpc-service-image {
        height: 200px;
    }
}


