/* خدماتنا - Services Section Styles */
.services-section {
    padding: 40px 0px 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-align: center;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #367479, #2a5c60);
    border-radius: 2px;
}

.section-title p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-top: 25px;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, #367479 0%, #2a5c60 100%);
    transition: height 0.4s ease;
    z-index: 0;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 50px rgba(54, 116, 121, 0.3);
    border-color: #367479;
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #367479 0%, #2a5c60 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: white;
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon i {
    color: #367479;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.service-card:hover h3 {
    color: white;
}

.service-card p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.service-btn {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(135deg, #367479 0%, #2a5c60 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
}

.service-card:hover .service-btn {
    background: white;
    color: #367479 !important;
    border-color: white;
    transform: scale(1.05);
}

.service-btn:hover {
    box-shadow: 0 5px 20px rgba(54, 116, 121, 0.4);
}

.badge-new {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .services-section {
        padding: 50px 0;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card * {
    text-align: center;
}

.tpsection-title-two {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    text-align: center;
}

