/* Services Section - Premium Animated Design */

.servises-section {
    padding: 50px 0;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.services-heading {
    text-align: center;
    margin-bottom: 70px;
}

.services-heading h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.services-heading p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

.services-card {
    background: #ffffff;
    border: 1px solid rgba(46, 163, 214, 0.1);
    border-radius: 30px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    margin-bottom: 58px;
    position: relative;
    z-index: 500;
}

.services-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px rgba(46, 163, 214, 0.12);
}

.services-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.5s ease;
    border-radius: 20px;
    background: transparent !important;
    padding: 20px;
}

.services-card:hover .services-image {
    transform: scale(1.05);
    background: transparent !important;
}

.services-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.servises-text h3 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--dark-text);
    transition: color 0.3s ease;
}

.services-card:hover .servises-text h3 {
    color: var(--primary-color);
}

.servises-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 25px;
    flex-grow: 1;
}

.learn-more-btn a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.05rem;
    transition: gap 0.3s ease;
}

.learn-more-btn a:hover {
    gap: 15px;
    color: var(--primary-dark);
}

/* Card Glow Effect */
.services-card::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(46, 163, 214, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1;
}

.services-card:hover::after {
    opacity: 1;
}

/* Custom Shape Divider */
.custom-shape-divider-bottom-1773378691 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1773378691 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.custom-shape-divider-bottom-1773378691 .shape-fill {
    fill: #192334;
}

/* Responsive */

@media (max-width: 768px) {
    .services-heading h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .services-card {
        text-align: center;
        align-items: center;
        padding: 20px 30px;
    }

    .learn-more-btn {
        justify-content: center;
    }
}