.services {
    background-color: 
 color-mix(in srgb, #ffffff, #313131 2%);
 background-color: #fbfbfb;
}

.section {
    color: var(--default-color);
    background-color: #fbfbfb;
    padding: 60px 0;
    scroll-margin-top: 87px;
    overflow: clip;
}
.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

.section-title .subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 400;
    color: #313131;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    position: relative;
}
.section-title .subtitle::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: #1e40af;
}
.section-title h2 {
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.section-title p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: color-mix(in srgb, #666666, transparent 25%);
    max-width: 90%;
    margin: 0 auto;
    text-wrap: balance;
}

.services .service-item {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    transition: all 0.4s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.service-item ul{
    margin-bottom: 70px;
}
.service-item ul li{
    margin-bottom: 10px;
    font-size: 18x;
}
.services .service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px 
 color-mix(in srgb, #666666, transparent 90%);
}
.services .service-item:hover::before {
    transform: scaleX(1);
}
.services .service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 99;
    background: linear-gradient(90deg, #1b399c,
    color-mix(in srgb, #1b399c, #000000 30%));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-in-out;
}

.services .service-item .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e40af,
 color-mix(in srgb, #1e40af, #000000 20%));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: transform 0.4s ease-in-out;
    flex-shrink: 0;
}
.services .service-item h3 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.3;
}
.services .service-item p {
    font-size: 16px;
    line-height: 1.7;
    color: 
 color-mix(in srgb, var(--default-color), transparent 20%);
    margin-bottom: 32px;
    flex-grow: 1;
}
.services .service-item .service-link{
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease-in-out;
    align-self: flex-start;
}
.service-icon .fa::before{
    font-size: 30px;
    color: #fff;
}

.btn.service-link{
    width: 86%;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    color: #fff !important;
    margin: 0 auto;
    display: block !important;
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
}

.btn.service-link::before {
    width: 300px;
    height: 300px;
}
.btn.service-link:hover {
    transform: translateY(0px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5);
}
.btn.service-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}