/* Services Section Enhancements */

/* Services section overall styles */
.services__3 {
    position: relative;
    z-index: 1;
    margin-top: -60px;
    padding: 100px 0 70px;
    background-color: #f8f9fa;
}

.section__title {
    margin-bottom: 50px;
}

.section__title .sub-title {
    color: #4361ee;
    font-weight: 600;
    font-size: 18px;
    display: block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section__title .title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
    position: relative;
    padding-bottom: 20px;
}

.section__title .title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4361ee;
}

/* Service items styles */
.sunym {
    display: flex;
    margin-bottom: 30px;
}

.sunym > div {
    height: 100%;
    width: 100%;
}

.services__3-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.services__3-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.services__3-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: #4361ee;
    transition: all 0.5s ease;
}

.services__3-item:hover::before {
    height: 100%;
}

.services__3-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background-color: #4361ee;
    transition: all 0.3s ease 0.2s;
}

.services__3-item:hover::after {
    width: 100%;
}

/* Service icon styles */
.services__3-item-icon {
    font-size: 50px;
    color: #4361ee;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 70px;
    position: relative;
}

.services__3-item-icon i {
    font-size: 55px;
    transition: all 0.3s ease;
}

.services__3-item:hover .services__3-item-icon i {
    transform: translateY(-5px);
    color: #4361ee;
}

.services__3-item-icon img {
    max-width: 60px;
    height: auto;
    transition: all 0.3s ease;
}

.services__3-item:hover .services__3-item-icon img {
    transform: translateY(-5px);
}

/* Service title styles */
.services__3-item-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.services__3-item-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #e0e0e0;
    transition: all 0.3s ease;
}

.services__3-item:hover .services__3-item-title::after {
    width: 70px;
    background-color: #4361ee;
}

.services__3-item-title a {
    color: #222;
    transition: color 0.3s ease;
}

.services__3-item-title a:hover {
    color: #4361ee;
}

/* Service description styles */
.services__3-item-text {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    flex-grow: 1;
}

/* Read more link */
.service-link {
    display: inline-block;
    margin-top: 20px;
    color: #4361ee;
    font-weight: 600;
    position: relative;
    padding-right: 25px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.service-link i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.services__3-item:hover .service-link {
    opacity: 1;
    transform: translateY(0);
}

.service-link:hover {
    color: #2644cc;
    padding-right: 30px;
}

.service-link:hover i {
    right: -5px;
}

/* View All Services button */
.mt-50 {
    margin-top: 50px;
}

.btn-wrapper {
    display: inline-block;
    position: relative;
}

.btn-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid #4361ee;
    border-radius: 10px;
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.btn-wrapper:hover::before {
    opacity: 0.3;
    transform: scale(1);
}

.services__3 .fill-btn.clip-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #4361ee;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    border: 2px solid #4361ee;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.2);
}

.services__3 .fill-btn.clip-btn:hover {
    background-color: transparent;
    color: #4361ee;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.services__3 .fill-btn.clip-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.services__3 .fill-btn.clip-btn:hover::before {
    width: 100%;
}

/* Service count indicator */
.service-count {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #4361ee;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.services__3-item:hover .service-count {
    opacity: 1;
    background-color: rgba(67, 97, 238, 0.2);
}

/* Responsive fixes */
@media (max-width: 1199px) {
    .services__3-item {
        padding: 30px 25px;
    }
    
    .services__3-item-title {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .services__3 {
        padding: 80px 0 50px;
    }
    
    .section__title .title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .services__3 {
        padding: 70px 0 40px;
        margin-top: -40px;
    }
    
    .section__title .title {
        font-size: 28px;
    }
    
    .services__3-item-icon {
        height: 60px;
    }
    
    .services__3-item-icon i {
        font-size: 45px;
    }
}

@media (max-width: 575px) {
    .services__3 {
        padding: 60px 0 30px;
        margin-top: -30px;
    }
    
    .section__title .title {
        font-size: 24px;
    }
    
    .services__3-item {
        padding: 25px 20px;
    }
} 