/* Services Introduction */
.letter-spacing-1 {
    letter-spacing: 1.5px;
}

/* Service Cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
    border-color: #e41e13;
}

.service-image-wrapper {
    height: 250px;
    background: #f5f5f5;
}

.service-image {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-overlay {
    background: linear-gradient(135deg, rgba(228, 30, 19, 0.9) 0%, rgba(228, 30, 19, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 2;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-icon-wrapper {
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1);
}

.service-content {
    position: relative;
}

.service-icon-top {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(228, 30, 19, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-top {
    background: rgba(228, 30, 19, 0.2);
    transform: scale(1.1);
}

.service-title-link {
    transition: color 0.3s ease;
}

.service-card:hover .service-title-link {
    color: #e41e13 !important;
}

.service-features li {
    color: #223645;
    font-size: 14px;
    transition: padding-left 0.3s ease;
}

.service-card:hover .service-features li {
    padding-left: 5px;
}

.btn-service-link {
    background: transparent;
    color: #e41e13;
    border: 2px solid #e41e13;
    padding: 10px 25px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-service-link:hover {
    background: #e41e13;
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(228, 30, 19, 0.3);
}

/* Feature Boxes */
.feature-box {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: #e41e13;
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-box h5 {
    color: #223645;
    transition: color 0.3s ease;
}

.feature-box:hover h5 {
    color: #e41e13;
}

/* Subscribe Section */
.form-control-modern {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 0;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control-modern::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control-modern:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

@media (max-width: 768px) {
    .service-image-wrapper {
        height: 220px;
    }

    .service-content {
        padding: 1.5rem !important;
    }

    .sub-left h4 {
        font-size: 18px;
        margin-bottom: 20px !important;
    }

    .feature-box {
        margin-bottom: 1.5rem;
    }
}