Services Page Styles
:root {
    --primary-blue: #2c5282;
    --light-blue: #ebf8ff;
    --medium-blue: #4299e1;
    --dark-blue: #2a4365;
    --accent-blue: #63b3ed;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(44, 82, 130, 0.1);
    transition: all 0.3s ease;
}

/* Reduced motion animations */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        opacity: 0;
        transform: translateY(10px); /* Reduced from 30px */
        transition: opacity 0.5s ease, transform 0.4s ease; /* Slightly faster */
    }

    .service-card.aos-animate {
        opacity: 1;
        transform: translateY(0);
    }

    .service-card:hover {
        transform: translateY(-5px); /* Reduced from -10px */
        box-shadow: 0 5px 15px rgba(44, 82, 130, 0.1); /* Reduced shadow */
    }
}

/* Respect user's reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .service-card {
        transition: none;
        transform: none;
        opacity: 1;
    }

    .service-card:hover {
        transform: none;
        box-shadow: 0 2px 5px rgba(44, 82, 130, 0.1);
    }
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-icon i {
    font-size: 24px;
    color: var(--primary-blue);
}

/* Reduced icon animation */
@media (prefers-reduced-motion: no-preference) {
    .service-card:hover .service-icon {
        transform: scale(1.05); /* Reduced from 1.1 or higher */
    }
}

.service-content h3 {
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-content p {
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Modal transitions */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.service-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Reduced modal animations */
@media (prefers-reduced-motion: no-preference) {
    .modal-content {
        transform: scale(0.98);
        transition: transform 0.3s ease;
    }

    .service-modal.active .modal-content {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-modal,
    .modal-content {
        transition: opacity 0.3s ease;
        transform: none;
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    background: var(--light-blue);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-blue);
    transition: transform 0.3s ease;
}

/* Reduced feature item hover effect */
@media (prefers-reduced-motion: no-preference) {
    .feature-item:hover {
        transform: translateX(3px); /* Reduced from 5px or higher */
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 20px;
    }
}
