/* Services section styling */
.our-services {
    padding: 100px 0;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.head-desc {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.service {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 123, 255, 0.1);
    overflow: hidden;
}

.service-link {
    display: block;
    padding: 30px 25px;
    text-decoration: none;
    color: inherit;
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.2);
}

.service:hover::before {
    opacity: 1;
}

.service-icon {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.service-icon ion-icon {
    font-size: 40px;
    color: #007bff;
    transition: all 0.4s ease;
}

.service:hover .service-icon ion-icon {
    transform: scale(1.1) rotate(5deg);
    color: #0056b3;
}

.service-heading {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.service:hover .service-heading {
    color: #007bff;
    transform: translateX(5px);
}

.service .para-line {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.service:hover .para-line {
    color: #444;
}

/* Effet de brillance au hover */
.service::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service:hover::after {
    animation: shine 1.5s ease-out;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(100%) rotate(45deg);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .our-services {
        padding: 50px 0;
    }

    .services {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-link {
        padding: 25px 20px;
    }

    .service-heading {
        font-size: 18px;
    }

    .service-icon ion-icon {
        font-size: 36px;
    }
} 